[android-developers] Browser callback

2011-06-26 Thread guru sagar
Hi all ,

 Is there any possibility to get call back from the in
built browser when we start from our activity

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(http://;));
startActivit(intent,0);







Thanks in advance

Thanks,
Guru

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Browser callback

2011-06-26 Thread TreKing
On Sun, Jun 26, 2011 at 1:00 AM, guru sagar gurusagar...@gmail.com wrote:

 Is there any possibility to get call back from the in built browser when we
 start from our activity


No. And please do not assume that using the intent you posted will
automatically always start the in built browser.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Browser callback

2011-06-26 Thread guru sagar
Hi Treking,

  public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
//finish();
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(http://;));

startActivityForResult(intent, 0);
}

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {

if (resultCode == 0) {
 System.out.println(hi am in browser in callback );

}

}

 am getting call back here ., and its opening in
inbuilt browser only.  can you please clarify this

On Sun, Jun 26, 2011 at 12:24 PM, TreKing treking...@gmail.com wrote:

 On Sun, Jun 26, 2011 at 1:00 AM, guru sagar gurusagar...@gmail.comwrote:

 Is there any possibility to get call back from the in built browser when
 we start from our activity


 No. And please do not assume that using the intent you posted will
 automatically always start the in built browser.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 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@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Browser callback

2011-06-26 Thread TreKing
On Sun, Jun 26, 2011 at 2:03 AM, guru sagar gurusagar...@gmail.com wrote:

  am getting call back here ., and its opening in inbuilt browser only.  can
 you please clarify this


Then the inbuilt browser is the only option that you currently happen to
have on whatever device you're testing on. If you install other browsers,
they will be options to launch as well, or they could be the default if you
so choose.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en