Re: [android-developers] Saving data in wearable android

2017-02-15 Thread Anh
Thanks everyone! Never mind this topic. I will go with another solution. Forget Login page and remember UserID Anh On Wednesday, February 15, 2017 at 6:47:40 AM UTC-6, Marina Cuello wrote: > > I never played with that, but it seems like once you declare your app as > standalone som

Re: [android-developers] Saving data in wearable android

2017-02-14 Thread Anh
Hi Marina, Thanks for your advise but my app on smartwatch will run alone. I meant no connection to the phone. That's why I need to save it on the local, smartwatch. Any ideas??? Anh On Monday, February 13, 2017 at 2:49:32 PM UTC-6, Marina Cuello wrote: > > I think you need to use th

[android-developers] Saving data in wearable android

2017-02-13 Thread Anh
n the internet but no clue. Please support! Thank you Anh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegrou

[android-developers] Urgent Noob Question, Android Debugging

2016-07-01 Thread 'Anh Tuan Ha' via Android Developers
Hi, I am trying to get android.processing working with my smartwatch(moto360v1). First of all I do get in the state where Host and Destination are Connected. But when I open processing, it crashes down and Host gets disconnected. this is the terminal skript Tuan404notfound:~ anhtuanha$ adb

[android-developers] Record a presentation of android application

2010-03-24 Thread Kieu Anh Tuan
Hi, I'm looking for a tool to record a presentation of my application. Does anybody know an application that can do something like: http://www.youtube.com/watch?v=RUfTzdxON4E I know that I could use some tools to record my PC screen with an emulator on it, but I mean, instead of have a mouse point

[android-developers] Connect between two simulators by multicast through the WIFI

2009-12-28 Thread Le Tuan Anh
Hi all, I am trying to connect two Android simulator by multicast in WIFI network. Is there anybody have experience about it. (although I have made some search before, and known that Android simulator provide a poor support for such protocol, is there any update in new version 2.0 ?). Thanks much

Re: [android-developers] Re: Is there any way to call start Main Activity from a Java program

2009-12-27 Thread Le Tuan Anh
quite easy, but my problem is how I can plug that GUI into the existing framework, not to re-work everything. Anyway, thanks for your answer. Hope to get idea from any one. Le Tuan Anh 2009/12/26 Mark Murphy > Le Tuan Anh wrote: > > Thanks Murphy. But that answer is too easy to say. &g

Re: [android-developers] Re: Is there any way to call start Main Activity from a Java program

2009-12-26 Thread Le Tuan Anh
Anyway, Murphy. Could you give me a while to explain why "no". I have found that your are author of some Android books. It's impressive too me ( but that why your answer have a bit impact to my trying :) ). Le Tuan Anh Sent from Brussels, Brx, Belgium 2009/12/26 Le Tuan Anh >

Re: [android-developers] Re: Is there any way to call start Main Activity from a Java program

2009-12-26 Thread Le Tuan Anh
Thanks Murphy. But that answer is too easy to say. Sometimes, we still need to spend much time and get helps from answer, and "must" find out the solution for any problem. I still wait the answer from any expert here. Regards, Le Tuan Anh 2009/12/26 Mark Murphy > Le Tuan Anh

[android-developers] Re: Is there any way to call start Main Activity from a Java program

2009-12-26 Thread Le Tuan Anh
ch for any suggestions. Regards. On Dec 12, 10:45 pm, jotobjects wrote: > How are you going to run a JVM that couldstartanActivitywithout > installing an Android application? > > On Dec 12, 5:00 am, Le Tuan Anh wrote: > > > > > As the title mentioned. I have a normal Java

Re: [android-developers] How to add a third-party jar into apk?

2009-12-14 Thread Le Tuan Anh
Nah, it seems you have a confliction with jar lib. I also included a big jar in my project and it works well. Le Tuan Anh 2009/12/14 bear tung > for example, xml-security project. I used add xmlsec-1.4.3.jar( > http://santuario.apache.org/dist/java-library/) in asset dir, > t

[android-developers] Is there any way to call start Main Activity from a Java program

2009-12-12 Thread Le Tuan Anh
As the title mentioned. I have a normal Java application, normally, we start an Android application from a Main Activity, now I must start it from my application. Is there any way to archive it ? Many thanks Regards -- You received this message because you are subscribed to the Google Groups "An

Re: [android-developers] Re: Android in China - What is going on?

2009-12-10 Thread Le Tuan Anh
Such useless questions in a technical mail-list !. Moderator need to stop it. Le Tuan Anh 2009/12/10 Hong > China Unicom has NO android devices yet, but some CDMA android phones, e.g. > Hero, can work on their CDMA network. Unfortunately, those users might be > running a pirate v

Re: [android-developers] R file not generating automatically

2009-12-08 Thread Le Tuan Anh
There is something wrong with your layout (XML), just check the file content, refresh and run again. Le Tuan Anh Sent from Sint-Josse-Ten-Noode, Brx, Belgium 2009/12/8 Sasikumar.S > Hi, > > After i created my project. The R file is not generating. > I need to build the applicati

[android-developers] Is there any way to but an Object to transfer between some Activities without Serialization

2009-12-08 Thread Le Tuan Anh
Normally, I used to apply method Intent.putExtrae(String, Serializable) to put an Object transfer between some Activity in Android. But now, my object can not implement Serialization, so do you know any other way to put Object in an Intent to get the same effect. Thanks a lot -- You received th

[android-developers] Broadcast between desktop and simulator application in WIFI

2009-11-23 Thread Le Tuan Anh
have tested two apps in in different consoles in desktop and it works to discover each other. Thanks a lot for your help Anh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Android Simulator Broadcast between desktop and simulator applications

2009-11-22 Thread Le Tuan Anh
Hi all, I am getting a problem with setup network for Android Simulator. I have two peer-to-peer application, one runs in the desktop and one runs in the Android Simulator (1.6 version). Each program broadcast the message to its network to discovery the remote service of the other. For example, I

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 wrote: > On Tue, Nov 3, 2009 at 2:49 PM, npak...@gmail.com > > >> wrote: > > >> > > Hi all, > > > > >> > > Now i want to write an application to make a certain text to run > > >> > > slowly from ri

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 text

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 wrote: > TranslateAnimation > > > > > Regards, > Saurav Mukherjee. > > > > O

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

2009-05-14 Thread Anh Khoa Nguyen Pham
Thank so much ! On Fri, May 15, 2009 at 12:07 PM, Marco Nelissen wrote: > As I said, use AudioRecord ( > http://developer.android.com/reference/android/media/AudioRecord.html ) > There might be some sample code in the SDK, I'm not sure. > > > > On Thu, May 14, 2009 a

[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 wrote: > > On Thu, May 14, 2009 at 6:54 PM, npak...@gmail.com > wrote: > > > > Hi all, > > > >

[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 wrote: > Yes, it's a known bug that is being investigated. > > > On Thu, May 7, 2009 at 10:13 AM, npak...@gmail.com wrote: > >> >> Hi all, >> >> Now I'm writing a software and using GPS simulator on SDK1.5 >> I use an AVD device by command : an

[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: Android Layout

2009-04-17 Thread Anh Khoa Nguyen Pham
Yes, you can On Fri, Apr 17, 2009 at 3:33 PM, Rahul 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 > > > > --~--~-~--~~~---~--~~ You r

[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 > > 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 FileO

[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 wrote: > > Hi,Guys, > > I wrote a file to the sdcard, but it failed as follow: > > String sdcardFIle = "/sdcard/xxx.txt" > FileOutput

[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
re > 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 wrote: > > Thanks for your replies, > > > > Actually, my application will run when incoming

[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 trans

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

2009-03-04 Thread Anh Khoa Nguyen Pham
t(new Runnable() { >public void 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. >

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

2009-03-04 Thread Anh Khoa Nguyen Pham
t(new Runnable() { >public void 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. >

[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 wrote: > > so just from the basic use case I dont know that I would use a > handler, basically I really