Android Developer Device Seeding Program - still active?

by Jon Evans » Thu, 22 Apr 2010 10:22:54 GMT


Sponsored Links
 So was the Device Seeding Program ( http://techcrunch.com/2010/03/02/ 
google-handing-out-free-nexus-ones-and-droids-to-top-android-devs/) a
one-shot thing, or is it ongoing?

I suddenly have a specific personal interest in the answer, as my app
( http://www.appbrain.com/app/com.rezendi.itravel ) has just hit those
magic numbers...

Jon Evans
j...@rezendi.com
www.rezendi.com

--



Other Threads

1. New activity inside of tab

Hello,

How do I launch a new activity inside of a tab? I have 4 tabs and one
of them starts a new activity when the user presses a button, the
problem is that the new activity is launched in full screen and the
tabs are lost.

Thank you!

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

2. Interface vs. Data flow

The click listeners won't work in this aproach:

public class main extends Activity implements View.OnClickListener{

    Button BtnMsj, BtnCont, BtnSts;

    public static final String MY_DEFAULTSTRING_ID = "defStrID";
    private static final int SECOND_REQUESTCODE = 0x1337;
    String remitente;

        @Override
                protected void onCreate(Bundle savedValues)
        {
           super.onCreate(savedValues);

           setContentView(R.layout.menu);

           BtnMsj = (Button) this.findViewById(R.id.BtnMsj);
           BtnMsj.setOnClickListener(this);

           BtnCont = (Button) this.findViewById(R.id.BtnCont);
           BtnCont.setOnClickListener(this);

           BtnSts = (Button) this.findViewById(R.id.BtnSts);
           BtnSts.setOnClickListener(this);

           }
        public void onClick(View v) {
                // TODO Auto-generated method stub
                if(v.getId()==R.id.BtnMsj){
                        Log.d("menuOnClick1", "ifMsj");
                        Intent i = new Intent(main.this, mensajes.class);
            Bundle b = new Bundle();
                b.putString("remitente", remitente);
            i.putExtras(b);
            startActivity(i);
                }
                if(v.getId()==R.id.BtnCont){
                        Log.d("menuOnClick2", "ifCont");
                        Intent i = new Intent(main.this, contactos.class);
                        startActivity(i);
                }
                if(v.getId()==R.id.BtnSts){
                        Log.d("menuOnClick3", "ifSts");
                        Intent k = new Intent(main.this, status.class);
                        startActivity(k);
                }
        }

   }

This other one will make them work, but messes data flow, it makes
some variables inaccesible.

public class main extends Activity {

    Button     BtnMsj,BtnCont, BtnSts, BtnOk, BtnCancel, BtnLogin;

    public static final String MY_DEFAULTSTRING_ID = "defStrID";
    private static final int SECOND_REQUESTCODE = 0x1337;

        @Override
                protected void onCreate(Bundle savedValues)
        {
           super.onCreate(savedValues);

           setContentView(R.layout.menu);

           BtnMsj = (Button) this.findViewById(R.id.BtnMsj);
           BtnMsj.setOnClickListener(new OnClickListener(){

                 public void onClick(View arg0) {
             Intent i = new Intent(main.this, mensajes.class);
             Bundle b = new Bundle();

             i.putExtras(b);
             startActivity(i);
             }
           });

           BtnCont = (Button) this.findViewById(R.id.BtnCont);
           BtnCont.setOnClickListener(new OnClickListener(){
                 public void onClick(View arg0) {
             Intent j = new Intent(main.this, ViewContactos.class);
             startActivity(j);
             }
           });

           BtnSts = (Button) this.findViewById(R.id.BtnSts);
           BtnSts.setOnClickListener(new OnClickListener(){
                 public void onClick(View arg0) {
             Intent j = new Intent(main.this, status.class);
             startActivity(j);
             }
           });

           }

       }

   }

what should I use to make both work?

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

3. Exiting an application

4. MediaPlayer vs VideoView ( vs WeatherChannel)

5. why this variable 'index' was not incomprehensibility ?

6. Ms Office

7. User Space Hardware Abstraction layer