i’m really freaking out cause i don’t know how to find example or documentation for my issue. I developed a kind of Ndroid Market that let you download .zip file and save the in the sd (ex root\download). Each zip contains an icon and an html web application (ex. Icon1.ico and Application1.html). When the download is finished MyMarket unzips the application1.zip file and puts it in a folder.
What I would like to do is to find out how to add the application1.html to the list of my application using icon1.ico as icon, basically I’d like that if someone clicked on the menu button of the phone in the list of my application is shown one with the icon1.ico image, but how to to that? I can’t find any code example.
And then the second step. I have to develop both this alternatives and then someone else will choose beetween them
-
When i click on the icon1 on the list application the default browser is opened and the html application is run inside it….
-
The most difficul, when i click on the icon1 MyMarket Application is opened but with a parameter, like when in java you run program1 but with one argument that you can retrieve in the argv array. So for esample if i click on the MyMarket icon or on the Icon1 icon the same application is started but then MyMarket check if the “argv” is empty and if it’s not and for exmaple there is a string “application1” it open another activity with a webview and run the html file inside it.
That is not possible for most home screen implementations. The only things shown in a standard launcher are activities, from APK files, flagged as belonging in the launcher. You cannot create these on the fly.
You are welcome to make your own home screen that offers your desired behavior as a feature.