hi,
  I am trying to write my own home application.I am trying to reuse
the sample code as provided in the samples folder of the SDK.
  My idea is to try removing all the applications that are shown in
the home application i.e. Desktop shortcuts and as well as the
application listings when we press the menu button.
 I was going through the sample code (Home.java) where I found out
that the applications are maintained in home application as [RECENTS]
[FAVES] [BUTTON] .

And Home.java one can see code as

       loadApplications(true);
       bindApplications();
       bindFavorites(true);
       bindRecents();
       bindButtons();

commenting out any one them or setting them as FALSE, leads to the
launch of the default Home application not the one that I modified.
Anybody has any idea why it is happening?Is it Android's some sort of
security model??

Even  does anybody have any  idea how to add any new application as
favourites at  desktop from code level?

Or whether this changes are possible at the SDK level or it has to
done at the source code level ,where all the applications are part of
the system image.

Regards
Arindam

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to