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
Gr
It only enable the data connection . how to disable it ?
On Sat, Mar 2, 2013 at 1:33 PM, Manish Srivas
wrote:
> Method dataMtd =
> ConnectivityManager.class.getDeclaredMethod("setMobileDataEnabled",
> boolean.class);
> dataMtd.setAccessible(true);
>
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 th
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 a
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 d
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-dev
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
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, g...@deanblake
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 thi
On Sat, Mar 2, 2013 at 10:36 AM, g...@deanblakely.com
wrote:
> 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 it's in the backgrou
On Sat, Mar 2, 2013 at 11:26 AM, dashman 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 the BACK key is pr
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
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 <
> ga...@deanblakely.com > wrote:
>
>> Well, the app reliably works wh
On Sat, Mar 2, 2013 at 6:57 PM, 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 the
user manually r
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 t
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
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 w
On Sat, Mar 2, 2013 at 7:30 PM, 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 FlashLight app
> where the
18 matches
Mail list logo