Share Google Android API Key in Eclipse with other team members Basically, default debug keystore is stored in /Users/{NAME}/.android/debug_keystore 1. Set SVN Repository and Checkout to the computer, which contains the file “debug.keystore” 2. In Eclipse, File->Preference->Android->Build. 3. Set “Custom debug keystore” to “debug.keystore” file in SVN Checkout Directory Then, do not need to change…
Month: December 2010
Using the Android SDK on a Mac, Eclipse is really slow. How can I speed it up?
Original Article: http://stackoverflow.com/questions/2787055/using-the-android-sdk-on-a-mac-eclipse-is-really-slow-how-can-i-speed-it-up I’m using Eclipse + the Android SDK on a Mac running Snow Leopard to develop Android apps. Thing is, Eclipse is really slow – like, it “beach balls” for a few seconds when changing tabs. Is there anything I can do to improve it’s performance? The solution: change the Java version used…
error: “The connection to adb is down, and a severe error has occured”
Original Article: http://stackoverflow.com/questions/4072706/the-connection-to-adb-is-down-and-a-severe-error-has-occured error: “The connection to adb is down, and a severe error has occured” Try below steps: 1> Close the Eclipse if running 2> Go to the Android SDK tools directory in Command Prompt 3> type adb kill-server 4> then type adb start-server 5> No error message is thrown while starting ADB server, then…
legacy cell layout warning??
legacy cell layout warning?? http://stackoverflow.com/questions/3297270/problem-in-table-view WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath: in <DisclosureButtonController: 0x5f3b0b0>. Please remove your implementation of this method and set the cell properties accessoryType and/or editingAccessoryType to move to the new cell layout behavior. This method will no longer be called in a future release. ANSWER: The…
In Xcode, Add > New File > Cocoa Touch Classes > UITableViewCell ???
In Xcode, Add > New File > Cocoa Touch Classes > UITableViewCell ??? The book said, select Add> New File > Cocoa Touch Classes > UITableViewCell in Xcode and you cannot find it? The book is based on old version of XCode. You can find Add > New File > Cocoa Touch Classes > Objective-C…
UITableViewCell setText deprecated
UITableViewCell setText deprecated UITableViewCell *cell = … … cell.text = … to cell.textLabel.text = @”test”;
jQuery UI – Operation Aborted
Reference: Why do I receive an “Operation aborted” error message when I visit a Web page in Internet Explorer? – http://support.microsoft.com/kb/927917#more_information When use jQuery code, the Internet Explorer 7.0 in Windows Vista causes “Operation aborted” error. To resolve this problem, jQuery code must be wrapped by $(document).ready(function() {});
A script to change all tables and fields to the utf-8-bin collation in MYSQL
A script to change all tables and fields to the utf-8-bin collation in MYSQL (This article is from http://stackoverflow.com/questions/105572/a-script-to-change-all-tables-and-fields-to-the-utf-8-bin-collation-in-mysql) <?php set_time_limit(0); function MysqlError() { if (mysql_errno()) { echo “<b>Mysql Error: ” . mysql_error() . “</b>\n”; } } $username = “root”; $password = “”; $db = “database”; $host = “localhost”; $target_charset = “utf8”; $target_collate =…