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

2008-06-24 Thread anduser1
How do I check in my Java app whether it is running on an android platform or just any other Linux distribution on a PC? Thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Can mobile position itself?

2008-06-24 Thread Barco
I mean the mobile gets its position without GPS data. With GPS we have to rely on carrier(like BT) or use additional hardware which consumes much power. Is there anyway to position mobile by communicating with surroundings(eg. orther mobile)? On Jun 20, 4:26 pm, viki [EMAIL PROTECTED] wrote:

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

2008-06-24 Thread oegono
Hi, my first solution was to add only the needed jars (.javamail/lib/) and to left out the imap.jar. hope it works for you On 18 Jun., 16:17, Karys [EMAIL PROTECTED] wrote: Hi everybody ! I'm working with the eclipse's plugin and I'd like to know if it is normal to get this kind of error

[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 get:

[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

[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: 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: 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. It's not.

[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

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

[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] 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 property

[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: ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:drawable=@drawable/foo_focused android:state_focused=true / item

[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

[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