yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mort:
No, afaik the SDK doesn't allow that (at least didn't find something). (OK, maybe I could start a 2nd MediaPlayer instance shortly before track ends... but I think that'd be pretty hard to time correctly...)

But the gaps are pretty small, at least on my Milestone. I had some intro / song follow-ups where I barely noticed the track change.

I try to focus a bit more on usability than on features for this one. The WM version became "a bit" bloated and complicated over time...
[Android Apps and Games] Merman1983:
This is great news! I plan to get an Android as my next phone. It will be great to see my favorite WM application there. :)
[Android Apps and Games] the_fish:
Yet another "New MusicPlayer?" suggestion

Hey Mort!

i really love the idea of a new music player for android (finally someone did it :))

however what i (and i guess a big part of the community) prefers is a player with a library like the default android player. I'm NOT telling you to change something on MortPlayer, i am just suggesting that a nice new app would be a MusicPlayer that has:

- Nice library with SIMPLE listview, not extended listview as in default music player

- Tabs instead of those buttons for Artist, Album, etc.

- Backgroundservice that prohibits the player from being crashed when running in the background

- Theme Support(?)

- Widget / maybe even LockScreen plugin? (dunno if that is doable)

just suggesting.... not telling you you have to do this :) but everyone would appreciate it, as the amount of 3rd party players is in my opinion. Either they are slow, or totally overloaded with features, buggy, or incompatible...

P.S.: Shouldn't be too hard as Android has a MediaService that recognizes and puts the whole Music in a library, so all you would have to do is an interface for that service.
[Android Apps and Games] sthoeft:
just wanted to say THANK YOU for bringing my favorite Audioplayer at Win Mobile to Android too. I really loved MortPlayer for Win Mobile and I'm shure that I will also love Mort Player for Android. Please do also a decent Audiobookplayer because the players availible aren't even worth to mention.
[Android Apps and Games] Branwen:
Like the remote pop-up. So far looks quite good.

Would like it to maintain functionality first- coverflow etc. will be nice, but keep it usable first :)
[Android Apps and Games] archboy69:
Thank you for dev this. Android still needs a good media player that is simple and still nice to use and look at. I was using Meridan player which was fine but just kind of boring. This on the other hand is nice from what I seen/use so far. It shows that you can make app easy to use and still pretty to look at!
[Android Apps and Games] Mort:
Sorry, don't think this will be anytime soon. IMHO there are enough alternatives for that, even the new one from Androi 2.1 probably would too soon become a reasonable alternative.

What's wrong with extended listviews? It's not harder to select an item and saves space. I was thinking about it myself.

If I add tags browsing, of course this will be the case.

If the player window isn't visible, only the background service is running. If Android decides to kill the service, there's not much to stop it from doing so - with all bad side effects. All I can do is restart the service when it's required...

Pretty hard to do while maintaining flexible adjustment to different screen sizes. I was thinking about some selectable themes (i.e. colors, button styles, etc.) and layouts (i.e. where is what) and selectable background images in a later version, but of course that's not even close to skinning...

Widget's there. I think there's some tool to add a Widget to the LockScreen, but I don't think that's a good idea anyway. Just imagine you start the player accidentally in office...

Yeah, I know that service. It sucks (imho). It seems pure luck when it detects new files, has several bugs in tag reading (some of my files were shown with weird chinese texts), doesn't offer a quick and easy way to get the tags to a given file, ... That's why I use own ID3 and database routines.

As told, it's planned. However, I can only support encodings Android supports, so no Audible and the like... :(

Think so myself. ;)

I guess nobody would've said that about the WM version... :D

Well, it's a better system and learned from some errors in the past...

Attached is a preview of the next update. It contains quite some changes (database, sleep timer, headset support, some bugfixes, ...), so it'd be nice if it's a bit tested before I upload a worse than current version to Market...
[Android Apps and Games] Mort:
Next try... I think this one should be stable and fast enough to publish it in Market. But better safe than lots of 1 star ratings... ;)
[Android Apps and Games] Mort:
Bugfix, now folder navigation should work again.
[Android Apps and Games] rickylcp:
Thx Mort for the great effort again!

I used Mort Player in wm for long time and it works like a charm!!!

And now u are contributing to Android. You are always the best dev i met!!!

Little suggestion, are A2DP and AVRCP possible in ur masterpiece?

Once again, thx and YOU ARE TE MAN!!!!!
[Android Apps and Games] Mort:
Of course. A2DP is done by Android anyway, and AVRCP handling is quite easy (once you discovered MEDIA_BUTTON means all media related buttons...). I wish it was half as easy and stable with WM...

However, on HTC hero you need "headset button enabler" (in Market) because it doesn't send the correct "intents".

Update: New update available in Market.
[Android Apps and Games] rickylcp:
The latest v0.3.3 works very well!!!

Now the AVRCP works with my Liquid~

5-starred MortPlayer in market! thanks!

You are the MAN!!!!!!!!!!!!
[Android Apps and Games] alapapa:
5*'s

<3

thx for your work

EDIT: I found what seems to me like a bug (or at least an unexpected feature...). If I touch the widget it brings up the remote control pane and functions properly on my G1 (cm4.2.13). If i touch "Show main player" it does. From here, if I hit the home button, the next time I touch the widget, I get the Main intent instead of the remote. If I hit the "back" button from the Main player, the widget again shows the remote control pane as expected.

Cheers!
[Android Apps and Games] Mort:
I know, but I didn't find any workaround to this weird Android behaviour.

Main trouble is Android's Activity handling. An "Activity" is similar to what you'd call window or dialog in Windows. In Android, only one activity is running per app, i.e. if you move from main screen to folder selection, the main screen activity is stopped, and then restarted when you return. Exactly the same happens when you move to the home screen, get a call, open a notification, etc. Only exception is the back button, where the activity is "finalized" (similar to a "real close", but still cached for reuse).

It seems Android doesn't like to start a new activity (the remote screen) when another one of the same app is still running.

I could "finalize" the player at other events as well, but the only ones invoked when pressing the Home button are the same as when you enter e.g. folder selection. So if I'd finalize the main view there, returning from folder selection would return to a no more existing activity, i.e. the app isn't visible anymore. Not exactly what you'd want...

Sorry for the long technical explanation, but I it's a bit hard to put Android's handling in better words... :o
[Android Apps and Games] guags99:
Just glad to see you've moved over to Android! I used your player for a long time when I was on WM, but I have to say it was getting more complex than I needed. I would like to see many of the features your working on, but stability and simplicity are much more important. Album art seems to plague the players I've worked with, so if you can reliably handle all the methods you mentioned, that would be great...The only one that seems to be a problem for me is the ID3 embedded art.

Keep up the great work!
[Android Apps and Games] alapapa:
makes sense, I figured it has something to do with Activity handling.

Thank you for the technical response. I really appreciate it.

Hrm..perhaps this is why Stericson uses AndExplorer for file selection in MetaMorph (or maybe he just didn't feel like / hasn't gotten around to writing a file picker...)
[Android Apps and Games] popy2006:
This would be great! Thx

i also dont know much about these functions ill could select in "Settings Profiles".

But there must be a way you could share functions which an other app could call.

Please install "Settings Profiles" & "Car Dock Home v3" from Market and try the following:

* Start Settings Profiles

* Goto Tab Rules

* press menu and select "New Rule"

* press menu and select "Add Action"

* Select "Run Application"

* Click on the Green icon and wait until app list is loaded (can take a while)

* Goto "Car Dock Home v3" and select it

* Now a list of functions appears - example: Desktop or Car Mode Exit ....

Also other Apps (Mortplayer too) has "exported" functions.

Maybe you have an idea to implement such function for "Service.Stop" (Exit Mortplayer and stop Music).

Thx

pOpY
[Android Apps and Games] Mort:
OK. This aren't functions but a list of all "Activities". An Activity in Android terms is something like a window or dialog. I.e., that "exit car screen" "function" will create a window to display, and when this window is initialized, it will close itself again and probably do some other cleanup stuff. While this works, it's not really a nice and common way to communicate with other apps...
[Android Apps and Games] popy2006:
Thanks for your investigation Mort.

What i want to do is just close MortPlayer & Service if it is removed from CarDock.

Did you know another cleaner/better way to do this?

With Settings Profiles ill could trigger any other application on car dock mode change.

thx for your time

popY

PS: Maybe you implement the feature "Exit on Car Dock Remove" ;-) and better - save song position if removed *gg*
[Android Apps and Games] kirbtheman:
Hi, thanks for this amazing app. Easily one of my favourites out there.

Would it be possible to map keyboard keys to the functions in Mortplayer? i.e. an option to play with 'p', stop with 's', volume control with 'u' & 'd'..etc.

I recently saw a youtube vid where android and the wii remote controller are sync'ed (wii mote app, or something like that). I have had fantasies of being able to control my MP3 player with the wii controller ever since.
[Android Apps and Games] persevest:
BT Headset functions not working

Hello,

It's a nice player but why is the headset button functions not working on either of the applications (music nor audio book player).

I have Motorola Backflip, Android 1.5.

The headset buttons are endabled in the settings of Mortplayer but when I click the button once, nothing happens, when I doubleclick the headset button, the headset automatically dials the most recent number in call history. And when I hold down the headset button for a few seconds, it turns itself off.

What can possibly be wrong? Why isn't the headset functions act like they are supposed to in Mortplayer (skip to the next track/play/pause)?

Any idea?

Regards,

Persevest
[Android Apps and Games] deliriousDroid:
Hasn't mort been on the market for a looonngg time? And it's still a beta?

Sent from my SilverBullet "HTCDesireZ running CM7"
[Android Apps and Games] DanWilson:
It was bumped. Thread opened 12th of January.

Sent by a changed sig since I can't talk about pirates.
[Android Apps and Games] deliriousDroid:
This year or last year?

Sent from my SilverBullet "HTCDesireZ running CM7"
[Android Apps and Games] daveid:
How close are you to supporting multiple root folders? My tablet would love you for it, as I need some internal space for offline maps, and would like to simply split my large music collection.

Thanks, love your work.
[Android Apps and Games] Mort:
The nicer way for this would be "broadcasts", which use a similar technology but wouldn't need to create a window that gets destroyed immediately.

Maybe... I don't know much about the Car Dock support in Android so far.

It's on my to do list, but not with a high priority. On most devices, you're way faster if you just use the screen buttons - they're bigger and you don't need to slide out the keyboard. And the keys only work properly when you see the player anyway, i.e. you'd have to turn on and activate the player (or use it's lock screen) to get the keys delivered to the player.

If there's AVRCP (Bluetooth headset button protocol) support, this could work.

Stupid bug... With the test version on top of this page, it should work...

Yes. And yes.

But Google Mail was beta for over 5 years, so there's still some time... ;)

My current plan is to get the playlist stable, fix some rare but nasty memory leaks (pretty ugly with Android, because there are so many references created by Google's framework), add a better help system (somewhat like that timeout info in the preferences), and then make it 1.0.

Nothing so far. I didn't find much time recently (private stuff...) and currently I'm more focussed to getting a 1.0 release ready (see above). Though that doesn't need to mean there'll be no support before - I might add it when I get too bored with one of the necessary tasks... (One advantage of a hobby project to a professional one: No fixed timeline... ;) )
[Android Apps and Games] daveid:
This is a feature I would gladly pay for.
[Android Apps and Games] PSeeCO:
Can anybody tell me if simple last.fm scrobbler works for him? I'm going crazy with this...i started thinking it was a rom issue but i tried with default player and it is correctly recognised!
[Android Apps and Games] Mort:
Finally a new test update.

It fixes some bugs with the playlist, improves usability of the repeat button, adds a playlist menu entry (opens playlist in edit mode), lets the menu button dismiss the menu on repeated press, and contains some other minor bugfixes...

@popy2006: I've added a StopService dummy activity, but it's hardly tested so far. When I try to invoke it with a debugging tool, the running app is killed and restarted completely. This shouldn't happen that way for "common" cases...
[Android Apps and Games] popy2006:
Hey Mort.

First Thanks that you have implemented the feature.

I have tried it but with no luck, MortPlayer crashed after running DummyActivity from Settingsprofile.

I have mailed the Crash Dumps to you.

cu

pOpY

PS: isnt it easyer to regonizes Car Dock Mode state? Maybe an option to exit after device exits car dock mode?
[Android Apps and Games] Thou Shalt Perish:
Thank you so very much for this excellent feature rich program Mort! I use the Audiobook version almost everyday.

I recently discovered the Lock Screen replacement and I was wanting to set it up more like the Widget and less like the main player. Since I use the Lock Screen mainly to pause the book I'm listening to or to quickly rewind it. So being able to just press the GIANT cover image to pause it would be quite welcome. (instead of it being relegated to a small distant corner) Also being able to limit the amount of buttons on the screen would dramatically simplify and clean up the UI.

I, like numerous other people who have posted here, would be glad to pay for this feature!
[Android Apps and Games] Mort:
@popy2006: It should work with the attached version. You might need to select the proper activity again in your profile tool.

@Thou Shalt Perish: The giant cover was the reason I didn't do that - there's a pretty high risk it gets pressed when the display goes on for whatever reason in your pocket. But I'll think about an option or an alternative layout with bigger buttons.
[Android Apps and Games] karay2:
Hi Mort,

Have you considered making a menu option like "add folder to playlist"? It would be quite useful for me sometimes.

Cheers,

karay
[Android Apps and Games] persevest:
Headset button still not working

Hello Mort,

I have downloaded the latest mort music player from this topic but the headset button functions still don't work.

Nothin happens when I press the headset button. The music does not pause, nor it does not skip to the next track.

What headset are we talking about anyway? I have a Jabra Bluetooth headset. Have you tested it with any bluetooth headset? Could you tell me which headset I should buy in order to get this to work?

Regards,

Persevest
[Android Apps and Games] sepehrock:
i was looking for it :D
[Android Apps and Games] Mort:
Already there in the recent test version, just above your post.

Besides it wasn't too hard to add an entire folder before - just press "+" in the playlist edit button bar, then go to the desired folder, press "select all", then "add selected to playlist".

That's interesting... The BT headsets (at least those with AVRCP, which are usually those wich also support A2DP/"stereo music streamin") should have worked before as well, I only forgot to support single button headsets when the player's not already running.

It's a bit hard to tell why it's not working. Either it's no music headset and the device's BT stack wasn't made to support the headset button for anything but phone management (accept, voice dial, hang up), or some other app has higher priority and doesn't do anything. The latter needs a bit technical information: Android's "media button" handling works by sending a "button pressed" notification to the app with the highest priority, which is a fixed number the developer wrote into his app. Then this app is supposed to forward the notification to the app with the next smaller priority if it doesn't handle the button itself. But this doesn't always work correctly. I don't know why Android doesn't just use its "select application" dialog when no app is playing... And a kind of "headset button focus" to the currently playing app is also only possible since Android 2.2.
[Android Apps and Games] popy2006:
Thanks, will try it and report back.

Maybe you also could look into react on car dock state change - ill think its a cleaner way and works on more users :rolleyes:

cu

pOpY
[Android Apps and Games] persevest:
thanks

Thanks for the answer. I guess I don't have AVRCP profile, but I do have A2DP.

My bluetooth headset is Jabra BT8040.

But is it possible to create something like a microphone-controlled function? For example when I tap my finger on the bluetooth headset microphone, then it listens the tap as a signal to pause the music or skip to the next track when I doubletap the microphone.

I heard that iPhone has the possibility to create such feature.

What is that mean? Does it mean that if I upgrade to Android 2.2, then my bluetooth headset button works with mortplayer even without having AVRCP profile?

By the way, what bluetooth headset do you have? Maybe I should just buy the same.

Regards,

Persevest
[Android Apps and Games] Mort:
According to some web pages, it does have AVRCP, so this shouldn't be the problem...

I don't think this is worth the efford. Having to check the microphone input all the time would drain the battery in no time, and I doubt the headset microphone is able to work in A2DP mode. Most headsets aren't able to use A2DP (music streaming, no microphone) and headset profile (telephone mode with microphone) at the same time.

No, it means once the player is playing, it will receive the button presses even if another app would "steal" the notifications otherwise.

If you want to, you could install an app that allows you to see the system log, like aLogcat. When you press the headset button, some lines with "useHeadset" and "useHeadsetTmp" should appear. If they don't appear, some other app handles the buttons.

I've got some old Motorola headset for test purposes, but I rarely use it. For the app, BT headset buttons, cable headset buttons, and most "remote control" software buttons (like on the lock screen of CyanogenMod ROMs) are the same.
[Android Apps and Games] popy2006:
Hey Mort.

Have selected the new Activity StopService but Mortplayer also crash at running this activity. Have sent you 2x crash reports.

pOpY
[Android Apps and Games] Adidas108:
Hey guys how to get covers?Nothing happens with wifi enabled...
[Android Apps and Games] Mort:
Oh, seems like you need an additional permission to get the previous tasks. I need them so Android doesn't just re-open the previous one (i.e. the main player) again when the fake activity is closed... Strange there wasn't the same error on my device...

Sorry, MortPlayer doesn't support cover download. You've got to add the covers yourself...

I'm still not sure whether to add such a feature. Although there are lots of apps and services doing this, and seemingly so far no lawsuites, album covers strictly speaking are artworks covered by copyright, just like the music. So offering them without payments or other agreements is illegal, and directly supporting illegal activities in many coutries is as well. And unlike P2P file sharing clients, I can't just tell it'd just be for the legal files, because there seem to be none on most of the sites in question. At least I didn't find any information about license agreements on the most popular cover archives. You can make your own mind morally, but I prefer to better be safe than sorry...
[Android Apps and Games] Adidas108:
thx for explanation :)
[Android Apps and Games] popy2006:
Could ill test something for you?

cu

pOpY
[Android Apps and Games] Mort:
The version in the market should work without crash.

(Thought it was about time to offer all the new features in market, and except for this rarely used one it seemed pretty stable...)
[Android Apps and Games] popy2006:
Ohh, havent seen that update yet ;-)

Try it and give you feedback.

Thx
[Android Apps and Games] popy2006:
Thanks Mort!!!

In Update 0.9.8a from Market the StopService Activity works as it should :D

Ill think i will donate soon for You and Mortplayer!

Thanks pOpY

PS: If you could make the fonts adjustable (in car layout) this would be great!
[Android Apps and Games] olhan:
damn i've downloaded it only because i love pratchett
[Android Apps and Games] PSeeCO:
Finally i've make it work with simple lastfm scrobbler! I've just let him recognise the stock music player and then mortplayer, it worked, now i'm correctly scrobbling music ^^
[Android Apps and Games] koolxx:
...,,,,,,,,,,,,
[Android Apps and Games] koolxx:
do u have a "MortPlayer Audio Books" for Windows Mobile 6.5?
[Android Apps and Games] popy2006:
Hey Mort.

Regarding the StopService Feature:

If ill launch it it will stop playing audio & close MainPlayer.

But the popup in the notifications area is still present.

Could you please take a look at this behaviour.

Thx

pOpY

PS: i have donated for this great app and your GREAT support!!! :p
[Android Apps and Games] Mort:
In the WM version, the audio book features are included in the "one for all" player. You just have to tell the audio book folder in the settings, then the player will apply some "special behaviour" (no rewind on stop, save&restore last position, ...) to it and its subfolders.

Weird, the notification is removed in the same function that also stops playing. But I'll have a look if there's something I can do about it.
[Android Apps and Games] popy2006:
looking for an update ;)

Thx, popy
[Android Apps and Games] popy2006:
0.98b from Market working without the popup problem.

thx

pOpY
[Android Apps and Games] Mort:
Here's something for popy2006 ;-) (and I hope for others as well...)

Could you please check whether the "exit on remove from dock" options also work when you're not on the main screen? Android has two separate ways for dock state information, and one of it only works for the currently visible screen. That one is handled in the main screen, but when it would be handled in sub screens (like folder/track selection) as well, due to Android's architecture, it's close to impossible to differ in the main screen between "server closed for some reason, coming from sub screen" and "launched from home screen". The other way also works in the service, which then should launch the new StopService activity, and by this solve the problem. Trouble is, the second way can't be emulated, and I don't have a dock (at least not one that causes the device to notice it)...