how to extract the apk of my app in delphi 10.3? - android

I need to extract the APK of my application when it is installed, I know there is an application called APK EXTRACTOR which performs this task, but in my case I want to extract the apk myself from delphi code.
So far I have only been able to find the APKs of pre-installed applications on the phone in the path "/system/app" and "system/priv-app" but internally I cannot find the apk of my app.

I recall a long time ago a file manager did a backup
of all the applications.
It puts all the APKs in a directory on the phone
It was on the GOOGLE market.
It might help to find out how he does it.

Related

Is it possible to create an APK to install media files, no application

We have a situation that is requiring me to create a stand-alone APK that will install media files only, that can be access by other system software. On this platform, there are no concerns for file access. I only need a method for bundling the media files into an APK, so that deployment would be simple
APK stands for Android Application Package. There should be at least one activity if you would like to publish it on Google.Play.

Is there a way to install an apk remoramente without the user having access to the apk file?

We want to test with an application developed in Android Studio, we currently generate the APK file and install it in the devices of the testers, but for security reasons we don't want the APK file to remain in their devices, therefore after installing the application we delete this file.
There are some services to distribute the APK, but what they do is to send an invitation by mail to download the file and which remains in the downloads folder.
The idea is that this file is downloaded somewhere that isn't so easy to access the user, something similar to the play store, which I think downloads somewhere unknown, install the application and then deletes the apk.
Any suggestion or comment is welcome.

test android application by not developer

What the best way (in terms of efforts) to test android application by ordinary users (that have no ability to install android sdk, connect usb cable and so on things)?
I see two variants:
Google Play + alpha/beta versions restricted only for several users, but according to this delay may be several hours, and it is too long for me.
Is it possible to reduce this time delay to several minutes? Is it possible to automate, so our CI upload apk file after each commit?
Publish apk file on our web server, so user can install it via download. But I tried this way by myself, and for some reason apk file was openned by program that can open zip files, and this program not suggest install it, I have to install additional file manager, find apk file in download folder and install it with help of file manager. Is it expected behaviour for android, when I open external apk file?
may be there is more variants?

Can't find Custom App APK

I built my first android app a few months ago and had it installed on my phone. After a few weeks I lost the app from my Windows PC because of a new installation of Windows. Now I need the app and it still resides inside the phone but I can't seem to find the apk file anywhere! I have tried looking in the app and app-private folders and also in the data folder but no luck. Any help would be appreciated.
Regards,
Owais
If that application still installed in your device then you can get that APK definitely
Find a application on play store named apk extractor.
It will be ask you for paid but skip it and install it, then there will be list of applications after installing apk extractor.
Just select the application for which you want apk.

Install location system apps

I have been building a custom ROM and I added some pre-build apk's to this ROM.
When I actually flash the ROM I do see that those new "system apps" are preinstalled.
Still I was wondering about the location of the installation?
When I search on the net everyone actually refers to /system/apps/ as the location, and yes the precompiled .apk files are there. Still it's just an apk, a compressed file not an installed app.
Normally when I install an app it's resources/files are placed under /data/data.
So now I would like to know where a pre-build system app gets installed?
In my specific example I actually ship some binaries and some scripts (as assets) with my app, which when being installed as a non-system app, can simply be found under /data/data/my.app.name/bin
The funny thing is that when I start the app after it has been supplied as a system app in my ROM it will actually be able to see the supplied script files, yet when I search for those I cannot find them!
Just curious if anyone knows how a system app installation actually works, what are the performed actions, why can I only find the .apk and not the "decompressed" installation directory?

Categories

Resources