Re: [android-developers] Re: text animation

2009-11-04 Thread Anh Khoa Nguyen Pham
Hi pskink, Can your way make text displayed in rotate mode? On Wed, Nov 4, 2009 at 2:39 PM, skink psk...@gmail.com wrote: On Tue, Nov 3, 2009 at 2:49 PM, npak...@gmail.com npak...@gmail.com wrote: Hi all, Now i want to write an application to make a certain text to run

Re: [android-developers] text animation

2009-11-03 Thread Anh Khoa Nguyen Pham
Thank Saurav Mukherjee, I'm trying to use it but because I'm a newbie in this field, so if possible, please give me a simple example to illustrate this animation. Thank alot, NPAK On Tue, Nov 3, 2009 at 4:30 PM, Saurav to.saurav.mukher...@gmail.comwrote: TranslateAnimation Regards,

Re: [android-developers] Re: text animation

2009-11-03 Thread Anh Khoa Nguyen Pham
Hi Saurav Mukherjee, Thank a lot for your replying, In your example, you move TextView object from center to left side of screen. It means that when TextView has relative long content , it will look not cool. Do you know marquee property of TextView when we focus on this, don't you? I want my

[android-developers] Re: How to record audio in WAV format?

2009-05-15 Thread Anh Khoa Nguyen Pham
Khoa Nguyen Pham npak...@gmail.comwrote: Hi Marco, How can i record audio in PCM format in 1.5 ? Could you please show me some snap code to do this? I'm very appreciate your help! Thanks, NPAK On Fri, May 15, 2009 at 10:35 AM, Marco Nelissen marc...@android.comwrote: On Thu, May 14

[android-developers] Re: How to record audio in WAV format?

2009-05-14 Thread Anh Khoa Nguyen Pham
Hi Marco, How can i record audio in PCM format in 1.5 ? Could you please show me some snap code to do this? I'm very appreciate your help! Thanks, NPAK On Fri, May 15, 2009 at 10:35 AM, Marco Nelissen marc...@android.comwrote: On Thu, May 14, 2009 at 6:54 PM, npak...@gmail.com

[android-developers] Re: problem when simulating GPS on SDK1.5

2009-05-07 Thread Anh Khoa Nguyen Pham
Thanks On Thu, May 7, 2009 at 4:57 PM, David Turner di...@android.com wrote: Yes, it's a known bug that is being investigated. On Thu, May 7, 2009 at 10:13 AM, npak...@gmail.com npak...@gmail.comwrote: Hi all, Now I'm writing a software and using GPS simulator on SDK1.5 I use an AVD

[android-developers] Re: Resetting checkboxes in a dialog with .setMultiChoiceItems()

2009-04-27 Thread Anh Khoa Nguyen Pham
Hi, Actually, dialog remembers previous state is good but it always does even though you press OK button or CANCEL button. When creating a dialog, i use an array to store checkbutton's states. So when user presses CANCEL, i do not update this state array. Ex: At first time, when i create dialog, i

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

2009-04-17 Thread Anh Khoa Nguyen Pham
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, sunwrt wrt.su...@gmail.com wrote: Hi,Guys, I wrote a file to the sdcard, but it failed as follow: String sdcardFIle = /sdcard/xxx.txt

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

2009-04-17 Thread Anh Khoa Nguyen Pham
Of course, it is public for all application! 2009/4/17 sunwrt wrt.su...@gmail.com Thank you, But what is the MODE of the file? On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham npak...@gmail.com wrote: Hi, Please use this command : FileOutputStream fos = new FileOutputStream(sdcardFile

[android-developers] Re: Android Layout

2009-04-17 Thread Anh Khoa Nguyen Pham
Yes, you can On Fri, Apr 17, 2009 at 3:33 PM, Rahul nakate.ra...@gmail.com wrote: Hi i want to ask u can i access layout defined in xml file and set the parameter of that layout in the java file . is it possible plz reply me thank you

[android-developers] Re: how to transfer an action(ex:key press) from an Activity to other Activities

2009-03-12 Thread Anh Khoa Nguyen Pham
Thanks for your replies, Actually, my application will run when incoming call is detected. Because i do not know how to integrate my application into original dialer so i must implement my application as a separate application. So when users press Green Key, i want my application to exit and

[android-developers] Re: how to transfer an action(ex:key press) from an Activity to other Activities

2009-03-12 Thread Anh Khoa Nguyen Pham
not sure how to do that, which action/category/extra-data/etc. to set to make this happen. Maybe someone else can help you with that. On Mar 12, 10:38 pm, Anh Khoa Nguyen Pham npak...@gmail.com wrote: Thanks for your replies, Actually, my application will run when incoming call is detected

[android-developers] Re: How to update View object on main thread by background thread

2009-03-04 Thread Anh Khoa Nguyen Pham
run() { mProgress.setProgress(mProgressStatus); } }); } So basically it is possible to hammer that square peg into your round hole if you wish, I just wont be the one to do it. Respectfully, Clay On Mar 3, 11:55 pm, Anh Khoa Nguyen Pham npak

[android-developers] Re: How to update View object on main thread by background thread

2009-03-04 Thread Anh Khoa Nguyen Pham
run() { mProgress.setProgress(mProgressStatus); } }); } So basically it is possible to hammer that square peg into your round hole if you wish, I just wont be the one to do it. Respectfully, Clay On Mar 3, 11:55 pm, Anh Khoa Nguyen Pham npak

[android-developers] Re: How to update View object on main thread by background thread

2009-03-03 Thread Anh Khoa Nguyen Pham
UserTask class is useful but in this case, if i want to fix my problem in my code, can you help me to do that? I really appreciate your help ! Thanks, NPAK On Wed, Mar 4, 2009 at 2:15 PM, Clay claytan...@gmail.com wrote: so just from the basic use case I dont know that I would use a handler,