Visibility
by Aviral » Wed, 09 Jun 2010 17:47:10 GMT
Sponsored Links
I noticed that we can set a view invisible by using setvisibility()
function. Is it possible to do so for drawables also?
I want to hide an application icon which I have installed. Is it
possible??
--
Visibility
by Kostya Vasilyev » Wed, 09 Jun 2010 18:16:27 GMT
This is controlled in the manifest file. Just remove launcher categories for
the activity.
09.06.2010 13:47 "Aviral" <aviral...@gmail.com> :
I noticed that we can set a view invisible by using setvisibility()
function. Is it possible to do so for drawables also?
I want to hide an application icon which I have installed. Is it
possible??
--
Sponsored Links
Visibility
by Aviral Shrivastava » Wed, 09 Jun 2010 19:31:22 GMT
Hi Kostya
Thanks a lot for the info...
But is it possible to access AndroidManifest.xml from the code..
What I want to ask is...
Can I remove launcher categories for the activity(from AndroidManifest.xml)
while I am still running the application.?
the next time, it should not show the icon...
Thanks..
2010/6/9 Kostya Vasilyev <kmans...@gmail.com>
>
Visibility
by Justin Anderson » Wed, 09 Jun 2010 23:48:53 GMT
I don't think that is possible because the manifest is part of the signed
APK. Changing that would invalidate the signature. Why would you want to
do that anyway?
----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------
2010/6/9 Aviral Shrivastava <aviral...@gmail.com>
>>
Visibility
by Aviral Shrivastava » Thu, 10 Jun 2010 20:18:51 GMT
HI...
Thanks for the info...
I want to remove the icon of the application that I have installed and want
to get it back depending upon my choice. That is, the apk should remain in
the system. But a user should not be able to access it by normal
conventional means. Later, he should have the choice of making this icon
visible again and then be able to use it.
Thanks again
2010/6/9 Justin Anderson <janderson....@gmail.com>
>>>
Visibility
by Aviral Shrivastava » Sat, 12 Jun 2010 11:46:04 GMT
Hi Mark,
It worked, totally in the manner I intended it to.
Thanks a lot for your help.
>