[android-developers] Re: Orientation changes simulation

2008-09-07 Thread Peli
Hi blindfold, How can I have a simple switch (in Eclipse) during the development cycle such that I can easily build with and without the OpenIntents Sensor simulator? By default, the SensorManagerSimulator transparently passes requests to Android's internal sensor, so if you remove the line

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-07 Thread Peli
Is there any examples in the ApiDemos? Yes: * API Demos / Views / Expandable Lists / 1. Custom Adapter * API Demos / Views / Gallery / 1. Photos Peli www.openintents.org Best regards,   Jorge On Sep 6, 11:34 pm, Peli [EMAIL PROTECTED] wrote: it seems more convenient to me to

[android-developers] Re: Phone states?

2008-09-07 Thread Peli
What I'll like to do is to start a LBS service at phone boot and then bring up a message when I reach a certain GPS position. Applications should not pop up a message, but rather use notification: From the docs: Notifications can take different forms: * A persistent icon that goes in the

[android-developers] WebView

2008-09-07 Thread dai
I'm trying to display web page (html / javascript) on WebView component. You know, it's ok to show the page on the WebView comp initially but after clicking a link (like weather, finance), the web-browser embedded on Android originally. Does someone know how to keep showing web page on the

[android-developers] Re: WebView loadUrl does not seem to work...

2008-09-07 Thread dai
Hi, Mark. I'm also wondering why accessting to google.com shows white.. it might be happening because of javasript or something..? Thank you so much On 9月6日, 午前9:57, Mark Murphy [EMAIL PROTECTED] wrote: RPO wrote: This sample is from your book (which I subscribed to)! Well, then *clearly*

[android-developers] connecting to 127.0.0.1 via 10.0.2.2 in Beta 9

2008-09-07 Thread [EMAIL PROTECTED]
Could anybody use Socket() for connecting to 127.0.0.1 via 10.0.2.2 in Beta 9? It worked in m5, but doesn't work in in Beta 9. Thank's Vit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] several wav sounds in Beta 9 plaies bad

2008-09-07 Thread [EMAIL PROTECTED]
Hi! Can anybody say, why several wav sounds in Beta 9 plaies bad? One or two lpays good, but next plays half path or not plays? In m5 all wasgood. Thank's Vit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Using socket connection in 9 beta

2008-09-07 Thread [EMAIL PROTECTED]
Hi! Can anybody explain why new Socket(10.0.2.2,9009); does not work in 9 beta? It worked in m5. Thank you. Vit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: UnsupportedOperationException: ArrayAdapter's add and insert methods

2008-09-07 Thread squeakypants
Thanks, that did it! :) The docs said Object[], so I assumed only an array could be passed. --squeakypants On Sep 6, 9:37 pm, Romain Guy [EMAIL PROTECTED] wrote: It's because you passed an array of Integer[]. Pass a ListInteger instead and you will be able to add/remove/insert/etc. On

[android-developers] Re: WebView loadUrl does not seem to work...

2008-09-07 Thread Megha Joshi
2008/9/7 dai [EMAIL PROTECTED] Hi, Mark. I'm also wondering why accessting to google.com shows white.. it might be happening because of javasript or something..? Yes you are on the right track...please see the resolution at the link below:

[android-developers] Problem with sensors

2008-09-07 Thread max
I'm trying to access the sensors under the new 0.9 SDK. But I just don't get it to work. I distilled the essential code from the API demos, but registerListener() always returns false and I get this on logcat: W/SensorService( 46): could not enable sensor 1. This is the code: public class

[android-developers] getFromLocation not returning street names

2008-09-07 Thread Huebi
I am just wondering why the Geocoder does not return street names if I do reverse geocoding. Will that be added somewhen? Will it be available in the final version used on the phones? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: How to display a local file in the browser?

2008-09-07 Thread [EMAIL PROTECTED]
Nothing to do. I wrote a ContentProvider returning a cursor pointing to a database record having '_id' and '_data' columns filled (the last one contains a full path to the file, as remarked on the documentation, in case of binary data). Passing url 'content://polito.mailandroid/1' to WebView

[android-developers] send SMS

2008-09-07 Thread jphdsn
hello, I'm a new french developer on android. I try the SMSAPISample but it doesn't work. import android.app.PendingIntent is not recognize. I 've take a look to the documentation and It seems that there is no other way to send SMS. Someone have tried and succeed with the sample or with

[android-developers] Re: Problem with sensors

2008-09-07 Thread Peli
The Android emulator is currently set up so that it returns that no sensors are available. (you can check this with the SensorsManager method getSensors() which returns 0). One way to simulate sensors on Android is to use the OpenIntents SensorSimulator: http://www.openintents.org/en/node/6

[android-developers] Re: Code working in standalone java; doesnot work in android (android-sdk-windows-0.9_beta)

2008-09-07 Thread haig
I am having similar problems, hope someone can help. In my example, myService is a GoogleService GoogleService myService = new GoogleService(blogger, exampleCo- exampleApp-1); Standalone client works fine, but not in my android app. Error from logcat:

[android-developers] Re: Android SoftKeyboard Released(Both English and Chinese Input) !

2008-09-07 Thread PowerGUI
I have not handwriting recognition code in hand,that needs third party support. If somebody has such library,I can integrated it with the softkeyboard. Best Regards PowerGUI -- Android DotPhone Team http://www.dotphone.org/english/

[android-developers] Re: WebView loadUrl does not seem to work...

2008-09-07 Thread dai
Hi, Megha. Thank you very much. it works well by enabling javasript. Grazie so much On 9月7日, 午後7:01, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/7 dai [EMAIL PROTECTED] Hi, Mark. I'm also wondering why accessting to google.com shows white.. it might be happening because of javasript or

[android-developers] Re: WebView

2008-09-07 Thread dai
Hi...somebody knows the way to keep web surfing on WebView component..? Does WebView allow to show web page at first so far? Thanks in advnace On 9月7日, 午後5:53, Dai Odahara [EMAIL PROTECTED] wrote: hi I mean that I do nt open new window. Is it possible not to open web window from web view