Re: [android-developers] How to enable and disable mobile network programmatically ?

2013-03-02 Thread Manish Srivas
Method dataMtd = ConnectivityManager.class.getDeclaredMethod(setMobileDataEnabled, boolean.class); dataMtd.setAccessible(true); dataMtd.invoke(connectivityManager, true); -- -- You received this message because you are subscribed to the Google

Re: [android-developers] How to enable and disable mobile network programmatically ?

2013-03-02 Thread mohammed Nuhail
It only enable the data connection . how to disable it ? On Sat, Mar 2, 2013 at 1:33 PM, Manish Srivas manish.sri...@adisoftin.comwrote: Method dataMtd = ConnectivityManager.class.getDeclaredMethod(setMobileDataEnabled, boolean.class);

Re: [android-developers] How to enable and disable mobile network programmatically ?

2013-03-02 Thread Manish Srivas
Method dataMtd = ConnectivityManager.class.getDeclaredMethod(setMobileDataEnabled, boolean.class); dataMtd.setAccessible(false); dataMtd.invoke(connectivityManager, false); -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Changing Radio stations through headphones

2013-03-02 Thread manish pathak
Yes ansh , you can do it by easily by java code... following link will help you http://stackoverflow.com/questions/6287116/android-registering-a-headset-button-click-with-broadcastreceiver Thanks Regards Manish Pathak Mobile Technology Innovator -- -- You received this message because you

[android-developers] Re: How to schedule a daily popup dialog box even when the app may not be running...?

2013-03-02 Thread manish pathak
By Using the AlarmManager class with pending intent will resolve your problem. try it. Thanks Regards Manish Pathak Mobile Technology Innovator On Thursday, 28 February 2013 05:12:02 UTC+5:30, b1 wrote: How can I schedule a daily popup dialog box (that appears to remind the user to do

Re: [android-developers] Re: anyone have a pandaboard

2013-03-02 Thread G. Blake Meike
http://omappedia.org/wiki/PandaBoard/4430vs4460PandaBoard -- -- 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: two activities running at same time

2013-03-02 Thread g...@deanblakely.com
Well, the app reliably works while other activities are running and when the phone is locked. I will have it on Google Play next week and you can try it for yourselves (for a couple bucks). It's called SignalBeacon. You send the phone a text and you get back the phones location. It doesn't

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread Kristopher Micinski
Your app can't run unless you actually run it the first time, that's a security feature. (Yes, I know you're catching on boot.) Doesn't it seem unprofessional to start out asking developers a question and then trying to get money out of them? Kris On Sat, Mar 2, 2013 at 11:36 AM,

[android-developers] BACK key

2013-03-02 Thread dashman
I noticed that if the Android BACK key is pressed, the Activity saveInstanceData() is not called. I understand that. Is there a way to intercept the BACK key - prompt the user to confirm exit or something. What's the proper UI functionality when the BACK key is pressed. -- -- You received

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread TreKing
On Sat, Mar 2, 2013 at 10:36 AM, g...@deanblakely.com g...@deanblakely.comwrote: Well, the app reliably works while other activities are running and when the phone is locked. This may be the case in your testing, but this is not guaranteed. Your app can and will be killed at any point while

Re: [android-developers] BACK key

2013-03-02 Thread TreKing
On Sat, Mar 2, 2013 at 11:26 AM, dashman erjdri...@gmail.com wrote: Is there a way to intercept the BACK key - prompt the user to confirm exit or something. http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.html What's the proper UI functionality when

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread g...@deanblakely.com
Kris It's a broadcast receiver it runs on receipt of an sms message and runs for less than a second. Just sends the phone location back to the sender. Re: trying to get money out of them? I'm a capitalist. I build products and sell them for money. Nobody has to buy them. Sounds like you

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread g...@deanblakely.com
TreKing. You gressed it. Broadcast receiver. It's an activity that runs for about 600 - 700 mills. On Saturday, March 2, 2013 11:05:23 AM UTC-7, TreKing wrote: On Sat, Mar 2, 2013 at 10:36 AM, ga...@deanblakely.com javascript: ga...@deanblakely.com javascript: wrote: Well, the app

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread Mark Murphy
On Sat, Mar 2, 2013 at 6:57 PM, g...@deanblakely.com g...@deanblakely.com wrote: It's a broadcast receiver it runs on receipt of an sms message and runs for less than a second. Just sends the phone location back to the sender. Which, as he noted, will not work on any Android 3.1+ device until

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread Lew
ga...@deanblakely.com wrote: Kris Re: trying to get money out of them? I'm a capitalist. I build products and sell them for money. Nobody has to buy them. Sounds like you are a little left of me. It wasn't that you were trying to sell your product, it was that you were trying to

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread g...@deanblakely.com
Mark, not sure what you mean. If the user runs the app, it's a FlashLight app where the user can turn on the led to find his way around in the dark. If the app is kicked off by a sms message it does a completely different thing. I have installed the app, never ran the flashlight, sent a sms

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread g...@deanblakely.com
I'm not being sneeky or underhanded. My question is serious. See my answer to Mark. You can try it out right now for free. You think I'm trying to get rich selling to other developers?? You are kidding right? On Saturday, March 2, 2013 5:22:21 PM UTC-7, Lew wrote: ga...@deanblakely.com

Re: [android-developers] Re: two activities running at same time

2013-03-02 Thread Mark Murphy
On Sat, Mar 2, 2013 at 7:30 PM, g...@deanblakely.com g...@deanblakely.com wrote: not sure what you mean. I mean that your BroadcastReceiver should not receive any broadcasts, on Android 3.1+, until the user manually launches some activity of yours once. If the user runs the app, it's a