问题
I have completed client side code by download sample from git for push notification in android. After execute of app i got app-key and apid from server. But when i opening the my account in Urban Airship,i found following data that said my app has not registered any application.
What to do now?Any help will be appreciated
回答1:
Urban airship is on maintenance mode.If u try to get apid from there ,u will not get any response. Another way of push notification in android is use C2DM . Try google C2DM may u get result.
回答2:
According to Uarban Airship, you need to add the Reciever class
android:name=".SampleApplication"
to your
<application>
in the manifest to get your app to listen for broadcasts.
来源:https://stackoverflow.com/questions/6111847/how-to-register-apid-in-urban-airship-for-android