문제

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?

도움이 되었습니까?

해결책

You can use their AirSDK universal SDK version.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top