Android :: Settings - Secure.ADB ENABLED - USB MASS STORAGE - ENABLED
Nov 20, 2009
I wanna set the ADB_ENABLED and USB_MASS_STORAGE_ENABLED option automatically in my App.
so i add below statement in my App(Activity).
---------------------- Settings.Secure.putInt(getContentResolver(), Settings.Secure.ADB_ENABLED, 0);
or
Settings.Secure.putInt(getContentResolver(), Settings.Secure.ADB_ENABLED, 1); ----------------------
and add below statement in my App(manifest).
---------------------- .... </application> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> .... ----------------------
but some exception are occured in runtime like below.
---------------------- Uncaught hander: thread main exiting due to uncaught exception. java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS ... ----------------------
How i can use ADB_ENABLED and USB_MASS_STORAGE_ENABLED in my App?
View 3 Replies
Sep 24, 2010
I installed the driver and device manager see my phone but when I /adb devices/ it doesn't see my phone. Debugging on and mass storage enabled with card not mounted. Win7.
View 3 Replies
View Related
Nov 29, 2011
Which GPS settings should I have enabled Google or Stand alone services? What's the difference and which one is the best on battery life?
View 2 Replies
View Related
May 28, 2009
Has anyone else noticed this? It's slightly annoying. I downloaded my version of 1.5 from
https://android.clients.google.com/updates/partner/signed-kila-ota-14...
View 3 Replies
View Related
Jan 7, 2010
i'm dying to see the source code for the voice enabled-keyboard feature for android : i'm new to open source developing yet i'm very interested in this application particularly. where to find the code ...
View 2 Replies
View Related
Jul 30, 2009
I have enabled StreetView with .setStreetView(true) but it don't load, so I don't know if I have enable other things.
View 5 Replies
View Related
Jul 9, 2010
How can I know whether bluetooth is enabled or disabled.
View 3 Replies
View Related
Sep 25, 2009
android:enabled can be set at AndroidManifest.xml <activity android:name="MyActivity" android:enabled="true">
How can I set the attr true or false in my programm?
View 3 Replies
View Related
Aug 12, 2010
This seems like a common issue developers have yet I couldn't find anything on it (searched through the archives in this mailing list and Google searches). Maybe I just fail at research, but anyway.. My app requires a network connection. If it is disabled I'd like to notify users that it is required and then possibly open the network settings box so they can enable it.
View 5 Replies
View Related
Feb 6, 2010
HelloWebview code (and other WebView code samples) all result in "web page not available" error. Javascript is enabled. Permissions set for INTERNET, ACCESS_NETWORK_STATE, CHANGE_NETWORK_STATE in Manifest.xml. Does not work on either emulator or device (Samsung Moment -- Android 1.5). GOOGLE.com comes up on both emulator and device. I have looked for s solution for this for several days. I'm a real newbie to Android, and a pretty new user of JAVA but can follow an example / sample.
View 2 Replies
View Related
Dec 10, 2008
My main question before I buy a G1 is does Android have a Wifi enabled VOIP program (like Skype)? Also, can I link it directly to a PC and throw any data I want inside it (linux programs). Oh one more thing, can it compile C code?
View 8 Replies
View Related
Oct 17, 2010
I want to check if GPS is enabled, but I dont know how to do it. i mean with a function, in android
View 2 Replies
View Related
Nov 4, 2010
My app works when GPS is disabled, but FC's when starting while GPS is enabled. On a cold start it offers the option to turn on the GPS. After doing that, pressing the back arrow button it returns to the app activity (although the GPS icon is not visible in the status bar, on a side note, how do I get it to display here?).
I exit the application by pressing the back button or using the menu option whilst GPS is still on.
Now, when I try to start the app, it FC's. The blinking GPS icon appears behind the FC message and disappears when I acknowledge the FC.
Here is the code:
CODE:........
And this is the logcat from eclipse:
CODE:........................
View 1 Replies
View Related
Sep 24, 2009
I want adobe flash to be enabled in android, Does android support it.
View 6 Replies
View Related
Jan 24, 2010
There is an iphone app that allows you to control a wifi enabled helicopter. is this possible with any android phone?
View 5 Replies
View Related
Aug 8, 2010
I'm developing an openGL-enabled live wallpaper and it seems to work fine on the Nexus but I've had someone tell me that on their Milestone (basically a GSM Droid), all the textures are white. I only have a Nexus to test with. I've done lots of Googling on the issue and the big thing that seems to come up most is having power of two sized textures - which I have. I also put them in the /res/drawable-nodpi folder and set my manifest to all screen sizes/densities. At one point, I thought maybe it was the way I was implementing mipmaps so I turned them off. No dice. I'm sure it's something simple that I'm overlooking but my brain is completely fried at this point.
My texture loader:................
View 11 Replies
View Related
Nov 28, 2009
This is what I would like to do: => IF WiFi is enabled AND active, launch an intent (in fact it's a WebView that gets its content=>the instructions of my app on the web) => IF NOT, then I would launch another intent so that I don't show a WebView with "Web page not available ... The Web page at http://www.mywebsite.com might be temporarily down or it may have moved ..."
I tought initially to use
if(wifi.isWifiEnabled())
but that does not say if the Wifi connection is ACTIVE or not. It says only that the user has turned the switch on. The device may or may not be connected... Is this correct ?
Then I tried to use :........................
View 4 Replies
View Related
Jun 8, 2010
Does anyone know of a cheap Android or programmable device that has wifi? I need it for a project for a company that needs a wifi handheld device for the shop floor. Im not too fussed about the language the device uses though Im not really interested in the iTouch as theres no intention to release the app in the app store and I don`t really want to jail break everybodys iTouch. Ideally it would be small , iTouch size for example and relatively cheap $100 or less. Nothing fancy just ability to write a simple UI and have wifi. Voice is not needed.
View 2 Replies
View Related
Nov 13, 2010
I want to be able in Android to press on the menu button on the phone and get the menu that will enable the user to toggle on/off sound. I want different images for the on/off status.I know how to create menus; however, I'm having difficultly changing the menu button from one image to another. Has anyone figured this out?
View 1 Replies
View Related
Jun 8, 2010
I need to rotate an ImageView by a few degrees. I'm doing this by subclassing ImageView and overloading onDraw(). code...
The problem is that the image that results shows a bunch of jaggies.
How can I antialias an ImageView that I need to rotate in order to eliminate jaggies? Is there a better way to do this?
View 1 Replies
View Related
Jan 9, 2010
Ok it seems to me that most of android phones came without tethering (officially, I'm not speaking about rooted phone due to possibile warranty issues).
I know that there is pdanet that add this support but 29$ is damn expensive, and it looks like a win/mac only (I'm a linux user).
All my phones had tethering capability (and i have a tethering allowed dataplan) cause I do need tethering is some circumstances, and I don't think that I am the only one!
Is there a list of all tethering enabled android phones?
If not i could be usefull to have some kind of wiki style list of tethering enabled phones.
View 23 Replies
View Related
Feb 12, 2009
As anyone successfully tested running Gears enabled web pages in WebView ? The Gear samples are running ok in the android 'browser' application, but not on 'WebView'. Do I need to enable any WebViewSetting() options ?
View 7 Replies
View Related
Nov 24, 2010
I made two Buttons in my Android application. the first one activates sending my GPS data to a Website.
the second one disables this option.
So my question is: What can I do to make it possible that when my activatebutton.isEnabled()==false (already pushed) is,that each time when my location changes a method will be executed.
View 1 Replies
View Related
Jun 28, 2010
Re-enable HTC Sense? I accidentally disabled HTC Sense and now I can't get back to it to enable it! I accidentally put AWD Launcher as my default.
View 3 Replies
View Related
Aug 29, 2010
Incredibly annoying "car mode enabled" icon keeps flashing up in the top left hand corner of.my screen. It sometimes causes apps to restart. I want rid of this - forever! I have froyo running on my HTC.
View 5 Replies
View Related
Apr 28, 2010
Several posts have "confirmed" that the Incredible has WiFi N. Maybe it is capable of WiFi N, but N is certainly not enabled. See attached picture of Airport Utility at my house, which is a WiFi N router. You can see that one device is connected at 802.11a/n with a rate of 270 mpbs. You can see that another device is connected at 802.11b/g with a rate of 54 mpbs. That device is my HTC Incredible. I've tried it with two different WiFi N networks, and the incredible never connects at anything other than WiFi G, and it never has a rate higher than 54 mbps. Does anybody still care to argue that the Incredible has WiFi N enabled? Has anybody else experienced anything different?
View 49 Replies
View Related
May 24, 2010
How can I check for GPS support in-App to add a feature for those with Location services enabled?My concern is, I know I'd have to specify the tag in the manifest to declare that the app uses location services, but I still want the app to function for those without. I just want to check and, if the service is available, use it; otherwise just ignore that one feature.
View 1 Replies
View Related
Nov 19, 2009
Is there any way for an application to force a network request to go over the mobile network if it's available in preference to WiFi? I'm looking at ConnectivityManager#setNetworkPreference, but there's no documentation, and looking at the source seems to suggest it's setting a global preference somewhere which isn't what's required here - I just need to force certain requests that need to go over the mobile network to ignore WiFi.
View 3 Replies
View Related
Oct 9, 2010
I've noticed this over the last couple of days. I have unlimited data, so have my email on autosync. I also get a lot of emails - so if I wake up (as today) to no new ones, I know something is wrong. I have the autosync thing enabled, but even when I got to the settings and ask it to sync now, it wont - it wont even try - there's no circling sync symbol, even for a moment - even unchecking then rechecking the things for syncing wont work. I have to turn it off then on before it'll do it again. What's going on - when out and about it sometimes takes me a while to notice it's not working, and turning off and on.
View 4 Replies
View Related
Aug 26, 2010
Was hoping someone either had a link or instructions on how to get wifi tethering enabled on the New ROOT that was just released. Guess while I am at it, capture screen program would be nice too ..
View 11 Replies
View Related