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 


Other Threads

1. Using ClipDrawable

I'm having lots of trouble with the ClipDrawable class, trying to
implement a progress-bar like meter.
I have a bitmap image <meter.png> that I want to crop a dynamic number
of pixels from the left side.
In an xml file called meter_progress.xml (in the res/drawable
directory), I have the following:

<?xml version="1.0" encoding="utf-8"?>
<clip xmlns:android="http://schemas.android.com/apk/res/android"

        <bitmap android:src="@drawable/meter"/>


I've set this drawable as the source for an ImageView with id
R.id.meter like so:

ImageView view = (ImageView) findViewById(R.id.meter);
Drawable drawable = getResources().getDrawable

However, when I test the application, nothing appears. It is almost as
if the entire image has been clipped. I've tried the above code with
and without the call to setLevel, but no difference. Can a bitmap
image be the child of a ClipDrawable? I've not seen a good example
about how to make this work. Do I have to set the width of my
ImageView to wrap_content, or to a fixed number? A bug?


2. Andoid Binder implementation

Hi guys,

I want to setup a server-client model c/c++ application.

I was looking for various implementations for the IPC between my server &
client application.
I was considering RPC, pipes or sockets. But, came to know about Binder in

Android has a binder mechanism for IPC. How to use this ?
Where should i start to know this.

I am greatly thankful, for any help

(: Naveen Krishna Ch :)


3. Reg: Browser application on android

4. Better JavaScript debugging for a WebView

5. WebView issue?

6. Online Android (HTC) & Other Mobiles Programmiing courses

7. How Android config proxy in brwoser