[android-developers] Is there any way to send a email in service in background.

2009-04-19 Thread sunwrt
Hi, Any guy know Is there any way to send a email in service in background. I used K9 email. It seems K9 does not work Thanks in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread sunwrt
It is what I want it. Thank you. On 4月17日, 下午4时34分, Anh Khoa Nguyen Pham wrote: > Of course, it is public for all application! > > 2009/4/17 sunwrt > > > > > Thank you, > > > But what is the MODE of the file? > > > On 4月17日, 下午4时29分, Anh Khoa Nguy

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread sunwrt
Thank you, But what is the MODE of the file? On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham wrote: > Hi, > Please use this command : > > FileOutputStream fos = new FileOutputStream(sdcardFile); > > Hope that it can help you! > > On Fri, Apr 17, 2009 at 3:26 PM, sunw

[android-developers] How to write a file with directory ?

2009-04-17 Thread sunwrt
Hi,Guys, I wrote a file to the sdcard, but it failed as follow: String sdcardFIle = "/sdcard/xxx.txt" FileOutputStream fos = openFileOutput(sdcardFile, Context.MODE_WORLD_WRITABLE); openFileOutput failed, because fIle "/sdcard/xxx.txt" contains a path seperator. It is so strange. Is th

[android-developers] how to check if sdcard is mounted in program

2009-04-16 Thread sunwrt
Any guy knows how to check if sdcard is mounted in program 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@googleg

[android-developers] how to build ApiDemo with Eclipse

2009-04-05 Thread sunwrt
Any guy knows how to build ApiDemo in Android SDK with eclipse 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@goo

[android-developers] how to let my shared library, libhello.so, work

2009-03-17 Thread sunwrt
Hi, guys, I built a shared library libhello.so, which only contained a function print_hello(char*), and and a program, which used the only function to print "hello android" with android-toolchain. I mkdir a new dir- /data/test and push libhello.so and hello into emulator, then execute the hello