Android :: Enable HSDPA Programmatically In Android?
Feb 22, 2010I 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.

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.
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 RelatedI'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 View RelatedI would like to enable Security & Location settings programmatically. Can any one please suggest me how to do this?
View 2 Replies View RelatedIs 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 RelatedI'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 RelatedI 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 RelatedI'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 RelatedIs 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 RelatedIs 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 RelatedOften, after I leave a Wi-Fi hotspot, the 3G/HSDPA fails to reconnect and I get the "Unable to connect to the internet, check your settings" message. I've tried toggling the data connection on/off, airplane mode on/off, GSM/WCDMA on/off, but the only thing that seems to work is turning the phone off and on again. "Enable always-on mobile data connection" is checked.There seem to be a few people over at the XDA forum experiencing similar problems, and I've sent a message to HTC support. Does anyone else here have this issue?
View 24 Replies View RelatedI noticed my phone has a tendency to drop calls when switching from HSDPA to 3G. My phone dropped calls about 5 times today, so I thought I'd do a little test... I rang someone (display showing 3G) then refreshed my GoogleMail app (display went to H) to see if the call stayed connected... well... it dropped the call. I did the exact same thing again... dropped the call. I tried this about 5 or 6 times using different apps to basically put my phone in HSDPA mode and it is dropping the call when switching between 3G and HSDPA...
View 4 Replies View RelatedThe 3G service where I live is utterly sh*te but the HSDPA is pretty good so as per the question in the thread title is there any way to do this? I don't want to use 2G networks tho.
View 7 Replies View RelatedI'm on the Orange network and am having problems with the 3G network. Various apps (Facebook, Market, Head to Head & Internet Browser) will only download data when there is a connection to the HSDPA signal.
The 3G signal has shown as 3 or 4 bars but will consistently not download any data. Once the HSDPA signal is found, then the download starts. This can be frustrating as there isn't always a HSDPA signal.
I'm looking for a widget which turns the phone into 3G/HSDPA only mode.
I want this as my phone mostly locks itself into GPRS (2G/2.5G) mode in my area where 3G is available but often low signal strength. Usually I switch it by going through the menu.
Settings --> Wireless & networks --> Mobile networks --> Network Mode (and switch it from "GSM / WCDMA auto" to "WCDMA only"
Is there anyway to do this through a widget? Like the widgets that let you turn on and off bluetooth/wi-fi. I've looked through android market and haven't found anything yet. Does one exist if not is it not to difficult to make an app that does this.
I've had an HTC Desire on Orange in the UK for about 6 weeks and it is having persistent problem. Firstly despite having a strong 4-bar out of 4 signal, online services and the internet do not work at all when a 3G signal is being received (e.g. news, weather, all widgets, internet, email etc).Calls and texts do work however with a 3G signal.But when a 3g+ signal (HSDPA) is being received, all internet services as above work fine.However, when a 3+ signal is being received, the phone does not make or receive calls or text messages, and often fails to send texts. Calls I make immediately shut down (bleep + �call ended�), and incoming calls from other people go straight to answerphone. Also often when turning the data connection on/off, it freezes and has to be rebooted, and turning airplane setting on and off does not fix the problem.
I have also tried the different network settings (GSM, WCDMA, auto, etc). �GSM� sends and receives calls and texts but doesn�t work (or is incredibly slow) with internet, and �auto� and �WCDMA only� show the problems as above.I don't think this is a network/coverage issues as, as I have seen many people reporting these same issues on other networks and in other parts of the UK, and I have read that other people are having to manually turn off HSDPA to be able to make calls (using an app?). Even if I can stop HSDPA from connecting to make sure the phone works, I still can�t use the internet at all on 3g � even GSM works better!
Finally, when I connect to a bluetooth device (e.g. car and headphones) the phone will connect briefly, and then randomly disconnect. I have also seen this issue reported elsewhere.I very much like the phone and don't want to get rid of it, but these problems are making the phone unuseable.Also I don't know if I should be contacting HTC or Orange about this. Will the upcoming Android 2.2 fix these problems?Anyone know how to fix this or if I need a new handset? Are there any apps that can help? Also does the Nexus One have these problems and are they fixed by Froyo?
i'm currently setting the alarm via the following.. //set the alarm alarm.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), pendingintent); i don't seem to see an AlarmManager method that allows me to get the time of that set alarm... Is there a way to do it from somewhere else in my app?
View 1 Replies View RelatedGiven a widget and a int that references a style (defined in my res/ values/style.xml), what is the 'correct' way to programmatically apply the style to the widget?
Up until now I've been hacking this by...
CODE:..................
Also wondering if anyone knows how to print to a PDF programmatically in Android.
View 2 Replies View RelatedSo I read the xml tricks 2 from developer.android.com, and it worked for me. But I need to programmatically include 1 xml into another. addview returns
07-12 01:01:18.429: ERROR/AndroidRuntime(267): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. 07-12 01:01:18.429: ERROR/AndroidRuntime(267): at android.view.ViewGroup.addViewInner(ViewGroup.java:1970)
((ViewGroup) placeHolderProductList).addView(productList, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.FILL_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT)) ;
I red in these discussion groups that you cannot programmatically turn on/off the GPS : Mark Murphy was exhaustive, as always. But i found a 3rd party App, in the market, that creates a widget capable of switching the GPS on/off. How did they do it? Are they using a different SDK ?
View 5 Replies View RelatedOn Sun, Sep 5, 2010 at 12:55 PM, Vipul <vipulpancha...@gmail.com> wrote: > I want to get the name of device programmatically. > Suppose anyone has set the device name as "My New Phone"> I want to get that.
View 3 Replies View Relatedi have a requirement to place 2 overlapping image view inside a web view.the upper image view can be moved using trackball and the lower image view is static.now i want to capture the whole screen programmatically and save it as an image.i have referred this link but unable to get the solution.
View 2 Replies View RelatedI was hoping to write a service on Android that would list all applications installed as per previous post.Then, It would decide to update automatically some apps and install others. Is there any class on the SDK that has this kind of functionality? That is, can I call some API or code to install an application on the phone? Can I force some updates as well?
View 3 Replies View RelatedI am trying to set speakerphone on in a call programmatically using audiomanager.setSpeakerphoneOn(true) in a service but it seems it is not working and I don't know why. Should I do something else?
View 1 Replies View RelatedI am trying to improve the layout for my game. The problem is that while I can create a good layout for one android phone, it doesn't work for another, ie the trackball for MyTouch is on the right side (landscape mode), but for the MyCliq, the DPad is on the left side. Is there a way to programmatically set the layout based on which phone it is?
View 2 Replies View RelatedI am trying to retrieve the current API Version of the device my Application is Running. Is there a way i can get that and Store it on a String. This needs to Work on 1.5 Version and Up.
View 2 Replies View RelatedI'm trying to create table row and place 3 elements: EditText - EditText - ImageButton as following:................
View 2 Replies View RelatedCan we change the apn settings programmatically?
View 2 Replies View RelatedI would like to dynamically build a view that would display a certain number of 'rows'. Here is a piece of code I wrote, but it is not working:
CODE:..............