B4A Question [SOLVED] Alternative to check if WhatsApp is installed without using PackageManager - QUERY_ALL_PACKAGES on + SDK30 - scsjc    Nov 8, 2021 Until now I used PackageManager to check which applications were installed (for example WhatsApp) Currently google requires QUERY_ALL_PACKAGES in Manifest in order to have a list of Installed Packages. Is it possible to know if WhatsApp is installed, via tried through some kind of Try-Catch error? Sub APKinstalada(packagename As String) As Boolean Try Dim PM As PackageManager...: " & packagename) Return False End Try End Sub Dim pm As PackageManager... B4A Question get version of apk-file without installation - peacemaker    Apr 6, 2016 final PackageManager pm = getPackageManager();
String apkName = "example.apk";
String fullPath = Environment.getExternalStorageDirectory() + "/" + apkName;
PackageInfo info = pm.getPackageArchiveInfo(fullPath, 0);
Toast.makeText(this, "VersionCode : " + info..., help to realise pm.getPackageArchiveInfo... B4A Question [SOLVED] AppUpdating Android 10 - techknight    Oct 21, 2020 I have noticed with Android 10 on my Pixel 3a, every time I hit Yes to do an app update from my server, its crashing with this error: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=file:///storage/emulated/0/Android/data/md.bkrm01/files/tmp.apk typ=application/vnd.android.package-archive flg=0x20000 } I still target a much lower SDK since I sideload all my apps and dont use the play store. But this is the first time... Spanish (SOLUCIONADO)Error al instalar APK desde codigo - josejad (first post)    Aug 8, 2021   (1 reaction) Echa un ojo al primer y quinto resultado
https://www.b4x.com/android/forum/pages/results/?query=package-archive... B4A Question install intent - Rusty    Mar 28, 2012 .Version, Version.NewPackage)) Instl.SetType("application/vnd.android.package-archive"... B4A Question Update app using file provider - ronell    Jun 19, 2018 i have this code to install apk but after i change the target sdk = 26 in manifest this code fails( FileUriExposedException error)... is there a sample code using file provider to access apk file in external storage and install? Dim iIntent As Intent iIntent.Initialize(iIntent.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "myapp.apk")) iIntent.SetType("application/vnd.android.package-archive"... B4J Tutorial MacSigner - Building notarized Mac packages - Erel    Jun 15, 2023   (20 reactions) signed app package. Requirements Mac computer. Apple developer account ($99 per year). Java... with a different csr file will not work. Steps from a jar to an app package Link - the good old... a standalone package. Package - Uses Java jPackage tool to convert the standalone package to a Mac app package with a native launcher. The files in the package are signed during this step. It also creates a zip file of the package. Notarize - Uploads the zip file to Apple server for automatic tests... B4A Question Autostart after update - marcick    Jun 2, 2015 Hi guys, after I have downloaded and started an update fo rmy app using this code, is it possible to auto start it ? Dim i As Intent i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "temp.apk")) i.SetType("application/vnd.android.package-archive") StartActivity(i)... B4A Question Install intent no longer working - nibbo    Sep 9, 2020 I have an install apk intent which has been working for years but now fails. I guess this is another Android 10 issue? Dim i As Intent i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirDefaultExternal, "AppName.apk")) i.SetType("application/vnd.android.package-archive") StartActivity(i) When the above executes I get the error below: android.content....package-archive flg=0x20000 } Thanks Nibbo... B4J Tutorial UI apps packaging - self contained installers - Erel    May 25, 2020   (29 reactions)   tags: Installer Apps B4J, UI apps packaging install standalone UI apps B4J Packager is a small utility that uses javapackager to create a single file... depends on the following additional libraries: Archiver (B4A library) and jControlFX Using this tool.../tools/unix/javapackager.html 3. It is recommended to run the packager from the IDE (at least in... with: java -jar B4JPackager.jar 4. The installers will use the app package name to identify the app... javapackager point to Java 8. 6. If running on a Mac then you probably should change the package to pkg. See... Page: 1   2   3   4   5   6   7   |