Android Widget and Notification updates

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Android Widget and Notification updates

Postby jsr » Wed Jun 29, 2011 1:59 pm

I made some updates to the widget and notifications in the android client. These are based off the 2.9 version. Is there any way to get these patches put into the main subsonic app?

Updated Widget:
Image
http://www.ragtop.org/upload/subsonic/widget-2.9.patch
http://www.ragtop.org/upload/subsonic/widget-res-2.9.zip


Updated Notifications:
Image
http://www.ragtop.org/upload/subsonic/notification-2.9.patch


Binary:
http://www.ragtop.org/upload/subsonic/subsonic-2.9.apk


Note that if you are listening to a song for the first time that has not been preloaded, you wont get cover art. This is because the cover art is not available at the time that the notifications and widgets are updated. Fixing this for notifications would require sending multiple notifications, which is bad. The widget could be fixed, but it would require major changes to the ImageLoader to give widget friendly image sizes and push out widget updates.
Last edited by jsr on Fri Jul 08, 2011 4:49 am, edited 1 time in total.
jsr
 
Posts: 43
Joined: Wed Jun 29, 2011 1:30 pm
Location: Gilbert, AZ, USA

OooOooOO

Postby jooprzol » Wed Jun 29, 2011 3:48 pm

Installed! Those are some great changes! Hopefully they get merged into mainline... :-)
jooprzol
 
Posts: 6
Joined: Fri Apr 29, 2011 7:29 pm
Location: Oklahoma

Postby vancamp » Thu Jun 30, 2011 5:28 am

I'd still like to see a 2x2 android widget (with album art). The MixZing one looks (and works) quite well.
vancamp
 
Posts: 40
Joined: Wed Aug 11, 2010 7:00 am

Postby SparkyRih » Thu Jun 30, 2011 12:37 pm

The widget won't show up on my tablet (Android 3.1)?
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby jsr » Thu Jun 30, 2011 1:21 pm

SparkyRih wrote:The widget won't show up on my tablet (Android 3.1)?


Does it not show up in the widget selection area or just not show up once you select it and try to put it on the homescreen?

I don't have a tablet, but I briefly tested it with the super slow emulator and it worked.
jsr
 
Posts: 43
Joined: Wed Jun 29, 2011 1:30 pm
Location: Gilbert, AZ, USA

Postby SparkyRih » Thu Jun 30, 2011 2:20 pm

jsr wrote:
SparkyRih wrote:The widget won't show up on my tablet (Android 3.1)?


Does it not show up in the widget selection area or just not show up once you select it and try to put it on the homescreen?

I don't have a tablet, but I briefly tested it with the super slow emulator and it worked.


It doesn't show up in the widget list...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby jsr » Thu Jun 30, 2011 2:34 pm

OK, I'll test it with honeycomb again when i get home.

Can you please verify that you installed on internal memory and not external (SD)? Installing a program on external memory causes all widgets to be unavailable.
jsr
 
Posts: 43
Joined: Wed Jun 29, 2011 1:30 pm
Location: Gilbert, AZ, USA

Postby SparkyRih » Thu Jun 30, 2011 2:36 pm

jsr wrote:OK, I'll test it with honeycomb again when i get home.

Can you please verify that you installed on internal memory and not external (SD)? Installing a program on external memory causes all widgets to be unavailable.


I installed this widget like I do with all other widgets and apps, so I don't think that could be an issue, but I'll check to make sure...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby sog1971 » Sun Jul 03, 2011 1:26 am

Beautiful widget changes. You are my hero.

This is exactly what I was looking for.
sog1971
 
Posts: 3
Joined: Sat Apr 10, 2010 6:28 am

Postby jsr » Wed Jul 06, 2011 2:09 pm

SparkyRih wrote:I installed this widget like I do with all other widgets and apps, so I don't think that could be an issue, but I'll check to make sure...


Can you try re-installing it? What tablet are you using?

I've tested the widget on the Android 3.0 emulator and two different Samsung Galaxy Tab 10.1's, both running 3.1. I have not been able to reproduce the problem.
jsr
 
Posts: 43
Joined: Wed Jun 29, 2011 1:30 pm
Location: Gilbert, AZ, USA

Postby sindre_mehus » Thu Jul 07, 2011 8:36 am

Looks awesome!

I'll review your changes and include them in a later version.

Thanks a lot for sharing!!

Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby jsr » Fri Jul 08, 2011 4:54 am

Thanks, Sindre.

I just updated the patches and binary to for the 2.9 version.
jsr
 
Posts: 43
Joined: Wed Jun 29, 2011 1:30 pm
Location: Gilbert, AZ, USA


Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 4 guests