how to give effects to livewallpaper?

by Hitendrasinh Gohil » Fri, 20 May 2011 13:51:26 GMT

Sponsored Links

can anybody tell me how can we give effects to live wallpaper like in
"city at night" lights on/off etc.


Other Threads

1. how to start application in last viewed activity in previous session

I'm writing an application consisting of several activities and, on
restarts, I'd like the application to initially display the
application's activity that was the last to display in the
application's previous session.

I save information about the last activity in SharedPreferences and
I'm trying to start that last activity with a call to
startActivity(intent) from my Application's onCreate handler.  The
problem is that if I don't set the intent's FLAG_ACTIVITY_NEW_TASK,
the result is a run-time exception message in logcat suggesting that I
should set the flag.  And if I set that intent flag, the correct
activity gets started but doesn't fully initialize resulting in null
pointer exceptions (which don't occur when I don't attempt to start
the activity from my Application class).

- - -

W/dalvikvm(  805): threadid=3: thread exiting with uncaught exception
E/AndroidRuntime(  805): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(  805): java.lang.RuntimeException: Unable to create
application com.test.tangled.TApplication:
android.util.AndroidRuntimeException: Calling startActivity() from
outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK
flag. Is this really what you want?

- - -

Any tips on how to correctly start a particular activity from the
Application class's onCreate handler?



2. | WTB | htc hero / qliq......

maaf repost....

lg pengen ganti nih hp
pgn coba hero atau motorola qliq atau mngkin motondroid

barangkali ada yg punya jual baik 2nd maupun baru garansi resmi...mohon di
tawarkan ya all....

lokasi di surabaya dan prefer sby...

monggo segera japri ya all...thx

"Indonesian Android Community [id-android]" 

3. When someone posts your paid app on a forum

4. Help/OOT:Ada apa dengan GMail?

5. Seeding program phones. Anyone tried to activate their droid on a private account yet?

6. NJ Court finds Owner-Operator to be Employee for Worker's Compensation Purposes

7. User Cancel - ProgressDialog