Skip to main content

Posts

Showing posts with the label live-wallpaper

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 ?

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 ?