Join Lee Brimelow for an in-depth discussion in this video Setting up the Purchasing Observer, part of Developing Applications for Amazon Kindle Devices.
- View Offline
- Exercise Files
Okay, so now we're ready to begin the code implementation for our In-App …purchases. So the first thing we have to do is to …register that broadcast receiver so the Amazon client can actually notify us of …messages. So I'm going to go into the Manifest …file. And just go to the XML and come under …where that last activity was created. So we're going to create a new receiver.…
Now the name of this receiver, we need to give the full package path to the …response receiver class which is in the AmazonSDK. …Now I have that path copied to my clipboard, but it's just …com.amazon.inapp.purchasing. And then the class is response receiver. …Okay, so inside of here, we need to create an intent-filter. …And then inside of that, we need to create an action.…
Okay, for our action, we need to give it a name, and this name, again, is going to …be that full package path .Notify. Now, the next thing we need to add is the …actual permission. So, I'm going to say, android:permission= …and again we want that full path and now we want to go the permission class and we …
The course also covers multiscreen development and testing with the Kindle Emulator, as well as actual deployment to the Kindle store.
Skill Level Intermediate
1. Preparing for Development
2. Integrating In-App Purchasing
3. Using the GameCircle API
4. Using the Amazon Maps API
5. Multiscreen Development
6. Preparing to Publish
Targeting other devices6m 51s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.