Re: [android-developers] How do I make my program does not appear in the Home screen or luncher after intallation? thanks!!!!!

2010-01-14 Thread Rui Wu
Don't set in for your any Activity in AndroidManifest.xml 2010/1/14 何斌斌 > HI All: > >Now, I think after install my application, then my app does not > appear in the home screen or luncher? > But I can start my app by other appliction. Can any one help me? > > Thanks! > > -- > You rece

Re: [android-developers] Re: When the new activity starts, the data of previous activity is gone.

2010-01-01 Thread Rui Wu
Hi Pranav, I didn't catch the point for your second problem. Do you want to pass the value of edittext in first activity to second activity, then show the strings in the edittext of second activiy. If so, you can try in the similar way as the first problem. BRs, Rui 2010/1/1 android09 >

Re: [android-developers] Re: When the new activity starts, the data of previous activity is gone.

2010-01-01 Thread Rui Wu
Hi Pranav, I updated the code based on your previous mail. Surely, it's only an sample. You need make it more powerful & roubust. 2010/1/1 android09 > Hi Rui Wu, > > Happy New Year! > > Thanks for reply me with the code. I tried for the current activity >

Re: [android-developers] Doubt w.r.t content resolver

2009-12-31 Thread Rui Wu
All member functions in AppWidgetProvider have a Context type. I think you can call Context's getContentResolver() to get an content resolver intance. 2009/12/31 deeMurthy > Hi > > Is it possible to access the content resolver methods in a class > extending from AppWidgetProvider class? Have

Re: [android-developers] tab index issue with soft keyboard

2009-12-31 Thread Rui Wu
*1. add android:imeOptions="actionNext" for all the EditText in layout xml * *2. For your 2 horizontal edittext d/e, set OnEditorActionListener for them; * *EditText et = (EditText) this.findViewById(...); et.setOnEditorActionListener( new OnEditorActionListener() {* * **publ

Re: [android-developers] Re: When the new activity starts, the data of previous activity is gone.

2009-12-31 Thread Rui Wu
son)i.getSerializableExtra("Person"); if(person != null) { update the editable ui controls according to the value of person's member variables } else { person = new Person(); // this will only happen in the first activiy } 3. For the back key handle, use the same logic as

Re: [android-developers] Numeric Password in EditText

2009-12-31 Thread Rui Wu
EditText et = (EditText) findViewById(..); et.setInputType(InputType.TYPE_CLASS_NUMBER); et.setTransformationMethod(PasswordTransformationMethod.getInstance()); Don't reverse the sequence of the above 2 calls. You can check the TextView.java to see how Android judges whether the EditText is pa

Re: [android-developers] Re: When the new activity starts, the data of previous activity is gone.

2009-12-31 Thread Rui Wu
Hi Pranav, I guess you implemented your logic like this: Button previous = (Button) findViewById(.); previous.setOnClickListener(new OnClickListener(){ public void onClick(View v) { Intent i = new Intent(); i.setClassName(the name of the previous activiy.); start