Saturday, March 30, 2013

a Really Simple Android ListView Example

http://windrealm.org/tutorials/android/android-listview.php

Tuesday, March 26, 2013

Check if Apache & PHP was properly installed on Ubuntu Linux

Once your have installed Ubuntu server, depends on your setup option, Apache & PHP may not be installed. You can then issue the following command to install then.

sudo apt-get install apache2 

sudo apt-get install php5 

sudo apt-get install libapache2-mod-php5 

sudo /etc/init.d/apache2 restart 

Afterwards, issue vi a php file (phpinfo.php) in dir /var/www , with content below

<?php

print_r (phpinfo());

?>

If a PHP verion page showup, it means you Apache & PHP setup is completed.


Friday, October 26, 2012

Creating Android Icon



 Finding a tools to create an icon for your Android apps? Check this out.


Greenfish Icon Editor Pro Portable

 http://portableapps.com/apps/graphics_pictures/greenfish-icon-editor-pro-portable

Friday, October 12, 2012

Android 4.1.2 factory image new available for download



Android 4.1.2 stock ROMs for various Nexus device are now available for download.

Supported device list is as below:

- Nexus 7
- Nexus Q
- Galaxy Nexus
- Nexus S


https://developers.google.com/android/nexus/images

Thursday, August 16, 2012

Android version vs API Level

As new version of API released, you can bring more feature to your own apps.
However, those apps written by new API Level will not be assessable by old of Android version. Developer then get to make your own choice,

more new feature ? or more potential user?


Platform VersionAPI LevelVERSION_CODENotes
Android 4.1, 4.1.1 16 JELLY_BEAN Platform Highlights
Android 4.0.3, 4.0.4 15 ICE_CREAM_SANDWICH_MR1 Platform Highlights
Android 4.0, 4.0.1, 4.0.2 14 ICE_CREAM_SANDWICH
Android 3.2 13 HONEYCOMB_MR2
Android 3.1.x 12 HONEYCOMB_MR1 Platform Highlights
Android 3.0.x 11 HONEYCOMB Platform Highlights
Android 2.3.4
Android 2.3.3
10 GINGERBREAD_MR1 Platform Highlights
Android 2.3.2
Android 2.3.1
Android 2.3
9 GINGERBREAD
Android 2.2.x 8 FROYO Platform Highlights
Android 2.1.x 7 ECLAIR_MR1 Platform Highlights
Android 2.0.1 6 ECLAIR_0_1
Android 2.0 5 ECLAIR
Android 1.6 4 DONUT Platform Highlights
Android 1.5 3 CUPCAKE Platform Highlights
Android 1.1 2 BASE_1_1
Android 1.0 1 BASE

As of  Aug 2012 with "Health and Fitness" apps, majority (58%) Android version is still in 2.3.3. Latest version 4.0.3 just get ~18. % share.




So, you get the answer





http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#uses

Monday, August 13, 2012

海豹雜記: StockWatcher -- Google Web Toolkit(GWT) 入門 (三)

海豹雜記: StockWatcher -- Google Web Toolkit(GWT) 入門 (三): 在 StockWatcher -- Google Web Toolkit(GWT) 入門 (二) 中已經將所有的使用者介面元件建立好了,接下來要建立元件的 event,讓這些原件可以有一些動作。 處理客戶端的 Event 加入 Event Handler 在 GWT...

Saturday, August 11, 2012

send SMS to Android Emulator




If you try to develop SMS related Android app, you may want to send testing SMS to your emulator through Emulator Console.

With Emulator Console, you can simulate voice call and SMS activity on your Android Virtual Device (AVD). To make it works, please following the following steps


1. Make sure your AVD was started.

2. Start putty. (Get here if don't have.)

3. Connect your local host with TCP port 5554. Press "Save" and "Open" to start Emulator Console.




4. if all things go fine, Emulator Console will display as follow.




5.  Type in "sms send <phone number> <message text>".




6. SMS message will be delivered ti AVD.