Search code examples
androidairpush

How to integrate AirPlay add in android Live wallpaper?


Recently Airpush provided their new sdk for playstore, but I am facing problems adding this in livewallpaper, in the previous sdk we used

Airpush airpush=new Airpush(getApplicationContext());

it worked, but for the new sdk we need to do this

AirPlay airPlay = new AirPlay(activity, null, true);

but the problem is when I try to do this in wallpaper service, it gives an error as it wants activity as parameter, what to do now?


Solution

  • You can use their AirSDK universal SDK version.