Target 1.1 with early look SDK

by Zach Hobbs » Wed, 15 Apr 2009 00:06:07 GMT


Sponsored Links
 Is it safe to use the 1.5 early look SDK to build production apps for
1.1 targets?  I want to start developing a cupcake branch of my
software, just wondering if I'll need to switch back to using the
stable SDK for production builds...

Thanks,
Zach
--~--~---------~--~----~------------~-------~--~----~



Target 1.1 with early look SDK

by David Turner » Wed, 15 Apr 2009 00:34:15 GMT


 That's certainly the goal of this preview SDK. The 1.1 system images
provided with it are the same ones than those of the official 1.1 Android
SDK.

Note that networking doesn't work in the emulator if you use 1.1 images with
the preview SDK. This is a bug that is currently
being addressed (by modifying the emulator, rather than changing the 1.1
system images). Also activityCreator has been replaced by the
"android" wrapper tool so the build process is going to be very slightly
different if you don't use the Eclipse plugin.





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


Sponsored Links


Other Threads

1. Question of OpenSource cannot emulate video recording

Hi all
Can anyone try to record a video by emulator? For camrera, there would
be a fake picture for snap shot emulation.
But how about camcoder?

My open source release is 2009/0705 master

BR
John
--~--~---------~--~----~------------~-------~--~----~

2. Problem: connect to a server

Hi to everyone,
I want to connect my Android application to a server through a thread
but it doesn't work, as a matter of fact the server doesn't answer.
My code is:


import java.io.IOException;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import java.io.*;
import java.net.*;
import java.util.NoSuchElementException;


public class C extends Activity {
        private PrintWriter savedpoint;
        private Context context = this;
        private TextView statusField;

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

        F thread=new F(getFilesDir(),this,statusField);
        thread.start
();                                                //START THE THREAD
    }
}

                                    //THE THREAD THAT HAVE TO CONNECT
TO THE SERVER
class F extends Thread{
        Context context;

        private final static String host = "10.0.2.2";
        private final static int port = 2111;


        F(Context context){this.context=context;}
        public void run()
        {

                try{

                Socket socket = null;
                PrintWriter out = null;
                InetAddress ip = InetAddress.getByName(host);
                socket = new Socket(ip,port);

                } catch (UnknownHostException e) {
                        e.printStackTrace();
                } catch (IOException e) {
                        e.printStackTrace();}
        }
}
//THE SERVER is simple, it accepts a client at 2111 port ,when a
client is accepted, the server  report it on the shell with "CLient
Connected".
//Furthermore, the server has already been tested with a normal client
and it perfectly works!

So, what can be the problem??with the port?with the host address??
if someone have done something like this or know what could be the
problem or have the time to test it please answer me!In case I can
post also the Server code that is very simple!
thank in advance

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

3. detecting sound signals

4. EditText in ListView loses focus after keyboard pops up

5. screen loc

6. The most complete Android Applications list: android.touch-market.com BETA is live

7. ADC 2 Content Policy Guidelines