Moto Hell - The Motorola Modding Community

Motorola Phone Models => Java => Topic started by: deepaksrivastav on October 08, 2007, 05:20:25 am



Title: [Pre-Alpha Release]MotoPlay
Post by: deepaksrivastav on October 08, 2007, 05:20:25 am
I have attached the pre-alpha version of MotoPlay, an Mp3 player for E398 written by me ;)
The pre-alpha version has very minimal set of functionalities, namely PLAY, PAUSE and STOP.
Now, i know there are a lot of MP3 players available :) this is just an attempt to write one of them myself :)

There may be lots of bugs in this, coz i have only tested the basic functionalities.
For instance, when one track is playing, you can't jump to other track and play it, you have to stop this and play the other track.

I am planning to put the following features in the alpha release:

Fix all the bugs in pre-alpha :) of course and :

1. A new screen when the track is being played
2. Prev | Next Soundtrack.
3. Volume Control.
4. FunLight Visualization ;) when track is played (can be turned off/on)
5. Backlight on/off control.
6. On screen animation when track is being played

I am also planning to make the source code available for all those who actually want to
write their own mp3 player :)

Thank you all for the support :)


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: Jithin on October 08, 2007, 05:49:55 am
Well,let me test it ;)

EDIT: I've tested it.. Good work Deepak. but I can play only "Unfiled" songs in /b/mobile/audio .. it cannot go into other folders.

Waiting for the next release :)


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: deepaksrivastav on October 08, 2007, 06:09:35 am
Thanks for trying it out man :)

I know ! i ve hard coded to pick up mp3s from /b/mobile/audio :)
Will take care of your feedback in next release :)

Thanks for the feedback :)


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on October 08, 2007, 01:11:00 pm
what could i say man :) very nice until now...
i really like it ;)... simple and fast...
And i agree with JithinSK the subfolder support would be a great advantage for your player.
i mean some navigation like in media viewer would be very good because many e398/e1 users and not only have their music in folders and subfolders and so on. (i know it's a lot of work because i know what means to make a program.. it's damn hard sometimes.. but when you see the result you're really pleased so think about the result.)

If the MotoPlay uses the system's skin and menu will probably work on many motorola phones. So good luck again.

still waiting for your alpha version


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: motomaniacs on October 08, 2007, 02:33:40 pm
finnaly you release it..
congratz on your hard work


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: deepaksrivastav on October 08, 2007, 08:54:32 pm
Thanks a lot for the feed back guys :)

@bruceLee: Yes i agree with you and JithinSK, sub-folder support will definitely be an advantage.

Its not much of work, the framework is ready, just have to send a flag to the program telling it to scan all the folders and list all the audio files :)

Anyways, i will be done with this in the next release :)

Thanks again for your feedback :)


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: motomaniacs on October 08, 2007, 08:57:58 pm
maybe you can also write a tutor how to make a java programme...


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: error398 on October 08, 2007, 11:58:30 pm
its for E398 only?


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: deepaksrivastav on October 09, 2007, 12:17:29 am
@Raunamaxtor
Yes .. I have currently hardcoded to pick up music files from /b/mobile/audio. (should work on 398 and Rokr E1)
Will be making it to work across all phones later.

@MotoManiacs
Will be my pleasure to write a guide on midlet programming, but will only do it once i get some free time.


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: EOG on October 10, 2007, 11:58:56 am
I edited a bit MotoPlay class that is can open folders and play them but I cannot compile it 'cause I do not know what I did wrong installing Java Microedition(ME), deepaksrivastav can you tell me where can I download and how to install all of its 'imports'.

deepaksrivastav can I release my editions of your player(during beta/alpha tests). And put here the edited code.


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on October 10, 2007, 12:24:27 pm
good ideea EOG. if there are two programmers the midlet will evolve much faster


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: deepaksrivastav on October 10, 2007, 11:20:32 pm
@EOG: Sure you can release it :) No problems with me :)

I have not imported any new classes.
This is what you have to do:

To compile the source code, just decompile all the files using Dj java decompiler.
Rename the extension of the decompiled files from jad to java.

Create a new project in WTK(Wireless tool kit). Give the project name and the midlet calss, in this case , it will be com.motoplay.MotoPlay.
Just copy the java files into the folder $PROJECT_ROOT\src\com\motoplay
Copy the images to the resources folder $PROJECT_ROOT\res

Finally build it in WTK.
This should work.



Title: Re: [Pre-Alpha Release]MotoPlay
Post by: motomaniacs on October 10, 2007, 11:23:38 pm


@MotoManiacs
Will be my pleasure to write a guide on midlet programming, but will only do it once i get some free time.

take your time mate :)


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: Exploited on October 13, 2007, 10:04:29 pm
I want some screenshots, cos I can't test it now :)


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on October 14, 2007, 06:55:32 am
there's no big deal to see for the moment Exploited because it uses phone's skin and menu style


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: motomaniacs on October 14, 2007, 11:10:36 am
any further progress


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: deepaksrivastav on October 14, 2007, 08:00:28 pm
oh i have lot of progress.. i have done reading id3 tags.. i have done volume control and fast forward feature.. reading from unfiled folders.. now i'm working on reading th album art image


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: motomaniacs on October 14, 2007, 08:04:04 pm
whoa nice to hear that


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on October 15, 2007, 01:59:46 pm
good job... keep it going.. good luck


LATER EDIT:

Any news ???


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: deepaksrivastav on October 24, 2007, 03:24:42 am
Not able to read album art image from the mp3 :(
iTunes read it from the artworkDB file which is prepared by iTunes when the mp3 is loaded.
Now trying to use this file to get artwork running.

I ve not found time to do all this actually. Been very busy @ work :(
Will continue working when i m free.


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on October 25, 2007, 01:20:14 am
ok.. don't hurry.. just make something nice.. good luck


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: error398 on October 25, 2007, 01:57:31 am
can u all implementing .exe to .jar?


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on October 26, 2007, 12:31:18 am
that would be a really nice program.. something like that bin files emulator or something like that..


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: pizzadox619 on October 26, 2007, 06:59:55 pm
@deepak
artwork? can u make like this:
song.jpg for song.mp3


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on October 27, 2007, 02:10:54 am
i think that would be better for the artwork thing
but is there any alpha 2 ver? :D


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: deepaksrivastav on October 28, 2007, 10:19:19 pm
As i ve already told you. I m kinda very busy at work these days :( courtesy of my employer:(
Will work on this as soon as i find time



Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on October 29, 2007, 09:17:44 am
ok.... just asking


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: roker on November 14, 2007, 01:33:13 pm
 @ deepak :
"application error" in my rokr e1..? can u tell me how install it, thank's.


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: BruceLee on November 14, 2007, 02:21:01 pm
just install it with moto midlets manager and must work... it worked for me and others


Title: Re: [Pre-Alpha Release]MotoPlay
Post by: NiKSY on December 23, 2007, 01:21:42 am
Hey man, I like your project, but maybe you should try ELF programing? It would make it even faster and etc, but no problem if you cant, just asking... :)