Posts Tagged ‘Android’
Video: Samsung Galaxy Tab 7″ from inside out (dissected)
This video from jkkmobile.com shows the insides Samsung Galaxy Tab 7″ when it was dissected
Install phoneME in Android to run JavaME middlets
As we all know, the Android is similar to JavaME because both runs on Java platform . However instead of executing the classfiles, Android add the extra step of converting the Java bytecode into alternative instruction set used by (into *.dex) Dalvik Virtual Machine, which makes it unable to run Java classfile (*.jar) normally used by JavaME.
Luckily, some brave soul has provided phoneME implementation for Android, which in turn enable users to execute Java MIDlet in Android. phoneME for Android can be downloaded from its website: http://davy.preuveneers.be/phoneme/?q=node/10#android



What you need to do is to download phoneME Advanced – Foundation Profile + MIDP or phoneME Advanced – Foundation Profile + MIDP High Resolution (240×320). The midlet manager provided with the distribution requires OpenIntents File Manager, which is used to browse for midlet *.jad or *.jar file.
So far, almost all core MIDP 2.0 functionality is available from the phoneME *.apk. The only incompatibilities arises from midlets that use optional JSR, which usually causes midlet manager to crash.
Android Videos: Designing portable UI for Phone and Tables
Google has released Honeycomb (3.1), which is designed for tablet computer in mind. Honeycomb comes with redesigned UI framework that helps developers create application with portable user-interface across devices that have different screen sizes and orientation.
The video detailed about UI design best practices for developers:
GooApple – China-made iPhone 4 Clone (which runs Android!)
Just after the discovery of several fake Apple Store a few weeks ago, now come an Apple iPhone 4 lookalike product which uses Android. The outer feature bear strong similarity to the real iPhone 4 phone. Plus, its user-interface has been customized (keypad, contact list, application icon) to look exactly like iPhone 4.
Additionally, the device is available for pre-order from its website (priced around 1700 Yuan or USD 270), there’s no information available about its official launch date though.
p/s: The device copies the iPhone user-interface and icons which is clearly Apple’s intellectual property. Apple has previously taken steps in protecting its intellectual property before (as evidenced by Samsung Galaxy Tab sales block in Europe and the fake Apple Store), I doubt Apple would sit ideally should the device is marketed.
How to use W3C Geolocation API in Mobile (Basic)
Previously Geocoding from mobile web (or ‘ordinary’ web application) is achieved through Google Gears (as pre-installed in Android 1.5+). However the W3C Geolocation API Specification has render Google Gears obsolete as newer browsers has these functionality built-in (including mobile browser).
How to include Geolocation API in a Web Page?
The most basic code that you started is listed below, the code below tests if the browser have built-in support for geolocation. If it does have geolocation support, it will call either one of the callback “successCallback” or “errorCallback”.
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(successCallback, errorCallback);
} else {
error('Sorry, your browser does not support geolocation');
}
“successCallback” is call whenever the API call is successful. You need to create a function for “successCallback”, as shown in the example below:
function successCallback(pos) {
var lat, long;
lat = pos.coords.latitude ;
long = pos.coords.longitude;
var element = '<p><a href="http://maps.google.com/maps?q='+lat+','+long+'&hl=en">Latitude: ' +lat+ ' Long: ' + long + '</a></p>';
alert(lat +','+long);
$('body').prepend(element);
The function will return the latitude and longitude data and stores it in ‘lat’ and ‘long’ variable, which is then displayed to the screen.
Get the latest iftar (breaking fast) time with TimeToBuka.com
TimeToBuka.com is a mobile web application that lets you check the latest iftar time (breaking fast time – for Muslim during Ramadan month). The application detects the current user location (using Google Geocoding API) and displays the time for Iftar and Imsak for the current location.
However, the application currently only supports Malaysian and Singapore users only. But you can help the author ( Nazrul Kamaruddin ) to add support for more countries by providing him with the appropriate data.
The application is tested and confirmed to work in Android 1.6+, 2.x and iPhone
Old Joke: iPhone 4 vs HTC Evo
I know this is stale, but I update it nevertheless, After almost 2 years, I’m going to write again!
Porting JavaME apps to Android is easier with J2ME Polish
Great news for JavaME developers! The J2ME Polish project has announced that their upcoming j2mepolish 2.1 toolkit suite will support porting JavaME apps to Google Android mobile platform automatically! This means that the current JavaME developers will enjoy the advantages of porting their existing mobile application to Android effortlessly.

According to their press release, the next j2mepolish release will focus on automating the process of converting JavaME MIDlets to iPhone application.
J2ME Polish 2.1: Android support?

Currently I’ve yet to see how a ported JavaME application would look like on an Android mobile phone, but hopefully it would be as good as the ordinary Google Android app. At this time of this writing, J2ME Polish 2.1 is only available as a preview release which can be downloaded from J2ME Polish website.
I’ll update this blog about this feature once J2ME Polish 2.1 has been released.
p/s: I’m Eager to know how a JavaME app will look like once its ported to Android.
Google Android Phone Kogan Agora delayed?
Probably a stale news for most of you, the touted second Google Android Phone on the market, Kogan Agora product has been canceled despite having received huge pre-orders. The official statement from Kogan Technologies website states that the Kogan Agora release is delayed indefinitely citing technical issues regarding is screen size and resolution.
Kogan Agora, estimated to be available by Christmas 2008, might not even be ready by this year (2009). Customer who pre-ordered Kogan is being refunded as this article were written.

Its a pity to see such affordable Google Android phone to be delayed indefinitely, while there are a lot of phone manufacturers behind Open Handset Alliance (OHA, the organization that backed Android), we have yet to see other Google Android phone surfaces besides HTC manufactured T-Mobile G1.
As for my personal opinion, I don’t think Android platform is worth investing in right now since the only supported Android phone in the market is the SIM-locked T-Mobile, and although there has been news that Motorola, Huawei and Sony Ericsson are preparing to release Android phone, I don’t think I will give in much hope for Android until I’ve seen on the shelf of my local mobile phone store (SIM-unlocked, just like normal phones that is)

