Android :: Turn On / Off GPS Programmatically Without Setting Screen?
Oct 7, 2010How can we turn on/off GPS programatically without going on setting screen in android?
View 2 RepliesHow can we turn on/off GPS programatically without going on setting screen in android?
View 2 RepliesThere's a setting in this Evo somewhere to allow the screen to turn off while charging. I can't find it. Any help?
View 2 Replies View RelatedSo this has happened the pretty much every night Ive owned the Evo. I close out everything on the phone, put it on the charger and make sure the screen is off. When I wake up in the morning, the phone is fully charged but I received a text message at 12:30 AM and my screen has been on ever since. Is there a setting that the screen turns off after a notification while charging?
View 2 Replies View RelatedThis question is about setting the "style" attribute programmatically, but it needs a bit of background first. I wish to create a custom component which will looks like a EditText box but not actually allow direct input. (When focused or touched it will pop up a dialog to allow data to be entered).
View 2 Replies View RelatedI would like to set a "style" for the button how can I do that in java since a want to use several style for each button I will use.
View 1 Replies View Relatedhow do I programmatically turn on/off WIFI?
Currently I'm having something like this:
CODE:..........
Where _iWifi is a button instant (of course...)
Now, the problem is that it tells me there is a Security Exception occurred, I guess I have no permission to access this.
I'm sure a firmware key is not needed in this case (unlike my previous question regarding reboot action), so what is the proper way of doing this?
I have started my GPS programmatically by Intent myIntent = new intent(Settings.ACTION_SECURITY_SETTINGS);
mContext.startActivity(myIntent);
How i will turn Off GPS when i exit from my program...
Is there a way to programmatically turn off that autosuggest list which pops up as you type in EditText?
View 2 Replies View RelatedIs there a way to draw on or modify the key guard wallpaper programmatically?It looks simple enough for the home wallpaper, you can use WallpaperManager. But how about for the lock screen wallpaper?
View 1 Replies View RelatedI had a program that I got from the Market...I think it was called something Settings. It was a green color "gear" icon.
I think that was the program. It let's you control all of your settings for the most part such as wifi-gps etc...
For the LG EVE where do you go to turn on or off 3G?
I do not have data anymore.
I had a setting where I could turn on and off the 3G GPRS.
I no longer have that feature.
Turning off all the useless crap and using an app killer gets me a solid 2 to 3 days on 1 charge.
I can't find a setting that allows me to just see the regular versions of websites, as opposed to the mobile versions. Some sites give an option after opening in Mobile v, but i'd rather disable it altogether. At least for some sites it'd be nice. So far, the 4G seems to handle the full versions pretty well IMO.
View 5 Replies View RelatedI would like to turn off 3G since I don't get it out where I live. Is their a app or a setting?
View 6 Replies View RelatedI have a Tivax 7D-1A tablet w Android 4.0. When I slide the WiFi switch to On, it stays there for about five seconds and then goes right back off. I did a Factory data reset a few times.
View 1 Replies View Relatedso you know when you use this phone , it turns off like every 30 -40 sec when we not using it , we have to turn on the screen by press the power button on the side. THEN I HAVE TO unlock by slide.is there anyway i can click on the screen to show up the screen to unlock .
View 2 Replies View RelatedAbout custom Power Management... Is it allow for my app to dim the screen programmatically??, the goal would be to send the phone sleeping when a Intent.ACTION_BATTERY_CHANGED event is handled by a BroadcastReceiver, just like its done automatically by the OS (if so configured) after x time of inactivity.
View 2 Replies View RelatedMy application is launched on car docking event, i want to wake up phone (done by system) and unlock screen when i plug my device.
View 2 Replies View RelatedI want to go to home screen programmatically in android when i clicked on button. How can i do this?
View 1 Replies View RelatedI just got my HTC Magic yesterday and I was meddling around with it for awhile and I realized, when you receive text messages there are no vibration? Is it possible to make the phone vibrate when there are new text messages? And also, is it possible to turn of GPRS so that I wont accidentally connect to the internet with it?
View 3 Replies View RelatedI can't for the life of me find how to turn off/on the setting of when you press a key it vibrated..I can't believe nothing came up when I searched.
View 5 Replies View Relatedhow to prevent the Android Activity from sleep mode programatically. Or can we declare something related to this in Android Manifest file.
View 2 Replies View RelatedHow do I go to previous screen manually.say 'on button click'?Its similar to imitate the BACK button click.
I used below code but no luck.
startActivity(new Intent(ViewOfferActivity.this, this.getCallingActivity().getClass
How to get the screen density programmatically in android?
I mean How to find the screen dpi of the current device?
I am working on a remote automated test framework for Android based on JUnit (tests run outside android, interacting with code inside it). It's all working fairly well, but one issue I have is that when I automatically start a fresh emulator, the screen starts out locked. This appears to affect my tests being able to run, plus, I want to watch the tests run (buttons clicked, text typed, etc.). If I manually start an emulator and unlock its screen, all works well.
Is there a way to programmatically unlock the screen in Android? A Java API, a command line or shell command, etc. would all be fine. Barring that, perhaps there is a way to start an emulator unlocked?
As we know that Android phone gets locked after screen timeout. But I want to lock the phone on demand as well. i.e. without waiting for screen timeout to occur.. As in nexus android phone there is hard button on top for making screen turn off and lock the phone. i have to do same functionality but by using soft key i.e. in a programmatic way. What are the APIs or routines that can help me ? Can someone point me for getting this functionality?
View 5 Replies View RelatedHow to create a folder in main screen programmatically?
View 5 Replies View RelatedI have some questions related to Android's home-screen contents:
1) Is there a way to programmatically delete a home-screen shortcut on Android? I know that it can be done manually but I want to do it in code.
2) Is there a directory where all the contents of the home-screen are stored and, if there is, is there a way to update the contents of this directory?
I have an app which displays a large amount of text for the user to read. I've found that when reading while lying down, I get annoyed that the screen rotates even though my head and the screen are aligned. I do not want to set this to be permanently in portrait mode, so I think this would preclude an approach of setting the android:screenOrientation="portrait" in the manifest. Ideally, I would like to enable/disable automatic orientation changes via a preference page.
View 1 Replies View RelatedToday I am looking for a way to mimic the behavior I know from my HTC Hero's lock screen: the calendar and alarm clock can put text & drawables there to inform about an upcoming event or an expired alarm. The lock screen remains there in that it must be dragged down to dismiss the shown event and there might also be a Snooze button.
But, first question: is this default Android stuff or HTC Sense specific only??
Second question: If it is a common Android thing, why can't I find anything in Google's Android documentation for the topics "lockscreen" or "lock screen" that comes close to my question? Where's the API for it?
My problem is: I want to inform the user immediately - even if I try a standard notification, the user with a locked screen will have to unlock it and drag down the notifications list to see & clear what's going on. sigh Putting an endlessly playing notification sound there is a hassle as it takes at least two swipes down to stop the sound playing!
I tried searching first!
I've lost Multi Touch Zoom on the Dolphin Browser Since the 2.1 update.
The native browser will not multi touch zoom either (I thought this was supposed to be included in the update).
Any ideas? I can't find a setting to turn it on.
I've a widget which i would like to delete programmatically if the user gives the command by clicking on some button or so.. But as per my knowledge the app programme and the widget programme will be running in different processes. So how is it possible to get the controll of another process remote view and delete the same clearing all the db contents related to the widget?
View 1 Replies View Related