Android :: How To Programmatically Enable GPS In Cupcake
Jun 26, 2009
I'm currently writing an app in Android that works with the GPS, at the moment I'm able to work out whether the GPS is enabled, my problem is that I want to enable the GPS on app startup if it is disabled, how can I do this programmaticaly?
View 4 Replies
Jul 22, 2009
I was wondering if there is a way of enabling the GPS programmatically through an application without going to the menu Settings > Security & location > Enable GPS satellites. Please let me know if there is a way, I've seen this asked a million times in this group but there are never any replies.
View 2 Replies
View Related
Feb 26, 2009
I would like to enable Security & Location settings programmatically. Can any one please suggest me how to do this?
View 2 Replies
View Related
Aug 11, 2010
Is it possible to enable usb debugging (under settings/applications/development) programatically from within my app? I was looking at Permission.WRITE_SETTINGS and http://developer.android.com/reference/android/provider/Settings.System.html but couldn't find anything appropriate.
View 1 Replies
View Related
Jul 29, 2009
I'm trying to code an app for android that needs to enable and disable 3G (move between 2g and 3g), but can't find anything about it...is that possible? Can I get a snippet code or some documentation?
View 2 Replies
View Related
Sep 27, 2010
I want to enable/disable bluetooth through the program..I has the following code. BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if (!mBluetoothAdapter.isEnabled()) {Intent enableBtIntent = new Inten BluetoothAdapter.ACTION_REQUEST_ENABLE); startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT); But this sort of code is not working in SDK 1.5..How can i do the same in SDK 1.5.?
View 1 Replies
View Related
May 3, 2010
I'd like to write a simple widget that toggles GPS and network location on and off. I've read that it's not possible to do that normally, but presumably on a rooted phone it must be doable. Does anyone know what the code would be? (I only need the code to toggle the location providers, I know how to make the widget.) It doesn't matter that this isn't a 'good' solution, I don't plan to distribute the widget. If it matters, this would be on an HTC Hero, still running v1.5.
View 1 Replies
View Related
Aug 20, 2010
Is there a way to enable or disable tethering (USB or wifi) on an android phone programmatically? Perhaps an API in android SDK or NDK or any even non-UI command to do that.
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
Feb 22, 2010
I have a small issue. Is it possible to enable or disable HSDPA connection programatically in Andoird? If so, how to do that? I didnt find any API in Telephony Manager.
View 1 Replies
View Related
May 20, 2010
I have tried finding the names of the Android OS prior to 1.5 (cupcake), but no luck. Did Google give "A" and "B" versions of the OS dessert names or did that start with cupcake?
View 10 Replies
View Related
Dec 1, 2009
I've G1 dev phone. Earlier I upgraded it to 1.5 using HTC website. Now I want to customize (make some changes to ) source code and keep the changes running on G1 phone. I wanna go with cupcake release. Could any body please give me some pointers. If I download cupcake source code from android website and do 'make' for which target it will generate the images ?[Emulator or G1 phone etc.,]
View 3 Replies
View Related
Jun 17, 2009
Is RTP streaming known to be working on Cupcake devices? I have not been able to start an RTP multimedia session with my G1 since Cupcake upgrade. It was working before the upgrade, e.g. by using the VideoView class and providing an RTSP URL. But the same test which was working before fails now. The RTSP OPTIONS and DESCRIBES exchanges are OK, and then there is a "PVMFFailure" in the Log, and a popup saying "Sorry, this Video can't be played".(Note: I removed a similar message that I sent yesterday because it contained broken links)
View 3 Replies
View Related
May 14, 2009
I'm considering an Android phone, but I'm a little worried about the restrictions on Bluetooth.Can someone confirm what's been 'fixed', and what restrictions remain after the Cupcake update? I've seen a lot of mixed information floating around the net.
View 6 Replies
View Related
May 20, 2009
Is android-1.5 and cupcake-1.5 is same?
View 2 Replies
View Related
Mar 3, 2009
We are developing some applications on cupcake which depend on packages not available in 1.1 version of SDK and will not build on it. Debugging and make are very slow on ubuntu open source. So, we are eagerly waiting for a windows SDK based on cupcake. Is there a timeframe defined for it by Google?
View 7 Replies
View Related
Apr 29, 2009
I'm migrating my app from 1.1 to 1.5. It works right but i get a problem thowing a new intent which used to open a Geo URI in google Maps. I think that it must be related with the fact of Gmaps not beign included as part of the core. Is there any way to solve it or change it if i want to keep the track of 1.1? This is the code: intent mapsIntent = new Intent(Intent.ACTION_VIEW); mapsIntent set Data (Uri.parse("geo:0,0?q=" + address + "&z=19"));startActivity(mapsIntent); This is the throwed exception. Android. content. ActivityNot FoundException: No Activity found to handle Intent { action=android.intent.action.VIEW data=geo:0,0?q=Av. PrÃncipe de Asturias,}
View 10 Replies
View Related
Jan 21, 2009
Untill now, i were forwarding my PC ports using telnet, but with Cupcake, it's possible to use directly with emulator, using -qemu - redir option. But i'm not getting success doing this. I'm doing emulator -vm myconfig -qemu -redir udp:1234::1234 or emulator -vm myconfig -qemu -redir udp:1234:<my ip here>:1234 and both starts the emulator with the warning "qemu: could not set up redirection 'udp:1234::1234' " or "qemu: could not set up redirection 'udp:1234:<my ip here>:1234' "Please, what i'm doing wrong? any successfull case? thanks a lot P.S - i already compiled SDK 1.5 and it's working perfectly
View 2 Replies
View Related
Nov 8, 2009
Does anyone know how to change a build from donut back down to cupcake? I tried changing the release target minsdkversion back to 3 but it still would only launch in the donut rather than cupcake emulators and showed the Android 1.6 rather than Android 1.5.
View 2 Replies
View Related
Mar 4, 2009
I have a so called reliable resource who works in the T-mobile store, and so far he has been right about anything to do with G1. He predicted the OTA release, and that was right, but he has also said T- mobile will be releasing the cupcake to t-mobile customers in uk end of March. Of course all i/we can do is wait. if anyone has any information to back that claim it would be appreciated. I know there's loads of cupcake talk that has been going on for months. but i believe this is the real thing, else he wouldn't jeapordise these claims to get people to buy the G1 and then get hundreds of complaints if it didnt happen
View 2 Replies
View Related
Jul 17, 2009
Maps useda allow directions from My Location. Where'd that go?
View 5 Replies
View Related
Apr 21, 2009
I am doing development on RSTP streaming on cupcake. I want know more clear about it, so my question is, which version of 3GPP PSS has been support on cupcake, R4, R5 or R6?
View 2 Replies
View Related
Sep 5, 2009
I've used animated GIFs in Android pre cupcake however my old code no longer works. To be exact: Movie.decode Stream Always returns null... Does anyone have any workarounds/fixes to play animated GIFs?
View 1 Replies
View Related
Jun 3, 2009
In android cupcake release note, it said there is an improvement about Browser scrolling improvement. Can you please tell me what is the technique that android uses to improve that?
View 2 Replies
View Related
Dec 3, 2009
Is there anyone know how to add multi-touch function in cupcake? I found that linux kernel 2.6.30 had a new multi-touch protocl, did that mean I must upgrade my kernel to be 2.6.30+?
View 3 Replies
View Related
May 19, 2009
Long story short, how can I disable the screen transitions between activities? We implemented our own tab handler if you will, and now it is doing a transition between tabs, which looks pretty tacky.
View 3 Replies
View Related
Jun 12, 2009
I have just been integrating the Skyhook Wireless technology into my Android application. This is the localization framework that gives a better localization by looking for wifi hotspots. As a result the position is better, at least indoors when it can find a hotspot. On the downside the library is around 300kb of size on the device. Now in Cupcake when I look at "Security & location" settings, there is an option named "Use wireless networks". This seems to be exactly the same as Skyhooks technology. However, I cant find any useful information about what kind of localization this is and weather it makes sense to drop the 300 kb library. Is Skyhook already integrated into Cupcake?
View 1 Replies
View Related
Mar 20, 2009
I meet some problem while using cupcake bluetooth handsfree.
1. Phone only can pair with pin "0000" BT headset automatically, but never pair succeed with headset with pin "1234" (never prompt pin code dialog for input?)
2. Connecting BT headset always fail if the BT headset only suport HFP/ HSP profile(on A2DP). Any one familiar it?
View 3 Replies
View Related
Nov 1, 2010
What is with the android names. why is everything related to food?
Cupcake
Donut
Eclair
FroYo
Gingerbread
Honeycomb (Expected next)
View 16 Replies
View Related
Apr 10, 2009
I tried the 'unofficial' cupcake SDK and found that the hardware HOME button doesn't bring me back to the home screen anymore. Is this a conscious UI decision? What's the reason behind it? Also, long-press on the HOME button doesn't bring up the task manager anymore. So, if I am in the browser, I have to all the way close all the pages before I can go back to home screen?
View 11 Replies
View Related