Until now, I only develop apps for myself or for close friends.
I don't sell apps so I'm not interested in Google Play.
So, I upload for a personal site I have, give the link to my friends,
and they download the APK.
Next they install the app and delete the APK for saving memory space.
How can I install directly my apps from my site without download the APK?
Thank you
APK shouldn't be taking that much space but what you can do is this:
1) In your MainActivity, have a method where you search for APK file in the phone external storage. (the example searches for ".pdf", change the extension to ".apk")
2) Then use a APK parser library to get the package name of the APKs found.
3) If the package name equals to your package name, delete that file.
Make sure to call that method on your onCreate() of your main activity.
Hope this helps.
Related
Using the Sketchware app and Android, I am trying to export to the Google Play store, I have to select the .json for the service account to allow it to publish the app.
However, when I try to select the .json file I have downloaded to my phone, I navigate to the directory the .json file is stored in then when I try to click on it, it is greyed out and I cannot click on it.
(P.S.: I have tried contacting Sketchware support. However, it has been over three days now and I understand due to coronavirus the response may be delayed, but I thought I would ask here if anyone has a solution.)
Why are you publishing the app directly from Sketchware to PlayStore?
You better sign the apk usin APK SIGNER app and manually upload the APK to the Play Console.
I have never used Google Play Console before, but I think this could help you:
Download your app
Using Apk Extractor (play.google.com/store/apps/details?id=com.ext.ui) is a software that will help you to get APK file from an pre installed app from Android ONLY. Using this software you can actually get an APK or Android Package that you can use while publishing app
There are many application available on Google Play that can convert your app file to AAB format.
Yes, download Apk editor and select generic key or test key (try them out, there's a few) in settings in the app, and edit the API version to the correct number. And set up a Google Play console account.
Yes, we do have a solution. Send the file to WhatsApp. Then share it from WhatsApp, choose file manager, copy the file to the place that you want, open sketchware, choose the file that you added in the JSON file, and enjoy.
I am writing an application where inside application wanted to identify from which URL-Source apk is download. Is there any way to get it.
Basically I wanted to know how many times apk is install from given URL.
Any suggestion here!!
I am writing an application where I need to find download URL of apk. Is there any way to get it.
No, because there is no download URL. APKs are installed from local files. How the APK got to be a local file (downloaded from a URL, received in an email attachment, copied over to external storage via USB cable, etc.) is not something that you can determine.
Basically I wanted to know how many times apk is install from given URL.
You are certainly welcome to use product flavors in Android Studio/Gradle for Android to create custom APKs based on distribution channel, where those APKs have a custom value baked into them (e.g., buildConfigField mapping to a BuildConfig field).
My requirement is to develop an Play store like application. Where, developers will be uploading their Android .apk file.
Checking on the mobile application side can be done only with applications package path. Which requires the package path to be taken manually or by reading the .apk file of the application using library.
a) Making developer to enter application package path is not best of practice,
b) I searched online and found not any way to read the .apk file.
I am not sure if my approach is correct, please correct me if I missed something.
There is an api/toolkit android-apktool.
for reading the .apk and xml meta-data
That should help
I had a concern about the security of my android app.
I developed an app uploaded it on market and got more than 1 lac downloads. I also uploaded my app on Mobango(android store). On monago a persom can download my app's .apk file.
So if any person acn download .apk file of my app, he can upload it on other android store.
I have tried this I downloaded my app's apk from mobango and successfully uploaded on other android store.
My concern was anyone can steal my app and reupload with his name.
thanks
Yes we can reuse the .apk file and extract the source from it .......
This is a worry for all app developers on Google Play store. I've seen Google Chrome plugins which allows to download any apk from the store if you're brave enough to put your google login details and the device ID of your phone.
What you can do is obfuscate the content of the APK using something like ProGuard, which makes it hard to decompile.
Documents say:
The ProGuard tool shrinks, optimizes, and obfuscates your code by
removing unused code and renaming classes, fields, and methods with
semantically obscure names. The result is a smaller sized .apk file
that is more difficult to reverse engineer.
But you can see that it says that is more difficult to reverse engineer and so in theory it is not impossible.
Note that when you use ProGuard tool,you have to create a key.So if any body change your code and recreate another .apk from it this .apk can not publish as update or another version of your origin .apk .
Does it matter what I name the final .apk file that I will be uploading to the android market? Can the user see the name of the file?
No, name of .apk file is ignored and user will not be able to see it. You can name .apk in whatever way is convenient for you. Android Market only parses the internals of .apk files and extracts all the information it needs.
Also, when .apk is installed on the device it named as <package.name>-#.apk. For example: com.google.zxing.client.android-2.apk or com.estrongs.android.taskmanager-1.apk. Though this is not documented and just an observation.
I have noticed the package name of app on the prompt message when application got crashed.
Package name is also visible for some time, when device is loading package screen in settings. If device is acting slow, I can see the package name of the application.
So you can take care of package name.