[android-beginners] Why more than one buttons are highlighted on one screen

2009-11-05 Thread Shude Zheng
Hi, There are 15 buttons on the screen of my application. Normally only one button is highlight, for example buttonA. But if I press buttonB for a long time and/or multi-times it will be highlight too. And the buttonA is still highlight. So two buttons are highlighted. Use the same way three or fo

[android-beginners] How to play pico-ttx in sdk1,6

2009-10-03 Thread Shude Zheng
Hi, I updated my eclipse to sdk1.6. The emulator was working. I download the PicoLangInstaller.apk. Use adb install $apk to install the Picoxx.apk. There was something in /adcard/pico. But I am unable to find anything that I can test the picotts. Can you tell me how to play the new feature of TTS

[android-beginners] Re: How to receive callback when press and hold button for a longer time.

2009-10-03 Thread Shude Zheng
return false; >} >}); > > method onLongClick in this anonymous class will be called when user > presses and holds "cannnel_up" button for about 2 seconds > > On 2 окт, 03:08, Shude Zheng wrote: > > I want to ad

[android-beginners] How to receive callback when press and hold button for a longer time.

2009-10-01 Thread Shude Zheng
I want to add some code when user press and hold the button. I try use change the focus function. I wrote the similar code like onClick. But it was never called when I moved curer to button and it was focused. Button button = (Button) findViewById(R.id.*channel_up*); button.setOnFocusChangeListen

[android-beginners] Re: launch app from an app

2009-09-28 Thread Shude Zheng
Hi, Justin, Can I use similar function call Home using startActivity() in the child application. Do not use the Home button. Because I want keep the child application alive and directly back to home. Thanks, Shude On Tue, Sep 22, 2009 at 5:14 PM, Shude Zheng wrote: > Thanks, Justin. >

[android-beginners] Re: launch app from an app

2009-09-22 Thread Shude Zheng
aq/framework.html#4 > > Thanks, > Justin > > -- > There are only 10 types of people in the world... > Those who know binary and those who don't. > --------

[android-beginners] Re: launch app from an app

2009-09-22 Thread Shude Zheng
Thanks, Justin, I have fixed the crash. But I still have some questions. I have two my own applications, for example, Parent and Child. There is button in Parent applicaiton to launch Child. It uses the ApplicationInfo code get the name and activity of Child and uses startActivity() to launch Chi

[android-beginners] Re: launch app from an app

2009-09-22 Thread Shude Zheng
Hi,. I have further question on this subject. I want two applications can call each other. I use parent application to lanuch child application by startActivity(). The child application is shown on screen. Then use child to launch the parent. The screen is back to parent view. When I launch the c