Hi all,
I am new to Android development and am still very much in the learning phase but I wanted to share what I am working on with the community. In the name of having a open source music player that can be freely modified I have extracted the CyanogenMod music player and ported it to be used on the Skyrocket. To date I have added in some very basic support to for podcasts but plan on making more mods in the future to support bookmarking of audiobooks.
As I said, I did this In the name of keeping an open community so I am willing to share the source code to whoever PM's me (I didn't post it due to not knowing the policy on such things).
Changes in this version:
1. Option to ignore prev/next bluetooth button pushes while playing podcasts
2. Option to delete podcasts after playback
3. Option to ignore bluetooth stop commands while playing podcasts (this is a fix for loosing the bookmark on podcasts when shutting off Toyota cars while playing)
Intallation:
adb remount
adb pull /system/app/music.apk skyrocket-orig-music.apk
adb push music.apk /system/app/music.apk
using a file manager install music.apk
Thanks,
Dave
hi there~!! thanks a tons~!! i was looking for this!!
but i'm having a prob here...i installed it on my htc diamond(VGA screen) and Xperia X8(HVGA screen) and having this prob the app not correctly resizing itself to my screen~it seems that this app is too wide..~
it looks like you designed it only for widescreen phones? no?
please assist me ><
and this may be late but, damn this is damn good!! i love this player!! you did a great job~!
thanks a lot
Related
Hi
I want to extend the existing android music app so one can make bookmarks in their mp3s (useful for audiobooks in mp3 format)
if there is an android mp3 player which already has this feature please let me know
otherwise:
i have downloaded the android source code (release 1.0) and have modified the music app to store and load a bookmark (for now i just save the value of the position of the mp3 and it isn't linked to a specific mp3. (for now!)
When i build the app using make in the android folder and replace the Music.apk on my phone ( it runs JF1.43 ) i get an exception starting the music application ( NullPointerException in a row which is blank in the actual source code, so the row numbers in the exceptino and the rows in the source don't seem to match )
This also happens if I don't change anything in the downloaded sourcecode.. I just compile and replace the apk and i get an exception...
Pushing the same apk on the emulator works... it starts and works without issues...
is the android version on my phone (JF1.43) no compatible with the source code i downloaded (release 1.0) ?
If so what to do to get the source which is compatible ?
Since this didn't work I made a copy of the music app and renamed the package... normally installing the compiled apk of the renamed music app works... (although there are some popups asking me:
Complete action using:
Music
MyMusic (i named my modified version mymusic)
i guess it is because the intents have the same name... renaming them should fix this but I would prefer replacing the existing Music application
Thx for any help
Did you re-sign the apk using JF's test keys?
...
hm no i did not...
how to do it ? (still new to this )
i didn't really find anything useful in the forum...
is it the testsign.jar in JF's build environment ?
if it is: I tried using it but I still got exceptions on the phone
On your original question, I've been looking for this feature too. Merdian Player (available for free in the market) has this feature. It remembers the last music file played and the exact position, and even after closing/rebooting it will resume playback at that position.
Evo's default music app handles M3U playlists easy, which is great but unfortunately doesn't support it's unicode twin - M3U8. M3U8 and M3U playlists are exactly same thing (minus utf8 encoding), so I really see no reason why HTC didn't include it in their supported-playlist-formats list.
Knowing Android is open source and hoping that HTC did the same, did HTC release source code for their Music app? I'm new to android, but not new to programming. I'll have no problem in adding M3U8 support to HTC's music app but couldn't find any source code to work with. Anyone here has or could point me in right direction to the HTC Music source code (if there are any)?
Tanks!
PS: probably could have posted in the dev section, but being new to android and owning HTC Evo, felt that posting in Evo's app section was appropriate
HTC apks and framework are closed source.
bummer... seems like its back to editing smali code again
I take that back....
Tried 3 different music apps: doubleTwist, HTC Music, and Nemo Player. All three are from different companies/developers yet they all seem to run on same database. Same music files, same albums, same playlists - including those which I already manually deleted from sdcard but for some reason still show up in all three players.
Conclusion? Those music apps are nothing more that just a UI for android's music engine, well maybe except some minor features that each app tried to add to android, but other than that - they do same thing, using same database.
My first thought is that the android core is the one that scans sdcard for audio and playlist files and stores the results in public database. Now, if that's true then, since android is open source, I'll simply have to track down where in the android code does it differentiates between "valid" and "invalid" playlist file.
Anyways, so much for that. See ya in few days while I try digging deeper into android code
EDIT: using notepad++, I changed all M3U playlist char encoding to UTF8, which technically is not a proper M3U file, but android properly parsed the non-ansii characters as I wanted. WOW!
Android is the ONLY mobile OS that was able to play UNICODE m3u playlists by default! Now I'm even more happy with Evo than I was
Hi all,
I'm the developer of Shuttle Music Player (formerly AMP).
Shuttle is a lightweight, simple & elegant music player for Android. It's based on the AOSP Music Player, with inspiration from the previous Google Play and the current Google Now.
Shuttle includes a built in equalizer, gapless playback (4.0+), queue support playlists, highly customizable widgets, sleep timer, scrobbling, dashclock support and more.
Shuttle has been on the Play Store for almost 6 months now, and is nearing 50.000 downloads!
Screenshot: imgur.com/og6Irh5
Link: play.google.com/store/apps/details?id=another.music.player
Hey man, I love your app. Is the only player that works correctly on my phone :victory:.
Do you think there's a possibility to add ReplayGain support? I have some music that makes use of it and I can't enjoy them correctly because lack of that function.
I think it is Apple app when I see the shuttle
Jackos.Ch said:
Hey man, I love your app. Is the only player that works correctly on my phone :victory:.
Do you think there's a possibility to add ReplayGain support? I have some music that makes use of it and I can't enjoy them correctly because lack of that function.
Click to expand...
Click to collapse
Thanks for the compliments, glad you're enjoying it. Replay gain is beyond the scope of Shuttle for now.. Since I use the Android API's for media playback, and there is no inherent support for replay gain.. So, it's not planned at this stage, sorry.
I think it is Apple app when I see the shuttle
Click to expand...
Click to collapse
I don't quite understand..?
timusus said:
I don't quite understand..?
Click to expand...
Click to collapse
I think he means Shuttle has a good design/UI.
timusus said:
(...) So, it's not planned at this stage, sorry.
Click to expand...
Click to collapse
What a pity... Still the best player, though.
Today installed Shuttle+. Like it very much,nice UI.Only issue I have : While playing music, the EQ doesn't open and the app force closes.
After noticing this ,in CWM recovery I wiped cache,wiped Dalvik cache and fixed permissions on my leaked 4.2.2 Samsung S3 ROM. Problem persists.Can open EQ when there's no music playing,works fine then.
Imo EQ should be editable when playing music,as in Google Play Music.
Any thoughts and/or advice on this ?
Necro-post! Hopefully the dev is still around?
I'm switching from Google Play Music to Shuttle due to the fact that I don't like the way GPM behaves in 4.4.4 when I swipe it from the Recent Tasks (it stops playback, which is mind-boggling nonsense for me).
Is there any way to Import the playlists I have on GPM into Shuttle?
It would be nice to have the apk available as an attachment on the first post or a link directly to apk, instead of playstore.
ZCochrane said:
Necro-post! Hopefully the dev is still around?
I'm switching from Google Play Music to Shuttle due to the fact that I don't like the way GPM behaves in 4.4.4 when I swipe it from the Recent Tasks (it stops playback, which is mind-boggling nonsense for me).
Is there any way to Import the playlists I have on GPM into Shuttle?
Click to expand...
Click to collapse
Why shouldn't he not? App is still in progress...last update few days ago to 1.4.8 (go to play store and there is a link to his community)
I like the player
[emoji106]
vergilbt said:
Why shouldn't he not? App is still in progress...last update few days ago to 1.4.8 (go to play store and there is a link to his community)
I like the player
[emoji106]
Click to expand...
Click to collapse
I didn't know about his community. I knew the app was actively developed, but when I wondered if he was still around I mostly meant I was wondering if he was around here on XDA forums. Apparently he isn't though.
Hey there, I want to start off by saying I love your app - truly a marvel of development. I plan on buying Shuttle+, but before I do I have a couple of questions:
1. What exactly does it mean when it says I can edit "some" tags? I seem to have an issue where the files I have added to my phone (OnePlus 2) that are of the same album do not go together, but instead create 2 or 3 separate albums. I do not have this issue with my iPod, and believe it is a tagging issue but I can't find any differences in the files themselves. Also will I be able to add or change artwork?
2. I have this issue where I am seeing double. But when I go to settings > apps > all, there is no "media store", but rather "media storage". Are these the same thing? Again, I am using OnePlus 2.
Thanks
Hi !! Just got Shuttle+ from the play store. I was looking for a nice alternative to HTC stock player (discontinued on the HTC10) and I found your feature-packed app wonderful ! Built in EQ is a great plus. Keep up the good work, glad to contribute by getting the pro version !
One feature I really liked from another app I tried (don't remember the name) is the possibility to blur the album cover on the lockscreen. Makes for a beautiful look while listening to music !
Thanks again
I have been diggin into xda to see what I could do about syncing my nedia into my device using itunes or something like that and found this post:
scottietohottie said:
I like the sound of this.
there are lots of people who slate iTunes, but after having an iPhone and moving to Android. I would suggest that people have not used iTunes fully. My wish list
Program
Links to podcasts (text, mp3 and video)
Option to auto download podcasts as above
Integrated music player
Integrated music ripper
Folder updater for album art, meta data etc
Integrated video player
Integrated video ripper
Plug phone in
Option to auto start a program
Option to auto sync
Option to auto check for update
So far if I want an auto sync comparable to iTunes I need a music client, video client podcast client and for backups, I need to root my phone and do it on my phone.
It is easier to have these clients on my phone but still not as easy.
Cyanogen mod do have an updates button in the settings. This could be given a short cut on the home screen. One click (check), one click accept. Phone auto reboots and updates. I believe this is only set up for release candidates though.
The confirm bit on cwm. in the clock work mod folder add a file called
.noconfirm
if I remember correctly this gets rid of the multiple no, no, no, no etc.
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
What do you guys think about that? Any developer could explain if is possible and viable? I really like to keep my library in order, with album art, songs named correctly, etc and it could be awesome to just sync a Playlist from iTunes into the phone and keep it synced everytime i plugin the phone.
The steps would be like that:
Open iTunes and set your library up with covers and music info
Create a new playlist with all the music you want into your CyanogenMOD Android Device
Open the CM Sync (name sugestion) and select which (one or more) playlist you want to keep synced into your device
Let it sync and we are done.
CM Sync could have more option too, for example:
Auto updater for official supported phones using the built-in updater script of CyanogenMOD;
Organize launcher icons
Simple video converter to make sure you dont put a video with more pixels than you have on your phone
(Can you guys make more suggestions?)
Usually, there are two ways of playing music on Android device. You can either use your headphones or a speaker. But how about a third option?
The purpose of this app is to enable the users to listen to something when they do not have earphones and they don't want to use speakers.
When you are with someone and you must listen to an audio file e.g. a voice message, etc. you can now listen to it using your device's earpiece (from which you hear phone calls) using this app.
This is useful not just for usual audio files, but also for podcasts, and comes in handy for when you forgot to bring headphones and do not want to disturb those around you. Stealth Audio Player enables you to make good use of the tiny speaker to listen things which should not play from the main big speaker.
Download from Play Store:https://play.google.com/store/apps/details?id=com.appsbyusman.stealthaudioplayer
FEATURES:
Plays any kind of Audio from the earpiece of your device.
Plays Videos on screen and their audio is routed through the earpiece.
Folders Browser lets you locate specific files.
Ignore Folders option under Settings makes a Blacklist of folders to ignore.
Basic and functional Audio and Video players.
Dedicated lists for Audio and Video files.
Option to remove ads in Settings screen.
UPDATES:v17:
THIS IS A MAJOR UPDATE:
*** VIDEO PLAYER ***
Now you can play VIDEO files using this player - the audio will come through the earpiece!
v16:
Introduced a PRO UPGRADE to remove ads
Introduced a Settings screen where you can add some folders to the ignore list.
v14 (Major Update):
Folders support: Now browse any folder on your device to look for and play specific files.
New Navigation Drawer: All the sections of the app in one place.
Partial ***VIDEO*** support: Open a video file from a folder and the app will play its audio (more support will be coming later).
Previous (v13):
All crashing issues fixed!
Performance improvements.
Player becomes untouchable when the phone is near the ear (to avoid accidental touches).
WhatsApp audio messages will not appear in this app.
"Unable to read file" issue fixed.
Excellent concept.
this app is very helpful when i want to listen something without disturbing others and my earphones are out of my reach.
Thanks man! I really appreciate your feedback
Please support more audio code, it support only mp3, i use m4a itunes
Ok I'll see if it works. Currently it supports mp3, ogg, and wav files.
Just published an update to this app. Here's the summary:
The app now supports m4a file format, in addition to mp3, ogg, and wav files.
Few bug fixes and performance improvements.
Amazing work dude!!! thanks
I'm glad that you like it. Thanks for the feedback
Left a comment in Google Play and that's not very common for me.
Simplicity and ease of use are outstanding. Good work!
Wysłane z mojego SM-G930F przy użyciu Tapatalka
Cool brogood job:good:
Man, from at least 2 years i wish to have an app like this... Incredibly useful. Trying it in some minutes, thanks a lot.
Guys thanks a lot for all the feedback and reviews! I have published another update just now. Here is a summary of what's new:
v1.2:
Now supports EPI file format.
External sd card is supported.
v1.1:
Now supports m4a file format, in addition to mp3, ogg, and wav files.
Few bug fixes and performance improvements.
usman farhat said:
External sd card is supported.
Click to expand...
Click to collapse
Just what i thought to ask you as I made a jump here again. Now that's everything i could desire. Thanks again
I'm glad that you like it
A couple of ideas that i could suggest to you to make this lil' app just perfect in every aspect, is first - adding an option to search music; second - add a side slider to reach alphabetically a certain letter.
I'd like to premise that these ideas could be useful just in my opinion, where i don't wanna use this as daily player obviously, but with more than 50 songs the research become huge and hard... What do you think?
A+ for the idea Nice, light-weight application. May it be useful to create the sticky notification with the control buttons and the name of the track? It will be shown when the app is running, and the song is playing. Several times, I have minimized the application instead of closing it or at least stopping the playback, put the phone in the pocket, and the music continued playing
RedSkull23 said:
A couple of ideas that i could suggest to you to make this lil' app just perfect in every aspect, is first - adding an option to search music; second - add a side slider to reach alphabetically a certain letter.
I'd like to premise that these ideas could be useful just in my opinion, where i don't wanna use this as daily player obviously, but with more than 50 songs the research become huge and hard... What do you think?
Click to expand...
Click to collapse
Thanks for the feedback.
There is already an option to search music. You can search by Title, Artist, or file name.
About the slider: That would be very useful. I also want to implement it, and I will probably bring an update about it but right now I am working on making the app crash free for all devices.
onix.avacom said:
A+ for the idea Nice, light-weight application. May it be useful to create the sticky notification with the control buttons and the name of the track? It will be shown when the app is running, and the song is playing. Several times, I have minimized the application instead of closing it or at least stopping the playback, put the phone in the pocket, and the music continued playing
Click to expand...
Click to collapse
The nature of this app is that we only hear the audio while the device is attached to the ear. In this position I don't think there is a need to bring features of full fledged music players. The users will stop hearing anything as soon as they are able to interact with their devices so there will be no use of bringing the notification controls.
This app is not a music player, it's more of a utility for hearing the audio in a different way.
However, I do have plans to better manage the minimizing of the application. This will be addressed in near updates.
usman farhat said:
Thanks for the feedback.
There is already an option to search music. You can search by Title, Artist, or file name.
About the slider: That would be very useful. I also want to implement it, and I will probably bring an update about it but right now I am working on making the app crash free for all devices.
Click to expand...
Click to collapse
You're right, didn't noticed the lens icon in the upper right space. Maybe because i didn't reboot the phone after the last update..? Anyway I've seen that the list of available mp3s have to be reloaded by filename every time that the app is launched. You think that a preload of the list like a normal music player could ever be made someday?
Thanks to you for the creation of this app.
I have been trying to preload the data with different approaches. But it's getting a little tricky. I am gonna try something new tomorrow, which will hopefully make it A LOT more stable, and I am positive that the files will show up faster and with more stability than all previous version.
An update was also published today (evening) which addressed several crashing errors which the complainants are reporting to have been rectified now.