Is there a way to disable android market? - android

Is there a way to disable android market ? Say for a device admin or anyone for that matter ? How does ATT do it ? Have they asked mobile manufactures to modify the Android src accordingly ?
Edit : Can this be done on non-rooted device ?

You needn't modify the source.
The Market is just another app, but its typically stored in the /system/app directory which is read-only without root access. If you root the device, or if you're a manufacturer you simply need to remove the vending.apk from /system/app.

Related

Install Apk Silently in Android programatically without ROOT

I want to install app silently in android without using user prompt and without ROOT.
I know this question has lots of answers but i can't find proper answer for same.
i.e is it possible if we make app as device admin or device owner or profile owner ?
Thanks for advance.
It's not possible, the only way for skip user prompt, is to be root and place the apk on the system folder instead of app folder
If the apk is in the system folder you can install it silently easely, but the system folder can only be access with ROOT

On my android device, superuser and normal user see different /sdcard folder

On my android device, superuser and normal user see different /sdcard folder. In details, when I login as a normal user, in the /sdcard folder, I can see many files. However, when I login as a superuser, in the /sdcard folder, I can only see a single file. I am confused about this observation. Can somebody tell me why?
Are you using SuperSU?
If yes, please disable namespace trimming (or similar) in the settings.
You may have the pro version for that. If you don't want to buy it, enable Freeload.
Also which android version do you have?

Auto install Android App after copying to SDCard

I know this is may or may not be possible,but I just want to confirm is it possible in android or not?
So here it goes,Let's say I have an android app ( example my_app.apk) ,I copied my_app.apk from my computer or through pendrive or downloaded from website to my android device( let's say I copied to /sdcard/).I have also activated install app from unknown sources in my phone settings.
Now is there any way through which I can make the App to auto install on the device as soon as I copied to /sdcard folder? I mean my_app.apk should kick auto installation on the device without user navigating to /sdcard of the device and selecting the app and clicking the install option.
I just want to know is this possible in Android? if Yes how can I achieve that? I don't want to use other third party applications to kick off installation,instead the app should kick installation itself as soon as it gets copied to /sdcard folder.
Any help would be appreciated.
I think that is not possible. It is possible to have Android app which checks some folders and detects new file and automatically install new apk files. To install apk package ordinary (from SD card) you should activated installing from Unknown sources in settings. Auto instalation packages aren't possible, because it could be security problem.

Does copying Android application from device to device copies the data as well?

I want to protect my application from being copied by users from device to another device. I know that wont be possible because once the apk is installed any third party application may be able to copy or extract the apk. I mostly care about the private data of the application rather than the apk itself. So, my questions are :
1- Can I protect the apk from being copied to another device by the user ?
2- If user copied an application from device to another (e.g. via third party app or by bluetooth) will he/she be able to copy the private data as well ? If yes, can I protect that ?
Thanks in advance.
To answer briefly, AFAIK, No.
Regarding the single questions:
if device is rooted it's really easy to access the /data/app/ dir and copy your apk, even on the device itself.
For un-rooted devices you need to issue some adb commands. For reference, look here:
https://stackoverflow.com/a/11013175/1865860
https://stackoverflow.com/a/17135554/1865860
How to get a list of installed android applications and pick one to run
the same applies to /data/data/com.example.app/ for the private app's data. Just different folder and possibly many files to copy.
Basically the difference it's not in having root or not, but in the ease of realization.
you can use google licence in your app even if its copied from rooted device it wont work until its downloaded from playstore
second /data/data/<packagename>/ can be copied from rooted device

How to backup the installed application's .apk file?

How to take backup the installed application's .apk file in device or emulator which we're using by programmatically. Thanks in Advance.
Eventually, the Android OS is a Linux OS.
If you have root access to your device, you can copy the protected files and do whatever you want with them.
The APK files are located in the /data folder.
I am sure this kind of programming not possible (May be possible for rooted phone), because just consider if this is possible then paid application's Apk can easily available in market in free of charge, so if this is the case then what does it mean to develop paid android application?
Even though, it is possible then i am really interested to learn this programming snippets.

Categories

Resources