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 7861723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:50:49+00:00 2026-06-02T22:50:49+00:00

I recently released my first app. Having only tested in SDK emulator and on

  • 0

I recently released my first app. Having only tested in SDK emulator and on a Galaxy S2, the feedback about devices it works on coming to me has been great.

Unfortunately I’ve had a couple users report FCs to me. The common factor between them is that they are both MIUI users (different devices IIRC).

One has been very helpful in providing info and trying out sample builds to resolve the issue but I just can’t seem to make any headway on it.

I’ve searched online fairly extensively. Although I’ve found people with similar reports, I’ve had nothing that helps solve this particular case that I can see.

Problem+notes:

  • the issue seems to be that res/drawable/list_selector_background.xml doesn’t exist
  • I’ve made no custom resources for list backgrounds, nor am I making any reference to this particular resource in my code
  • I’m using ActionBarSherlock (minSdkVersion == 7, targetSdkVersion == 7, project build target == 15)
  • the crash occurs when loading a preference activity (which does have android:theme="@style/Theme.Sherlock.Dialog" in the manifest)
  • the crash does not occur when loading another preference activity via the same method (starting an intent with the activity class)

For reference:

  • the original bug report, and
  • their logcat output

The thing that confuses me the most about this is that the particular settings I’m displaying in this preference activity would work when it was a sub-<PreferenceScreen> in the original preferences XML (I split the preferences lists apart as it was more user friendly).

Edit: It should be noted that this is an empty <PreferenceScreen> which gets filled out via code; it still worked when it was in a single PreferenceActivity.

Here’s how I’m starting the preference activity which works:

Intent intent = new Intent(this, PreferencesActivity.class);
startActivity(intent);

And here’s how I’m starting the preference activity which fails:

Intent subredditsIntent = new Intent(MainTabs.this, SubredditPreferencesActivity.class);
startActivity(subredditsIntent);

I’ve just noticed I’m using MainTabs.this in the second one, probably due to copying it from a nested dialog class; surely this is not the cause as it crashes when invoked from the dialog as well?

This seems to be limited to MIUI devices, but I can’t confirm that with 100% certainty. Has anyone else experienced this at all?

Any ideas would be much appreciated!

Thanks

  • D
  • 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-06-02T22:50:51+00:00Added an answer on June 2, 2026 at 10:50 pm

    I managed to get a “last grasp” build out to the helpful MIUI user. The only change I made was to remove android:theme="@style/Theme.Sherlock.Dialog" from the activity definition i the Manifest.

    This seemed to work!

    For reference for other people, it seems (at this time) that using the dialog theme for a preference activity causes FCs under MIUI.

    I haven’t yet tested if setting the theme manually via the onCreate() method ends up FCing.

    Hope this helps someone!

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

Sidebar

Related Questions

I recently released my app on the marketplace. I tested it on two devices
Recently I have finished my first Iphone app and it works grate.... except for
I've recently released my first app on the market. I tried to install the
i've recently released an app to the App store, i went to have a
I'm reading an article about the recently released Gizzard sharding framework by twitter (
We recently released an Android port of an iPhone app. The app relies on
I recently released a new version of my iPhone app that was built for
I'm working on my own open-source project. I've recently released the first workable version
I've noticed that Lucene recently released v2.9 (on 25th September this year - 2009),
Recently, I've released an open-source class - wrapper of API functions available from one

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.