[android-developers] How to send non-Latin sms to emulator?

2009-09-18 Thread an0
I send Chinese sms using DDMS in Eclipse, but emulator shows it as all question marks . --~--~-~--~~~---~--~~ 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] Get dimension from R.attr in Java code

2009-09-19 Thread an0
Resources.getDimensionPixelSize (android.R.attr.listPreferredItemHeight) does not work. So how to? And any other way to specify resolution independent dimension values in Java code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to take a screencast demo of app

2009-09-24 Thread an0
Hi, I want to take a demo of my app, does anyone know how to do it? Thanks in advance. --~--~-~--~~~---~--~~ 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] Service context can not serve Dialog?

2009-08-05 Thread an0
I want to pop up a Dialog from my Service when my App is running(so I do have my own Activity window that the user is viewing and operating at), but I always get android.view.WindowManager$BadTokenException: 08-05 20:47:39.432: ERROR/AndroidRuntime(1387): Uncaught handler: thread main exiting

[android-developers] I want more text in Preference summary

2009-08-09 Thread an0
It seems Preference summary text has a limit of about 2 lines, but I want more. How can I do that? Thanks. --~--~-~--~~~---~--~~ 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] Re: Service context can not serve Dialog?

2009-08-09 Thread an0
I found using any foreground Activity as the context of Dialog works, but not the Application context returned by getApplicationContext (). What is Application context? What's that for? The doc says nothing useful about it. On Aug 5, 9:47 pm, Mark Murphy mmur...@commonsware.com wrote: an0 wrote

[android-developers] Re: How/where to submit the apps to ADC2?

2009-08-19 Thread an0
I'm concerned with this, too. It is almost end of August, but there is no entry to submit yet. Did I miss something??? On Aug 11, 11:08 am, Khurram Samad khurram.sa...@gmail.com wrote: Any update as whats going on ? On Aug 10, 8:44 pm, manoj manojkumar.m...@gmail.com wrote: Thanks for

[android-developers] Re: adc2 submission site

2009-08-24 Thread an0
If the time window is too small, any little problems may cause you miss it. Also consider the sudden surge of submissions in the same time. On Aug 20, 4:44 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: As long as the site opens before the end of the month, what difference does it

[android-developers] Re: Service context can not serve Dialog?

2009-08-27 Thread an0
into making it. There is nothing actually all that useful about it, as far as I am concerned. ;) On Sun, Aug 9, 2009 at 12:33 AM, an0 an0...@gmail.com wrote: I found using any foreground Activity as the context of Dialog works, but not the Application context returned by getApplicationContext

[android-developers] Re: I want more text in Preference summary

2009-08-27 Thread an0
・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 9, 12:25 am, an0 an0...@gmail.com wrote: It seems Preference summary text has

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-31 Thread an0
But I find it is unreasonable that I can not reuse the package name EVEN IF I've unsubmitted the ADC app EVEN before ADC starts to open to users. Since there is no one but me knows the ever ephemeral existence of such a package, what's the problem of revoking the first one and then using its name

[android-developers] Where do item IDs of ListView come from

2009-05-11 Thread an0
ListView, ListAdapter, and ListActivity all have a concept of item ID, but none of them tell me how to specify the ID for their list items. Furthermore, I've found that the item IDs are implicitly set to the row IDs of records from SQLiteDatabase, when SimpleCursorAdapter is used to bind the

[android-developers] How to make ImageView fill vertically within RelativeLayout

2009-07-10 Thread an0
I put an ImageView and a TextView within a RelativeLayout, and want the ImageView to grow vertically with the line number of TextView. The drawable of the ImageView is a png picture of vertical bar. With the following layout, the ImageView does not fill the height of the RelativeView. Instead,