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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:05:11+00:00 2026-06-14T08:05:11+00:00

As I am new to Android development, struggling with a problem. I am testing

  • 0

As I am new to Android development, struggling with a problem. I am testing in Android 4.1.2 its working fine, but when I load it to Android 2.3.3 after that when i click a button, it should start an new activity, but its stops and crashes? what can be problem? the mind_sdk is equals to 9,

  @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.starter);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.starter, menu);
        return true;
    }
    public void openS(View view){

        Intent intent = new Intent(this,LoginSU.class );
        startActivity(intent);
    }
    public void openG(View view){
        Intent intent = new Intent(this, LoginGE.class);
        startActivity(intent);
    }
}

When person clicks button, it will fire an action openS or openG, after that it will start an new Activity. Its working in Android 4.1.2 but fails in 2.3.3? hwat can be the cause?
Log Cat

11-14 10:11:26.817: I/dalvikvm(910): Could not find method kz.bimash.food.security.LoginSU.getActionBar, referenced from method kz.bimash.food.security.LoginSU.onCreate

Actually I am not using but its requesting an actionbar.

  • 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-14T08:05:12+00:00Added an answer on June 14, 2026 at 8:05 am

    Can you post your AndroidManifest.xml XML and your res/values/style.xml? I wonder if the app theme is for a HOLO theme which is unsupported on 2.3.3 and below and trying to open the app with HOLO. It’s a theme which uses the action bar. Or it could be your activity in the manifest is to use a HOLO theme.

    Instead make a folder in res/ called values-v11/ and make a new style.xml. You can copy it from the values/. Open the copied file up and check the AppTheme style. Is the parent android:Theme.HOLO or android:Theme.HOLO.Light or something similar? Does it look like this?

    <style name="AppTheme" parent="android:Theme.Holo" />
    

    Having separate values/ and values-v11/ folders tells the app what theme to do depending on which version is running. Honeycomb 3.0 (v11) and higher would look at the values-v11 folder for styles and other values, whilst Gingerbread 2.3.4 (v10) and lower would look at the values/ folder.

    Now edit the values/style.xml and make the parent android:Theme.Light or android:Theme

    Check out http://developer.android.com/guide/topics/ui/themes.html#SelectATheme for more details about how to use multiple themes in the same app.

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

Sidebar

Related Questions

I'm quite new to Android development. My understanding is that you can create several
I am new to android development,now I am working on C2DM implementation for android
I am very new to Android development and Java. Have read around but I'm
I am new to android development but in the past few weeks I have
I'm kinda new to android development, but i'm trying to make a xml parser.
I am new at Android development and also Java. I am working on a
Very new to Android development, and I am importing a bitmap that is 799
I am new to android development. Currently i am working on an application which
I'm pretty new to android development, so I hope my question is easy, but
I'm very new to Android development and am still struggling with some really basic

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.