I am currently working on a project that i am trying to add an icon making competition and the winner will receive a special app plugin that only the contest winner will get and i would like my app to check if the package(special app plugin) exists on the users device and if it does i would like the app to display an alternate display on run-time.Would i use "if" and "else" statements to achieve this and if so how would i go about this andThanks in advanced. Note:I have successfully made the app load a different layout depending on the android version so i have a little bit of an idea but need some help. | ||||
you can change your xml file according to your requirement in onCreate().. as i did in my code, for the different density i used different xml file.
| |||
default
.
stackoverflow.comm
No comments:
Post a Comment