[android-developers] startActivityForResult

2010-02-27 Thread Pierre Henry
Encoutered a tricky result using startActivityForResult from an Activity In the called Activity , I set result like that: __ setResult(RESULT_OK, getIntent().putExtra(getPackageName()+values, values)); __ When running the on ActivityResult, the extra has

[android-developers] PlayDriver

2010-02-23 Thread Pierre Henry
Hi, I'm playing with 'MediaPlayer' class and 'm encoutering a curious message in debug win: __ 02-23 11:34:06.288: ERROR/PlayerDriver(51): Invalid percentage value 82597 __ The message is scrolling with increasing value of the percentage value. The

[android-developers] MediaPlayer hanging abruptedly

2009-12-29 Thread Pierre Henry
I have a code running a MediaPlayer object with an mp3 uri somewhere in an activity. The player runs for 6/7 minutes and suddenly hangs off. Is there a particular thing to do with a mp3 streaming server ? -- Pierre -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Touch screen inactive

2009-12-15 Thread Pierre Henry
Problem not known == problem On Nov 18, 9:51 am, Pierre Henry Perret phper...@gmail.com wrote: In stacking tasks, at some point the touch screen dont work any more. It works again later without reason. Is this a known problem ? -- You received this message because you are subscribed

[android-developers] Server/Client runs on device but client timeout on emulator

2009-11-30 Thread Pierre Henry
I have a server socket process running on device. When I run a client socket on the same device it works. When I run the client on emulator it timeouts. What is the reason ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Server does not receive message from client

2009-11-26 Thread Pierre Henry
Hi, Your server is up at 10.0.2.15 and the client try to connect to 10.0.2.2 ? On 11 nov, 17:49, Mike88 michael...@gmail.com wrote: Hello, I have created a simple server and client both on android phone or emulators. The code is as follows Server: import java.io.BufferedReader; import

[android-developers] Re: Caused by: java.io.NotSerializableException: android.os.Message

2009-11-25 Thread Pierre Henry
mmur...@commonsware.com wrote: Pierre Henry wrote: I get a * NotSerializableException* exception trying to send objects between two processes. Is it possible to do client/server sending of serializable objects between two processes ? Use AIDL and remote services for that: http

[android-developers] Re: Background Service is not working.

2009-11-24 Thread Pierre Henry
You can do that easily with NotificationManager -- Pierre -- 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@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Debug config not stopping at break points

2009-11-24 Thread Pierre Henry
Why should the debugger dont make breakpoints stop when running an android app on Eclipse ? -- 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@googlegroups.com To unsubscribe from this

[android-developers] Caused by: java.io.NotSerializableException: android.os.Message

2009-11-24 Thread Pierre Henry
I get a * NotSerializableException* exception trying to send objects between two processes. Is it possible to do client/server sending of serializable objects between two processes ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Debug config not stopping at break points

2009-11-23 Thread Pierre Henry
All hi, Breakpoints in code arent efficient, debugger doesnt stop at it. __ Eclipse 3.5.2, Android sdk 2.0 Windows XP __ Is this a know problem ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] contentView Required

2009-11-23 Thread Pierre Henry
Hello, regarding the trace dump following, what does mean 'contentView required' ? __ java.lang.RuntimeException: Unable to create service com.comp.app.MyService: java.lang.IllegalArgumentException: contentView required: pkg=com.comp.app id=1 notification=Notification

[android-developers] Touch screen inactive

2009-11-18 Thread Pierre Henry Perret
In stacking tasks, at some point the touch screen dont work any more. It works again later without reason. Is this a known problem ? -- 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] Permission denial

2009-11-18 Thread Pierre Henry
All hi, This error is logged when launching activity: __ 11-19 00:15:41.940: WARN/ActivityManager(71): Permission Denial: starting Intent { flg=0x1000 cmp=com.soladhoc.affinity.ecf/.RemoteServiceBinding } from null (pid=-1, uid=-1) requires android.permission.INTERNET

[android-developers] Re: custom protocol handler...

2009-11-12 Thread Pierre Henry
sdphil hi, Have you setup a server for protocol yourprotocol:// ? On 12 nov, 07:39, sdphil phil.pellouch...@gmail.com wrote: anybody?  andybody?? :) On Nov 11, 9:09 am, sdphil phil.pellouch...@gmail.com wrote: i want to do the following thing - when a user navigates to a web page, I

Re: [android-developers] Re: custom protocol handler...

2009-11-12 Thread Pierre Henry Perret
, sdphil phil.pellouch...@gmail.com wrote: do I want a content provider or a content resolver? On Nov 12, 3:08 am, skink psk...@gmail.com wrote: Pierre Henry wrote: sdphil hi, Have you setup a server for protocol yourprotocol:// ? server? what server? i'd

[android-developers] Eclipse version

2009-11-09 Thread Pierre Henry Perret
All hi, What is the minimal version of eclipse SDK should be used to build android ? Pierre -- 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@googlegroups.com To unsubscribe from this

[android-developers] Re: Unable to chmod sdcard: Read-only file system

2009-10-27 Thread Pierre Henry
Nima, Try a *chmod 0777 sdcard* instead... -- Pierre --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe