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
Developer
Posts: 123
Registered: ‎01-11-2013
My Device: BlackBerry z10
My Carrier: Docomo

Automatically checking for a new application version on BlackBerry 10 App word.

Hi Developers.

I am making a sample application that will prompt me if any update has been added to an already uploaded application in blackberry 10 app world. I have searched forums but failed to search. It would be a great help if any one can suggest some reference.

Thanks In Advanced To All.

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Automatically checking for a new application version on BlackBerry 10 App word.

No offence meant here but can I ask why, the BBW app already does this.


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 123
Registered: ‎01-11-2013
My Device: BlackBerry z10
My Carrier: Docomo

Re: Automatically checking for a new application version on BlackBerry 10 App word.

[ Edited ]

Thanks for reply..

 


whenever user start my app and is there any update then wanna show dilaog "you are using old version, please update app".

 

 

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Automatically checking for a new application version on BlackBerry 10 App word.

I understood that my question was;

If you intend to write an app that looks for updates on BBW what is the reason for doing so as you will just be duplicating something that already exists.

I guess I am just trying to warn you against wasting your time if that is your intention, if you have another reason for doing it then it was just for my curiosity.

There is no API AFAIK so you would need to interpret the web page using the many API's available to handle HTML and XML.

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Automatically checking for a new application version on BlackBerry 10 App word.

Do you intend to just track one app or all the apps?

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Automatically checking for a new application version on BlackBerry 10 App word.

Okay I see your new edit, I understand the question now.

- You could look in the hub for the update message.
- You could load the HTML page and check against the current app version
- You could use push whenever you update

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 123
Registered: ‎01-11-2013
My Device: BlackBerry z10
My Carrier: Docomo

Re: Automatically checking for a new application version on BlackBerry 10 App word.

- You could load the HTML page and check against the current app version

 

How can I check latest version of app from Blackberry world?

 

is there any API for getting information about uploded app in Blackberry world?

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Automatically checking for a new application version on BlackBerry 10 App word.

[ Edited ]

1) You would need to scan the HTML and pick it out.

 

2) No the closest there is to invoke the BBW app...

 

http://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/blackberry_...


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 123
Registered: ‎01-11-2013
My Device: BlackBerry z10
My Carrier: Docomo

Re: Automatically checking for a new application version on BlackBerry 10 App word.

- 1) You would need to scan the HTML and pick it out.

 

You mean I have to parse HTML page of my application of Blackberry world and get particular value for Version like below ???

 

  • Version: 10.2.2.14

 

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Automatically checking for a new application version on BlackBerry 10 App word.

Yes that's one of the suggestions.


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.