how to give effects to livewallpaper?

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


Sponsored Links
 hi,

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

-- 



Other Threads

1. Security Exception

Just wondering if anyone can help

Just wondering if anyone can help on the security exception I am
getting.

06-18 22:21:48.637   156   162 W Parcel  : **** enforceInterface()
expected 'android.os.IPowerManager' but read '-'
06-18 22:21:48.707   253   253 W dalvikvm: threadid=3: thread exiting
with uncaught exception (group=0x4000fe70)
06-18 22:21:48.707   253   253 E AndroidRuntime: Uncaught handler:
thread main exiting due to uncaught exception
06-18 22:21:48.777   253   253 E AndroidRuntime:
java.lang.SecurityException: Binder invocation to an incorrect
interfac
e
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.os.Parcel.readException(Parcel.java:1234)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.os.Parcel.readException(Parcel.java:1222)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.os.IPowerManager$Stub$Proxy.acquireWakeLock(IPowerMan
ager.java:178)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.os.PowerManager$WakeLock.acquire(PowerManager.java:23
1)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.internal.telephony.gsm.RIL.acquireWakeLock(RIL.ja
va:1706)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.internal.telephony.gsm.RIL.send(RIL.java:1735)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.internal.telephony.gsm.RIL.setFacilityLock(RIL.ja
va:1402)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.internal.telephony.gsm.GsmSimCard.setSimLockEnabl
ed(GsmSimCard.java:235)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.settings.SimLockSettings.tryChangeSimLockState(Si
mLockSettings.java:274)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.settings.SimLockSettings.onPinEntered(SimLockSett
ings.java:229)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.settings.EditPinPreference.onDialogClosed(EditPin
Preference.java:76)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.preference.DialogPreference.onDismiss(DialogPreferenc
e.java:359)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.app.Dialog$DismissCancelHandler.handleMessage(Dialog.
java:946)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.os.Handler.dispatchMessage(Handler.java:99)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.os.Looper.loop(Looper.java:123)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
android.app.ActivityThread.main(ActivityThread.java:3948)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
java.lang.reflect.Method.invokeNative(Native Method)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
java.lang.reflect.Method.invoke(Method.java:521)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(Zy
goteInit.java:782)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
06-18 22:21:48.777   253   253 E AndroidRuntime:        at
dalvik.system.NativeStart.main(Native Method)
06-18 22:21:48.877   156   454 V DumpStateReceiver: Running: /system/
bin/dumpcrash
06-18 22:21:48.967   156   454 I DumpStateReceiver: Finished: 2509
bytes read; status 0
06-18 22:21:49.007   156   454 I DumpStateReceiver: Added state dump
to 1 crashes


Thanks

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

2. Questions on applications and how applications are to follow hardware limitations?





You had sure better talk with the application author and sign a contract
with them to have their app included.  You can't just take it and put it on
your device.




Currently to be an Android compatible phone, you are going to need to have a
GPS and the various other things that applications depend on.

Since we have market place for Android today and mostly




No way.




And is already being done, for example an application can say that it
requires a physical keyboard.




Market already takes care of this, and won't display applications that
aren't compatibility with the target phone.  Ideally, though, the platform
should take care of most of these things -- the introduction of soft
keyboards being a representative example, where the platform goes to a fair
amount of work to ensure that applications that were written for a hard
keyboard still work with the input method.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

3. Loading Acitvity

4. How to prevent app to be removed/uninsalled

5. SimpleCursorTreeAdapter bug

6. About Android Developer Challenge 2

7. How to prevent app to be removed/uninsalled