You should not be using setClassName("com.android.browser",
"com.android.browser.BrowserActivity") on any version of Android.

On Wed, May 25, 2011 at 1:04 AM, raj <[email protected]> wrote:
> ①Content Provider(XML)
>  <provider android:name=".util.FileProvider"
> android:authorities="jp.test.testapp.provider"></provider>
> ②,③src
>  Uri uri = Uri.parse( "content://jp.test.testapp.provider/
> starter.html?XXXXXXX" );
>  Intent intent = new Intent(Intent.ACTION_VIEW,uri);
>  intent.setClassName("com.android.browser",
> "com.android.browser.BrowserActivity");
>  startActivity( intent );
>
> this is the code which is running in android v2.2 but it is not
> working in android v2.3.
>
> In 2.2 it is displaying the exact web site.
> but in 2.3 it is staying on same page.
>
> what is the problem?
>
> in android 2.3 anything change in API level which effect this code?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



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

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to