12

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.enter image description here

What to do now?Any help will be appreciated

Jaydeep Khamar
  • 5,975
  • 3
  • 32
  • 30
  • Have your APIDReciever recieved a valid push or registration? It's been a while since I worked with UA. But I remember I missed the line in the application tag in the manifest.xml – nahwarang May 31 '11 at 10:38
  • I have given the internet permission in manifest file, what other permissions are required? – Jaydeep Khamar May 31 '11 at 10:49

2 Answers2

3

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.

0

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.

nahwarang
  • 654
  • 5
  • 9
  • if u added this library to your project: https://github.com/urbanairship/android-push-sample You should look in the manifest.xml and add the following line to the as they did. – nahwarang May 31 '11 at 11:17
  • If your app can't accept pushes from the UA, you will never see your device in the web interface. Another step in the setup is the API-key in the debug / production file. – nahwarang May 31 '11 at 11:23
  • read this if you haven't http://urbanairship.com/docs/android_client.html and please tell me if you don't understand any step. – nahwarang May 31 '11 at 11:25
  • @ Hwa Rang whatever u want to tell that all I have implemented. By using the code from "github.com/urbanairship/android-push-sample" i received apid from server. I have also registered account in Urban airship. I want to know whats the next step after receiving apid. How i registered received apid to server so that server can give notification to me by using my apid. so,how i give response/feedback to server for register by apid for future use. or Is there any another way of register apid from website? bcz whenever i open Apid link of my account of U.A i got above picture detail. – Jaydeep Khamar May 31 '11 at 11:43
  • can you please tell us how to register the apid at the website/server as shown in the figure? – Jaydeep Khamar May 31 '11 at 12:36
  • Does the LogCat show any notifications that your APIDReciever has registered the device with the proper Log. message from the SamepleApplication? If there is no problem, the device should pop up in the web interface window. – nahwarang May 31 '11 at 12:56
  • I get "java.net.SocketTimeoutException: Transport endpoint is not connected" exception while connecting to the ip:"75.101.197.164:1227" – Jaydeep Khamar May 31 '11 at 13:22
  • I don't know where you get that error. but it sounds like a connection error to the endpoint, in this case the UA server. I need more information from the stack trace before I can help you further. – nahwarang May 31 '11 at 16:03