[android-developers] Re: how to porting jarkata commons lib to android?

2009-08-25 Thread efan
http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary On Aug 22, 8:56 am, Terry wrote: > hi, everyone. > > jarkata commons lib is very useful for our everyday development. > > is there any porting to android? > > or is there a good way to porting the jarkart commons

[android-developers] Re: java question

2009-08-25 Thread efan
use java.lang.Process Maybe it's better to ask pure Java questions in sun Java forum? Good luck! On Aug 23, 10:03 am, srinivasarao wrote: > hi Sir, >           Take Class name as input (command line) and loads that class > Dynamically and calls the main method in that class..how will we do > t

[android-developers] Re: How do I show chinese type in english android system?

2009-08-25 Thread efan
Android is unicode based and support Chinese char display by default. And in 1.5 (Cupcake) it even include an system app Google Pinyin IME to input Chinese. On Aug 25, 4:42 am, atul wrote: > How do I show chinese type in  english android system? Thanks --~--~-~--~~~--

[android-developers] Re: Do the applications keep/manage their own SQLite databases (files)?

2009-08-25 Thread efan
You can create, update and delete your application database in your application. Follow http://developer.android.com/guide/topics/data/data-storage.html#db to start. On Aug 25, 2:08 am, "mstu...@googlemail.com" wrote: > Hi All, > > Android includes a database engine (SQLite). In general, do the

[android-developers] Re: Problem with emulator

2009-08-19 Thread efan
The emulator is that slow... Try turn off the android animation in the Eclipse run configuration. That help a little bit in my machine. Patient is important in Android development world - understand it this way: the emulator is running a linux kernel in your existing OS! O

[android-developers] Re: How to use apache commons in my android application

2009-08-19 Thread efan
http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary On Aug 19, 5:24 pm, hap 497 wrote: > Thanks. But android sdk does come with apache commons, I don't think I > should required to do that. I don't want to carry an apache commons jar if > android has one. > Do I

[android-developers] Re: error msg after run a thread

2009-08-19 Thread efan
The error msg pointed to the code problem clearly: /*** CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. ***/ Such as the statement in the finally block does touch a view not created in the new thread. The same piece of code works in oth

[android-developers] Re: Activity Lifecycle Cause Memory Leaking

2009-08-06 Thread efan
Tested on both 1.5-R2 and R3, same result. On Aug 6, 10:22 pm, efan wrote: > http://developer.android.com/reference/android/app/Activity.html > > The Activity Lifecycle could have implementation and or design bug: > One case is to initialize a big image in onCreate(), try to reuse

[android-developers] Activity Lifecycle Cause Memory Leaking

2009-08-06 Thread efan
http://developer.android.com/reference/android/app/Activity.html The Activity Lifecycle could have implementation and or design bug: One case is to initialize a big image in onCreate(), try to reuse the image during the whole lifecycle, and then recycle the image in onDestroy(). Test showed that

[android-developers] Re: Could NOT Upgrade App in Market!

2009-06-09 Thread efan
Mark, thanks for the information. Yes I mean "cannot be found in a search". But the strange thing is that the search function still ok in "Android Market Help Forum". But same as here, no any Android staff response to the post. What happened/happening in Android/Goolge? On Jun 8, 4:04 pm, Mark Mu

[android-developers] Re: Could NOT Upgrade App in Market!

2009-06-09 Thread efan
eling to be ignored. I would like to wait to the end of this week. If there was still no any response from Android staff, I will have to say sorry to the existing users. On Jun 6, 6:48 pm, efan wrote: > No error message after uploaded new version. But it still shows the > old version (

[android-developers] RE: Could NOT Upgrade App in Market!

2009-06-08 Thread efan
Another post disappeared in the forum! Why???Could someone in Android/Google look into the problem? Original Message Subject: Could NOT Upgrade App in Market! From: efan Date: Sat, June 06, 2009 6:48 pm To: Android Developers No error message after uploaded new version. But

[android-developers] RE: Help: 1.5 AutoCompleteTextView Problem

2009-06-06 Thread efan
: 1.5 AutoCompleteTextView Problem From: efan Date: Thu, June 04, 2009 10:01 pm To: Android Developers This layout xml file contains an AutoCompleteTextView: http://code.google.com/p/zz-doctor/source/browse/trunk/ZZ/res/layout/welcome.xml does not show in 1.5 AVD. No error in either screen or

[android-developers] Could NOT Upgrade App in Market!

2009-06-06 Thread efan
No error message after uploaded new version. But it still shows the old version (and old size). Tried several times, same problem. I managed to recover back my old key and signed the new version. (a little frustrated but I did make it recovered :)) My app is Chinese Doctor Assistant (ZZ) [杏林書童(Z

[android-developers] Help: 1.5 AutoCompleteTextView Problem

2009-06-04 Thread efan
This layout xml file contains an AutoCompleteTextView: http://code.google.com/p/zz-doctor/source/browse/trunk/ZZ/res/layout/welcome.xml does not show in 1.5 AVD. No error in either screen or console log. It worked fine in 1.1, in both AVD and eclipse visual layout. When try to open it in eclipse

[android-developers] Re: Help: View Not Shown After TableLayout

2009-05-17 Thread efan
t; > > > On Sat, May 16, 2009 at 2:58 PM, efan wrote: > > > I need show some text descriptionafteraTableLayoutbut it isnot > >shown. > > > Layout xml file like this (the complete code is here: > >

[android-developers] Help: View Not Shown After TableLayout

2009-05-16 Thread efan
I need show some text description after a TableLayout but it is not shown. Layout xml file like this (the complete code is here: http://code.google.com/p/zz-doctor/source/browse/trunk/ZZ/res/layout/rx_recipe_detail.xml): ... ... It works fine when the rxFormulaDes