This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to disable Mobile Data on Android
I'm sorry for my English, I use a translator.
In the android menu, you can turn off mobile data in the background. How can I do this using code?
You as a programmer are responsible for the behaviour of your program, so if you don't want that your program uses data when in the background:
Test for it.
When in background, don't make call's.
Related
This question already has answers here:
Latest update on enabling and disabling mobile data programmatically [duplicate]
(5 answers)
Closed 10 months ago.
I would like to know how to enable or disbale mobile data of the user's phone. I already have read a lot of things about that but nothing is working and all is very old.
I f you can help me i would really appreciate.
I think that this is a duplicate question here you have a link to an "updated" answer Latest update on enabling and disabling mobile data programmatically
This question already has answers here:
Text to speech(TTS)-Android
(8 answers)
Closed 8 years ago.
I have created a local news app for android mobiles for locals to be able to read the news from. I would like to know if it will be possible to add a feature that will read out the text for the news out loud for readers (mainly the elderly)?
There are many tutorials and resources available for that on web. You can do using Text to Sppech Engine,
Here is a great tutorial for that: Android Text to Speech.
This question already has answers here:
How can a program control another program?
(11 answers)
Closed 8 years ago.
I wonder is possible to make a bot writen in JAVA, which will open some program(program is under windows), click on the button in this program and type some data, check status of this program(login or logout, this is client for online game).
Which JAVA tools I need ? I think that java robot lib is not enough for this.
Thanks in advance.
You cannot do this using JAVA.
JAVA is a language which is loosely coupled with operating systems, so it can only receive mouse/key messages from underlying OS. Among all the tasks you mentioned , it can only start the program by using Runtime.execute.
If you want to implement a software like this ,you should use Visual Studio and use Microsoft technologies.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Adding a Google +1 button in Android App
Is there any API for putting a +1 button in android? if there's not, how to implement that?
AFAIk, Google has given JavaScript for it. Look : http://www.google.com/webmasters/+1/button/ for details and customise JavaScript for your need
This question already has answers here:
Any Android Market API from Google? [closed]
(2 answers)
Closed 9 years ago.
I'd like to add a check box to the App preferences for allowing the user to select if he wants or not automatic updates from Google Play for this app.
Is that possible? Is there some kind of API or call for setting this property? Thanks
This is all handled transparently by the Google Play app, where there are options for users to choose whether to allow automatic updating. There is no API for your app to manage this.