Re: [android-developers] Re: linking HyperLinks to an Activity

2010-09-27 Thread Kostya Vasilyev
To OP: see this old discussion: http://groups.google.com/group/android-developers/browse_thread/thread/b340c60649d3d75a/ -- Kostya 27.09.2010 16:45, nishu пишет: onclick listener write this Intent n = new Intent(c, TestClass.class); c.startActivity(n); c

[android-developers] Re: linking HyperLinks to an Activity

2010-09-27 Thread nishu
onclick listener write this Intent n = new Intent(c, TestClass.class); c.startActivity(n); c is context On Sep 27, 10:55 am, Sudeep Jha wrote: > Hi All, >             I want to call another activity when the user clicks an > hyperlink. >             Can anybod

[android-developers] Re: linking HyperLinks to an Activity

2010-09-27 Thread student
CLASS 1: package com.testing.android; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.TextView; public class activity2hyperlink extends Activity implements OnClickList

[android-developers] Re: linking HyperLinks to an Activity

2010-09-27 Thread student
http://mobiforge.com/designing/story/understanding-user-interface-android-part-4-even-more-views This wil be helpful for u -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroup

[android-developers] Re: linking HyperLinks to an Activity

2010-09-26 Thread student
Hi Sudeep if u want to call another activity u should insert the another activity by in manifest file Then main xml, u should declared textview by using hyperlink properties and onclicklistener in void click (view v) { startActivity(new Intent(CurrentClassName.this, AnotherClassName.class