Re: [android-developers] How to get selected items in a ListView (multi selection check boxes)? - URGENT PLZ

2010-05-11 Thread TreKing
On Mon, May 10, 2010 at 5:34 PM, dillipk codersnet2...@gmail.com wrote: The following code doesn't work correctly... What does doesn't work correctly... mean? - TreKing - Chicago transit tracking

Re: [android-developers] Example to increment a var on a timer and print it out?

2010-05-11 Thread TreKing
On Tue, May 11, 2010 at 3:59 PM, BobG bobgard...@aol.com wrote: Would that work? Why don't you try and see? - TreKing - Chicago transit tracking app for Android-powered devices

[android-developers] starting an application with Android 1.5

2010-05-11 Thread Thierry Legras
Hi, How can i start an application just knowing the package name, not the classname? Ok, there is Intent.setComponent solution would be what i need ... if it was compatible with 1.5 :( I guess i have to play with getPackageManager() but how can i use it? Thanks for any help, -- Thierry. --

[android-developers] Re: Upgrading 2009 I/O device from Donut (1.6) to Eclair (2.0/2.1)?

2010-05-11 Thread Maps.Huge.Info (Maps API Guru)
If you're attending IO 2010, you should have (or will receive) a new device. US residents receive the Droid (by mail) and non-US residents receive the N1 upon registration. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] starting an application with Android 1.5

2010-05-11 Thread Mark Murphy
Thierry Legras wrote: How can i start an application just knowing the package name, not the classname? There is no concept in Android of start an application. There is start an activity, even start an activity that appears in the Launcher. Ok, there is Intent.setComponent solution would be

[android-developers] Re: SocketTimeoutException: Read Timed Out Occurs Only via Mobile

2010-05-11 Thread Jeffrey
I've been experiencing something similar using HttpClient (also using URLConnection): java.net.SocketTimeoutException: The operation timed out The quick fix seems to be retrying the connection, but I'd like to think there's a better way of handling it. On May 4, 1:26 am, Paul Tongyoo

RE : Re: [android-developers] starting an application with Android 1.5

2010-05-11 Thread Thierry Legras
Hi Mark, Yes sorry, my mail was not clear but you got it. I was really sure this was available from 1.6. It seems I need to have a rest! I will try that tomorrow. Thanks you both for the lightning fast help :) Thierry Le 12 mai 2010, 12:32 AM, Mark Murphy mmur...@commonsware.com a écrit :

[android-developers] Re: Accelerometer not working when screen turns off

2010-05-11 Thread Jonathan
I'm hoping we don't start debating the usefulness of this issue here. It has been debated quite enough in other threads and on other forums. All I would like at this point is some official response from someone who knows why the behavior is what it is. If it is firmware and it is controlled by the

[android-developers] RadioButton setChecked not working on configuration change

2010-05-11 Thread abhi
Hello, I am trying to set a RadioButton as checked/not checked through code. It is working the first time I set it, but the second time, the code does not set the button. Here is the relevant part of my code. I have commented on the problematic part. private boolean val; @Override

[android-developers] GPS beacon icon does not go away after LocationManager.removeUpdates

2010-05-11 Thread MB
Hi, I would really appreciate any ideas regarding the following. Not disabling the GPS would sap all the battery. The GPS beacon icon does not go away even though I invoke LocationManager.removeUpdates in onDestroy. This consistently reproduces in the emulator. I have verified in the debugger

Re: [android-developers] GPS beacon icon does not go away after LocationManager.removeUpdates

2010-05-11 Thread Mark Murphy
MB wrote: I would really appreciate any ideas regarding the following. Not disabling the GPS would sap all the battery. The GPS beacon icon does not go away even though I invoke LocationManager.removeUpdates in onDestroy. This consistently reproduces in the emulator. That's an emulator

Re: [android-developers] Re: APKTool - decoding our apps

2010-05-11 Thread Greg Donald
On Tue, May 11, 2010 at 1:03 PM, André pha...@hotmail.com wrote: That looks good. But I have no idea how to use it? I've been trying to find a tutorial for it. Have you found that? Did you guys notice anything about ProGuard actually supporting encryption? Nope. It just says obfuscator.

Re: [android-developers] Multi instance of app launch from status bar notification.

2010-05-11 Thread yangm
Thanks, resolved as your solution. (singleTask) Ming. 2010/5/12 TreKing treking...@gmail.com On Tue, May 11, 2010 at 4:18 AM, yangm yangm...@gmail.com wrote: It's seem like two my-app in window stack. *but my expect is one app instance.* Launching from home screen is different than

[android-developers] Re: Debugg problem source not found

2010-05-11 Thread brucko
Hi Mohammad, I suspect you are using Eclipse and whilst stepping through the code you are getting source not found whilst calling methods that you have not written yourself. There is no bug. You probably don't have the source code files for Android on your system. This is the default and is not

[android-developers] Re: APKTool - decoding our apps

2010-05-11 Thread Maps.Huge.Info (Maps API Guru)
or... the surest way to prevent anyone from copying your code is to write such a crappy app that nobody will want it. In the JavaScript world, where I usually live, code piracy is a way of life. Just accept it as a compliment and move on. -John Coryat -- You received this message because you

[android-developers] Re: How to disable home and other buttons so as to persist an app?

2010-05-11 Thread brucko
Quick question guys. I have no real knowledge in this but am quite interested. Assuming that the devices belong to an enterprise, can you just replace the Home application with your application? Like... http://developer.android.com/resources/samples/Home/index.html That way when the home button

Re: [android-developers] Re: drawable-hdpi not appearing in eclipse emulator

2010-05-11 Thread Dianne Hackborn
Again, if you want to support multiple densities DON'T SAY YOU DON'T SUPPORT THEM. Seriously! :) The first thing to do is get rid of android:anyDensity=false so the system doesn't try to make your app think it is running in mdpi. If you still have problems after that, then we can talk about

[android-developers] Re: Multiple Notifications - PendingNotifications with different data?

2010-05-11 Thread Nathan
On May 11, 4:51 am, Mark Murphy mmur...@commonsware.com wrote: PendingIntent.getActivity() will return a unique PendingIntent object *only* if the Intent you supply to that call is materially different than those used by other outstanding PendingIntents. By materially different, I mean

[android-developers] Re: Controlling the rendering order of child views

2010-05-11 Thread Divkis
Hi, You can do it by calling setChildrenDrawingOrderEnabled(true) and then implementing getChildDrawingOrder(int, int). That solves my problem. The only glitch was that this method is available from API-7 onwards only. Thanks a ton, Regards, DivKis -- You received this message because you

[android-developers] how to get CPU speed

2010-05-11 Thread sleith
Hi, is there anyway to know CPU speed running on device? Thanks :) -- 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] Widget like MapView

2010-05-11 Thread Ajay
Hi, I read some tutorial about loading a MapView in your own activity. The Google maps is a beautiful application that scrolls in any direction the user moves around. I want to develop a similar application, that could scroll in any direction, but the difference being it has to display it's

[android-developers] Re: How to disable home and other buttons so as to persist an app?

2010-05-11 Thread Maps.Huge.Info (Maps API Guru)
The dock app for the Droid does a similar thing. When you press the home key (while in the dock) the dock app is displayed. In order to get to the device home screen, the back key has to be pressed. -John Coryat -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Delete MMS messages

2010-05-11 Thread Mani Android
Hi Reju Try this Uri msgUri = ContentUris.withAppendedId(Mms.Inbox.Content_Uri,1); SqliteWrapper.delete(this, getContentResolver(), msgUri, null, null); (or) getContentResolver().delete(msguri, null, null); Regards Manikandan.D On Wed, Mar 3, 2010 at 6:19 AM, Reju rej...@gmail.com wrote:

[android-developers] Fwd: Activity based Tabs

2010-05-11 Thread pawan nimje
Hi All, I have Activity based tabs...i.e i have used TabActivity,tabhost etc Now when we switch between the tabs, for the 1st time the oncreate is called and then after the onResume methode is called I want to know what event/function, of the activity, is called when i click on the the tab

[android-developers] Re: Widget like MapView

2010-05-11 Thread Ajay
Another related question: Is there a widget that can scroll diagonally? The only way I know to make a view scroll both horizontally and vertically is to have nested views like have a ScrollView inside a HorizontalScrollView. But, in this way I cannot scroll diagonally and it always has to move in

[android-developers] How do I enable the phone's key guard programmatically?

2010-05-11 Thread Walles
Hi! How do I enable the phone's key guard programmatically? The use case is that I want to make an app that enables the key guard when I use my Bluetooth headset to answer a call. Currently with my HTC Hero there's no way for me to physically enable the key guard during a call since the phone's

<    1   2