Connect through specific APN, is it possible?

by jappit » Sat, 14 Mar 2009 02:10:23 GMT


Sponsored Links
 Hi,

I've searched through this board, but without finding an answer to
this question:

is it possible to perform a network request (e.g.: by using
HttpConnection) forcing a specific APN to be used?

Thanks!
Pit

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



Other Threads

1. Changing screens - switching between layouts?

Hello,

I am trying to create an app for android 1.5 which would be organized
around 4-5 'screen's that will be changing in a given order.

So I start ma app with the first screen, which it's background and a
button. When I click on the button a new screen appears with a
different background and different options which lead to next screens.
Sth. that is usually seen in games. The problem is that I need to pass
a lot of data between those 'screens' like and array with recorded
sound. My idea was to create a separate xml layout file for each
screen and change the context in the activity class so ie:

public class ApiDemos extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.first);
        ((Button)
findViewById(R.id.button1)).setOnClickListener(mButton01Listener);
        //and handle other visible elements.

    }

    OnClickListener mButton01Listener = new OnClickListener() {
        public void onClick(View v) {
                setContentView(R.layout.sec);
               ((Button)
findViewById(R.id.button2)).setOnClickListener(mButton02Listener);
               //and handle other visible elements
               //plus running some functions i.e. start_recroding();
        }

     //and so on and so on...
    };

A simple test app for 3 screens works this way but my I don't really
like this approach and it seems to be inappropriate.

Is this the correct way of organizing such an app in android or should
I take another approach - if I should, please give a more detailed
advice on how to do this.

-- 

2. detect devices running same app OTA

Hello everybody,

I'm starting thinking about a new app to use Android 2.2 new features.
But I'm not completely sure this cousl be possible. Therefore I need
your lights about it.
I'll explain.

I would like to develop an app where a device can detect another phone
using the same app  to initiate - if owners are OK of course - data
exchange OTA.
I'm not sure about the best approach / architecture to do so.
Is Wifi tethering (with both a client and a server) could be the best
way ? But I'm worried about the performance / ressource impact of the
"detection".

If someone has tips or experience to shar, you're welcome !!

Thanks for your help !

Arthur B.


-- 

3. Need help in setting up live streaming.

4. How to figure out Heading with Compass

5. VideoView cannot play long path video

6. Call Forward Settings

7. Developing a Drum Track what's the best option?