2015-09-16 10:08:04 8 Comments
I am new in Android. I am developing a simple application where I need to send push notification from server side.
So, need to send data using call api when app install. For that, I have to get device information like device name, version, unique key (token) etc.
I tried but not get how to? any one have a idea please share with me.
Related Questions
Sponsored Content
11 Answered Questions
[SOLVED] Proper use cases for Android UserManager.isUserAGoat()?
- 2012-11-14 08:34:01
- Ovidiu Latcu
- 303808 View
- 3511 Score
- 11 Answer
- Tags: java android usermanager
97 Answered Questions
[SOLVED] Close/hide the Android Soft Keyboard
- 2009-07-10 11:27:17
- Vidar Vestnes
- 1447030 View
- 3645 Score
- 97 Answer
- Tags: android android-layout android-softkeyboard android-input-method soft-keyboard
27 Answered Questions
[SOLVED] What is the simplest and most robust way to get the user's current location on Android?
- 2010-06-29 21:59:25
- emmby
- 313279 View
- 789 Score
- 27 Answer
- Tags: android geolocation location latitude-longitude
48 Answered Questions
[SOLVED] Is there a unique Android device ID?
- 2010-05-07 00:47:28
- Tyler
- 945818 View
- 2648 Score
- 48 Answer
- Tags: android uniqueidentifier
30 Answered Questions
[SOLVED] How to save an Android Activity state using save instance state?
- 2008-09-30 04:41:15
- Bernard
- 742071 View
- 2542 Score
- 30 Answer
- Tags: android android-activity application-state
25 Answered Questions
[SOLVED] Is there a way to run Python on Android?
- 2008-09-19 13:21:12
- e-satis
- 596340 View
- 2096 Score
- 25 Answer
- Tags: android python jython ase android-scripting
28 Answered Questions
[SOLVED] What is 'Context' on Android?
- 2010-08-26 06:12:00
- Brigadier
- 655807 View
- 1875 Score
- 28 Answer
- Tags: android android-context
17 Answered Questions
[SOLVED] "Debug certificate expired" error in Eclipse Android plugins
- 2010-02-03 19:26:15
- hap497
- 262979 View
- 1865 Score
- 17 Answer
- Tags: android eclipse certificate
77 Answered Questions
[SOLVED] Why is the Android emulator so slow? How can we speed up the Android emulator?
- 2009-10-12 11:45:53
- Andrie
- 1037768 View
- 3358 Score
- 77 Answer
- Tags: android performance android-emulator genymotion qemu
16 Answered Questions
[SOLVED] Does Android support near real time push notification?
- 2009-08-07 05:42:02
- j pimmel
- 180240 View
- 335 Score
- 16 Answer
- Tags: android push-notification
6 comments
@Android Team 2015-09-16 10:14:11
Hi please see below method hope you will get most of detail which you want
below method is for getting device ID
@user1780370 2015-09-17 05:52:38
What use for send push notification? how to get register id?
@Gunhan 2015-11-03 11:28:36
The answers here are all unrelated to the OP question.
To get register id for push notifications.
You can get your project id from https://console.developers.google.com/project
You should read more detailed information at https://developers.google.com/cloud-messaging/gcm
@AKber 2015-09-16 10:12:58
For More information Please visit: http://developer.android.com/reference/android/os/Build.html
Regarding Push Notifications, you should follow these steps.
For detail of each step please visit here : http://rdcworld-android.blogspot.in/2013/11/android-push-notification-google-cloud.html
@user1780370 2015-09-17 05:52:43
What use for send push notification? how to get register id?
@AKber 2015-09-17 05:55:15
you can use Build.ID, here you go and follow its step rdcworld-android.blogspot.in/2013/11/…
@Himanshu Shekher Jha 2015-09-16 10:20:58
Use these lines of code .. it will return you android_device_id , and name. You can get many other thing by replacing the last KeyWord ANDROID_ID ....
@user1780370 2015-09-17 05:53:10
What use for send push notification? how to get register id?
@Burhanuddin Rashid 2015-09-16 10:15:32
Try this links:
http://developer.android.com/reference/android/os/Build.html and http://developer.android.com/reference/java/lang/System.html (try getProperty() )
For Example :
Etc...
@user1780370 2015-09-17 05:52:47
What use for send push notification? how to get register id?
@user2413972 2015-09-16 10:14:01
Token
or
Android version
Device name
@user1780370 2015-09-17 05:53:15
What use for send push notification? how to get register id?