Hello!
First of all - thank you very much for the fabulous home screen mod!
There is, however, a slight problem I was hoping you might help me to overcome: I am currently writing a small programme which will allow me the use sub-tags in my books. The programme itself is working reasonably well, but I seem to be unable to add a button for it correctly to the homemod.xml-file.
I have tried adding it with the following definition:
Code:
...
<homeScreenApps>
...
<item>app_genres</item>
...
</homeScreenApps>
...
<customAppDefinition name="app_genres" title="Genres">
<iconNormal>ic_wiki.png</iconNormal>
<iconPressed>ic_wiki_pressed.png</iconPressed>
<componentName package="biz.triangular.genres" class="biz.triangular.genres.Genres" />
<intentAction>android.intent.action.MAIN</intentAction>
<intentCategory>android.intent.category.LAUNCHER</intentCategory>
</customAppDefinition>
...
(Never mind the icon!)
The button displays correctly and the application launches correctly as well, BUT - the home-button does not work from within my programme. To exit my application I have to press "back" instead of "home". It is of course a slight, yet quite irritating, bug, which I seem to be unable to resolve. I am not even sure where the error lies: When I start the programme from the launcher on the third page, the home-button works as expected: I exit the app and get to the first of the three home-pages.
Any help in resolving this problem would be very much appreciated!
Cheers!
Tom
PS:
After further examination it turns out that the problem occurs only on the first page. Whenever I add the custom button to the second or third page I can exit my application with the home-button.