[android-developers] Button - onKeyDown()

2008-06-24 Thread redhatab
Hi, Is it possible to do something while a key is being clicked or is in focus by the arrow keys. For example, suppose there are multiple buttons on the screen. Now in the keyDown event, can we change the text of the button. Or even if the arrow keys are used to navigate through the buttons, and

[android-developers] Re: Check within App whether running on Android platform?

2008-06-24 Thread Steve Oldmeadow
> How about checking if we are running on Delvik VM or Sun Java VM ? > Is there anyway to query a property that distinguish one VM from the > other? In that case it must be two different binaries so the simplest approach is to differentiate the binaries in some way that can be examined at run tim

[android-developers] How set transparent in "WebVIew" ?

2008-06-24 Thread Xsuo
How set transparent in "WebVIew" ? use WebVIew Setvisibility()?? but isn't affect --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Should I use AlarmManager or ScheduledExecutorService? (pros/cons?)

2008-06-24 Thread ccylan
Hello Everyone, Here is my dilemma. I have several different timed operations that I need to run on a daily basis, but at different times. Currently I am using ScheduledExecutorService, however having dabbled with AlarmManager and its setRepeating function, I'm wondering if I should use that in

[android-developers] Re: How to change image on focus and unfocus

2008-06-24 Thread Josh Guilfoyle
Use a selector drawable as such: res/drawable/foo.xml: http://schemas.android.com/apk/res/android";> Then simply use the foo drawable as your image or widget background. On Jun 23, 1:47 am, Raj <[EMAIL PROTECTED]> wrote: > How to chanage the image on focus and unfocus --~--~---

[android-developers] Re: Check within App whether running on Android platform?

2008-06-24 Thread kobica
On Jun 24, 11:49 am, Josh Guilfoyle <[EMAIL PROTECTED]> wrote: > You mean check if it's running on a real device or on the emulator? > One approach currently might be to check if the IMEI number is 0, > though I suspect they will fix that in the future.  Perhaps there is > another system propert

[android-developers] Re: Check within App whether running on Android platform?

2008-06-24 Thread Josh Guilfoyle
You mean check if it's running on a real device or on the emulator? One approach currently might be to check if the IMEI number is 0, though I suspect they will fix that in the future. Perhaps there is another system property which could also be used as a heuristic? On Jun 23, 3:54 pm, anduser1

[android-developers] Re: TabHost remove Tab

2008-06-24 Thread Guillaume Perrot
I had the same problem. I used removeViewAt(int position) on the TabWidget and it worked for me. The same didn't work directly on TabHost (ArrayOutOfBoundException). On 24 juin, 17:03, Mark Murphy <[EMAIL PROTECTED]> wrote: > Ahmy wrote: > > mm.. basically im creating a client messenger. the tab

[android-developers] How to store database information at common places.

2008-06-24 Thread Prem
Hi , I am developing an Android application. Requirements are as mention below: 1. Each client will install app.apk file to his system. (This is done) 2 All the user (client) info have to stored at a common places instead of client machine. 3. Now I will connect to the DB which is placed at common

[android-developers] android & Smack

2008-06-24 Thread Micka
Hi, i make a program on Android with the librairy smack. It's work when i want to connect the server, easy ! but when i want t get the ServiceDiscoveryItem , i've a crash system ... : Uncaught handler: thread Main exiting due to uncaught exception java.lang.RuntimeException: Unable to star

[android-developers] Re: Streaming in android

2008-06-24 Thread rajesh
http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/ From the above post I believe, streaming is possible but the support of playing still is not available on emulator. so keep your code ready and fingers crossed until you could test your code on e

[android-developers] Smack & Android

2008-06-24 Thread Micka
Hi, i make a program on Android with the librairy smack. It's work when i want to connect the server, easy ! but when i want to get the ServiceDiscoveryItem , i've a crash system ... : Uncaught handler: thread Main exiting due to uncaught exception java.lang.RuntimeException: Unable to sta

[android-developers] Re: Javamail "no such label 0104"

2008-06-24 Thread mikas
Hi, I have Windows XP Professional Service Pack 2 build 2600 Regards, Mikas On Jun 23, 6:29 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > What version of Windows? There are a few out there. :-) > > Cheers, > Justin > Android Team @ Google > > On Jun 19, 12:29 am, Karys <[EMAIL P

[android-developers] Android Specialists

2008-06-24 Thread JammoBurke
Hi, I am an interactive consultant at JWT London and would like to know if there are any companies that have got a jump on the whole Android specialism. I know its all in its infancy but there are great deal of projects I would like to look at for our clients which can be seen on www.jwt.co.uk ra

[android-developers] Re: TabHost remove Tab

2008-06-24 Thread Mark Murphy
Ahmy wrote: > mm.. basically im creating a client messenger. the tab reveal when > user wants to chat to some user. > and the tab close when user no longer want to see the chat window. > the reason im doing this is because i just wanted a single activity. > and its only for testing my client messe

[android-developers] Re: Streaming in android

2008-06-24 Thread David Given
padma prabhavathi wrote: [...] > Do u know anything about tunewiki?If u know anything about it then kindly > give me some information about it. I don't know who u is, and I don't know how tunewiki works, but if it's anything like the streaming audio app that *I* wrote, it works by using one thr

[android-developers] Re: Streaming in android

2008-06-24 Thread Hong
not sure about video streaming, but mp3 audio streaming is somewhat possible... --~--~-~--~~~---~--~~ 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@google

[android-developers] Re: Streaming in android

2008-06-24 Thread padma prabhavathi
On Tue, Jun 24, 2008 at 6:44 PM, David Given <[EMAIL PROTECTED]> wrote: > > padma prabhavathi wrote: > [...] > > Can anyone please tell me whether streaming is possible in > > android.Till now i saw tutorials on playing video and audio files that > > download into a folder and play. > > No

[android-developers] Re: Streaming in android

2008-06-24 Thread David Given
padma prabhavathi wrote: [...] > Can anyone please tell me whether streaming is possible in > android.Till now i saw tutorials on playing video and audio files that > download into a folder and play. No. It's not. Trying to do streaming causes MediaPlayer to produce various bizarre and

[android-developers] Re: Request for comment on Activity flow design

2008-06-24 Thread Mark Murphy
> Any help would be much appreciated. Just because you want multiple disparate views does not mean you need multiple disparate activities. For example, you could use ViewFlipper to hold A, B, C, D, and INTERMEDIATE as views, and flip between them as needed based on your business requirements.

[android-developers] Re: [android-developers]

2008-06-24 Thread dolan kundu
Hi Radhika, for one Java file, xml file you have to create and design also you have to do. for the AndroidManifest.xml file, it will create automatically. but in that, you have to modify that xml . Thanks, Dolan. On Wed, May 14, 2008 at 3:08 PM, <[EMAIL PROTECTED]> wrote: > > > Hi... >

[android-developers] Streaming in android

2008-06-24 Thread padma prabhavathi
Hi Friends, Can anyone please tell me whether streaming is possible in android.Till now i saw tutorials on playing video and audio files that download into a folder and play. Thanks in Advance. --~--~-~--~~~---~--~~ You received this message because you ar

[android-developers] Re: TabHost remove Tab

2008-06-24 Thread Ahmy
mm.. basically im creating a client messenger. the tab reveal when user wants to chat to some user. and the tab close when user no longer want to see the chat window. the reason im doing this is because i just wanted a single activity. and its only for testing my client messenger library. single a

[android-developers] Request for comment on Activity flow design

2008-06-24 Thread Gavin Bong
I have a need to intersperse the flow between one Activity to another with an intermediate Activity. Let's call the intermediate activity INTERMEDIATE. So imagine my application having a normal activity flow like this: A -> B -> C -> D Now putting the intermediary activity into the flow, we ge

[android-developers] Re: How to display map on emulator(our application)

2008-06-24 Thread oegono
Hi parth, its really easy to display a pam on the mobile device. The only thing you have to do, is to extend the MapActivity from the SDK. Int the overridden onCreate(Bundle icicle) method you add a Map View to the Activity like this: // create the mapView map =