Click here to Skip to main content
11,928,985 members (55,320 online)
Rate this:
Please Sign up or sign in to vote.
See more: Mobile Android
I had developed an android application and given menus to quit and reload the application. It's working good in android mobiles and On clicking menu button in mobile, menu options are getting visible. but now here goes the problem i.e When I run the same application in acer tablet how can I see my menu options i.e quit and reload.....

could any one help in this query, an urgent need in this regard guys...

public boolean onCreateOptionsMenu(Menu menu) {
       getMenuInflater().inflate(, menu);
      int base = Menu.FIRST;
       // Group, item id, order, title
       return true;
   public boolean onOptionsItemSelected(MenuItem item)
       if (item.hasSubMenu() == false)
           if("Quit"==item.getTitle()) {
           if("Reload"==item.getTitle()) {
              super.loadUrl("http://ABC ");
       return true;
Posted 7-Jan-13 19:48pm
Darren_vms 8-Jan-13 12:25pm
So are you saying they don't appear, or because of a hardware limitation you can't press a button to get them to appear ?
geethika amu 8-Jan-13 22:38pm
yes the above code is working but i didn't check the limitations of sdk version in manifest file

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

I set the limitations of sdk version in manifest file which i didnt check before now its working.......

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 8 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100