[android-developers] Create an app to change lock screen?

2009-11-23 Thread Cheng Zhong
Hi, Does any one know how to create an app that can change/replace the default lock-screen? -- 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 unsubscribe from this

[android-developers] Re: Create an app to change lock screen?

2009-11-23 Thread Cheng Zhong
:00 PM, Cheng Zhong hust.zch...@gmail.com wrote: Hi, Does any one know how to create an app that can change/replace the default lock-screen? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Loading Activity Darkens Screen/Loading Screen

2009-11-05 Thread Cheng Zhong
You can try Dialog instead. On 11月3日, 上午11时24分, matt parker maddpar...@gmail.com wrote: Hello, I've looked through the documentation and I can't seem to figure out how to have the screen blured/greyed when I select an activity that may take a while to load. This seems to be an Android

[android-developers] How to create a shaped Button?

2009-10-04 Thread Cheng Zhong
Hi , Does any one know how can I create a button of any shape? I don't mean to use ImageButton and set it's background drawable or image drawable. In this case, ImageButton are in fact rectangle buttons. Any touches within its bounds will cause OnClick event. If you put some buttons together

[android-developers] Route Audio Output to Mic?

2009-09-17 Thread Cheng Zhong
Hi guys, I'm trying to play a music (using MediaPlayer) during a call and want the caller to hear the music I'm playing. Unluckly it doens't seem work at all, the caller hear nothing even I set the music volumn to MAX ( of course, the speaker and the mic on Android are far away from each other).

[android-developers] Re: Route Audio Output to Mic?

2009-09-17 Thread Cheng Zhong
, and do not necessarily represent those of T-Mobile USA, Inc.! On Sep 17, 3:21 am, Cheng Zhong hust.zch...@gmail.com wrote: Hi guys, I'm trying to play a music (using MediaPlayer) during a call and want the caller to hear the music I'm playing. Unluckly it doens't seem work at all

[android-developers] Re: Date.getTime() and Daylight Saving Time?

2009-07-20 Thread Cheng Zhong
in the spring) and fall back (you set the clock back one hour to standardtimein the fall).  When these spring and fall change dates occur is the mess. - Brian Cheng Zhong wrote: Hi all, What will Date.getTime() returns in a region withDaylightSavingTime enabled? Does this function

[android-developers] Re: Date.getTime() and Daylight Saving Time?

2009-07-20 Thread Cheng Zhong
the corresponding timestamp and store this value. On Jul 19, 8:44 am, Cheng Zhong hust.zch...@gmail.com wrote: Hi all, What will Date.getTime() returns in a region withDaylightSavingTime enabled? Does this function returns a DSTtimeor not? I call Date.getTime() in a place with DST (such as U.S

[android-developers] Date.getTime() and Daylight Saving Time?

2009-07-19 Thread Cheng Zhong
Hi all, What will Date.getTime() returns in a region with Daylight Saving Time enabled? Does this function returns a DST time or not? I call Date.getTime() in a place with DST (such as U.S.), and convert it to a local time in China (no DST), I get a wrong time (one hour ahead of local time in

[android-developers] Retrieving Google/GTalk Account bound to Android?

2009-06-26 Thread Cheng Zhong
Hi all, I'm working on a program that will need to read user's GTalk contacts, and also I need to find out which Gtalk account the user is using. I heard that each android is bound with a google account (to be extactly, the username/email of user's google account). I wonder any one can tellme