How to disable 3G/GRPS

by Miguel Paraz » Thu, 05 Mar 2009 00:29:16 GMT


Sponsored Links
 Hi,
Is it possible to disable 3G or GPRS, even when no WiFi is available?
I'm using the Dev Phone, so I want to limit data charges.

Thanks.
--~--~---------~--~----~------------~-------~--~----~



How to disable 3G/GRPS

by James Clements » Thu, 05 Mar 2009 00:43:05 GMT


 I dont think there is ... but could be wrong ... I have not found a setting
that will stop all of them (GPRS, EDGE, 3G) ...







--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


How to disable 3G/GRPS

by David Turner » Thu, 05 Mar 2009 09:52:29 GMT


 You should use the APNDroid application available on Android Market.

It will rename all APNs automatically, meaning that you'll no longer be able
to connect to a cell data network.
It also allows you to get back to your previous setting easily.





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. how to build and step through HelloAndroid in the debugger using the open source framework?

Both Activity Creator and ADT are designed to work with an SDK.

You could build an SDK (make sdk) to create/build your project (using
Ant or ADT).

Then, when you connect your de{*filter*} to your running application, you
can configure it to go look for the source code both in your project
folder and in the android tree (I would start by pointing it at
frameworks/base/core/java/).

This will probably require to do a manual connection with DDMS
(instead of using the launch configuration from ADT).

Xav




--~--~---------~--~----~------------~-------~--~----~

2. onActivityResult returns RESULT_CANCELED immediately :(

Hi again guys,

I'm trying to launch a sub-activity from my "main" activity and
although the sub-activity does launch (and it's view gets shown), the
parent activity's onActivityResults always gets called back with a
result of RESULT_CANCELED immediately after I call
startActivityForResult (and then the sub-activity gets launched).

Here's the main activity's relevant code:

private void launchSubActivity()
{
    Intent intent = new Intent(this, SubActivityClassName.class);
    startActivityForResult(intent, REQUEST_CODE); // REQUEST_CODE is >= 0

    // Here, I would expect to *not exit* the function *before*
onActivityResult is called (or an activity's lifecycle event triggers)
}

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
        super.onActivityResult(requestCode, resultCode, data);
        if (resultCode != Activity.RESULT_CANCELED)
        {
                // I never get here because the result is always RESULT_CANCELED
                Toast.makeText(this, "Blah", Toast.LENGTH_SHORT).show();
        }
}

Here's the sub-activity's relevant code (although it's really
irrelevant in this case):

private void handleThisOrThatClick()
{
    setResult(RESULT_CODE); // RESULT_CODE is > Activity.RESULT_CANCELED
    finish();
}

Am I missing something obvious here?
Thanks!

--~--~---------~--~----~------------~-------~--~----~

3. Dalvik spends 7.4% of its time garbage collecting, Android UI spends 7.4% of its time unresponsive

4. How to pass data when switching between activities in an application

5. Dalvik spends 7.4% of its time garbage collecting, Android UI spends 7.4% of its time unresponsive

6. Dalvik spends 7.4% of its time garbage collecting, Android UI spends 7.4% of its time unresponsive

7. set up a redirection from A:localhost:<localPort> to B:10.0.2.15:<serverPort>