Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7613317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:07:36+00:00 2026-05-31T02:07:36+00:00

In my preference activity I have one preference that links to a website (eg.

  • 0

In my preference activity I have one preference that links to a website (eg. stackoverflow.com). The code works fine in everything EXCEPT a Google TV emulator. On the Google TV emulator clicking the preference creates a Force Close.

Log Cat says "02-21 12:13:59.684: E/AndroidRuntime(1993): 
  android.content.ActivityNotFoundException: No Activity found to handle
  Intent { act=android.intent.action.VIEW dat=http://www.stackoverflow.com }

Here is my code that I’m using…

getPreferenceManager().findPreference("pref_visit_web").setOnPrndeferenceClickListener(new OnPreferenceClickListener() {
  @Override
  public boolean onPreferenceClick(Preference preference)     {

        Intent v = new Intent(Intent.ACTION_VIEW);
        v.setData(Uri.parse("http://www.stackoverflow.com"));
    startActivity(v);


        return false;
  } 
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T02:07:37+00:00Added an answer on May 31, 2026 at 2:07 am

    Sorry. Chrome is not installed on the Google TV Emulator (and there is therefore no browser available to handle that intent) [at least as of now].

    It should work on a real device though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a preference activity and want that if one of its items is
I am trying to save a date in one activity and then have that
Which is your preference? Let's say we have a generic Product table that has
Does any one have a preference on how to check if a value is
I would like to have a checkbox preference that takes the user to a
I have strange issue. My application have multiple activitys, on one activity is setting
I have a bunch of EditTextPreferences and a TimePickerPrefernce(that I created) along with one
I have an Activity with two layouts, both implemented in R.layout.main. The first one
I have an Android widget that has a configure activity. I also have an
I have 3 - 4 Activities. One of those is the main activity and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.