[android-developers] Custom drawing with fingers

2008-10-10 Thread Arron
I want to allow the user to paint/draw with their fingers. Can someone point me to the right direction to go? or a sample app that has this capability? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Saved Instance State and ListViews

2008-10-10 Thread Stoyan Damov
I don't think that would work. You'll need to manually serialize the items. On Fri, Oct 10, 2008 at 4:49 PM, Mark Hansen [EMAIL PROTECTED] wrote: I think I'm missing something... I want to do something like. I have the list Adapater being set to a custom adapter... so I was trying to do it

[android-developers] Re: Saved Instance State and ListViews

2008-10-10 Thread Mark Hansen
The list is pulled from a remote feed over the web, so I was trying to prevent having to reload the listview via another web pull. Basically I just want the application to save everything and then restore itself when the user changes orientation, instead of having to make another full call back

[android-developers] Re: How to control the TabHost.TabSpec's Width and Height?

2008-10-10 Thread alan
I would like to do the same, for simple text tabs the height is quite excessive On Sep 22, 3:04 am, dailyLife[EMAIL PROTECTED] wrote: Hi,   L want to control the TabHost.TabSpec's Width and Height im my program.   How to achieve such a function? Can anyone tell me the way ? thanks, goto.

[android-developers] Re: HttpClient, URLConnection, settings, etc...

2008-10-10 Thread Guillaume Perrot
What are you trying to do ? Can you post your code ? For the HttpClient usage, there are several examples at http://hc.apache.org/httpcomponents-client/examples.html I have no best practice for you but concerning my usage: * I only use HttpClient when I need to handle cookies. * For REST API

[android-developers] Re: Using Street View within my app

2008-10-10 Thread mscwd01
Am I able to embed a streetview within my app, like you would with a mapview? On Oct 8, 3:54 pm, Peli [EMAIL PROTECTED] wrote: You could call the VIEW intent on a streetview URI (seehttp://www.openintents.org/en/node/63) to display the streetview from your application. Would this be

[android-developers] interrupt incoming sms.

2008-10-10 Thread e
Hi, plz help me out..How to interrupt incoming sms??is it possible in new sdk(1.0)??? Thanks in Advance. --~--~-~--~~~---~--~~ 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] Re: Is there android 2.0?

2008-10-10 Thread Guillaume Perrot
This is a spam post, and the link is for phishing... On Oct 10, 5:02 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: my friend told me google has android,is this the truth. jim liu a href=http://www.googlemother.com/wpblogs/?p=7281;prototype wtp/a

[android-developers] Re: Help me to test APK file on your real device

2008-10-10 Thread Al Sutton
Hi Ulziisaikhan, If you want to list it at AndAppStore.com with a note in your description about it being for testing purposes feel free. Part of what I'm trying to achieve with AndAppStore is creating a place where users can not only get finished apps, but also help by testing out up and

[android-developers] Re: OutOfMemoryError when switching orientation

2008-10-10 Thread songs
Nope, the only static variables I have are constants. I do keep an array of Drawable in the view, but that's an instance variable. On Oct 10, 1:14 am, Romain Guy [EMAIL PROTECTED] wrote: Looks like you're leaking memory somewhere. Do you keep a static cache somewhere in your app? On Thu,

[android-developers] Re: dalvikvm-gc error at startup creating ashmem mark stack

2008-10-10 Thread twebb
I'm not having much luck in either place. On Oct 9, 8:48 pm, Andrew Stadler [EMAIL PROTECTED] wrote: You'll probably get better feedback on this problem in the android-internals mailing list. On Thu, Oct 9, 2008 at 12:51 PM, twebb [EMAIL PROTECTED] wrote: When mounting rootfs as yaffs2,

[android-developers] Re: Saved Instance State and ListViews

2008-10-10 Thread Mark Hansen
Thanks for the input.. I ended up just saving out my data from the pull as suggested, it was already an ArrayList and I just jammed it in with the putSerializable and it works fine. Thanks for the help guys. On Oct 10, 10:26 am, Mark Murphy [EMAIL PROTECTED] wrote: Mark Hansen wrote: The

[android-developers] Re: OutOfMemoryError when switching orientation

2008-10-10 Thread Romain Guy
Then you should check carefully where exactly you pass your Activity (or Context) to other classes/APIs, etc. The Context is used by many different classes in the Android framework and if you somehow leak the Context, you leak all the views, images, etc. Your issue is very similar to several

[android-developers] Help me to test APK file on your real device

2008-10-10 Thread Ulzii
Hi All, I have finished an application for the Android platform device. I am writing from Ulaanbaatar, Mongolia. It means there is no possibility to test apk file on real android gPhone device. Is there anyone who obtained gPhone, could you help me to test my APK file on your device. My APK

[android-developers] Re: Saved Instance State and ListViews

2008-10-10 Thread Mark Murphy
Mark Hansen wrote: The list is pulled from a remote feed over the web, so I was trying to prevent having to reload the listview via another web pull. I would recommend storing the data from the feed somewhere other than just in the ListView itself. Database, XML file, JSON file, whatever. If

[android-developers] Re: polite request for better error messages

2008-10-10 Thread hackbod
On Oct 9, 11:25 pm, Jason Proctor [EMAIL PROTECTED] wrote: the android error situations i'm talking about are not even close to this. the network connection error i specified is an android permissions error, which is a long way above the kernel. but still, android only sees fit to provide

[android-developers] Automatic word wrap for views?

2008-10-10 Thread Nikkelitous
Is there any way to automatically wrap widgets within a view? I'd like a display with a series of number buttons. I'd like to have them show up as 4 rows on a portrait screen (As on a telephone) and 2 rows in Landscape (6 per row). Now, I'm not set on these two options, and I guess I could make

[android-developers] Re: Automatic word wrap for views?

2008-10-10 Thread Stoyan Damov
http://code.google.com/android/reference/android/widget/TableLayout.html On Fri, Oct 10, 2008 at 8:08 PM, Nikkelitous [EMAIL PROTECTED] wrote: Is there any way to automatically wrap widgets within a view? I'd like a display with a series of number buttons. I'd like to have them show up as 4

[android-developers] Re: getLatitudeSpan, getLongitudeSpan, getHeight, getWidth errors

2008-10-10 Thread yarun
Thank-you, this makes sense. What is the best way to wait for an activity to be laid out? Should I set a listener (if so which listener), use multi-threading, or another alternative? The multi-threading option seems redundant to me because the map rendering is occurring in the UI thread and I

[android-developers] Re: Automatic word wrap for views?

2008-10-10 Thread Stoyan Damov
I'm sorry, I should have paid attention to but is there any easy/automatic way to do this? part of your post. I don't know of such a layout. You'll probably need to handle the orientation change. Cheers On Fri, Oct 10, 2008 at 8:31 PM, Nikkelitous [EMAIL PROTECTED] wrote: That lets me put

[android-developers] polite request for better error messages

2008-10-10 Thread Jason Proctor
thanks for the response. sorry for the tone of my post - it was late, there were beers, and as you can tell error messages are a pet peeve. i agree we all want the same things here and it's not always possible to provide the best. Android permissions are enforced in the Linux kernel? really?

[android-developers] HttpClient, URLConnection, settings, etc...

2008-10-10 Thread Jason Proctor
ensure that uses-permission is inside manifest, too, not inside application. i've had problems using URLConnection directly - with short transfers i could reproducibly get SOCKETLOG add_recv_stats 0 log error messages, accompanied by nothing being delivered to the Android app. i switched to

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-10-10 Thread guru
I have been trying to push an mp3 file for quite a while but i am getting the error. --- D:\android-sdk-windows-1.0_r1\toolsmksdcard 1024M sdcard.img

[android-developers] Re: Getting GPS Strength ?

2008-10-10 Thread taleb akra
seyeysyesyes Date: Thu, 9 Oct 2008 15:07:09 -0700 Subject: [android-developers] Re: Getting GPS Strength ? From: [EMAIL PROTECTED] To: android-developers@googlegroups.com Great :) Thats what I've been searching for. So did you find a constant for 'satellites' ? On 2 Okt., 06:12, Ludwig

[android-developers] HttpClient Connection Issue

2008-10-10 Thread Badri
I'm trying the following : 1)I have a service running on localhost:80 2)Iam trying to connect to the url via application and I'm trying to display the content onto the screen .Iam not getting any content back onto to screen , But while debugging using DDMS .I'm getting the following error : I

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-10-10 Thread guru
I was trying to add audio files on to the emulator.I started the emulator with the option -sdcard D:\android-sdk-windows-1.0_r1\tools \sdcard.img ---

[android-developers] Chinese Android Developer Sites

2008-10-10 Thread [EMAIL PROTECTED]
Share the Android Software Development Kit and Tutorials,Tips and Reviews.Android visit : http://www.android123.com or http://www.android123.com.cn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: polite request for better error messages

2008-10-10 Thread taleb akra
nao e presiso Date: Thu, 9 Oct 2008 14:45:15 -0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [android-developers] Re: polite request for better error messages Thanks for your feedback Jason...those error messages aren't meaningful enough. The engineers are working on improving the error

[android-developers] Re: http connection

2008-10-10 Thread for android
This can help u probably... http://developerlife.com/tutorials/?p=290 Thanks Guru On Thu, Oct 9, 2008 at 8:31 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yes, evidently. But, its doesn't work. My code : DefaultHttpClient httpclient = new DefaultHttpClient(); HttpHost

[android-developers] Re: httpclient connection problem ?

2008-10-10 Thread Jason Proctor
if you're trying to connect to a server which is running on the host computer, then use 10.0.2.2 as the IP address. localhost, in this situation, is the emulator. hth I'm trying the following : 1)I have a service running on localhost:80 2)Iam trying to connect to the url via application and

[android-developers] How can I launch the default Contact Application provided in SDK with my app

2008-10-10 Thread Abraham
HI All, I'm a newbie with Android. I would like to understand how I could launch the default Listview of contacts(similar to the behavior that you would observe on launching the contacts app from the main menu). Is this possible or do I have to create a similar activity in my application which

[android-developers] Re: Using Street View within my app

2008-10-10 Thread mscwd01
Its unfortunate they chose to leave out several major aspects within the current sdk... May have to reverse engineer Googles street view app then ;) On Oct 10, 12:51 pm, Peli [EMAIL PROTECTED] wrote: Unfortunately, I don't think there is an API for this in the current system... Peli On

[android-developers] Re: HttpClient Connection Issue

2008-10-10 Thread Bill Zimmerly
Badri, Can you see what the server is getting from Android? Is the service a HTTP web server? (It would seem so since you're using the HTTP default port 80.) If it is, your code snippet doesn't look to me like it is formatting a proper GET request to send to the server. - Bill

[android-developers] Pass SmsMessage from broadcastreceiver to activity

2008-10-10 Thread Premier
Hello, like in subject, in my BroadcastReceiver class, i've some data (sms list received), and i want to show it in a new activity. How i have to pass data to activity? Regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Automatic word wrap for views?

2008-10-10 Thread Nikkelitous
Yeah, was worried about that. I just hate the idea of putting the UI into the code. I guess I'll have to create multiple UI views and hope that other hardware devices are similar in screen layout. Thanks. On Oct 10, 12:49 pm, Stoyan Damov [EMAIL PROTECTED] wrote: I'm sorry, I should have

[android-developers] Emulator Orientation Change on Mac

2008-10-10 Thread Anm
From the emulator keyboard command docs: Switch to previous layout orientation (for example, portrait, landscape) KEYPAD_7, F11 Switch to next layout orientation (for example, portrait, landscape) KEYPAD_9, F12 These don't seem to work on a Mac. Normally the F11 and F12 keys

[android-developers] Re: webView.loadUrl question

2008-10-10 Thread gke
I had the same problem and fixed it when I realized that the uses- permission android:name=android.permission.INTERNET / must be placed above the application tag. Geir On Sep 4, 12:14 pm, RPO [EMAIL PROTECTED] wrote: I have the same problem with the new version (0.9) of the SDK.  The

[android-developers] Android FreeTTS server interfacing, a speech solution for your projects

2008-10-10 Thread Alvaro Rivas
Hi, Due to many question about a interfacing with FreeTTS or speech generation, I decided to open source a part of my ADC I project. It is intended to be used for all of you who wants to get a text to speech system in yours developments. Android-freeTTS reads from a Free TTS server a file that

[android-developers] Re: Using getDrawingCache() with MapView

2008-10-10 Thread Romain Guy
getDrawingCache() will work only if you either enable the drawing cache on the View or call buildDrawingCache() first. If you do this manually make sure to disable/destroy the drawing cache when you are done. Otherwise, every time the view is invalidated, it will have to update the drawing cache.

[android-developers] Re: Emulator Orientation Change on Mac

2008-10-10 Thread Andrew Stadler
First, boilerplate answer, you can use $ emulator -help-keys to get an up-to-date list of hotkeys in the emulator. You didn't mention if you're on a laptop or mac desktop. I know that the keyboards are somewhat different. I can only answer for laptops because I'm using my laptop right now

[android-developers] Dynamic Overlay

2008-10-10 Thread indiabolbol.com
How do I update a map dynamically either as the user moves the map. I tried to use the below code but the map does not display the data from server protected class SitesOverlay extends ItemizedOverlayOverlayItem { private ListOverlayItem items = new

[android-developers] Re: REQUEST: Android Eclipse plugin option to define compiling and packaging arguments

2008-10-10 Thread Adriano Crestani
Sure, only this option should work for me...but I might be required to set another special argument, we never know :) Adriano Crestani On Oct 10, 1:06 am, Stoyan Damov [EMAIL PROTECTED] wrote: On Fri, Oct 10, 2008 at 9:46 AM, Adriano Crestani [EMAIL PROTECTED] wrote: Hi Google Android