02-18-2007, 04:39 PM
Join Date: Jun 2006
Location: Waterloo, Ontario
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Controlled APIs BB dialog - How to handle
Please Login to Remove!
So, I'm writing an application that uses the phone API. When a user uses my app for the first time, I'd like to deal with the inevitable request to allow my app to use the phone API (the first time a dialog comes up asking teh user if it's okay for my app to use the phone API). I saw an app handle this by basically including text on the splash screen that says something like "The following dialog is requesting access to <insert API name>. Click to allow for this app to function properly".
So, I guess the code actually tries to invoke the API, which pops up the dialog, which prompts the user to allow, which sets things up all nicely for future use.
So, does anyone have any pointers on the best way to handle this situation? Are there any demo apps that do this type of thing?
Thanks in advance.