LG G3 Receives Oversharpening Fix via Modified Kernel

Nothing is perfect, as they say. No matter how alluring or seemingly perfect, … more

APKTool Updated with Android Lollipop Support

One of the beauties of Android is the level of flexibility we have over our devices. Whether … more

Lollipop Leak for Sprint Galaxy S5, TWRP for Micromax Canvas Magnus – XDA TV

Android 5.0 Lollipop has been leaked for the Sprint … more

Velocity is Like OpenTable on Steroids

We all enjoy a night out with friends or our significant other from time to time. However, there is … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP] FLAC/APE Player [March 11 Update]

OP avs333

24th October 2009, 04:19 PM   |  #1  
avs333's Avatar
OP Senior Member
Thanks Meter: 287
 
203 posts
Join Date:Joined: Apr 2005
I am not an application programmer but sound is very important for me.
I didn't find any flac players for Android, so I wrote a simple program myself.

The interface is rather ascetic because I'm not a java programmer.
The program plays any FLAC, APE or uncompressed WAV file, or all such files in a directory.
Hope somebody will contact me and write a really good flac player for Android.

---------------------------
[Updated on November 24]

Here's the completely rewritten version.
It's much more stable and smooth, and has a better interface.
No need to use command line to set the required permissions, it'll call for the root access if it fails to open the sound device in read-write mode.

---------------------------
[Updated on December 31]

(1) At last, found a way how to make the interface indeed responsive!
(2) Added WavPack (*.wv) and MusePack (*.mpc) support.
(3) Added a simple Settings menu to change font size and overall appearance.

---------------------------
[Updated on January 30]

(1) CUE files support
(2) Playlists support

See post http://forum.xda-developers.com/show...03#post5499903 for details.

---------------------------
[Updated on February 12]

(1) ROOT ACCESS IS NOT REQUIRED ANYMORE
(2) On request, playback of lossy files supported in Android

See post http://forum.xda-developers.com/show...99#post5603599 for details.

---------------------------
[Updated on February 25]

(1) Added support of non-rooted Android 2.0 & 2.1 devices
(2) Improved interface (now shows track time/progress)

---------------------------
[Updated on March 11]

(1) Added support of Apple Lossless Audio Codec (aka ALAC)
(2) Added auto-bookmarks so that you can exit and then restart exactly where you were playing before
(3) New icon and buttons (thanks to the people from 4pda.ru!)

(Minor update on March 12) Fixed a bug not flushing the buffer at the start of each track; auto-bookmarks as a user option.
(Minor update on March 14) Fixed sdcard write permissions in manifest

Please backup and uninstall the previous version before installing this one, it uses different SDK/NDK setup!!!

The sources are now available via SVN at http://code.google.com/p/andless.
Attached Thumbnails
Click image for larger version

Name:	andLess.jpg
Views:	5776
Size:	41.9 KB
ID:	262462   Click image for larger version

Name:	device.jpg
Views:	3686
Size:	44.2 KB
ID:	286079  
Attached Files
File Type: apk andLess.apk - [Click for QR Code] (200.8 KB, 7481 views)
Last edited by avs333; 16th March 2010 at 09:27 AM.
The Following 4 Users Say Thank You to avs333 For This Useful Post: [ View ]
24th October 2009, 04:53 PM   |  #2  
avs333's Avatar
OP Senior Member
Thanks Meter: 287
 
203 posts
Join Date:Joined: Apr 2005
It plays either FLAC or APE, both lossless and lossy.
Unless you're deaf, you'll hear the difference if you get proper headphones.
Last edited by avs333; 24th October 2009 at 05:01 PM.
24th October 2009, 05:15 PM   |  #3  
Member
Thanks Meter: 1
 
50 posts
Join Date:Joined: Jun 2006
Cool Awesome
awesome stuff ive been looking all over the place for something like this. now i have to figure out how to root my hero . these commands give me the chills. you should have this on the marketplace


before we get into flac/lossy wars. what's important is that you don't have to convert any flacs to mp3 in order to put em on your phone. just drop and go. very helpful. that being said i dont think you can hear a diff. id have to own some grado headphones to test it out. i imagine the people who are getting headphone jack problems will cringe when they see this . good work ! thanks !
25th October 2009, 01:01 AM   |  #4  
Member
Flag Science City Zero
Thanks Meter: 0
 
33 posts
Join Date:Joined: Aug 2009
More
Fantastic! Thank you so much for this!
25th October 2009, 02:38 AM   |  #5  
naTTan's Avatar
Senior Member
Flag Sungai Buloh
Thanks Meter: 4
 
158 posts
Join Date:Joined: Feb 2009
More
Can this made indefinitely part of the rom?
25th October 2009, 03:36 PM   |  #6  
avs333's Avatar
OP Senior Member
Thanks Meter: 287
 
203 posts
Join Date:Joined: Apr 2005
Quote:
Originally Posted by naTTan

Can this made indefinitely part of the rom?

Kruton has written some patches which are currently included in cyanogen ROMs for G1. I tried to compile them for Hero, no success so far: the library he uses (libFLAC) seems to have certain bugs and won't reconstruct original encoded sound. On the other hand, this program uses the decoder from Rockbox project which I'd recognise as the greatest code ever written for mobile devices (including their ROMs for ipod etc). It's halfway in assembly language, and decodes flac/ape files EXACTLY as they were encoded.
25th October 2009, 06:51 PM   |  #7  
naTTan's Avatar
Senior Member
Flag Sungai Buloh
Thanks Meter: 4
 
158 posts
Join Date:Joined: Feb 2009
More
Ok sorry is there a possibility that we should ask modaco to implement this into his roms from now on? There won't be much loss is speed right? And it's a good gain to play some other format of sounds.
25th October 2009, 11:25 PM   |  #8  
avs333's Avatar
OP Senior Member
Thanks Meter: 287
 
203 posts
Join Date:Joined: Apr 2005
Personnaly I'd be delighted if Modaco inserts the flac code in his ROMs! However given that the hero sources just appeared on the scene, he might have more important things right now (e.g. to port 2.6.29 kernel, etc).
26th October 2009, 11:06 PM   |  #9  
Junior Member
Flag Dublin
Thanks Meter: 1
 
9 posts
Join Date:Joined: Jul 2009
More
Thank you very much for this!!

I would also love to see this make it in to modaco ROMS
26th October 2009, 11:14 PM   |  #10  
Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Nov 2008
Quote:
Originally Posted by avs333

Kruton has written some patches which are currently included in cyanogen ROMs for G1. I tried to compile them for Hero, no success so far: the library he uses (libFLAC) seems to have certain bugs and won't reconstruct original encoded sound. On the other hand, this program uses the decoder from Rockbox project which I'd recognise as the greatest code ever written for mobile devices (including their ROMs for ipod etc). It's halfway in assembly language, and decodes flac/ape files EXACTLY as they were encoded.

I think the only reason I used libFLAC is because of the licensing. There's not much chance of getting the LGPL-licensed ffmpeg library included in Android. However, they are already using the Xiph License which is what libFLAC uses.

Who knows. Maybe they're actually going to include ffmpeg in the future and we'll have FLAC at that point!

Post Reply Subscribe to Thread

Tags
lossles, musepack
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes