IT tutorials
 
Mobile
 

Developing BlackBerry Tablet Applications : Permissions

12/10/2012 6:11:30 PM
- Windows 10 Product Activation Keys Free 2019 (All Versions)
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
The AIR 2.6 release includes the permission options outlined in the following list; they can be selected within the new Flex Mobile project interface of Flash Builder 4.5 (see Figure 1). Figure 2 shows the warning the user will see when installing an application with permission requests.

access_shared

Read and write files that are shared between all applications run by the current user.


record_audio

Access the audio stream from the microphone.


read_geolocation

Read the current location of the device.


use_camera

Access the data coming from of cameras.


access_internet

Use a WiFi, wired, or other connection to a destination that is not local.


play_audio

Play an audio stream.


post_notification

Post a notification to the Notifications area of the screen. Note: At the time of this writing, this API has not yet been documented by RIM.


set_audio_volume

Change the volume of an audio stream being played. Note: At the time of this writing, this API has not yet been documented by RIM.


access_bbid_pii

Access the BBID user’s personally identifiable information. Note: At the time of this writing, this API has not yet been documented by RIM.


access_bbid_authenticate

Authenticate the user to an external system. Note: At the time of this writing, this API has not yet been documented by RIM.


read_device_identifying_information

Access unique device identifying information (e.g. PIN).

Figure 1. Permission Selections


These permissions are also editable within the application’s XML configuration file. Following is a sample of what these look like.


Note:

Manually editing the configurations within the application’s XML configuration file is the only way to make permission changes once you have created the mobile project.


<?xml version="1.0" encoding="UTF-8"?>
<qnx>
   <icon>
      <image>blackberry-tablet-default-icon.png</image>
   </icon>

   <author>HappyToad LLC</author>
   <authorId>gYAAgBCK5G60OhJ_Alo1WGV0fks</authorId>
   <buildId>349</buildId>
   <platformVersion>1.0.0.0</platformVersion>
   <permission>access_shared</permission>
   <permission>record_audio</permission>
   <permission>read_geolocation</permission>
   <permission>use_camera</permission>
   <permission>access_internet</permission>
   <permission>play_audio</permission>
   <permission>post_notification</permission>
   <permission>set_audio_volume</permission>
   <permission>access_bbid_pii</permission>
   <permission>access_bbid_authenticate</permission>
   <permission>read_device_identifying_information</permission>
</qnx>

Figure 2. Installer permission warnings

 
Others
 
- Introducing Windows Phone 8 : The Marketplace
- Introducing Windows Phone 8 : Application Lifecycle, Driving Your Development with Services, Live Tiles
- Introducing Windows Phone 8 : Input Patterns
- Iphone Application : Using Address Book, Email, and Maps (part 4) - Using the Message UI
- Iphone Application : Using Address Book, Email, and Maps (part 3) - Using a Map Object
- Iphone Application : Using Address Book, Email, and Maps (part 2) - Accessing the Address Book
- Iphone Application : Using Address Book, Email, and Maps (part 1)
- Iphone Application : Extending Application Integration
- Introducing Windows Phone 8 : Phone Specifications
- Introducing Windows Phone 8 : A Different Kind of Phone
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
programming4us programming4us
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS