I have a question about the optionmenu for TabActivity

by River » Fri, 10 Sep 2010 00:24:24 GMT


Sponsored Links
 There's a tab which contains an Activity ,in the TabActivity.I have already 
override the onCreateOptionMenu and the onPrepareOptionMenu method of the 
tabactivity.However,when I changed to the tab that contains Activity,I can't 
open the optionmenu by press the menu button.Why,and how can I slove this 
problem

--



Other Threads

1. (Id-andoid) WTA factory reset galaxy 5

Dear rr
Mau nanya nih factory resetnya galaxy 5, punya tmn nih, terkunci , dia ga inget 
jalur kuncinya..
Thx
blue is hope

-- 
===============
"

2. Better coding for Android

Hi all,

Not sure whether this is the correct place is discuss it but am sure
that it will be helpful to one and to all. What I am looking for is
better coding with parameters such as memory management, faster
processing and cleaner coding. Is there any set of Good Coding Guide
for Android from the framework Developers itself? For example;

Which of the following convention is better among them:

TextView tv = (TextView) findViewById(R.id.sampleTextView);
tv.setText("Hello World");

-- OR --

((TextView)  findViewById(R.id.sampleTextView)).setText("Hello
World");

Which will result in lesser memory usage and help in quicker garbage
collection. I have seen both type of coding in Android Framework (in
Gingerbread as well as Froyo).

I have been developing for more than a year on Android now and I think
anyone can code but to code clean and proper is what makes the
difference. Can someone suggest or help out from their experience and
knowledge.

Soumya

-- 

3. [WTA] ada yang punya apk google map 5 untuk samsung spica

4. java.io.file.getfreespace()?

5. Paging Android Pekanbaru

6. [id-gps] WTA: Google Maps 5.0.0 for Android

7. Documentation errors for LocationManager.requestSingleUpdate() ?