Domanda

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?

È stato utile?

Soluzione

You can use their AirSDK universal SDK version.

Altri suggerimenti

All you can do is make a Settings activity and then Integrate the Standard SDK or you can also integrate the Universal SDK but it is not compliant with google play

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top