can i play gif?

by zeeshan » Fri, 25 Sep 2009 22:19:00 GMT

Sponsored Links
 Hi Dear,

i am trying to play a gif by

  is = context.getResources().openRawResource
  mMovie = Movie.decodeStream(is);

but mMovie remains null. example in apiDemo is not working either

i am using this code 

Other Threads

1. how write simple chat application on android

Hi. I'm very beginner in android programming and my english is very bad!. I
not realy understand explanation of this email :"simple chat application on
I find the good cod of chatAndroid in this link  :

But I want to learn how writing client_server in android. If it is
can,someOne send me a full of code of simple chat application on
android.....or send me a part of code that shown connection of server and
client. I hope you undrestand me!
PLZ help!
fatemeh nakhaie


2. getLastKnownLocation() always returns null. What am I doing wrong?

I'm having no luck getting getLastKnownLocation to
return a non-null value in the Android emulator running
in Eclipse. The following call always returns null:


(bestprovider is "gps")

In the intent's onCreate method I spawn a thread that calls
The onLocationChanged method fires so I presume the location was
updated (I use the
location section of the DDMS to push out a location first).

private void requestFirstUpdate(){

LocationListener myLocationListener = new LocationListener(){
        public void onLocationChanged(Location location){

        public void onProviderDisabled(String provider){

        public void onStatusChanged(String provider, int status, Bundle
        public void onProviderEnabled(String arg0) {
           locationManager.requestLocationUpdates(bestProvider, 0, 0,


In my manifest I have these lines:

     <uses-permission android:name="android.permission.INTERNET"/>

Any ideas? Am I using the emulator incorrectly?


3. xsd/dtd for AndroidManifest.xml

4. Docs on telephony and how to use log in Telephony

5. Load video from assets folder?

6. how to send MMS

7. Calling an Intent the implicit way