Android :: How To Disable Android Device?
Feb 19, 2010
I would like to temporarily disable the Android device when the user performs 3 wrong logins in a row. The login is another issue I'm not interested in here. I'm interested in blocking the phone. I've been searching for some time now. I found some messages on disabling buttons, but they seem to be bad usability. On top of that, it might not be supported anymore in future APIs. So I kept looking and found:
http://developer.android.com/reference/android/Manifest.permission.ht....
This seems to suggest something in the API that I can use, but can't find it. I'm interested in how to use this permission, and I'm also interested in what the consequences are. Does using some bricking method imply that the phone is permanently bricked, or is there still a way to restore the phone, so you don't have to throw it away?
View 3 Replies
Nov 22, 2010
How can i get the rotation of the device in the four main orientations? and is there a corresponding event that i can capture?
also, is it possible to disable this rotation for my app?
View 1 Replies
View Related
Jul 22, 2010
Is it possible to programmatically disable and enable the led indicator light on an Android device? I am not referring to just turning it on and off as in a notification. I did not see anything in the api that would do so. I am guessing this is hardware specific if it is possible at all.
View 1 Replies
View Related
Jul 13, 2010
im new to the android and the forum. i need some help with google sync/gmail sync. i have synced my contacts once but i do not want to sync it anymore how do i disable contacts and calender sync on my android device now?
View 5 Replies
View Related
Dec 18, 2012
How do you disable the ICS screen lock ring but leave the pin device lock on?
View 4 Replies
View Related
May 28, 2010
Can someone explain a couple of very simple concepts to me - I'm interested in mobile devices running android and how they are identified over networks. Some scenarios: Device is connected over WiFi - presumably the device has a standard IP address as with any host and can communicate with any other android host over TCP/IP (assuming it knows the participating device's IP? device is connected over bluetooth - how are devices identified in this case? device is connected over mobile operator's network - this is the one I'm interested in and confused by - is there anyway for two or more devices to discover each other and communicate via the mobile operator's network? How does a device communicate with a backend server in this scenario? In other words, how do apps and devices communicate when not connected to a WiFi network?
View 2 Replies
View Related
Jun 6, 2010
I have developed and tested my app on the emulator, and now want to install it on my HTC device. the apk installs successfully, however my database is not going with it. I have created my database using sqliteman browser b/c I have to insert a bulk data before the app starts. I have four tables in my db and call each in different activities and created all on the sqliteman. after the data is inserted I pull back the db onto the data folder of the emulator. it works perfect on the emulator but failed on the device. when I try to pull my db on the real device, it shows access denied problem
View 2 Replies
View Related
Mar 24, 2009
I have developed a sports game which is single player. Now I want to have one more game mode which is multiplayer.
My question is how can i do device to device connection in android using sets of api which can be :
1.Bluetooth - whose APIs are not currently available.
2.gtalkservice - removed from sdk1.0 3.wifi - I dont knw how to connect 2 devices using wifi apis . I have asked about wifi because we have developed a game on iphone which used wifi connection for multiplayer stuff.
Or is there any other apis which can be used for implementation of multiplayer in game ?
View 3 Replies
View Related
Oct 30, 2009
How do I map the device Y axis to the screen Y axis?I can't figure this out.I'm the developer of Tricorder, and I'm trying to make it so that the accelerometer and magnetometer indicators I draw always point in the right direction.On the G1 phone with the slider closed, all is well.But when I open the slider, I end up showing that gravity is pulling me to the left (if the phone is held with the display vertical).So, I know that the device, and hence sensor, Y axis is always in the direction of the earpiece; and the screen Y axis changes when I open the slider.And I know that I can use remapCoordinateSystem() to change the device axes to match the screen axes.But where do I find out what the device's orientation is?In other words, how do I compute the correct values for the X and Y parameters to remapCoordinateSystem()?
Configuration.orientation seems quite useless.Suppose it is set to LANDSCAPE.What does this mean?Does it mean a device which is "naturally" portrait (i.e. the sensor Y axis points to the narrow end), and which has been turned into landscape mode?If so, which way was it turned?Or does it mean a device which is naturally landscape?In other words, LANDSCAPE could mean that the screen axis is off from the sensor axis by +90, 0, OR -90 degrees.Not much help.So how do I do this?Obviously I want my app to work on all devices, not just the G1 phone.
View 2 Replies
View Related
Oct 29, 2010
I have a standalone GPS enabled data recorder in my car that can function as either a USB host or device. (Its a class 0x00h USB device). I currently connect to it via a WM 6.5 app running on my Palm Treo 750. I would like to port my WM 6.5 app to an Android phone. (I don't have a specific Android phone in mind, I would like it to be as generic as possible).Replicating the GUI is not that difficult, but I am having trouble getting started on the USB communication. I'd appreciate it if someone could point me towards an example, or the appropriate tutorial.
View 1 Replies
View Related
Feb 28, 2014
Basically I have an old iPod touch 2g on iOS 4.x and a Nexus 5.
I want to use my iPod as my media player but I'd like to be able to control music from my Nexus (only basic controls).
Is there an app on either device that allows this? I know tsk skipping can be done by some Bluetooth headphones so I'm hoping there's a way to make iOS accept command from my Nexus
View 1 Replies
View Related
Feb 13, 2010
I'm using the android plugin for eclipse, and when I try to run my program using a real device through the android device chooser, my phone is not listed as a device. I have updated eclipse and all of the android packages, but it still isn't showing up. My phone is running 1.6, which is also the target version listed in the eclipse project.Also, the reason I decided to try testing on a real device is because the emulator doesn't seem to be working right anymore when I run my project. The emulator launches, but the program never does. Any ideas?(using windows 7/t-mobile mytouch 3g)
View 3 Replies
View Related
Aug 10, 2010
Does anybody have an idea what I may be doing wrong. I have installed the usb drivers and have my device running in debugging mode but when I run my basic hello world application through eclipse my device wont show up in the device chooser. I have also tried re installing the sdk and all the drivers and still no luck.
View 4 Replies
View Related
Nov 10, 2009
http://developer.android.com/guide/developing/device.html Is there a way to get the device manufacturer or the USB device ID? I could not find anything documented.
View 7 Replies
View Related
Oct 14, 2009
Does anyone know what this program is? What does it do? i launch it, it goes into preparing device and then I am back at home screen.
View 5 Replies
View Related
May 28, 2013
I have 3 Galaxy Player 5 ( YP-G70 with 3 capacitive buttons ), only one of the actually have a working rom that i flashed a while ago.
The other two have a different rom that only have the back and menu button working ( the home button doesn't respond )
Is there a way for me to take the Rom and kernel off the working galaxy player so i can install it into the other two ?
View 1 Replies
View Related
Nov 6, 2009
How can we disable GPS programmatically?
View 2 Replies
View Related
Feb 19, 2010
How can I disable RadioGroup, means all the radio buttons should e disabled.I already tried setEnabled (false) and setClickable(false) but this did not.
View 4 Replies
View Related
Oct 30, 2009
I am developing an application that is used for a sort of tournaments. The requirements are that if the application is running it should be impossible to make and receive phone calls. Can I disable 2G/3G from within my app? (Airplane mode is no option, because I still need GPS).
View 2 Replies
View Related
Oct 10, 2010
i want to lock screen,i want to disable the home key only use the back key,how to do?
View 2 Replies
View Related
Jun 9, 2010
I'm working on an application that needs to perform recognition algorithms on raw PCM audio captured from the microphone. On all Android devices I've tested, the PCM data is usable (i.e., raw audio data.) This is not the case for the new Sprint EVO. The Sprint EVO has AGC (Auto Gain Control) on the mic, which destroys the data such that our recognition algorithms no longer work. I believe this is a feature that HTC added to the OS for this device (and possibly future devices.) I've tested our application on a few other devices using the same OS version (2.1) and these other devices behave normally. Unfortunately, HTC has not yet posted the code used on this device. I expect that I may have to use JNI in order to bypass this for this specific device, and I'm willing to do this, but without access to the HTC source, I wouldn't know where to begin. There is no way to reverse the effects of AGC, so I'm stuck trying to work around it.
View 1 Replies
View Related
Sep 13, 2010
Is it possible to disable the USB port? Even if the device is physically connected to a host computer via USB cable, no logical connection should be established. What are the sources/programmatic way of doing this?
View 12 Replies
View Related
Aug 17, 2010
Possible Duplicate:
Disable trackball click in Android
How can I disable the trackball in my app? I only want the buttons to work when you click them using the touchscreen.
View 1 Replies
View Related
Sep 14, 2010
I want to create api in android source code to dissable installed android application ( not uninstalled).Is there any pointer for this task? By using this api in system application user can select desired application to dissable and enable when it needed. For example I have installed paid weather application on android phone which is running background thread to get updated report from server over http.which i want to disable on roaming and again unable it when come back.but dont want to uninstall application from phone.
View 3 Replies
View Related
Jul 30, 2010
I have implemented GestureListener, and it is working perfectly, but how can I remove GestureListener from my view?
CODE:...........................
View 1 Replies
View Related
Jun 25, 2010
Wanted to leave a ImageButton is disabled (not clickable), but have used android: enabled = "false" but does not work
Does anyone know how to disable an ImageButton?
View 1 Replies
View Related
Aug 18, 2010
We have a variety of devices for testing purposes, and now that Froyo is being pushed (to the Nexus One so far at least), we have to constantly dismiss upgrade requests. There is no apparent "stop asking me" button.
So, is there any way I can disable OTA OS updates? We want a number of these phones to stay on old OS versions.
View 1 Replies
View Related
Jan 29, 2009
I'm fairly new to android development - I'm having trouble finding documentation on how to disable the accelerometer/auto-rotate feature for an app (i.e. when you turn the phone, everything 'corrects' changing the layout). Is it possible to disable in the emulator?
View 2 Replies
View Related
Dec 5, 2009
So this is a response to another thread, that I never got a reaction on. Hopefully someone can give a hand. I have a AutoCompleteTextView with a CursorAdapter with data. I need to be able to set a text in the AutoCompleteTextView programmatically without the autocomplete mechanism kicking in. If I use *setText *on the AutoCompleteTextView it will start the autocomplete. I tried calling *dismissDropDown() after setText, but this dosnt work because the drop down is not shown yet.
View 6 Replies
View Related
Feb 25, 2010
I signed up for Google Voice a while back just to see what it did. In the process, I obtained a Google Voice number that I never used. Now I have a droid, and want to use the Voice app to take care of my texting and voice mail. However, when I send a text, it is viewed as coming from my GV number. I want it to still appear as from my actual phone number.
View 3 Replies
View Related