Multi-APN Support

by tushus » Tue, 09 Feb 2010 01:41:51 GMT


Sponsored Links
 Hi,
is Multi-APN (where different apps use different APNs simultaneously)
supported in Android 2.1 (Eclairs)?

--



Multi-APN Support

by Anonymous Anonymous » Tue, 09 Feb 2010 13:24:27 GMT


 Not yet  , i see some latest communication here.




>


Sponsored Links


Other Threads

1. Determining the subset of text that is visible in a TextView

Assume I have a block of text that is too long to fit into a standard
TextView. When I put that text into the TextView via the setText()
method, it gets truncated.

Is there any way that I can then query this TextView or some other
component in order to find out the subset of the text which is
actually being displayed?

I know that I can calculate this by considering the screen dimensions,
the font metrics, the border spacing, the screen orientation, the
TextView dimensions, etc., etc. ...  However, is there a way to simply
query some object in order get this information directly?

After all, the inverse set of calculations has to be performed in
order to decide what text to actually draw in the TextView, so
theoretically at least, there should be a straightforward way to
retrieve the text that is actually being displayed.

Thanks in advance for any suggestions or pointers to documentation.

-- 

2. Simple code hangs the android emulator.

The following simple code irrecoverably hangs the android emulator.

I know the first reaction is to say that it's the while(true){}. Just
remember that this is a contrived example to show the issue. In my own
code, I do the lifecycle activity as described in the docs. The issue
is that the emulator irrecoverably hangs after some time in an
infinite loop like that, whether you have break conditions or not.

I tried this with:
sdk 2.1, 2.2, and 2.3
Windows 7 64bits
Java 64 bits
Eclipse ADT

------------------------------------------------------

public class ThreadActivity extends Activity {
    private {*filter*}oo m{*filter*}oo;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        m{*filter*}oo = new {*filter*}oo();
        m{*filter*}oo.onCreate();
    }
}

public class {*filter*}oo implements Runnable {
        private Thread mThread;

        {*filter*}oo() {
                mThread = new Thread(this,
"SceneManagerThread");
        }

        public void onCreate() {
                Log.d("{*filter*}oo", "Thread started");
                mThread.start();
        }

        @Override
        public void run() {
                while (true) {}
        }
}

-- 

3. Layout: Battery usage bar

4. setSingleChoiceItems api usage in a dialog

5. monkeyrunner fails for emulator: Error starting command: monkey --port 12345

6. How to Declare file write permission in framework code

7. Need help in View