Hi everyone, with the aid of WM25, new version of Gradle and some prayers, I managed to successfully launch an installation of an .apk from the application itself, and it works... Sort of. If I manually launch the .apk file from a file manager, the steps are: -The device asks me if i want to install the apk; -When i select Install, it shows a progress bar; -When the installation is finished,by Wilaroth - WinDev Forum
Hi everyone, I've managed to make it work on android 8 and below, with the combination of FTPGet and ShellExecute to start the update (while having REQUEST_INSTALL_PACKAGES in the manifest). However, with Android 10 ShellExecute doesn't work anymore, as it returns the error "The document was not opened because no application is properly associated". Is there a way to make iby Wilaroth - WinDev Forum
Hi Pete, I'm having the same problem. Have you found a way to fix this?by Wilaroth - WinDev Forum
Hi Argus, I tried inserting your permission in the manifest, but with no avail, sadlyby Wilaroth - WinDev Forum
Hi Pete, thanks for the reply. I've tried SysIdentifier and it works, even among different apps, IF: -Every app has the same signature; -The user on the phone is always the same; -There will be no factory reset on the phone. Otherwise, it will change everytime. For the time being I will use your suggestion, but that's a pity that SysIMEI, which returns the same value on the sby Wilaroth - WinDev Forum
Hi everyone, I've developed an Android app that uses SysIMEI (which is equivalent to SysSerialNum) so i can differentiate and recognize the Android phones that have my app installed. Sadly, as the Windev help says, this function no longer works for Android 9 and above. Is there another function/way to replace SysIMEI? TIAby Wilaroth - WinDev Forum
Hi Peter, what kind of control do you have in your looper? I had the same problem on trying to selecting a row of a looper exactly on the description of an Edit control, and that prevents it. If that's your case, try swapping the edits with statics, or insert a Button with an invisible background, as big as the entire row of the looper, move it in the foreground (via the Modification paneby Wilaroth - WinDev Forum
@infos yes, exactly, with that integration it begins to work even on android 8 and 8.1, not sure of the versions above though @Arie thanks for the tip, i'll surely try thatby Wilaroth - WinDev Forum
Hi Ariel and Bob, thanks for the replies. What I was missing was indeed the REQUEST_INSTALL_PACKAGES permission to be inserted directly in the manifest. Couldn't find this one in the wizard, so i've just added a child node called uses-permission, and with the attribute android:name android.permission.REQUEST_INSTALL_PACKAGESby Wilaroth - WinDev Forum
Hi, actually using WM23. With the method described by infos, I can get it to work on devices with version 7.1 or lower. However, when i try to do the same on a device with 8.0 or greater, at the ShellExecute function it doesn't open the window for upgrading / installing the apk. How can I fix this?by Wilaroth - WinDev Forum
jtadebruin@gmail.com Wrote: ------------------------------------------------------- > Thank you, that works perfectly.by Wilaroth - WinDev Forum
Hi Jan, tried to read in a proper way the AndroidManifest.xml included in the .apk, but with no avail (the AndroidManifest.xml included seems to be cripted). Googled for "aapt dump badging", and it seems that aapt is an useful tool to obtain what i'm trying to achieve.. If I have Android Studio installed on the machine. I'm kinda lost on how to proceed...by Wilaroth - WinDev Forum
Hi, tried to rename the APK to ZIP, and extracted the AndroidManifest.xml. Upon opening the xml (with various programs, such as notepad, notepad++, Internet Explorer, ...), the content is just gibberish, and the value i'm searching for is not there. Am I doing something wrong?by Wilaroth - WinDev Forum
Hi infos, tried with RunExe, but without success. I think that the message is the only possible way, sadly.by Wilaroth - WinDev Forum
Hi, Is there a way to retrieve the version of an Android app from a Windev application and without Android Studio installed on the machine? I tried with ExeInfo(exeVersion,"MyApplication.apk") but it doesn't work. Any help would be appreciated.by Wilaroth - WinDev Forum
Hi infos, thanks for the reply. I tried your code, but at the time it tries to install the new version, it says "There was a problem while parsing the package.". I tried changing the destination folder from fExeDir() to SysDirExternalStorage(1,sseAppDownload), and this time it says "App not installed. The package appears to be corrupt." Am I missing something? P.S.: Iby Wilaroth - WinDev Forum
Hi everyone, I am also interested in this method of updating applications. Have you found a final solution to it? TIAby Wilaroth - WinDev Forum
Hi cabinetman, thank you for your reply. Where can I find that example?by Wilaroth - WinDev Forum
Hi everyone, I'm trying to create a simple app that reads a barcode on the built-in scanner and then writes it in a simple Info. Have you already done such a thing? And if so, can I have some hints on how to do that, please? P.S.: Searching for clues on it has led me to an EMDK that can't be installed unless I have Android Studio installed on the machine. P.P.S.: Is it possible toby Wilaroth - WinDev Forum
Hi everyone, I wonder if anyone has been working with .xsl type of file, making or importing something to make a previewer or something like that. TIAby Wilaroth - WinDev Forum