MarcRB Active Member Licensed User Longtime User Aug 18, 2013 #1 HI, Do I need a library for the packagemanager ? What is it name? I tried this code for retriveing the app version. Compile fails because packagemanager is a unknow statement. Maybe there is library missing is in the compiler messagebox Sub Version() As String 'App version Dim pm As PackageManager Return pm.GetVersionName("My.App.Label") End Sub Click to expand... Best regards Marc
HI, Do I need a library for the packagemanager ? What is it name? I tried this code for retriveing the app version. Compile fails because packagemanager is a unknow statement. Maybe there is library missing is in the compiler messagebox Sub Version() As String 'App version Dim pm As PackageManager Return pm.GetVersionName("My.App.Label") End Sub Click to expand... Best regards Marc
Erel B4X founder Staff member Licensed User Longtime User Aug 18, 2013 #4 Note that you can find it quite easily http://www.b4x.com/android/forum/pages/results/?query=packagemanager Upvote 0
Note that you can find it quite easily http://www.b4x.com/android/forum/pages/results/?query=packagemanager