Block acces to other apps in android [closed] - java

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
Good evening, I am a student from Spain, developing an app in java about sports, that when it's time to workout it prohibits you to use other apps (such as candy crush, facebook...) until you finish it. I don't know how to translate this in code or even if it's possible.
I think it's not illegal, as long as you ask for permission from the user before installing?
I've seen some apps like parental control apps that do a similar thing, and I think it's the same, am I right?

Hi Alex it is possible just start a service when your app starts and check package name according to your prohibited lists
visit
also
and when app closed stop the service.

Related

How can I control other application in my phone [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 11 months ago.
Improve this question
I am a beginner in programming Android applications in Java. I want to know how to control or change something, for example, cut off the Internet on another application. Is there a way or suggestion. Thank you
I don't think it's possible unless you are the developer of both and remove the permission for both apps, see: Can an app give its permission to another application in android?

If android apps can't access other app code, how can one app check another for viruses? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to create an android application to scan other applications for viruses, or malicious code etc. But to begin with, I'm trying to figure out how existing anti-virus scanning systems operate.
I don't think its rooting, because there are a lot of anti viruses that don't need rooting. If I have to guess, I would say it scans the files for signature. And they access the files similar to how file explorers work. Someone more knowledgeable can correct me.

Background listener for pollfish survey availability for android [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm a new android developer so excuse me if i ask too much. The thing is i would like you to write me an example of the way i could listen, in background, for survey availability of pollfish (sdk documentation here: https://www.pollfish.com/android) using a service or something.
I've tried searching for background listeners in google but the only thing i found was about location background listeners.
Edit:(He means to say is there a way to listen for survey availability even in the background when app is closed, and he can! by using background task and the alarm manager, if someone can, link to the answer will also help✌🏻).
Any help is appreciated!

Get information on Usb Zwave key in Java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to get informations about a Zwave usb key in java, to access to its functions because I would like to write a program who can handle different connected devices using Zwave network.
Someone have an idea to get access to this informations and functions in Java ?
(Sorry if there are some misunderstanding in my sentences, I'm not English)
There are 2 frameworks to access USB devices in Java. Both wrap native libraries. One is specifically for HID devices (not sure of this applies to ZWave). I dont know if they have all the features required to speak to your zWave devices, but they would be the first thing to try.
http://www.usb4java.org
https://code.google.com/p/javahidapi/
Both implement the JSR-80 javax.usb API (which might be too high level).

Licensing a java web based application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am developing a web application that will be sold later on, and was wondering how to add the concept of license to it, so that I can avoid it's piracy, and it can be used for given period of time only?
You can have a centralize licence server , have a DB to check user's status , expose this thing using webservice so that any of your app can consume it.
I've seen Java enterprise tools do the usual serial number/license file thing. Worked pretty well for them. All you'd need to do is put some static code in the application that would execute when the JavaEE container loads the WAR file and have that check the serial number.

Categories