S selvamurali Active Member Licensed User Longtime User Jan 12, 2013 #1 Dim iIntent As Intent iIntent.Initialize(iIntent.ACTION_VIEW, "file://"&File.Combine(File.DirRootExternal,"ringtone.apk")) iIntent.SetType("application/vnd.android.package-archive") StartActivity(iIntent) when i try to run this code the error "There is a problem parsing a package" .
Dim iIntent As Intent iIntent.Initialize(iIntent.ACTION_VIEW, "file://"&File.Combine(File.DirRootExternal,"ringtone.apk")) iIntent.SetType("application/vnd.android.package-archive") StartActivity(iIntent) when i try to run this code the error "There is a problem parsing a package" .
Erel B4X founder Staff member Licensed User Longtime User Jan 13, 2013 #2 The problem seems to be in the ringtone.apk file. Upvote 0
S selvamurali Active Member Licensed User Longtime User Jan 13, 2013 #3 Erel said: The problem seems to be in the ringtone.apk file. Click to expand... but when i am try that file individually its installing fine. i am tying to install it with our software installation. that time only it given this error Upvote 0
Erel said: The problem seems to be in the ringtone.apk file. Click to expand... but when i am try that file individually its installing fine. i am tying to install it with our software installation. that time only it given this error
Erel B4X founder Staff member Licensed User Longtime User Jan 13, 2013 #4 Have you enabled "allow applications from unknown sources?" option. Upvote 0
S selvamurali Active Member Licensed User Longtime User Jan 13, 2013 #5 Erel said: Have you enabled "allow applications from unknown sources?" option. Click to expand... yes i can install this apps from play store and pen drive. when i try via our apps it will given the problem Upvote 0
Erel said: Have you enabled "allow applications from unknown sources?" option. Click to expand... yes i can install this apps from play store and pen drive. when i try via our apps it will given the problem
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2013 #6 Can you upload this APK? Upvote 0
S selvamurali Active Member Licensed User Longtime User Jan 14, 2013 #7 wait will send the Entire Project to you Upvote 0
S selvamurali Active Member Licensed User Longtime User Jan 16, 2013 #8 project and apk file Hi Erel am herewith attach my project code and the apk file which i wank to install let me know what i am missing Attachments testapp.zip testapp.zip 10.3 KB · Views: 263 browser.apk browser.apk 229.1 KB · Views: 243 Upvote 0
project and apk file Hi Erel am herewith attach my project code and the apk file which i wank to install let me know what i am missing
Erel B4X founder Staff member Licensed User Longtime User Jan 16, 2013 #9 I've copied the file to the sd card and then ran the following code: Code: Copy Sub Activity_Click Dim i As Intent i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "browser.apk")) i.SetType("application/vnd.android.package-archive") StartActivity(i) End Sub The app was installed successfully. Upvote 0
I've copied the file to the sd card and then ran the following code: Code: Copy Sub Activity_Click Dim i As Intent i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "browser.apk")) i.SetType("application/vnd.android.package-archive") StartActivity(i) End Sub The app was installed successfully.