Make Fade-in and Fade-Out Effec

by ArNguyen » Thu, 29 Oct 2009 04:14:14 GMT


Sponsored Links
 Hi all!

I am beginner on Android game. I want to make Fade-in and fade-out
effect to transform scenes (Intro game -> play game -> win game/ over
game, ...).
Please tell me how to make  Fade-in and fade-out effect in Android?
Thanks,

Best regard!

ArNguyen,

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to play radio station in android application?

Hi Friends,

I need to play a radio station in my application and that file format
is ".pls".

I tried by using VideoView and MediaPlayer and i cannot able to play
that station. I am getting "prepared failed" error.

Can you please explain how to play that .pls files in our android
application.

I thought Android SDK having some view or class to handle that. But,
unfortunately it does not have.. :-( :-(..

I have searched for all and still got any solution for this.

Any help or suggestion will be very much appreciated and helpful for
me....

Thanks.

-- 

2. Speed up showing Activity with ListView

I have an application that loads a list of items with thumbnails from
a server, and shows those items in a ListView.

The laoding of the data is done before the ListViewActivity is started
and while that is being done, a ProgressDialog is shown. When the
loading of the data is done, I start an activity with a ListView that
displays the items. The thumbnails are downloaded in a seperate thread
when they are needed in the getView method of ListView.

This is my problem: When the loading of the data is done, I call
startActivity with an Intent to start the ListActivity and in that
intent I put the data.
My problem is that this takes a few seconds sometimes. How can I speed
this up?

Below is the sequence + where it goes wrong:

The items are downloaded with an AsyncTask that shows a
ProgressDialog.
The progressDialog is dissmissed, and startactivity is called.

Intent in = new Intent(CategoryListScreen.this,
VideoListScreen.class);
in.putParcelableArrayListExtra("items", items);
startActivity(in);

The listAdapter is created in the onCreate method of my
VideoListScreen
getView is called a few times...
The VideoListScreen is displayed (a few seconds after the
progressDialog has been dissmissed)

Also the Logcat output from the ActivityManager indicates it takes a
few seconds for my activity to start:
E.g:
10:13:22.254 - ActivityManager - Starting activity: VideoListScreen
10:13:25.424 - ActivityManager - Displayed activity: VideoListScreen:
3166 ms

How can I make that the activity is displayed faster?

-- 

3. Connect Android Emulator to Local Network

4. CountDownTimer doen't work during device in deep sleep?

5. increase your system to speed...................

6. Libgdx vs. andengine

7. Anybody seen a slowdown in sales?