Basic understandings of Android Intents and starting activity from it.. .................................................................................................................... Toast and its simplest work to show the text: Toast.maketext(getActivity(),textview.getText().toString(),Toast.LENGTH_SHORT).show(); Starting Activity: >startActivity(i); //if i is a defined Intent object already; >startActivity(new Intent("name of the class from manifest.xml"); >startActivity(new Intent(this, "name of the java class"); Intents in Android and its invocations 1>Intent i = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse("http://website")); startActivity(i); 2> Intent i = new Intent(android.content.Intent.ACTION_VIEW); i.setData(Uri.parse("http://website")); startActivity(i); **************** Uri.parse can take values as such to be shown: Like :> geo---for map application or activity; tel---...
Journey of seeking knowledge and wisdom