Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
mbc
New Contributor
Posts: 2
Registered: ‎09-11-2012
My Device: Developer
My Carrier: Developer

Is possible to access to QNX Installer service from an App?

I need to know if is possible to access to QNX Installer using any kind of command  likes System or something like that....I´m try to develop some application that verify the update version and replace pre installed on BB10.

Maybe another suggestion to solve my problem?

 

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Is possible to access to QNX Installer service from an App?

In short: not a chance...

Just out of curiosity though, what "update version" are you trying to check? The OS, or a particular app, or just any app?

The checking part is possible, depending on what you're talking about. The replacing part isn't... but since your problem isn't actually very clear yet, maybe you can clarify what you want a bit.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
mbc
New Contributor
Posts: 2
Registered: ‎09-11-2012
My Device: Developer
My Carrier: Developer

Re: Is possible to access to QNX Installer service from an App?

Well, I needed for example install an App Demo this one have to verify updates on server, then have to replace the older version and overwrite data. I do that on Android platform all the time.  Are there options for BB10 to port Apps Demo and update version some like I explain? In case not, Could you suggest another logic to verify that states?

Highlighted
Developer
Posts: 137
Registered: ‎10-26-2010
My Device: Bold 9900 + PlayBook
My Carrier: Rogers

Re: Is possible to access to QNX Installer service from an App?

If it's a new version of the app it should be submitted to App World as a new release and App World takes care of notifying the user and installing the update. App World is the only supported method for distributing apps to end users. Your data directory is not overwritten during the upgrade, so settings shouldn't have to be reset.

If it's just data you're upgrading (and not app binaries) then you don't need the installer service. You can download the content from your app and write it to the data directory.
--------
Taylor Byrnes