[android-developers] Re: logcat issue

2008-09-09 Thread sudheer
Hello Hackbod I added uses-permission id=android.permission.DUMP in the android manifest.xml file and ran the application again.but the result seem to be the same. a 0 size logfile is created at the specified file path. am I doing any thing wrong? any pointers are appreciated. Best Regards,

[android-developers] Re: 0.9 new blank screens and calls to Activity.onResume()

2008-09-09 Thread hackbod
This may not be necessary. You will have onPause() called when the screen is turned off, which is the usual situation while the lock screen is up -- so you would only be unpaused when the screen is turned on with the lock screen, which is not that often. The behavior of going to sleep is

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-09-09 Thread code_android_festival_way
Thank you for you answer. I've added the additional parameter to the values and this works now. But the problem with the restart and the lose of meta information is still there. At the moment I am recording something and the meta information is added to the database which can be seen in the music

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

2008-09-09 Thread [EMAIL PROTECTED]
Yes... I was trying to do that. I am creating ContentProvider which stores data in a table with (for now) only 2 fields: _id (unique identifier) _data (a String which stores the full path of the file) I was unable to call openInputStream or openOutputStream on the Uri cause of documentation was

[android-developers] Re: Geocoder IOException

2008-09-09 Thread Jazz
I did have the same error. It turned out to be because of the proxy blocking the communication to the geocoding service. Before I had system admin guys to poke a whole in the firewall for Android because I could not configure the proxy for maps. The problem was that the geocoding service probably

[android-developers] ContextMenu onClickListener on a ListView with CustomAdapater

2008-09-09 Thread Mark Hansen
I've got the context menu showing up properly but can't seem to catch the onclick event on it. I'm guessing I'm missing something fairly obvious but I'm stumped.. anyone have any ideas? Code here: notesCursor = nm.GetAllNotes(); NotesViewAdapter nva = new

[android-developers] Scaling 9-patch drawable *down*

2008-09-09 Thread sahn0
It seems that nine-patch behaves wierdly when scaled down. I created button and specified it to be 20x20 pixels. Button drawable is 44x48 and has 2x2 stretchable area. Downscaling produced weird results. In fact, the result didn't seem to be the result of scaling at all. It looked like result of

[android-developers] Re: Scaling 9-patch drawable *down*

2008-09-09 Thread Romain Guy
It is normal. The whole point of a 9-patch is to preserve the corners. It is therefore not really possible to scale them down correctly. On Tue, Sep 9, 2008 at 10:15 AM, sahn0 [EMAIL PROTECTED] wrote: It seems that nine-patch behaves wierdly when scaled down. I created button and specified

[android-developers] when android emulator try to connect internet,it says The page contains too many server redirects

2008-09-09 Thread Java
Hi ,can anyone help me with this? I installed android-sdk-windows-0.9_beta on my laptop. I use ADSL and home router was set to auto dialing. My laptop get ip address by dhcp,so My laptop can access the web without any proxy settings. IP Address. . . . . . . . . . . . : 192.168.0.100 Subnet Mask

[android-developers] Re: Samples

2008-09-09 Thread Werner Keil
Sure. And the ADT on Ganymede. Is that also what you are using? Perhaps some setting there changed slightly? I cannot say how you did it, but the only way I now found is New Android Project (import form existing source) This works and even recognizes the name, but unlike Import where you have

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

2008-09-09 Thread stunti
You need to modify the code of gdata. The certificates used by HttpURLConnection are not available to validate the hostname during a SSL connexion. A small workaround below. around line 332 in com.google.gdata.client.http.HttpGDataRequest You might also want to disable GZIP compression as it

[android-developers] Yet another android page

2008-09-09 Thread [EMAIL PROTECTED]
http://jinnov.googlepages.com/index.html --~--~-~--~~~---~--~~ 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: send SMS

2008-09-09 Thread De San Nicolas Jean Philippe
hello, no I using the m. Is it the reason? thank's for the response... 2008/9/8 Megha Joshi [EMAIL PROTECTED] Are you using the latest sdk 0.9? 2008/9/7 jphdsn [EMAIL PROTECTED] hello, I'm a new french developer on android. I try the SMSAPISample but it doesn't work. import

[android-developers] Re: send SMS

2008-09-09 Thread Megha Joshi
2008/9/9 De San Nicolas Jean Philippe [EMAIL PROTECTED] hello, no I using the m. Is it the reason? Yes, please use the latest sdk and ADT plugin. thank's for the response... 2008/9/8 Megha Joshi [EMAIL PROTECTED] Are you using the latest sdk 0.9? 2008/9/7 jphdsn [EMAIL PROTECTED]

[android-developers] Re: Scaling 9-patch drawable *down*

2008-09-09 Thread sahn0
Well, you can scale down and preserve corners at the same time. Just copy four image corner parts of (width/2 x height/2) size each. This of course is not an ideal solution, but it will work for most drawables most sane sizes (will work for my case too). Just a proposition. I checked out help

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

2008-09-09 Thread Megha Joshi
2008/9/9 [EMAIL PROTECTED] [EMAIL PROTECTED] Yes... I was trying to do that. I am creating ContentProvider which stores data in a table with (for now) only 2 fields: _id (unique identifier) _data (a String which stores the full path of the file) I was unable to call openInputStream or

[android-developers] Re: Abort SMS broadcast

2008-09-09 Thread Justin (Google Employee)
but isn't that why you list an app's permissions before installation (as shown in the marketplace screens)? To some extent yes, but there are some permissions that are just not available, for example rebooting the phone. Consuming SMSes is another one of these. The question of where to draw

[android-developers] Re: Text2Speech now hosted at google code

2008-09-09 Thread kelseywright
Hello, Is there any documentation on the current state of the code anywhere? Regards, Kelsey Wright On Aug 22, 3:31 pm, l1ghtm4n [EMAIL PROTECTED] wrote: I've decided to open source the Text2Speech project for Android. The code can be found athttp://code.google.com/p/android-text2speech/.

[android-developers] Re: send SMS

2008-09-09 Thread De San Nicolas Jean Philippe
OK thank you. I hope give you help if I can in the future. 2008/9/9 Megha Joshi [EMAIL PROTECTED] 2008/9/9 De San Nicolas Jean Philippe [EMAIL PROTECTED] hello, no I using the m. Is it the reason? Yes, please use the latest sdk and ADT plugin. thank's for the response...

[android-developers] Re: Mock Location Provider [SOLVED+IMPROVED]

2008-09-09 Thread Justin (Google Employee)
Thanks Stefan, for providing the additional route. I just included a trivial one and the hope is that users will input what ever route data source makes sense for them. In the future I might work on enhancing the program to include a set of routes to choose from and the ability to just specify

[android-developers] Re: MediaPlayer and LocalSocket problem

2008-09-09 Thread Justin (Google Employee)
I'm assuming RTP == RTSP. The emulator doesn't support using RTSP because it doesn't handle routing of UDP packets properly. However, the devices will support RTSP. In a sense, you are trying to solve a problem that doesn't exist, although I realize not being able to test on the emulator is

[android-developers] Offering widgets in the Application Market

2008-09-09 Thread BikingBill
Since Android supports downloadable widgets, does anyone know if the upcoming Application Market will support the sale (or free download) of widgets? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: ContextMenu onClickListener on a ListView with CustomAdapater

2008-09-09 Thread Mark Murphy
I've got the context menu showing up properly but can't seem to catch the onclick event on it. I'm guessing I'm missing something fairly obvious but I'm stumped.. anyone have any ideas? You could try this approach: 1. Calling registerForContextMenu() in your activity, passing in the

[android-developers] Re: Text2Speech now hosted at google code

2008-09-09 Thread kelseywright
One think I noticed is that this does not seem compatible with the latest release of the SDK (0.9), which removed javax.sound. So many many fixes are going to be needed to port it to the new SDK. Does anyone know if there is an API in Android that is intended to replace this funcitonality?

[android-developers] Re: Some help with webservices?!

2008-09-09 Thread Justin (Google Employee)
Are you using the emulator behind a proxy? Can you load web pages in the browser? Can you provide the output from adb logcat when you try running this program? Cheers, Justin Android Team @ Google On Sep 4, 7:03 pm, Cezar Augustus Signori [EMAIL PROTECTED] wrote: Thanks for the response!

[android-developers] Re: No internet connectivity - no browser, no maps?

2008-09-09 Thread Justin (Google Employee)
Are you sure there's no proxy? 100% of the cases I've seen with these symptoms have been the result of a proxy. Try searching this forum for some solutions to dealing with proxies on Windows. Cheers, Justin Android Team @ Google On Sep 4, 8:38 pm, Mark Wyszomierski [EMAIL PROTECTED] wrote:

[android-developers] Re: Offering widgets in the Application Market

2008-09-09 Thread plusminus
widgets = applications ? Yes (free from the beginning, sale some 'time' later) Regards, plusminus # anddev.org - Worlds largest Android Developer Community in the world On Sep 9, 2:57 pm, BikingBill [EMAIL PROTECTED] wrote: Since Android supports downloadable widgets, does anyone know if the

[android-developers] Re: Orientation changes simulation

2008-09-09 Thread blindfold
Thanks Peli, it works like a charm now! In fact my compass code needed no adaptation, but it was very nice to simulate it to make sure. Your demo sample was particularly helpful. Great stuff! Before I had just not realized that I had to download the documentation bundle rather than read the

[android-developers] Re: Text2Speech now hosted at google code

2008-09-09 Thread blindfold
The javax.sound stuff should be replaced by equivalent functionality from android.media.MediaPlayer which hopefully it not hard using a low- level wrapper around the audio function calls. However, Android (SDK 0.9 beta) lacks support for in-memory sound synthesis and playback, so one is forced to

[android-developers] Re: Text2Speech now hosted at google code

2008-09-09 Thread kelseywright
My concern would be dealing with javax.sound.sampled.AudioFormat though, which is sprinkled throughout the code, and not just in the players section. On Sep 9, 4:28 pm, blindfold [EMAIL PROTECTED] wrote: The javax.sound stuff should be replaced by equivalent functionality from

[android-developers] Re: ContextMenu onClickListener on a ListView with CustomAdapater

2008-09-09 Thread Mark Hansen
Ok, I implemented onContextItemSelected and am now able to get ahold of the menu click.. the issue now is that I can't seem to get the position of the the ListView click. In other words, the user holds down on the ListView which spawns the ContextMenu, but the value for the ListView position is

[android-developers] Re: ContextMenu onClickListener on a ListView with CustomAdapater

2008-09-09 Thread Mark Murphy
In other words, the user holds down on the ListView which spawns the ContextMenu, but the value for the ListView position is not present? If this is a ListActivity, you could try getSelectedItemId() or getSelectedPosition(). -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy

[android-developers] Re: ContextMenu onClickListener on a ListView with CustomAdapater

2008-09-09 Thread Mark Hansen
Yea I tried both of those, neither seem to return the position on the ListView. It appears onListItemClick is never called when I when I'm creating my ContextMenu. On Sep 9, 5:59 pm, Mark Murphy [EMAIL PROTECTED] wrote: In other words, the user holds down on the ListView which spawns the

[android-developers] Re: ContextMenu onClickListener on a ListView with CustomAdapater

2008-09-09 Thread Romain Guy
The OnItemClickListener is used to listen to clicks on the ListView, not in a context menu. There is another callback to override to respond to clicks in a context menu: Activity.onContextItemSelected(MenuItem) On Tue, Sep 9, 2008 at 3:19 PM, Mark Hansen [EMAIL PROTECTED] wrote: Yea I tried

[android-developers] Re: ContextMenu onClickListener on a ListView with CustomAdapater

2008-09-09 Thread Romain Guy
Oh and if you want to know what item the user long pressed to create the context menu, you cannot use getSelection(), because selection does not exist in touch mode. Instead, in onContextItemSelected(), you can get the ContextMenuInfo, cast it to AdapterContextMenuInfo, and this will give you the

[android-developers] Re: ListView, multipleChoice -- how do you choose things?

2008-09-09 Thread Jorge D Ortiz
Hi all! Same problem here. Any advances/diagnostic? Best regards, Jorge On Aug 26, 10:05 pm, Mark Murphy [EMAIL PROTECTED] wrote: I just checked our changelogs and this is a bug we fixed after the SDK was cut. Sorry for this inconvenience, the next SDK will provide you with a fix for

[android-developers] Re: Text2Speech now hosted at google code

2008-09-09 Thread kelseywright
This also uses javax.sound to write the sound file in the first place, which will need taken care of. On Sep 9, 4:41 pm, kelseywright [EMAIL PROTECTED] wrote: My concern would be dealing with javax.sound.sampled.AudioFormat though, which is sprinkled throughout the code, and not just in the

[android-developers] Re: ContextMenu onClickListener on a ListView with CustomAdapater

2008-09-09 Thread Mark Hansen
This did the trick. I did just that and it pulled I have it now.. thanks for the tips guys. Mark On Sep 9, 6:29 pm, Romain Guy [EMAIL PROTECTED] wrote: Oh and if you want to know what item the user long pressed to create the context menu, you cannot use getSelection(), because selection

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

2008-09-09 Thread [EMAIL PROTECTED]
I'm refactoring code cause I made a huge number of tests before getting something right. I'll post it ASAP. Thank you for your support. On 9 Set, 20:10, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/9 [EMAIL PROTECTED] [EMAIL PROTECTED] Yes... I was trying to do that. I am creating

[android-developers] [0.9r1] wrong timezone(DST) information for some cities

2008-09-09 Thread samlu
I found the DST information of TZ DB is incorrect. Here is an example. String strTZ = Asia/Taipei; TimeZone tz = TimeZone.getTimeZone(strTZ); Log.d(wc, strTZ + UTC= + tz.getRawOffset() / 1000 + DST= + tz.useDaylightTime()); The output is Asia/Taipei UTC=28800 DST=true As we know, there is

[android-developers] Re: My Submission: PhoneIDE - Develop Android All in Phone

2008-09-09 Thread gjs
How about porting Python to Android instead. Just like Nokia does for S60. Regards Gary On Sep 7, 11:21 am, PowerGUI [EMAIL PROTECTED] wrote: This is the original link in android-challenge discuss group:http://groups.google.com/group/android-challenge/browse_thread/thread... Hello

[android-developers] Why the WebView's Zoom slider can be showed?

2008-09-09 Thread Huibin QIAN
I mean I want to call the webview's zoom function to show the zoomslider. So I using codeWebView view = new WebView(mContent);view.invokeZoomPicker();/code why it can't work? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] How can native C++ application starting Andorid application

2008-09-09 Thread Anshul
Hello everyone, I wanted to find out if there is any way for a native applicaion written in C/C++ can start an android app. From this group I could find answers to how to run a native app on the Andorid simulator and also how to start an android app through adb shell (am start -n test/

[android-developers] Re: How to launch the street view from map view

2008-09-09 Thread elephantbug
Thanks Megha. I think my first question is: In the map application on Android, I can not only see the street view (blue outline on the map) but also I can click one location and launch the street view (like in Google Map). I am developing an Android application, I am wondering whether the SDK

[android-developers] push apk fails saying read only filesystem

2008-09-09 Thread vic
i have a few apk packages that I want to push on the emulator. the push fails saying that the filesystem is a read only file system. Some background, I built the helloworld and started the emulator. Once the emulator is up I did a adb push which failed since the file system is read only. Any

[android-developers] orientation change bug with translucent activities

2008-09-09 Thread Gary
Hello, When the android:windowIsTranslucent flag is set, instance state is not saved properly when changing orientations if you have multiple activities on the activity stack. For example, given the following two activities: ActivityTest SecondActivity. 1) ActivityTest launches SecondActivity

[android-developers] Re: Offering widgets in the Application Market

2008-09-09 Thread BikingBill
I'm referring to javascript/web widgets. I believe (correct me if I'm wrong) that Android supports downloadable web widgets as Nokia has started to (and I wish the iPhone did). Thank you. Bill On Sep 9, 12:36 pm, plusminus [EMAIL PROTECTED] wrote: widgets = applications ? Yes (free from the

[android-developers] Re: My Submission: PhoneIDE - Develop Android All in Phone

2008-09-09 Thread PowerGUI
For PhoneIDE system,adding some script languate,more than one (Waiting for the android code,hahaha!). so the PhoneIDE will run without remote server as a second way. BTW,an chinese developers has already ported Python to Android. Best Regards PowerGUI - Android

[android-developers] Re: My Submission: PhoneIDE - Develop Android All in Phone

2008-09-09 Thread PowerGUI
For PhoneIDE system,I am adding some script languate support ,more than one intepreter language will available(also Waiting for the android code,then we can modify the android system for adding more powerful feature! hahaha!). so the PhoneIDE will run without remote server as a second way.

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

2008-09-09 Thread [EMAIL PROTECTED]
I posted the ContentProvider implementation here: http://lucabelluccini.blogspot.com/2008/09/android-developers-google-group-focus.html Soon the WebView section. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: push apk fails saying read only filesystem

2008-09-09 Thread Romain Guy
Where are you pushing the files? They should be pushed in /data, not /system. On Tue, Sep 9, 2008 at 12:29 PM, vic [EMAIL PROTECTED] wrote: i have a few apk packages that I want to push on the emulator. the push fails saying that the filesystem is a read only file system. Some background,