Antoine Cellerier
c0c769c5a8
Add widgets to android port.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29170 a1c6a512-1295-4272-9138-f99709370657
2011-01-29 20:47:32 +00:00
Antoine Cellerier
ef980355c8
Move android notification display format logic to java code (no functional change, this is used by FS #11902 ).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29132 a1c6a512-1295-4272-9138-f99709370657
2011-01-24 17:10:56 +00:00
Thomas Martitz
f5a461d182
Android: Rework notification and change icon sizes to better meet the systems' standard.
...
The notification now announces the new track on track change, and the the area in the scrolled down notification area shows track infos (title, artist, album).
Someone should check if it looks good on hdpi and ldpi screens as I can't verify it right now (emulator crashes).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28785 a1c6a512-1295-4272-9138-f99709370657
2010-12-10 18:41:09 +00:00
Thomas Martitz
919651a5e1
Those DeleteGlobalRef() should be DeleteLocalRef().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28516 a1c6a512-1295-4272-9138-f99709370657
2010-11-06 01:45:21 +00:00
Thomas Martitz
739d76cfda
Android: Use our translations for the yes/no/ok/cancel buttons in the yesno and keyboard dialog.
...
Second part of FS#11708.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28515 a1c6a512-1295-4272-9138-f99709370657
2010-11-06 01:40:24 +00:00
Thomas Martitz
988bdc1cc4
Android: Use wakeup objects instead of polling for the dialog results in the keyboard and yesno dialog, allowing a lot of code to be removed.
...
First part of FS#11708
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28512 a1c6a512-1295-4272-9138-f99709370657
2010-11-06 01:01:01 +00:00
Maurus Cuelenaere
493732167d
Android port: NewStringUTF() JNI call doesn't need freeing, these will get garbage collected.
...
Also use strncpy instead of snprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28495 a1c6a512-1295-4272-9138-f99709370657
2010-11-05 18:17:23 +00:00
Jonathan Gordon
b92eabd38b
Use a native yes/no dialog instead of rockbox's internal one on android
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28415 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 13:12:01 +00:00
Thomas Martitz
2d05d2f9da
Clean up r28408 coding style a bit to follow our guidelines with regard to
...
brace placement, tabs and 80 char line width.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28410 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 12:00:03 +00:00
Jonathan Gordon
cc758e42b9
fix a mem leak by calling the corect ReleaseString method
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28409 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 11:53:36 +00:00
Jonathan Gordon
eaff333bf5
Use a Native keyboard GUI instead of rockbox's internal one on android
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28407 a1c6a512-1295-4272-9138-f99709370657
2010-10-31 10:35:55 +00:00