[android-beginners] Re: Can't locate com.android.settings activity

2009-08-19 Thread Jean-Sebastien Stoezel
Any input on this issue? Thanks, Jean-Sebastien - Reply message - From: jstoezel js.stoe...@gmail.com Date: Mon, Aug 17, 2009 6:19 PM Subject: [android-beginners] Can't locate com.android.settings activity To: Android Beginners android-beginners@googlegroups.com Hi, I'm trying to open

[android-beginners] How to use requestLocationUpdates to sample GPS based on time only?

2009-08-17 Thread Jean-Sebastien Stoezel
Hi, I would like to use requestLocationUpdates to periodically get a GPS fix, not based on the actual distance covered. If I specify the following arguments: - m_LocationManager.requestLocationUpdates(network, 6, 0, this): requestLocationUpdates is called more than every 6ms. I believe

[android-beginners] Re: OpenIntent Simulator - Get black screen when selecting SensorSimulator

2009-07-05 Thread Jean-Sebastien Stoezel
Hi, Thanks for the reply. I downloaded the open latest intent package, followed the instructions from the openIntent page: http://code.google.com/p/openintents/wiki/SensorSimulator As you can see in the comment section of the page, we are several to report this issue. I'm not sure what you

[android-beginners] Re: getSystemService(Context.SENSOR_SERVICE) hangs emulator

2009-07-03 Thread Jean-Sebastien Stoezel
Thanks for the quick reply. I thought it was possible to work with sensors on the emulator, as it looks like there's even a simulator for them (the openintents simulator)... How do they get to use the sensors on the emulator? On 3-Jul-09, at 5:43 PM, Mark Murphy wrote: jstoezel wrote:

[android-beginners] Re: getSystemService(Context.SENSOR_SERVICE) hangs emulator

2009-07-03 Thread Jean-Sebastien Stoezel
Hi Mark, Are you saying that it should work with SDK 1.1? getSystemService hangs for both SDK 1.1 and 1.5 on my machine (Mac OS X). Thanks, Jean On 3-Jul-09, at 6:25 PM, Mark Murphy wrote: I thought it was possible to work with sensors on the emulator, as it looks like there's even a

[android-beginners] Re: getSystemService(Context.SENSOR_SERVICE) hangs emulator

2009-07-03 Thread Jean-Sebastien Stoezel
I'm using SDK 1.1, as provided with SDK 1.5. Can I still get the true SDK 1.1? On 3-Jul-09, at 6:42 PM, Mark Murphy wrote: Are you saying that it should work with SDK 1.1? getSystemService hangs for both SDK 1.1 and 1.5 on my machine (Mac OS X). Is it real Android 1.1 or Android 1.1 as

[android-beginners] Re: Exception while calling setAdapter on Spinner

2009-07-02 Thread Jean-Sebastien Stoezel
Thanks for the quick reply. Switching to lower case did not fix the issue. Logcat does not show an exception... Am I suppose to enable the logging of exceptions? The debugger window shows: Thread[3 main] (Suspended (exception RuntimeException)) ZygoteInit$MethodAndArgsCaller.run() line: 788

[android-beginners] Re: Exception while calling setAdapter on Spinner

2009-07-02 Thread Jean-Sebastien Stoezel
Hum... It looks like it generated an exception because the spinner I was trying to display was not in the current view displayed. Thanks for your help Mark. Jean On 2-Jul-09, at 7:27 PM, Mark Murphy wrote: Jean-Sebastien Stoezel wrote: Logcat does not show an exception... Am I suppose

[android-beginners] SAXException while parsing XML file

2009-06-22 Thread Jean-Sebastien Stoezel
Hi, The following code generates the SAXParseException exception InputSource needs either stream or reader. try { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder parser = factory.newDocumentBuilder(); Document document =