Call finish():

http://developer.android.com/reference/android/app/Activity.html#finish()

On Thu, Jul 29, 2010 at 7:39 AM, cellurl <gpscru...@gmail.com> wrote:
> I want to auto-close my "about-window" after 10 seconds, but don't
> have a clue how to do it....
> Any help appreciated.
> -jp
>
>
> -------------Translate.java-----------------------------------
> public class Translate extends Activity implements OnClickListener {
>   public void onClick(View v) {
>      switch (v.getId()) {
>         case R.id.about_button1:
>            Intent i1 = new Intent(this, About1.class);
>            startActivity(i1);
>            break;
> ...
>
> --------------About1.java-----------------------------------
>
> public class About1 extends Activity {
>   �...@override
>    public void onCreate(Bundle savedInstanceState) {
>        super.onCreate(savedInstanceState);
>        setContentView(R.layout.submitting);
> ...
> -------------------------------------------------------------------
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.9 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to