Create a code that installs an application and runs only that application - android

I need a device that runs only one custom application and does not allow the Users to access any other features. Building a complete device would involve a lot of time and money for sure(only if this can be done with android). This can usually done for each android device seperately. It could be better if there could be simply a piece of code that can be simply executed on the device that installs the application and at the same time restricts the device as per requirement.
Could someone advice me a way to implement in the Android devices. Is it something possible :(
Would also like to know if the same is possible with iOS..
Thanks..

If you want to be absolutely sure that users cannot do anything but accessing one specific app, the only way to do this is to create a custom ROM that allows to install your app only.

Related

Way(s) to make Android app only close-able by password?

For a POS system is there a way or ways to make an application harder to close?
The desire is to have employees be able to use the device and the application, but not use other applications.
The implementation does not necessarily require a password. So far the answers I have seen on similar questions suggest this is not possible. Except in Lollipop per this question : How to make an app unclosable?
Are there any options for older APIs?
Or am I just out of luck?
That is not possible as a feature of the API since the Android system is in control of what is executed or stopped. And that could mean that your app gets stopped for a number of reasons.
To achieve what you are asking for you will need to create your own distribution of the system. I have no experience of doing that but it basically means creating a rom and distribute it.
That would of course be an option if the device running the POS app is only used for that particular task.

Android App monitor

I would like to create an app to monitor the communication between applications on my android. for example app A access my contacts 10 times; my app should be able to give me that info.
any idea what I should use? the permissions? what android class will be good to look into ?
Fortunately, what you want is not possible in general, for bindlingly obvious privacy and security reasons.
In the specific case of wanting to monitor other apps' use of ContactsContract, you are welcome to download the Android source code, modify it to leak this information by one means or another (e.g., log it), and create a ROM mod from your revised version of Android. Installing that ROM mod on your device would then allow you monitor those communications. Outside of this, the most that you can do is set up a ContentObserver to see if apps change contact data, but you will not know what apps make those changes, let alone general read access to contacts.
Other aspects of Android app functionality might be monitorable on rooted devices without a custom ROM mod, and there is the occasional thing that can be monitored even without root.

Android application and inter-app file access

Hi I have been tasked with investigating the feasibility of developing an anti-malware app for Android. I am led to believe that Android apps run in their own 'sandbox' and have no permissions to scan outside that sandbox.
How is it then, that apps (eg. antivirus) already exist that must be able to test files in other apps' areas? I don't imagine an antivirus program would be very effective if it could not test files phone-wide. How would this be done?
Thanks for any advice!
It is true that an app is run in their own 'sandbox' but it doesn't mean it is confined to not access outside the sandbox. I'm assuming by sandbox you mean the apps virtual machine or something of that sort.
For instance you can exchange information and talk back and forth between 2 apps using Intents, which lets you grab information from one app into the other. Again there are 2 ways of looking into it, this can be considered as a feature which lets you access outside stuff or as a security vulnerability. Which leads back to glass half-full or half-empty scenario.
I'm not sure if I understand your dilemma correctly. But hope this helps.

Develop android application with device ROM customized

Currently I am developing an android application. This application should load when the device boot and it should restrict all the inbuilt & other applications. I have searched in forums as it can be possible by make our ROM customized. But this process can be do manually by ourselves. I want to make this by coding. Or is there any other way to make my application default?
If you want your app to be default - yes, you haven only way to build your own custom android.
Only what you can do on your default android system is to automatically load your app after OS have loaded.
You're not stating precisely what you intend to do. The words restrict and default can mean a lot of things.
Despite what dilix writes, one way you might succeed with what you want is if you make your app a launcher. A launcher plays an interesting role in the system.
However, you cannot force anyone to really use it. But that wouldn't be possible either way, right? Unless you talk to device manufacturers.

How to execute apk inside another apk

i'm developing an app that runs in some tablets. these tablets are rooted and the user that uses that can't go out the single app that tablet run. If i want to use an external app inside my app is possible? Like an emulator inside my app.. Thanks!
Technically to run android application inside android application you need and android emulator on your Android device, which needs lots of CPU, and is neither implemented now, nor a good solution for any problem that you may be facing. Theoretically it's possible but technically - very complicated and to my mind useless.
You should try to find a more elegant solution rather than this. The simplest thing you can do is to make incapsulated switching mechanism between your restricted apps or think about solution how this apps can be integrated.

Categories

Resources