LiveFolders Cursor-returned Intent not working

by dipu » Wed, 21 Apr 2010 07:51:35 GMT

Sponsored Links
 Hope you tried this 
At the bottom of the page you will see a link to the sample code.



Other Threads

1. View.setEnabled() Deprecated?

I'm working with 2.0 and in my xml layout, I changed the Enabled
property of a Button, only to see that that is Deprecated. Eclipse
property manager tells me (when I mouse over the property) :
"Deprecated use state_enabled instead."

So sure I can set state_enabled in the xml layout, but how to do it
programatically? Can it be done? I'd like the button to be disabled
initially and then become enabled depending on user action. How can
this be done without using the deprecated method????

Frankly I'm completely at a loss as to how to set any and all xml
attributes programatically. It seems some have matching properties in
the Java objects and some do not. Some can be set by using
LayoutParams and some cannot. Please help.



2. Media controller problem

Hi all,

I have written a small media player application. I tried to play all
the audio files (android supported media files). .mid, .mp3 files are
playing well with showing MediaController.

But when I tried to play .ogg file, I got the following exception.

W/WindowManager(   74): Requested window null does not exist

W/WindowManager(   74): java.lang.RuntimeException

W/WindowManager(   74):         at

W/WindowManager(   74):         at

W/WindowManager(   74):         at

W/WindowManager(   74):         at android.view.IWindowSession$Stub.onTransact

W/WindowManager(   74):         at

W/WindowManager(   74):         at android.os.Binder.execTransact(

W/WindowManager(   74):         at

W/WindowManager(   74): Attempted to add window with token that is not
a window: null.  Aborting.

I/MediaPlayerDemo(  724):android.view.WindowManager$BadTokenException:
Unable to add window -- token null is not valid; is your activity

Basically I want to show a media controller while playing a audio
file. It is working fine for some media formats (.mp3 , .mid), I mean
able to show the media controller while playing. But when I tried to
play .ogg file, I got the above error.

Can any one please help me to solve this.


3. getting Contact data into the Emulator

4. ListView dividerHeight="1dip" appearance on Droid

5. How to installmy apk in my device G1???

6. International emergency number support

7. SQLiteOpenHelper