[android-developers] Block application install

2016-07-03 Thread Adrian Tudor


I want to make an application that block all new applications install. 
(Block all .apk install and all play store install)


I don't have root access on my device. So when i want to install an app, an 
popup with a password should appear.


I just want to block all. I searched but didn't find anything useful. I 
just need some hints how can i do that.

I'm not looking for the exact solution, just looking for the mechanism and 
for some documentation/explanation.



I found i can catch an app when it launch and ask for a password then. But 
isn't that doesn't help me.


Also i found the AppRestrictionEnforce but didn't found what it does.

Also found the device administration class but i didn't find in it a way to 
restrict the apk install.

Or after the installation can i block the packages so the user can't access 
that application with not a specific permission? 


There are some application in play store that can do that, you can select 
on it only some application that you want to allow to be installed.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/d047c5d7-e3ad-4627-a0cb-c903365e6db5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Block application install

2016-07-03 Thread 'Dario Dorando' via Android Developers
There is an app called "Package Installer", which installs every package
(apk & Playstore). You can simply set a password query for this one. This
prevents every application from (un-)installing unless you enter the right
password.
Am 03.07.2016 11:24 vorm. schrieb "Adrian Tudor" :

> I want to make an application that block all new applications install.
> (Block all .apk install and all play store install)
>
>
> I don't have root access on my device. So when i want to install an app,
> an popup with a password should appear.
>
>
> I just want to block all. I searched but didn't find anything useful. I
> just need some hints how can i do that.
>
> I'm not looking for the exact solution, just looking for the mechanism and
> for some documentation/explanation.
>
>
>
> I found i can catch an app when it launch and ask for a password then. But
> isn't that doesn't help me.
>
>
> Also i found the AppRestrictionEnforce but didn't found what it does.
>
> Also found the device administration class but i didn't find in it a way
> to restrict the apk install.
>
> Or after the installation can i block the packages so the user can't
> access that application with not a specific permission?
>
>
> There are some application in play store that can do that, you can select
> on it only some application that you want to allow to be installed.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/d047c5d7-e3ad-4627-a0cb-c903365e6db5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAKj6oe6oafx%2BV30knp_ec5ywWR9sQBCxWfrN3772SAXjuB9VmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Block application install

2016-07-03 Thread Adrian Tudor
I wasn't able to find that app. But i don't want an app, i want to build an 
app :)

On Sunday, July 3, 2016 at 6:23:37 PM UTC+3, Dario Dorando wrote:
>
> There is an app called "Package Installer", which installs every package 
> (apk & Playstore). You can simply set a password query for this one. This 
> prevents every application from (un-)installing unless you enter the right 
> password.
> Am 03.07.2016 11:24 vorm. schrieb "Adrian Tudor"  >:
>
>> I want to make an application that block all new applications install. 
>> (Block all .apk install and all play store install)
>>
>>
>> I don't have root access on my device. So when i want to install an app, 
>> an popup with a password should appear.
>>
>>
>> I just want to block all. I searched but didn't find anything useful. I 
>> just need some hints how can i do that.
>>
>> I'm not looking for the exact solution, just looking for the mechanism 
>> and for some documentation/explanation.
>>
>>
>>
>> I found i can catch an app when it launch and ask for a password then. 
>> But isn't that doesn't help me.
>>
>>
>> Also i found the AppRestrictionEnforce but didn't found what it does.
>>
>> Also found the device administration class but i didn't find in it a way 
>> to restrict the apk install.
>>
>> Or after the installation can i block the packages so the user can't 
>> access that application with not a specific permission? 
>>
>>
>> There are some application in play store that can do that, you can select 
>> on it only some application that you want to allow to be installed.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-developers+unsubscr...@googlegroups.com .
>> To post to this group, send email to android-d...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/android-developers.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-developers/d047c5d7-e3ad-4627-a0cb-c903365e6db5%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8b0c37bd-add0-43e8-a3b9-9972cf285a94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Block application install

2016-07-03 Thread 'Dario Dorando' via Android Developers
This app is a preinstalled system app used to install other apps... if you
restrict access to this one, you are done.
Am 03.07.2016 7:42 nachm. schrieb "Adrian Tudor" :

> I wasn't able to find that app. But i don't want an app, i want to build
> an app :)
>
> On Sunday, July 3, 2016 at 6:23:37 PM UTC+3, Dario Dorando wrote:
>>
>> There is an app called "Package Installer", which installs every package
>> (apk & Playstore). You can simply set a password query for this one. This
>> prevents every application from (un-)installing unless you enter the right
>> password.
>> Am 03.07.2016 11:24 vorm. schrieb "Adrian Tudor" > >:
>>
>>> I want to make an application that block all new applications install.
>>> (Block all .apk install and all play store install)
>>>
>>>
>>> I don't have root access on my device. So when i want to install an app,
>>> an popup with a password should appear.
>>>
>>>
>>> I just want to block all. I searched but didn't find anything useful. I
>>> just need some hints how can i do that.
>>>
>>> I'm not looking for the exact solution, just looking for the mechanism
>>> and for some documentation/explanation.
>>>
>>>
>>>
>>> I found i can catch an app when it launch and ask for a password then.
>>> But isn't that doesn't help me.
>>>
>>>
>>> Also i found the AppRestrictionEnforce but didn't found what it does.
>>>
>>> Also found the device administration class but i didn't find in it a way
>>> to restrict the apk install.
>>>
>>> Or after the installation can i block the packages so the user can't
>>> access that application with not a specific permission?
>>>
>>>
>>> There are some application in play store that can do that, you can
>>> select on it only some application that you want to allow to be installed.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to android-developers+unsubscr...@googlegroups.com.
>>> To post to this group, send email to android-d...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/android-developers.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/android-developers/d047c5d7-e3ad-4627-a0cb-c903365e6db5%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/8b0c37bd-add0-43e8-a3b9-9972cf285a94%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAKj6oe7YrYoYx4kbz9x6Xze_KksehL%3DT1oT-Om_oKw4R6Lq5-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.