[android-developers] The difference between Runtime.getRuntime().freeMemory(); and ActivityManager.MemoryInf.availMem

2008-11-16 Thread dailyLife
In Android System, 1,Runtime.getRuntime().freeMemory(); 2,ActivityManager.MemoryInf.availMem Is anyone know the difference between both above. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] How to get the Screen Width and Height?

2008-11-11 Thread dailyLife
Is AnyBody kown how to get the phone's Screen Width and Height ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Where to find Jarsigner

2008-11-11 Thread dailyLife
L think that you can input commandline jarsigner . [EMAIL PROTECTED] 2008年11月11日 - Original Message - From: CM To: Android Developers Sent: 2008-11-11, 18:20:39 Subject: [android-developers] Where to find Jarsigner I have checked the bin folder of my jre and it is not there. Keytool

[android-developers] Re: How to set up as a straight vertical display

2008-11-06 Thread dailyLife
: setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); Cheers, Steve On Nov 5, 11:28爌m, dailyLife[EMAIL PROTECTED] wrote: Hi,EveryOne. ?Today, I finally had to buy the G1, I have to write the software installed on the G1 above to see results, every time I open the keyboard, software

[android-developers] How to install software in the G1

2008-11-06 Thread dailyLife
My os is Windows ,IEDeclipse How to install software in the G1. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] How to set up as a straight vertical display

2008-11-05 Thread dailyLife
Hi,EveryOne. Today, I finally had to buy the G1, I have to write the software installed on the G1 above to see results, every time I open the keyboard, software, images are also displayed along with change. Who can tell me how to set up as a straight vertical display shows that even open the

[android-developers] Re: How do I pass data between differentActivity/Process?

2008-10-27 Thread dailyLife
You can see below demo code: Intent tIntent = new Intent(); tIntent.setClassName(SKIP_PATH, SKIP_PATH_NAME); Bundle tBundle = new Bundle(); tBundle.putCharSequence(request, secondRequest.toString()); tIntent.putExtras(tBundle); startActivity(tIntent); [EMAIL PROTECTED] 2008年10月27日

[android-developers] Re: Contacts DataBase

2008-10-15 Thread dailyLife
Query: public Cursor queryAll(String[] returnSequence) { Cursor cusor = null; ContentResolver contentResolver = mContext.getContentResolver(); cusor = contentResolver.query(Contacts.People.CONTENT_URI, returnSequence, null, null, null);// DEFAULT_SORT_ORDER return cusor; } public Cursor

[android-developers] Re: nullPointer/thread error when reading contacts

2008-10-15 Thread dailyLife
use the String selection = People.NUMBER + = ? + telNo;replace ! [EMAIL PROTECTED] 2008年10月16日 - Original Message - From: vallis To: Android Developers Sent: 2008-10-13, 23:37:59 Subject: [android-developers] nullPointer/thread error when reading contacts Hi all, I've been trying

[android-developers] How to control the TabHost.TabSpec's Width and Height?

2008-09-21 Thread dailyLife
Hi, L want to control the TabHost.TabSpec's Width and Height im my program. How to achieve such a function? Can anyone tell me the way ? thanks, goto. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to set Gallery align property?

2008-09-17 Thread dailyLife
android:gravity and android:layout_gravity don't have much effect to get the effect you are trying to get. However setting android:scrollX = 100dp, achieves the desired effect, ie. moves the first gallery item towards the left end. 2008/9/16 dailyLife [EMAIL PROTECTED] My Style is below

[android-developers] Re: SqlLite!!???

2008-09-17 Thread dailyLife
API Demo or Google Android Notepad demo. [EMAIL PROTECTED] 2008年9月17日 - Original Message - From: Wesley Sagittarius To: Android Developers Sent: 2008-09-17, 14:44:19 Subject: [android-developers] SqlLite!!??? Hi, Any example on Sqllite??? wesley...

[android-developers] Re: SqlLite!!???

2008-09-17 Thread dailyLife
to store data??? wesley. On Wed, Sep 17, 2008 at 2:50 PM, dailyLife [EMAIL PROTECTED] wrote: API Demo or Google Android Notepad demo. [EMAIL PROTECTED] 2008年9月17日 - Original Message - From: Wesley Sagittarius To: Android Developers Sent: 2008-09-17, 14:44:19 Subject: [android

[android-developers] Re: How to set Gallery align property?

2008-09-16 Thread dailyLife
android:layout_gravity = center_horizontal for your Gallery view? 2008/9/16 dailyLife [EMAIL PROTECTED] Hi,All. When l set the Gallery align left,But Result is also in center.please look at the E-mail attachments. I will be obliged by your help. Thanks. Goto