Skip to main content

PayPal initialization fails always in android live wallpaper project



I am trying to integrate PayPal in app payment in a live wallpaper project that I am working on. Whenever I try to initialize the paypal library with:







pp = PayPal.initWithAppID(this, appID, server);







it always fails to initialize. In logs I can't see any error and my code is good because if I take the payment activity out and put it in a separate project, a regular (no live wallpaper service) and put the same user permissions in the manifest file it initializes without any fuss.





What am I missing ? Is "WallpaperService" class running with some restrictions that affect paypal initialization ?


Comments

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?