Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Android SID/MOD/etc player
2010-08-02 16:06
Sasq

Registered: Apr 2004
Posts: 155
Android SID/MOD/etc player

I am working on a SID/MOD player for Android called Droidsound and need some beta testing...

* Music goes into MODS/ on sdcard
* Requires Android 1.6
* Uses sidplay2 (and modplug + GME)
* Indexes zip-files (like C64Music.zip)
* Title search
* CSDB metadata browsing

(To try out CSDB browsing, put "csdb.dump" in your MODS dir)

The player (and csdb.dump) can be found here:

http://swimmer.se/droidsound/files/

 
... 22 posts hidden. Click here to view all posts....
 
2010-08-13 15:41
Sasq

Registered: Apr 2004
Posts: 155
Beta5 in the usual place.

NEW: SID songlengths & Shuffle playback

A bunch of bugs fixed - and probably introduced a couple of new ones.

(TIP: Create a playlist, Set it as default, Add complete directories of your favorite musicians, Turn on shuffle and enjoy).

(TIP 2: You can add all songs from one playlist to another).


2010-08-14 12:47
Sasq

Registered: Apr 2004
Posts: 155
Quote: Works great! It would be nice if the buttons on my HTC headset worked too. (Play/Pause, Fast forward, Rewind)

New beta5d Supports the media button (Click to Pause/Unpause, Squeeze to skip song).

I don't know how reading the other buttons on the HTC Headset works - your app must be in the foreground with the screen turned on for it to receive normal key events (like the KEYCODE_MEDIA_* buttons which I assume HTC uses) - which is kind of pointless for a headset.
2010-08-16 09:50
Stone

Registered: Oct 2006
Posts: 170
The headphone buttons still don't work. I've googled a bit and it seems KEYCODE_HEADSETHOOK is the way to handle play/pause. The other buttons, I don't know. They work in the Spotify app, so I guess there must be some way to do it. Perhaps I'll download the sdk and give it a go myself, even though I hate cygwin with a passion.
2010-08-17 07:11
Sasq

Registered: Apr 2004
Posts: 155
They really should work, that is exactly the button I handle and it works with the Samsung headset.

Note that I intentionally ignore events unless the player is playing or paused.

(PS. You can't actually read the button since then it only works when the screen is on and the app is in the foreground, you listen for MEDIA_BUTTON broadcasts).
2010-08-17 07:54
Perff
Administrator

Posts: 1674
Works fine on my HTC. (Desire running 2.2)
The only thing is that the headset that came with the phone got 3 buttons. One for play/pause and two for skip forward/backward.
All buttons works the same way in DroidSound. Would it be possible to distinguish them?
(Or perhaps there isn't a totally common standard for these things?)
2010-08-17 10:21
Stone

Registered: Oct 2006
Posts: 170
I'm using a Nexus One with Android 2.2

Perhaps my problem is due to some priority issue, where the key events are absorbed by some other app. I found some interesting comments in the following code:

http://code.google.com/p/csipsimple/source/browse/trunk/CSipSim..

                //
                // Android 2.2 has introduced a new way of handling headset
                // action button presses. This involves registering to handle
                // the button presses every time one needs it and unregistering
                // once the button events are no longer needed. Last app to
                // register gets the focus.
                //
                
                ...
                
                //
                // Register am event receiver for ACTION_MEDIA_BUTTON events,
                // and adjust its priority to make sure we get these events
                // before any media player which hijacks the button presses.
                //
                IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_BUTTON);
                intentFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY - 1);
                service.registerReceiver(headsetButtonReceiver, intentFilter);
2010-08-18 08:18
Sasq

Registered: Apr 2004
Posts: 155
New Beta, New video
http://swimsuitboys.com/droidsound/

Hopefully other media buttons are supported now.
2010-08-18 10:24
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
now you changed the url again...

this app needs its own website, dont have to be super design, just a short note what it is, a link to video, and a download link to the app :D
2010-08-18 10:39
Sasq

Registered: Apr 2004
Posts: 155
Quote: now you changed the url again...

this app needs its own website, dont have to be super design, just a short note what it is, a link to video, and a download link to the app :D


Well I got 2 out of 3 :)

Also the link was to beta6b instead of 6c, fixed now (6b did not contain the media buttons fix).
2010-08-18 12:09
Stone

Registered: Oct 2006
Posts: 170
I just installed beta6c and my headset buttons still don't work :(
Other than that, I love this app. Thanks for the great work you're doing!
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
rexbeng
chesser
MWR/Visdom
Nordischsound/Hokuto..
Frida Katarina
Alakran_64
Harry Potthead
New Design/Excess
pcollins/Quantum
Linus/MSL
mutetus/Ald ^ Ons
lA-sTYLe/Quantum
iAN CooG/HVSC
Didi/Laxity
Broti/DT/KRN
Guests online: 96
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Morph  (9.5)
8 Dawnfall V1.1  (9.5)
9 Onscreen 5k  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Performers  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Veto  (9.6)
3 Facet  (9.6)
4 The Sarge  (9.6)
5 Carrion  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.054 sec.