To Show the Gif Image in screen

All your problems with Audio, Video and Images.

To Show the Gif Image in screen

Postby desuvinodkumar » Tue Jul 28, 2009 2:14 pm

Hi

How can i show the Gif animation in screen not in our layout......
is there any possibility to do this ............
when any react notification gets out app should bring the gif animation character on the scree...
how can i do it ....?
is it possible to show on the main screen also .....means background service .....even our app closes also this should show the gif image upto we dismiss the character of gif image

thanks a lot in advance.....
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Top

Postby TheChosen » Wed Jul 29, 2009 12:51 pm

Gif should be supported by the android platform (see Supported media formats).

Just put a gif image into your res/drawable folder and put it into an ImageView via setImageDrawable(getResources().getDrawable(R.drawables.yourgif)); and watch the result. I haven't checked if animated gifs are supported but I would guess so.
TheChosen
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Tue Jan 06, 2009 7:18 pm
Location: Germany

Postby desuvinodkumar » Wed Jul 29, 2009 1:05 pm

HI

Thnaks for ur response...

I know how to play the gif file ...but i need to show that in the Desktop screen not in the layout .....
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Postby TheChosen » Wed Jul 29, 2009 1:07 pm

You can either simulate the desktop screen by putting the user's wallpaper to your layout's background or use a widget instead.
TheChosen
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Tue Jan 06, 2009 7:18 pm
Location: Germany

Postby desuvinodkumar » Wed Jul 29, 2009 1:10 pm

Hi
Widget means AppWidgetProvider class ...
by this class we can show the gif animated image
u have any idea .....
thanks a lot in advance
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

how to animate the gif files

Postby software2down » Wed Jul 29, 2009 2:26 pm

i am new to android development...


when i trying to display the gif file in image viewer it shows only the first frame of the gif file.

can you please tell me how to display the Gif images in the android Image Viewer.



thanx @ regards
Android Dev
software2down
Freshman
Freshman
 
Posts: 2
Joined: Mon Jul 20, 2009 7:24 am

Top

Postby desuvinodkumar » Thu Jul 30, 2009 6:00 am

HI

U can go through this link ...

how_to_play_gif_file_in_android-t3492.html
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 9 guests