Suppose i have installed an application onto my device - Now is it possible to add a button to some layout of it without redeploying the whole app using plugins/service kind of thing ?
You app will have to have the built-in functionality to download additional interface components.
However, there is no standard way to do this.
NO...this cant be done...
every time you need to reinstall the application on your emulator or the hardware device
there is no way you can do partial update of the application
Related
my goal is to get a video from a usb connected device (an easycap video grabber) displayed. There is already an android app that does exactly that. However i need to add some buttons and some extra functions to it. So i came to the idea of displaying the app that already exists inside my app. Is that possible in any way?
I already tried to decompile the existing app to edit the code a bit but i didn't get anything to work with.
Do you have any other idea? If you know how to program that please let me know what i need to achieve that.
Thank you!
This cannot be done due to security reasons in the Android OS itself.
Android provides a security layer called the Sandbox in which the OS assigns a User ID for each app, so that an app will not have permission to access resources from another app.
Hello Android developers,
Im more or less expierenced in Android programming and now i want to create an app that is allowed to access the display of another app or the activity that is less my app. Both apps should be active, should run. My app shall access the display data of the other app (also can be android system display), change it a bit and then show it again.
Is it possible without root rights?
Is there any Android support class that could help me? Which way i can go?
I hope my problem is clear and you can help me!
Ok now I have a more detailed question: How can open my app and show a transparent RelativeLayout, so that you can see what is below my app?
Thankyou a lot
Martin
If both applications are yours, you can access the other Activity using a connection between them (sockets, pipes, shared files, etc.)
If you'd like to create an overlay and display something on top of the other app, you can do that using a 'system window' popup. For example: Popup window in any app
If the other app is an arbitrary software without any modifications, such thing is not possible as it would lead to security issues. Both applications are Unix processes running in their own sandboxes without any direct communication.
I know it may sound weird but i was wondering for few days that can i launch any android app in my android app's layout? I searched in the google but couldn't find any answer.I know that app's have ability to send the user to another app based on an "action" it would like to perform.But i would like to know can i run the app in my app's layout??Suppose i have an app that has a layout called activity_main and now i want to replace the activity_main's layout with the app i want to call so that the called app is running inside my app.Thanks in advance to anyone who can clear my doubt??
can i launch any android app in my android app's layout?
No.
You cannot run any Android App inside your App.
But, you can run a WebApp [thats adaptive designed] inside your Android App.
In my application i have done all the process and they are working very well. Now my device needs only one application or other application must not come front to the user's view..
Can I make my Application as Default application or the only application viewable by the user?
To avoid the unnecessary usage of other applications or to keep time consumption I plan to try this.
Would I need to change anything in the Manifest.xml file of this solution solve this?
You cannot do this on a stock device. Your best bet is to create a launcher that only allows launching your app. The user needs to agree to run it however, and it can always be changed and/or disabled in Settings.
how to make application lock for android mobile.how to lock the application. I have done locking the home screen i.e the entire mobile, but im not sure how to lock particular application.
For this situation you need to catch the listener event to lock the installed apps..
I have to say that I don't quite get what you're trying to di.
If you're trying to prevent people from using an app after it's downloaded the only way I can think of is having an HTTP(S) request done to a server with an identifier that is set the first time the app is run and check a DB to see if it can run (set a boolean flag shouldRun or something like it).
If you wat to prevent it from being copied from one phone to another, you can use the Google Play built in option to prevent it.
if this is what you're trying to achieve, you should probably obfuscate your code as well
obfuscating code on android
There is currently no support in the Android SDK to reliably do this. The application locking apps that are currently on the market aren't reliable in that they exploit a security loophole and put themselves in the foreground when you try to run a given application. This can be bypassed without much difficulty if you know how, and the security flaws they exploit will hopefully be closed. Sorry.