BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 11-09-2010, 07:51 AM   #1
ashish_k
New Member
 
Join Date: Nov 2010
Model: 9000
PIN: N/A
Carrier: Airtel - India
Posts: 5
Default problem application installing using CodeModuleManager..

Please Login to Remove!

Hi,

I used following link to installed the application..

supportforums.blackberry.com/t5/Java-Development/Programmatically-install-and-upgrade-application

I successfully test this application on Simulator and Blackberry 9000 OS 4.6.0.282.

The installed app ask to sst the permission at the time of launch.

But when i installed application on following devices The installed application does not ask to set the permission and throw "Uncought exception: java.lang.Error" at the time of launch. When I manually set the permission to this application then they run fine.

this behavior is observe on following devices.


Name OS Error
Curve 8530 5.0.0.459 The application “XYZ” has attempted to open an external connection which is not allowed by the Applications permissions"

Storm 9530 5.0.0.419 The application “XYZ” has attempted to open an external connection which is not allowed by the application s permissions"

Tour 9630 4.7.1.53 "Uncaught exception: java.lang.Error

Tour 9630 4.7.1.53 "Uncaught exception: java.lang.Error

How do i solve this issue..

Is there any way to set the permission to installed app using codemodulemanager.

waiting for answer..
plz help..

thanks
Ashish
Offline  
Old 11-09-2010, 08:48 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

You might try setting the required permissions using ApplicationPermissionsManager.
Offline  
Old 11-10-2010, 12:16 AM   #3
ashish_k
New Member
 
Join Date: Nov 2010
Model: 9000
PIN: N/A
Carrier: Airtel - India
Posts: 5
Default

there is no provision to set permission for another application.

I am installing new application from my application..

Any other clue?
Offline  
Old 11-10-2010, 08:51 AM   #4
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

The application is responsible for it's own permissions - you cannot set these from your "installer" app (if that is what you are trying to do).
Offline  
Old 11-10-2010, 09:01 AM   #5
ashish_k
New Member
 
Join Date: Nov 2010
Model: 9000
PIN: N/A
Carrier: Airtel - India
Posts: 5
Default

yes u r right, I already know that.

But when you install the new app say B using Installer app(A) and When you launch the new app(B), B app has to ask user to set the required permission. same way it works on below 4.6 OS.

But above 4.7 it does not prompt user to set the permission instead it through the exception and application get crashed.
Offline  
Old 11-10-2010, 10:25 AM   #6
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

That's an issue for whoever developed the application.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


4 Count Case GE ProLine 2 Bulb 120V T12 Electronic Fluorescent Light Ballasts picture

4 Count Case GE ProLine 2 Bulb 120V T12 Electronic Fluorescent Light Ballasts

$49.99



Sylvania Quicktronic Pro Series Ballast QHE 2X59T8/UNV ISN-SC picture

Sylvania Quicktronic Pro Series Ballast QHE 2X59T8/UNV ISN-SC

$10.00



Philips ADVANCE AmbiStar RELB-2S40-N Replacement Ballast 40-Watt 2-Lamp T12 picture

Philips ADVANCE AmbiStar RELB-2S40-N Replacement Ballast 40-Watt 2-Lamp T12

$18.79



EnergyPro 2 Lamp T8 Rapid Start Electronic Ballast Model SLE-232-120-LPF picture

EnergyPro 2 Lamp T8 Rapid Start Electronic Ballast Model SLE-232-120-LPF

$8.39



Fulham Pony Solid State electronic ballast picture

Fulham Pony Solid State electronic ballast

$15.00



10-Count GE Fluorescent Ballast, GE432-MVPS-L Electronic T8, 120v to 277v picture

10-Count GE Fluorescent Ballast, GE432-MVPS-L Electronic T8, 120v to 277v

$108.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.