[android-developers] displaying nearby schools and airports in google maps android

2010-10-23 Thread Rahul
I want to display the near by schools and airports and their related information in the google maps. I have considered using google maps api but the registration process for Adsense and Google Places API will take long time. So, is there any other alternative to my problem...??? Any suggestions

[android-developers] Best way for accessing web service

2010-10-23 Thread Goutham P N
Hi, I'm having a problem while accessing a web service through ksoap2 library, is there any other way to access the web service. I can't use ksoap2 library for my project. Should I create a soap library or any other way. Thanks Regards. -- You received this message because you are subscribed

Re: [android-developers] Best way for accessing web service

2010-10-23 Thread Miguel Morales
Do you HAVE to use ksoap? SOAP is such a crappy bloated interface. On Fri, Oct 22, 2010 at 11:48 PM, Goutham P N pn.gowt...@gmail.com wrote: Hi, I'm having a problem while accessing a web service through ksoap2 library, is there any other way to access the web service. I can't use ksoap2

Re: [android-developers] Game grid images

2010-10-23 Thread narasimha rao
hi acr i am developing same jigsaw puzzle game simple gameforward some idea about this game this game related some link please forward thanks On Tue, Oct 12, 2010 at 8:35 PM, acr acr...@gmail.com wrote: I'm in the beginning process of creating my first 2d game and it's a puzzle

[android-developers] Re: displaying nearby schools and airports in google maps android

2010-10-23 Thread Rahul
Sorry about a mistake in the question... Its Google Places Api instead of Google Maps API... On Oct 23, 11:09 am, Rahul rahulvarma.kalidindi0...@gmail.com wrote: I want to display the near by schools and airports and their related information in the google maps. I have considered using

[android-developers] problems with cancelling of BackgroundAsyncTask in Activity

2010-10-23 Thread chcat
I have activity class running infinite loop in BackgroundAsyncTask (see below) I have a problem trying to finish this activity, when i press btnClose the activity window disappears, but when i try to re-start this activity from Applications group i have null pointer exception

[android-developers] Re: Problem With Thread !

2010-10-23 Thread MarcoCanali
Ok i Implements Runnable for put the service in Waith() i call Thread.sleep() in run() method of class that Implements Runnable and The Problem is the Same ; The stone don't hit the two Bird On 22 Ott, 23:32, DanH danhi...@ieee.org wrote: Thread implements Runnable mainly as a

[android-developers] Re: Problem With Thread !

2010-10-23 Thread MarcoCanali
Before i use the Runnable interface and call in run method the Thread.sleep() for put the service in wait for a moment, my service controlls the appointment for all time the device is on , but the problem is the same my UI don't respond to any command !! On 22 Ott, 22:41, Kostya Vasilyev

Re: [android-developers] Re: Problem With Thread !

2010-10-23 Thread Kostya Vasilyev
Marco, If you're going to control periodic / scheduled events, then you don't need a thread at all. Take a look at AlarmManager, and schedule an alarm at appropriate time. AlarmManager will wake up the phone (as needed) and fire off a PendingIntent, which you can receive with a

[android-developers] Re: Problem With Thread !

2010-10-23 Thread MarcoCanali
Yes Right ... How can resolve the problem, and run the run() method without intact the UI thread !! Thanks a Lot On 22 Ott, 23:09, Kostya Vasilyev kmans...@gmail.com wrote: Right, instead of starting a thread he posts its body as a runnable to the UI thread, and sleep causes an ANR. Since he

Re: [android-developers] Re: Problem With Thread !

2010-10-23 Thread Kostya Vasilyev
23.10.2010 4:04, Bob Kerns пишет: Because you're left with two dead birds instead of one? Or a ragout made out of two pigeons and marshmallows :) Perhaps pretty, but inedible. Runnable is an interface for packaging code into an object. There is nothing about threading inherent in Runnable.

Re: [android-developers] Invisible AlertDialog?

2010-10-23 Thread Kostya Vasilyev
Nathan, You might want to move the code into onStart. Another thing to try is to allow the application's message loop to unclog a little, before loading it with more events. I've seen startActivityForResult cause the parent activity to be not drawn at all, if used too early in the parent

Re: [android-developers] Re: Problem With Thread !

2010-10-23 Thread Kostya Vasilyev
class MyThread extends Thread { . @Override public void run() { // put code here } } /// elsewhere mThread = new MyThread(); mThread.start(); -- this forks the execution path -- Kostya 23.10.2010 14:00, MarcoCanali пишет: Yes Right ... How can resolve the

[android-developers] Re: Why doesn't the screen ever time out with the Android Emulator

2010-10-23 Thread Lance Nanek
Maybe the Stay awake - Screen will never sleep while charging option is enabled in your emulator? It's at Home - Menu - Settings - Applications - Development . On Oct 16, 5:40 pm, pprochamp sean.nee...@gmail.com wrote: I'm new to the Emulator and trying to test some code.  In the system

Re: [android-developers] Re: is there a way to send an event like a user would...

2010-10-23 Thread Mark Murphy
On Sat, Oct 23, 2010 at 12:34 AM, sdphil phil.pellouch...@gmail.com wrote: that stinks.  there's no way to send a click event to a view (for example)?  other than maybe directly calling onClick??? If it is your own activity, you can certainly try calling onClick(), though I fail to see the

Re: [android-developers] problems with cancelling of BackgroundAsyncTask in Activity

2010-10-23 Thread Mark Murphy
On Sat, Oct 23, 2010 at 4:57 AM, chcat vlyamt...@gmail.com wrote: I have activity class running infinite loop in BackgroundAsyncTask The AsyncTask is designed for a task, something that will run for a short while and end. If you want a long-running background thread, I recommend you fork your

[android-developers] Re: Samsung Galaxy Tab: AVD add on package

2010-10-23 Thread Lance Nanek
I was able to test a Google APIs (MapActivity, etc.) using app by copying the system.img from android-sdk\windows\add-ons \addon_google_apis_google_inc_8\images to android-sdk\windows\add-ons \addon_galaxy_tab_samsung_electronics_8\images , overwriting the one that was there, and then creating a

[android-developers] Re: My tracks navigation overlay?

2010-10-23 Thread dweinand
Ohh. That's awkward. Didn't knew that it's open source. Just started with Android (Development). Thanks for the link. Nice to know. On 22 Okt., 07:41, Spiral123 cumis...@gmail.com wrote: http://code.google.com/p/mytracks/ On Oct 21, 10:24 am, dweinand mail...@googlemail.com wrote: Hello,

Re: [android-developers] Re: Samsung Galaxy Tab: AVD add on package

2010-10-23 Thread Alessio Grumiro
Samsung Galaxy Tab emulator is bigger than my screen resolution. It can't starts with different screen resolution. How do you solve this issue? 2010/10/23 Lance Nanek lna...@gmail.com I was able to test a Google APIs (MapActivity, etc.) using app by copying the system.img from

Re: [android-developers] Re: Samsung Galaxy Tab: AVD add on package

2010-10-23 Thread Mark Murphy
On Sat, Oct 23, 2010 at 7:29 AM, Alessio Grumiro a.grum...@gmail.com wrote: Samsung Galaxy Tab emulator is bigger than my screen resolution. It can't starts with different screen resolution. How do you solve this issue? Outside of Eclipse, there's the scale display to real size checkbox you

[android-developers] Re: A request about MySQL Connection from Android

2010-10-23 Thread Capt Spaghetti
Marco, I haven't gotten all the bugs out yet but I was looking for a similar suggestion. I use php on the server side to manipulate the MySQL database and then I'm trying to bring back the response to my Android application. See the code below: public class SelectLocation extends Activity

Re: [android-developers] Re: Samsung Galaxy Tab: AVD add on package

2010-10-23 Thread Kostya Vasilyev
23.10.2010 15:36, Mark Murphy пишет: Outside of Eclipse, there's the scale display to real size checkbox you can use when you start the AVD. I assume there's a way to achieve the same end inside of Eclipse, though I'm not completely certain of the process. This is accessible from Eclipse, as

[android-developers] USB connection problem on Windows 7 x64 and Droid

2010-10-23 Thread dashman
I was on Windows Vista x64 and everything worked. upgraded to Windows 7 x64 and now the device is not listed by adb devices the windows driver recognizes the usb connection and i can mount it and view files. but when i enable usb debugging on the device - it's not recognized by adb or eclipse.

Re: [android-developers] Re: Samsung Galaxy Tab: AVD add on package

2010-10-23 Thread Mark Murphy
On Sat, Oct 23, 2010 at 8:09 AM, Kostya Vasilyev kmans...@gmail.com wrote: 23.10.2010 15:36, Mark Murphy пишет: Outside of Eclipse, there's the scale display to real size checkbox you can use when you start the AVD. I assume there's a way to achieve the same end inside of Eclipse, though I'm

Re: [android-developers] USB connection problem on Windows 7 x64 and Droid

2010-10-23 Thread Mark Murphy
On Sat, Oct 23, 2010 at 8:15 AM, dashman erjdri...@gmail.com wrote: I was on Windows Vista x64 and everything worked. upgraded to Windows 7 x64 and now the device is not listed by adb devices the windows driver recognizes the usb connection and i can mount it and view files. but when i

[android-developers] Re: Problem With Thread !

2010-10-23 Thread DanH
Inner classes certainly exist Only as a fiction of javac. The JVM has no knowledge of them, other than the InnerClasses attribute that's really just for debugging and reflections. On Oct 22, 11:17 pm, Bob Kerns r...@acm.org wrote: There's always been Runnable, yes, but there hasn't always

[android-developers] Re: Problem With Thread !

2010-10-23 Thread DanH
You're still just running in the UI thread. You need to start another thread somehow (there are several ways, that others can enumerate better than I can). On Oct 23, 4:39 am, MarcoCanali marco.can...@gmail.com wrote: Ok i Implements Runnable for put the service in Waith() i call

[android-developers] Re: Animated background drawable

2010-10-23 Thread Lance Nanek
Weird, the Google I/O session explicitly mentioned Live Wallpapers when showing the Twitter for Android application's dashboard screen: Let's get started looking at Twitter for Android shall we? So, we start with the dashboard firmly in place, and as you can see, the one twist that we've done

[android-developers] Re: Problem With Thread !

2010-10-23 Thread DanH
Of course, I can treat a String as a boolean. Any class can be abused by the ignorant. But that's all beside the point. Thread isn't going to change. The bizarre use of Thread as a Runnable, though (which appears to only occur in Android), though, should be called out wherever it's seen. Using

[android-developers] Re: Problem With Thread !

2010-10-23 Thread DanH
(The problem is that several of the authoritative examples of using postDelayed that you'll find on the net make this error, and lead many astray.) On Oct 23, 5:00 am, Kostya Vasilyev kmans...@gmail.com wrote: 23.10.2010 4:04, Bob Kerns пишет: Because you're left with two dead birds instead of

[android-developers] Re: is there a way to send an event like a user would...

2010-10-23 Thread sdphil
well I want to be able to script testing in my application.. On Oct 23, 3:39 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Oct 23, 2010 at 12:34 AM, sdphil phil.pellouch...@gmail.com wrote: that stinks.  there's no way to send a click event to a view (for example)?  other than maybe

Re: [android-developers] Re: is there a way to send an event like a user would...

2010-10-23 Thread Mark Murphy
On Sat, Oct 23, 2010 at 9:14 AM, sdphil phil.pellouch...@gmail.com wrote: well I want to be able to script testing in my application.. That is what the instrumentation framework is for, in one of your own unit test projects for your own activities, using ActivityUnitTestCase or

Re: [android-developers] Can you code in Android? Could you spare some free time to help people with brain injury?

2010-10-23 Thread Infra Ali
I would like to be part of the charity work with sincere heart On 22 Oct 2010 05:21, FredDeer mzz...@gmail.com wrote: Hi All, I have been asked by a UK charity to develop some software to support people with brain injury. I’m not being paid to do this as the charity has little or no funding,

[android-developers] Re: is there a way to send an event like a user would...

2010-10-23 Thread sdphil
well I want to be able to script testing in my application.. On Oct 23, 3:39 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Oct 23, 2010 at 12:34 AM, sdphil phil.pellouch...@gmail.com wrote: that stinks.  there's no way to send a click event to a view (for example)?  other than maybe

[android-developers] gmail.com not working on webview (after login)

2010-10-23 Thread Mathias Lin
I have a webview in my app that generally works fine for loading websites. But I cannot get www.gmail.com to work: when I open www.gmail.com I see the login page, try to login, afterwards the screen goes black and my app/process is killed. I don't see much in my logcat, just some strange

[android-developers] Re: gmail.com not working on webview (after login)

2010-10-23 Thread Mathias Lin
I found that if I don't assign a custom WebViewClient to the webview, the app doesn't crash but opens the gmail site in the default system browser. But I don't want that. I want it to open in my own webview only - how to force it? I filed a bug report under:

Re: [android-developers] Re: gmail.com not working on webview (after login)

2010-10-23 Thread Mark Murphy
Yeah, that type of SIGSEGV crash is definitely a low-level system problem, representing a bug in Android. On Sat, Oct 23, 2010 at 11:42 AM, Mathias Lin m...@mathiaslin.com wrote: I found that if I don't assign a custom WebViewClient to the webview, the app doesn't crash but opens the gmail site

Re: [android-developers] Best way for accessing web service

2010-10-23 Thread Brad Gies
If you have to use SOAP then ksoap2 is probably the best way. Writing your own will be a longer term project :). If you have control of the web service then you can do whatever you want, but if it's someone else's web service you are stuck doing it their way :). You'll need to tell us a

Re: [android-developers] displaying nearby schools and airports in google maps android

2010-10-23 Thread Brad Gies
You can use Google Local Search. You just need to figure out which search words give you the results you want. Sincerely, Brad Gies --- Bistro Bot - Bistro Blurb http://bgies.comhttp://nocrappyapps.com

[android-developers] GPS Toggle

2010-10-23 Thread mist3r0
Hello guys, I want active and deactive the GPS when I touch a button, without I must run the intent that bring me into setting menu for active or deactive GPS. Can you help me?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Can you code in Android? Could you spare some free time to help people with brain injury?

2010-10-23 Thread aravind kumar
Hi, I would be like to be the part for this good cause. If you want any help contact me.. Warm Regards, Aravind S -- 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

[android-developers] add child views to main view

2010-10-23 Thread ArcDroid
Hello, I am trying to figure out how to add a child view to a parent view so I can use the MotionEvent.ACTION_MOVE feature to move from one child view to the next. Is this possible? Thanks ArcDroid http://www.arcdroid.com -- You received this message because you are subscribed to the Google

[android-developers] Re: add child views to main view

2010-10-23 Thread Bret Foreman
Well View.addView is a good start. I'm not sure what you mean by move though. Are you talking about changing focus, moving a cursor, setting a view as selected, or something else? On Oct 23, 9:29 am, ArcDroid jacobrjohn...@gmail.com wrote: Hello, I am trying to figure out how to add a child

[android-developers] Re: displaying nearby schools and airports in google maps android

2010-10-23 Thread Bret Foreman
I have an app that shows airports as an overlay on Google Maps and I got the lat-lon data from here: http://www.partow.net/miscellaneous/airportdatabase/ I sucked the data into a spreadsheet and converted it from deg-min-sec to decimal degrees, then exported it to CSV which goes into /res/raw

[android-developers] Setting up a user account on an AVD

2010-10-23 Thread Bret Foreman
I have an Android 2.2 SDK 8 AVD and I want to set up a user account so I can test server licensing. I've created a gmail account for that purpose. I go to Settings-Accounts Sync-Add Account and enter the account details. It says receiving account information, then puts up a Server Settings screen

[android-developers] applying a theme to an appwidget

2010-10-23 Thread farble1670
i'm trying to define a theme for an appwidget, and have it applied at the application level. i have a theme like, style name=theme.dark item name=androidbackground#00/item /style in my manifest, i set android:theme=@style/theme.dark. however, when i run the appwidget, it does not pick up

[android-developers] Re: Can you code in Android? Could you spare some free time to help people with brain injury?

2010-10-23 Thread Bret Foreman
Cognitive science is a great hobby of mine. I'm not sure I could contribute much coding time but I'd love to follow the project. Is there a collaboration website, discussion group, or wiki I could join? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Unable to load all contact photos in my application

2010-10-23 Thread t2k269
Really? Do you have the bug details of ContactsProvider2? (Link or something)? On Oct 22, 9:25 am, Dmitri Plotnikov dplotni...@google.com wrote: I bet those are Facebook pictures.  There is a bug in ContactsProvider2 that does not allow loading of Facebook photos by any non-system apps.

[android-developers] AppWidget preferences

2010-10-23 Thread Alex
How can I retrieve SharedPreferences for a widget during an update pushed by a broadcast receiver? I have a static BuildUpdate method on my AppWidgetProvider, but I cannot work out how to retrieve my shared preferences as I do not have an appropriate context. -- You received this message

Re: [android-developers] Setting up a user account on an AVD

2010-10-23 Thread Kumar Bibek
Perhaps, you cannot do that on an emulator. On Sat, Oct 23, 2010 at 10:37 PM, Bret Foreman bret.fore...@gmail.comwrote: I have an Android 2.2 SDK 8 AVD and I want to set up a user account so I can test server licensing. I've created a gmail account for that purpose. I go to Settings-Accounts

Re: [android-developers] AppWidget preferences

2010-10-23 Thread Kumar Bibek
The receiver's onReceieve method will give you a context. Use that. On Sat, Oct 23, 2010 at 11:20 PM, Alex maroeb...@gmail.com wrote: How can I retrieve SharedPreferences for a widget during an update pushed by a broadcast receiver? I have a static BuildUpdate method on my AppWidgetProvider,

[android-developers] Re: AppWidget preferences

2010-10-23 Thread Alex
I'm using PhoneStateListener which does not return a context. On Oct 23, 7:03 pm, Kumar Bibek coomar@gmail.com wrote: The receiver's onReceieve method will give you a context. Use that. On Sat, Oct 23, 2010 at 11:20 PM, Alex maroeb...@gmail.com wrote: How can I retrieve

[android-developers] Re: Setting up a user account on an AVD

2010-10-23 Thread Bret Foreman
Well, I'm going by this: Signing in to a Google account on an emulator If you are testing licensing on an emulator, you need to sign in to a Google account on the emulator. If you do not see an option to create a new Google account, the problem might be that your AVD is running a standard

[android-developers] Re: problems with cancelling of BackgroundAsyncTask in Activity

2010-10-23 Thread davemac
I'm guessing that your first background task was running the whole time, and when you restarted your application you got a new instance of the activity, and probably you created a new instance of the background task so now you have two tasks running. The old activity is not accessible to you

[android-developers] Re: Can you code in Android? Could you spare some free time to help people with brain injury?

2010-10-23 Thread Suzann
I would like to help if you're still looking. Thanks Regards, Suzann On Oct 18, 2:57 pm, FredDeer mzz...@gmail.com wrote: Hi All, I have been asked by a UK charity to develop some software to support people with brain injury. I’m not being paid to do this as the charity has little or no

[android-developers] Re: Setting up a user account on an AVD

2010-10-23 Thread Brill Pappin
Might it be a dns problem. Does it work with the ip? Don't forget that in the emulator, your actually using you dev machines connection. - brill On Oct 23, 1:07 pm, Bret Foreman bret.fore...@gmail.com wrote: I have an Android 2.2 SDK 8 AVD and I want to set up a user account so I can test

[android-developers] Re: User ID of purchaser

2010-10-23 Thread Brill Pappin
What's your app name? Even though I won't pirate your app, I want to make sure i dont install it so you can't stealing my personal info without my consent. Actually, doing that might even be contrary to privacy laws in Canada. - brill On Oct 22, 12:06 pm, Bret Foreman bret.fore...@gmail.com

[android-developers] Re: Picking an activity

2010-10-23 Thread Brill Pappin
Sound like the problem is with the os. If the list of options changes, it should ask again which should be the default. Or at least allow the user to change a default. - brill On Oct 22, 5:34 pm, CMWiii kentka...@gmail.com wrote: I am not trying to ignore their desires but to offer them an

[android-developers] Re: Invisible AlertDialog?

2010-10-23 Thread Paul Turchenko
I would suggest placing it inside onFocusChanged. onStart() will NOT work for all SDK versions. On Oct 23, 1:05 pm, Kostya Vasilyev kmans...@gmail.com wrote: Nathan, You might want to move the code into onStart. Another thing to try is to allow the application's message loop to unclog a

[android-developers] Re: Problem With Thread !

2010-10-23 Thread Bob Kerns
That's because the JVM doesn't NEED any other knowledge. The JVM doesn't define the language -- the compiler does. The JVM is the environment the compiler targets, but with a different compiler, you get, say, Scheme or AspectJ instead of Java. Taking your argument to the logical conclusion,

[android-developers] Re: add child views to main view

2010-10-23 Thread ArcDroid
Hello, I am trying to do multi-touch and everything has to be in one view so I am told. That is why I was going to try to do the View.addView, but will this allow me to use multi-touch (ex. MotionEvent.ACTION_MOVE)? Thanks, ArcDroid http://www.arcdroid.com On Oct 23, 9:48 am, Bret Foreman

[android-developers] ListView and Memory Leaks

2010-10-23 Thread John Gaby
I have a very simple application which has a problem with getting ListViews to be freed by the GC. I have a ViewGroup which has a ListView. When the page with the ViewGroup no longer has any references to it, and I force a GC, the ListView is not freed. The project in question is quite small

[android-developers] Re: Problem With Thread !

2010-10-23 Thread Bob Kerns
Re your first paragraph: nicely put! That's the separation of concerns I was referring to. Re your second paragraph: I'd agree, except I can't detect any real convenience for the implementation. My point is that at the time it was defined, inheritance for the convenience of implementation was

[android-developers] Re: Google TV Remote Control App

2010-10-23 Thread Steve
Where do you get the remote control app? All I can find is the one for Logitech Revue. On Oct 22, 8:03 pm, keyeslabs keyes...@gmail.com wrote: Has anyone put a packet sniffer on the remote control app provided for Android devices to interact with Google TV? I'm curious about what the protocol

Re: [android-developers] Context and Intent

2010-10-23 Thread TreKing
On Fri, Oct 22, 2010 at 10:24 PM, zeeshan mirza zeeshan.nabeel.mi...@gmail.com wrote: I just want to know what is Context and what is Intent in android world. http://developer.android.com/guide/topics/fundamentals.html

Re: [android-developers] Re: add child views to main view

2010-10-23 Thread Kostya Vasilyev
Perhaps using a transparent overlay view that covers the entire screen would make sense then. Android 2.x's gesture overlay view would be a place to start to see how it's done. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.10.2010 0:04 пользователь ArcDroid jacobrjohn...@gmail.com

Re: [android-developers] Re: Picking an activity

2010-10-23 Thread Dianne Hackborn
On Sat, Oct 23, 2010 at 12:38 PM, Brill Pappin br...@pappin.ca wrote: Sound like the problem is with the os. If the list of options changes, it should ask again which should be the default. It does ask again if the available options has changed. -- Dianne Hackborn Android framework engineer

[android-developers] Intent, launchmodes, intent-flags etc.: How to and best practices for starting/handling Activities

2010-10-23 Thread Streets Of Boston
Understanding how to declare activities in the manifest file, how to set the appropriate flags when starting them through intents, is quite challenging in all but the default cases. The combination of all these settings and flags is daunting. I've been developing for Android for over a year now,

[android-developers] Re: Setting up a user account on an AVD

2010-10-23 Thread Bret Foreman
I don't think it's a networking problem. I can log into the gmail account with the browser on the AVD. -- 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

[android-developers] Re: User ID of purchaser

2010-10-23 Thread Bret Foreman
I think you should be more worried about Google. They know your ID, all the apps you buy, and your payment info. And they have the power to actually do something malevolent with the information. My app is for enterprise users who have been through rather intrusive background checks and everything

[android-developers] Re: User ID of purchaser

2010-10-23 Thread Bret Foreman
By the way, I figured out how to do this. And the user gets warned by the Market that the app needs permission to access the AccountManager so nothing happens behind anyone's back. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Intent, launchmodes, intent-flags etc.: How to and best practices for starting/handling Activities

2010-10-23 Thread Bret Foreman
One architectural problem with Android is that Intents are overloaded with many different purposes - they carry data, specify actions, launch choosers, kick off services, and much more. On top of that, Android allows most objects, including Intents, to be specified either dynamically in Java or

[android-developers] Multi stroke gestures not recognized when last stroke is vertical

2010-10-23 Thread Mor G.
Hi, I have a gesture overlay on top of a list, when I do a vertical stroke, onGesturePerformed isn't being called because android assumes this was a scrolling stroke, this is ok. However, when I do a multi stroke gesture, where prev. strokes already recognized as gestures (change color), and the

Re: [android-developers] Re: Unable to load all contact photos in my application

2010-10-23 Thread Dmitri Plotnikov
I don't know if this has been filed as a formal bug. The gist of it is that the data table is protected by Facebook restricted access, and photos are stored in the data table. So the restriction is applied to them as well. There should be an exception made for photos, at least when they are

[android-developers] Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-23 Thread Paul
When I send latitude/longitude points to the Emulator (using DDMS with GPX file or using geo fix from command line) the locations received by Apps on the Emulator are slightly off. So like I send a latitude of 41.74 and onLocationChanged recevies a Location, and I to toString() on it and get a

Re: [android-developers] Intent, launchmodes, intent-flags etc.: How to and best practices for starting/handling Activities

2010-10-23 Thread Dianne Hackborn
What are you trying to do? On Sat, Oct 23, 2010 at 2:28 PM, Streets Of Boston flyingdutc...@gmail.comwrote: Understanding how to declare activities in the manifest file, how to set the appropriate flags when starting them through intents, is quite challenging in all but the default cases. The

[android-developers] Re: User ID of purchaser

2010-10-23 Thread Brill Pappin
Yes, Google knows. But they told me first and I gave them permission. -- 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] Re: User ID of purchaser

2010-10-23 Thread Brill Pappin
That would be insufficient. Access to account manager and storing my security information on your servers for your own purposes are two different things. On Oct 23, 6:17 pm, Bret Foreman bret.fore...@gmail.com wrote: By the way, I figured out how to do this. And the user gets warned by the

[android-developers] how to make the live wallpaper scrollable?

2010-10-23 Thread Kenneth WON
Hi, all As title, I want to make the live wallpaper scrollable when switch virtual screens, how can i do that? Someone said that it needs to override onOffsetsChanged() method, is that true? And what are it's parameters means? Thanks and Regards, Kenneth -- You received this message because

[android-developers] Re: Picking an activity

2010-10-23 Thread Brill Pappin
Ahh, well the the OP's problem is solved in terms of allowing the user to choose his app. He just needs to play nice with the os and the user will get the option when the app is installed. - brill On Oct 23, 5:05 pm, Dianne Hackborn hack...@android.com wrote: On Sat, Oct 23, 2010 at 12:38 PM,

[android-developers] Live wallpaper - sendWallpaperCommand and BroadcastReceiver

2010-10-23 Thread Peter Webb
I need to send configuration information from a regular app to my Live Wallpaper, which may or may not be the selected wallpaper. I can see two possiblilities: 1. Use SendWallPaperCommand. This only works for the Home application. ItMy test won't build because this is a static method and I am

Re: [android-developers] Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-23 Thread Frank Weiss
Carefully check your math. Also note that truncation occurs when a decimal string is converted to a binary floating poit, and possibly also by internal microdegree conversion. Another thing to take into consideration is that if the original value has just two decimal digits of precision, 41.74,

[android-developers] Why doesn't AlarmManager allow querying or browsing of alarms or pending intents?

2010-10-23 Thread Anil
Trying to write a simple alarm clock with multiple alarms. However, I don't understand this part: when an alarm has been set and has to be modified or deleted, then the PendingIntent is used to set the alarm with flags FLAG_CANCEL_CURRENT, FLAG_UPDATE_CURRENT. But how is this checked with those

[android-developers] Create TabBar in android at the bottom

2010-10-23 Thread subrat kumar panda
Hello all, how i create a TabBar in android at the botom of the page. i have gone through some examples in google, but not get the proper one. anybobdy have gone through the same problem may help me. anybody's help will be appreciated. Thanks in advance, Regards Subrat -- You received this

Re: [android-developers] Live wallpaper - sendWallpaperCommand and BroadcastReceiver

2010-10-23 Thread Dianne Hackborn
On Sat, Oct 23, 2010 at 7:52 PM, Peter Webb r.peter.w...@gmail.com wrote: 1. Use SendWallPaperCommand. This works for whatever app is currently showing on top of the wallpaper. If you want to use it, make your activity's theme android:style/Theme.Wallpaper, and when you are in the foreground

Re: [android-developers] Why doesn't AlarmManager allow querying or browsing of alarms or pending intents?

2010-10-23 Thread Dianne Hackborn
A PendingIntent lasts for as long as things have reference on it. It is not tied to an activity (well unless it is to deliver a result to an activity). As the doc says: A PendingIntent itself is simply a reference to a token maintained by the system describing the original data used to

Re: [android-developers] Re: Error Parsing JSON data

2010-10-23 Thread Frank Weiss
I was trying to get you to use the very nice Java debugger that comes with Eclipse to see what's going on inside your code instead of System.out.println(jnow); You could then simply inpect the value of the jnow variable in the debugger. Another tip is to set jnow to the string value you are

Re: [android-developers] About the character encoding

2010-10-23 Thread Frank Weiss
I recommend you use UTF-8 character encoding. -- 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] Re: Intent, launchmodes, intent-flags etc.: How to and best practices for starting/handling Activities

2010-10-23 Thread Streets Of Boston
Hi Dianne, Thanks for your response. I'm doing all kinds of things :) E.g. I think I figured out a way to have an app that has a 'home' screen from which the user launches other activities, where (s)he can go back to the home screen. It took me a while to figure out to use the

Re: [android-developers] Application still Running After Exit

2010-10-23 Thread Frank Weiss
This is a common question and is probably due to confusion of what app really means. I think newbie Android developer's tend to think that an Android app is very much similar to a desktop application. If you can explain how they're different, you've made an important step out of newbiehood. I

[android-developers] Re: Application still Running After Exit

2010-10-23 Thread Streets Of Boston
Why is that an *un*fortunate feature? If your app is still running, it allows for a quicker startup next time. Even if cold or warm startup times are not much different from each other, what is unfortunate by having your process still running? The Android OS will kill it when it needs resources.

[android-developers] HTC Incredible reboot when downloading massive files.

2010-10-23 Thread nandroid
Our app need download a lot of files. Current it works on Samsung Galaxy but always makes HTC incredible reset with a sad announcementDroid. Does anybody know if HTC incredible has some limitation on network connections, downloading files/size, or memory leaking with downloading etc. issues?