[android-developers] [Android-Java] Why String \0 is converted to [65533,65533]

2009-11-14 Thread Joes
All, While I'm programming the Android SMTP code,I met a confused problem with code similar as the following: String str= \0 username \0 passwrd; After executed the code, I found \0 is intepreted as two undisplayable char. Then I executed the folloing debug code: String sZero = \0; int

[android-developers] Re: Why String \0 is converted to [65533,65533]

2009-11-14 Thread Joes
this instead \\0 On Nov 14, 8:58 am, Joes joyj...@gmail.com wrote: All, While I'm programming the Android SMTP code,I met a confused problem with code similar as the following:     String str= \0 username \0 passwrd; After executed the code, I found \0 is intepreted as two undisplayable

[android-developers] How does GoogleLoginService store user's account/passwd?

2009-11-05 Thread Joes
In my G1 phone, Once I setup the gmail account, after some time, maybe one hour. Reboot the phone, then I will never be able to login gmail again, I always get the log: 11-05 11:22:31.935: DEBUG/gmail-ls(257): Authentication error, token invalidated, retrying 11-05 11:22:31.935:

[android-developers] Question on MMS-supported media types

2009-06-12 Thread Joes
I found some media types are not supported by MMS evenif they are alreday supported by platform. For example, user can not attach bmp file to MMS. The MMS supported mediatypes are listed in frame/base/core/java/com/ google/android/mms/ContentType.java , I modied this file ,added the bmp