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

Java Development

Reply
Developer
Posts: 415
Registered: ‎07-28-2010
My Device: 8000

want to check which app world version install on device?

Hello friends,

                       I did one application in that i am doing in app purches. i am using latest appworld jar. when user instlled application if user have old app world version i want to show alert that you have old app world version please update.

                      Any one tell me how should we get which app world version he used in there device? 

         Please help me friends.

 

thanks and regards,

      Ajay patil.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: want to check which app world version install on device?

Hi Ajay,

 

The Payment SDK includes a check for this:

PaymentEngine.isAppWorldInstalledAndAtCorrectVersion():

 

And also an API to automatically update App World if needed:
PaymentEngine.upDateAppWorld() 

 

Regards, 

Garett
@garettBeuk
--
Goodbye everybody!