yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] htcclay:
Mirror for those in need...

Link:http://bit.ly/8Z7KXR

Clay :)
[G1 Android Development] the_fish:
added another mirror :) hope that one works for you
[G1 Android Development] themapleboy:
Yay i wanted this a while back but then music beautification came out, so i guess 2 questions

is it worth it (vs the music mod)? does this include the widgets?

regardless ill prolli flash it when i get home anyways thx :)
[G1 Android Development] domenukk:
Does not.

But as it uses the same widget as the stock music app...

maybe it's possible to get the widgets running on this via apktool? :confused:
[G1 Android Development] sl1k1:
1) In my opinion its worth it. Runs perfect on CM5 for me and it actually runs smoother on eclair than a sense rom

2) Does not include HTC widget..But i just make HTC music default for when clicking the stock music widget
[G1 Android Development] ballerhaller:
great job on this

but everytime i open the htc music app..the music starts playing without me even pushing play..n its not tat big of a deal..but its annoying.

thx a lot for the help
[G1 Android Development] sl1k1:
Haven't had that problem..What rom are you using?
[G1 Android Development] statuzz:
Dude seriously....(don't u read in the OP) sometimes i think some people are kind of rude with others here...based on questions people ask in this forum......what the hell is that Bro(ur question)

If people would take the time to read, there wouldn't be so much confusion ;)
[G1 Android Development] ballerhaller:
im using clays superbad 1.2.1
[G1 Android Development] the_fish:
actually i don't think it has something to do with that but maybe that has something to do with mediaserver: on some music mods if you enable unpause on connect and start it up it starts playing right away when a headset is in, so maybe it kind of interferes with that or something. just try disabling unpause on connect in default music settings :)
[G1 Android Development] apreichner:
Not a chance. Unfortunately, the sense widgets are built off of the sense framework and not off of the stock android framework. So we'd end up with the whole Sense UI if we wanted the widget.
[G1 Android Development] Since001:
great job

but its a bit laggy after starting it, but thats ok for me :)
[G1 Android Development] trock62:
Works perfect with superbad 1.2.1, this rom just keeps getting better, thanks for your work:eek::D
[G1 Android Development] tomiglio:
On cm 5 it doesn't work with Bluetooth headset.can't control it. If I press play or fast forward nothing happens. Other than that it works fine. If u can get it to work with Bluetooth handsets would b great. till then I'll revert to stock music player + beutification.

-------------------------------------

Sent via the XDA Tapatalk App
[G1 Android Development] the_fish:
You mean you can't use the BT headset for output itself, or are you talking about the buttons? My Nokia BT headset plays just fine :)
[G1 Android Development] ATZ-007:
HtcMusic for 1.6

Grate work.. keep it up

;);) I have a slightly off topic question ;);)

Where can I get HtcMusic for "Super D 1.11" (Android 1.6) & how do I install it? :confused: :confused:

Many thanks,
[G1 Android Development] raptoro07:
That's what I thought. Thanks :)
[G1 Android Development] xyrcncp:
Good work man! Thanks, works perfectly!
[G1 Android Development] tomiglio:
The music plays fine,but I cannot control the music player from the headset,like I usually do when I use the stock music player.
[G1 Android Development] xjjjay:
There's an updated version of the HTC music app used in Eris Roms, maybe others. Any chance of getting that one ported? One of the main differences is that when you click on an artist's name, "songs" and his or her albums appear underneath the name.
[G1 Android Development] lowlife546:
very nice job on this. wish the widget wasnt so ugly though
[G1 Android Development] jubeh:
i'm working on a few fixes for this. I should release this along with a simple rom I'm making (just for the heck of it).

Among the fixes:

-Have the HtcMusic and TrackBrowser activities locked to Portrait since switching to landscape kinda breaks them.

-Beautify the Music widget a bit. I'm trying to get it close to the Eclair look and make it work right in portrait mode

-A few graphical fixes to match the theme of my eclair release. My last one until froyo hits.
[G1 Android Development] cashmony:
great find! thanks for sharing makes me want to put music back on my phone!
[G1 Android Development] jubeh:
Alright, here it is, my Legend/AOSP custom rom is still very much in the works (not a direct port, I'm building a lot of it by myself, the other parts I'm just adding, like the HTC IME or this music player), so I'll release the fixed app by itself. Hope this is somehow integrated into first post.

I fixed the rotation issue for two activities, the main activity, and the track browser activity (Now Playing).

There's still a bug where if you open your keyboard while at the track browser activity you'll lose the bottom bar, this doesn't happen at the main activity. I'll see if I can fix it later.

I added the eclair appwidget which IMHO looks a lot better than any other. I could have a look later and integrate additional widgets from other threads, but I'd have to get in contact with those devs to see if we could make it happen.

Also, I could change the other activities (the ones that have a scrolling tab) to be viewable in landscape mode with the sensor (without having to use the keyboard). If you guys want that, it's an easy change.

I changed the music app icon to match the new rom I'm making (legend themed), this includes the now-playing statusbar icon.

Install it by either flashing it through recovery (it's inside an update.zip already) or push it through adb (you have to extract it from the zip).

Hope somebody finds this useful.
[G1 Android Development] the_fish:
updated first post ;)
[G1 Android Development] g1junky:
thanks for this.. now the widget matches my theme :)
[G1 Android Development] lowlife546:
great job on the widget. this is now my default music player. can't wait for future updates
[G1 Android Development] jubeh:
I'll look into the widget more later. I should be able to add a back-button, album art, and re-arrange the layout a bit. Then again, I might not.

At the very least, I should be able to change the widget from 4x1 to 2x2 with the song/artist info at top and pause/forward at bottom as an alternate download.

I'm working a lot on my rom (just need a few more tweaks and need to kang cyanogen's camera/video hardware fix), after that I might have a look at the Layout for the Music and Now Playing list activities of the music player so they can work in landscape.

I also noticed there's a lot of artwork for 320x240 devices that's unnecessary for the Dream. It adds size. In pre-eliminary tweaks, I got the player down to 800kb w/o roptipng, but some things broke.

Once I get all those xmls sorted out, I should be able to get it down to around 700kb w/roptipng.
[G1 Android Development] nacron:
I got several bugs to report.

- I have the regular music app from cyanogen 2.1 test 5 and the htc app installed. occasionally when I play music with the htc app, the regular music app will start up and play a song that I played a long time ago when I still used that app. I click on that song in the status bar (there are two different songs showing there) and it stops playing and the status disappears.

- when i exit the HTC app, I get FC and then it plays music in the background again after I hit ok for the FC and then another FC comes up and that finally kills the app.

Other than that, great work, I always loved the HTC music app when I was running the hero rom. Now all we need is the album art in the lock screen and music controls in lock screen.
[G1 Android Development] the_fish:
that's strange... i wasn't able to reproduce it using my apk... did you use jubeh's? maybe he has some bad code in there...
[G1 Android Development] lowlife546:
i'm gettin both of those bugs using jubeh's also
[G1 Android Development] kernelzilla:
Just confirmed the bug in either .apk (tried both, clearing dalvik each time), the one I'm mainly using has md5sum b6672d96973110ef5fc8c29e289d41a7

(from OP).

It doesn't seem to do it right after rebooting, but leaving the music app open for a while, browsing artists, albums, playing music on it, then hitting home and opening up MMS (possibly other apps) leads me to two FCs from the music app.
[G1 Android Development] jubeh:
actually, this is what seems to be the problem to me:

E/AndroidRuntime( 1092): java.lang.RuntimeException: Unable to start service com.htc.music.MediaPlaybackService@43bfb5e8 with null: java.lang.NullPointerException

I think that the Playback Service is not terminating correctly when you exit the app. I don't think it's just loading mms, but loading any other app that pushed the player service out of memory (since the main activity is paused and thus can be terminated).

For some reason, the main activity tries to re-activate the music service, but it's not bound anymore, so it HTCMusic crashes.

To fix that, we'd have to edit the source, don't think we really can fix it by just using smali...
[G1 Android Development] kernelzilla:
It's calling setForeground, which is depreciated in 2.X:

http://android-developers.blogspot.com/2010/02/service-api-changes-starting-with.html
[G1 Android Development] wg1:
Dose any one can modify this HTC_CIME for G1 CM5 rom user？

http://xdaforums.com/showthread.php?t=672094&page=3

Thanks a lot :D
[G1 Android Development] the_fish:
thanks for looking it up jubeh and kernelzilla :) i removed it and wasn't able to reproduce it (however i wasn't able to do so before as well!) someone please check it, i removed / replaced the calls of that method:

http://www.solidfiles.com/d/ca1/download/
[G1 Android Development] bert269:
I jsut installed the 'fixed version'....

Hey,

I just installed the 'fixed version' over a clean install of SuperBad 1.3 (based on CM507 T7) and still get the FC's....

Do you need a logcat or do you have what you need - shout if you need any help, please. I REALLY love this app - if it just wants to keep running.

Thanks for the great work

Bert
[G1 Android Development] the_fish:
okay, so i started all over again, removed method calls again, left one if clause empty this time and didn't put a placeholder method in there... and i tried fixing the problem when going to background by adding onPause (with same content as onStart) so it should (in theory) continue working as it would if it was running.... i am assuming.... i got no idea whether that works :P no FC for me... again...

http://www.solidfiles.com/d/b28/download/
[G1 Android Development] kernelzilla:
Still getting the pair of FCs, usually by opening the music app, playing a song, pressing pause, then home, then browser, and I go into bookmarks and scroll down, this seems to fill up memory on my phone to the point of killing the mediaplayback service, which then wants to restart because its 'STICKY'. I've been reading up on the service API changes on

http://android-developers.blogspot.com/2010/02/service-api-changes-starting-with.html

and I think it has to do with START_STICKY being the default now, while the htc music app is still using the old service.onStart and not the new service.onStartCommand, so its expecting the system to make it behave like START_NOT_STICKY would. Could we try it with START_NOT_STICKY? Many thanks for all your efforts!
[G1 Android Development] kernelzilla:
I tested it out on my phone after a complete wipe, and while it took a while (had to load gmail, browser & twitter) to fill up memory but the same behavior is there, FYI.
[G1 Android Development] jubeh:
I can't reproduce the error.

I'm testing this on my personal rom built from AOSP (with camera fixes and compcache being the only differences) and I get no force-closes, even after loading a lot of apps and having disabled any kind of extended memory.

Are you sure the error is not due to the rom you're using (it could be likely).
[G1 Android Development] kernelzilla:
It could be some of the lowmem killer adjustments in cyanogen's kernel. What kernel are you running? & is your rom eclair or donut?
[G1 Android Development] jubeh:
Eclair, stock 2.6.29 kernel that comes with AOSP
[G1 Android Development] the_fish:
yeah that's what i thought also, on cyanogen i get a lot of lowmem application deaths... that's why i though including a "onPause" method would make sense as that one is running in the background and that should prevent it from going to idle... i thought :P
[G1 Android Development] shirland:
anyone know if its possible to get the HTC Lockscreen or any other Lockscreen with music controls and artwork on 2.1?
[G1 Android Development] bert269:
FC's still occuring.

I am running Eclair, CM 5.0.7 (stable) and the FC's still happens (with the above mentioned test from "kernelzilla". Do you need a Logcat (i have asked before and did not get a reply)

It seems that you are running on 'your own personal build from AOSP' - the majority of the users out there are not....maybe this is part of the issue?

This is really a nice app and I wish we could get it to work on the 'mainstream ROMS' that are in use by the majority users....
[G1 Android Development] kernelzilla:
Just to clear some things up, you appear to be quoting me but I think you meant to quote jubeh, and the test isn't from me, it's from the_fish.

Also, its not necessary to ask two times if we need a logcat. If you have one, and want to contribute to the bug squashing process, just post it, even though we pretty much know why this particular bug is happening.

And the app works on 'mainstream ROMS', it's just not dying gracefully after you've paused it or stopped using it and the system is low on memory. It's just a visual annoyance to deal with the FC.
[G1 Android Development] kernelzilla:
Enough with the threadjacking! Please don't post non-topic feature requests in a completely unrelated thread.
[G1 Android Development] kernelzilla:
Hmm, is there any way to let it die gracefully instead of producing the visual FC?

Could you send me to deodexed files so I can try tinkering with it (see: break ;)
[G1 Android Development] the_fish:
just download the apk and apktool and do: apktool decode HtcMusic_fixed.apk JustTesting

after editing build using: apktool build JustTesting, then sign the apk and install it :)

MediaPlaybackService is the one that is creating the problems... i guess. :D
[G1 Android Development] kernelzilla:
So i've been running a kernel with the recent msm_audio adjustments (here and here) and haven't had the FC pop up all day. I'll update if anything else changes. For now, help me confirm by downloading and flashing the boot.img (cm5.0.7 for g1/32B only) from:

http://n0rp.chemlab.org/android/testing/

BTW the libcamera.so from that site fixes the memory leak/sound loss after taking a couple of pics.

Or you could wait for 5.0.8-test0, which should be here shortly.
[G1 Android Development] kernelzilla:
Awwww, it finally happened, but it took all day to show its ugly head! Slight improvement though..
[G1 Android Development] kernelzilla:
After looking at the deodex'd files, I'm convinced the htc music app was originally based on the aosp donut music app, but since it's apache license, htc doesn't have to give out the source code changes(shakes fist!).

Basically, this is what we need to do to MediaPlaybackService.java:

http://github.com/cyanogen/android_...mmit/371fabbc1c5306a1faca8048a6ca4972f5ee9338
[G1 Android Development] the_fish:
hmmm i tried finding those spots but they were way too scrambled in the decompiled code... :(
[G1 Android Development] antonyfl:
wow i tested this apk on rooted 2.1 original rom on Milestone!

Other than resolution differences, it is fully working!!! Possible to work on non-rooted 2.1!

Can you fix it up to work for the DROID's resolution? I would be mighty happy =))

also the widget doesnt work for non-custom roms :P
[G1 Android Development] twinklesam123:
Milestone resolucion fix

same here!! please do a fix resolution for milestone phones! thanks! its a 854 X 480
[G1 Android Development] FatBoyExtraordinaire:
Can we use something like Astro or Linda to install the apk so we have this along with the default music app?
[G1 Android Development] lowlife546:
yes.

but its a little buggy and slow on the g1
[G1 Android Development] FatBoyExtraordinaire:
Thank you for the answer. So would you suggest not to even bother if it's like that?
[G1 Android Development] lowlife546:
probably unless you don't mind the force closes. but u can try it out and just uninstall if u don't like
[G1 Android Development] FatBoyExtraordinaire:
So very true. I'm a sucker for a slick interface so I'll probably do just that and like you said, if it's too much of a headache, scrap it.
[G1 Android Development] antonyfl:
hope this project continues and be fixed for FC's and resolution =)))) for droid/milestone
[G1 Android Development] jubeh:
My Dream is dead, so I can't test (guess I'll try to see if it works using the sdk build).

I've been working on other stuff, but now I'll have a look to add/organize art and layouts for ldpi, mdpi, and hdpi.

No timeline promised.
[G1 Android Development] antonyfl:
you rock man! Take your time~ I would love to be the first to test it when you are ready
[G1 Android Development] Gen00:
How do u install this flash it or install from linda manager? n if i would wanna go bck to the old music player how would i do that.. Not saying i will if i like it just asking a Noob question.. if anyone can help thanks..
[G1 Android Development] Gen00:
Never mind answered my own question duh.. sorry about that..
[G1 Android Development] antonyfl:
bump**

hows developement on this?
[G1 Android Development] :
When it loads data I can see a big, white pixel on screen. Fix this, please.
[G1 Android Development] raimeiken:
the widget doesn't work for me. I get this "problem running the widget" message
[G1 Android Development] iamusari:
awesome

Imensely greater that the player on cm 5, I have a mytouch 1.2 running on cm 5.0.8; installs fine, plays fine, looks great.
[G1 Android Development] antonyfl:
any development for milestone port? =D
[G1 Android Development] earl26:
Installed and opened with DROID running Bugless Beast Froyo 0.3. The images are screwed up, obviously because of resolution. Some functions are messed but it functions rather than just force close on click. Would love to see a fix on this! Great work, everyone would always complain how IT CANT BE DONE BECAUSE ITS BUILT INTO THE ROM when in reality they know nothing since HTC built it and they didn't. Prove em' wrong!
[G1 Android Development] trewelu:
Working great in my milestone 2.1. However when adding the widget, the widget display problem loading widget
[G1 Android Development] Snowtoad23:
So is this for phones that don't have Sense? If you have Sense then you have this app already and there's no point getting it right?

However the bottom bar on the left screenshot looks different to mine.
[G1 Android Development] ravenhr:
Easy install, works great (as app, widget not woking) on T-Mobile Pulse (2.1). Thanx!
[G1 Android Development] earl26:
Can you please do this with the HtcMusic.apk from the Incredible dump? I would really appreciate it.
[G1 Android Development] raydar670:
Great app, very snappy on g1 running cyanogen 5.0.8, but i wish the name of the app was different it seems to be messing with the default music application. Also the widget doesn't work (could be because of adw launcher idk)
[G1 Android Development] enatefox:
the_fish, i'm trying to get this hdpi as well and went through the desire 2.2 comparing yours and it's still failing. can you help a br0 out?

i tried haxxing the tabswitchhost to no avail =(
[G1 Android Development] magicdanw:
Pure music widget works nicely with this apk. The only problems I've noticed on my Samsung Captivate are that the elements on the "now playing" screen (album art, buttons) are too small, and when scrolling through music, the alphabetical letter displayed in the center doesn't change.
[G1 Android Development] crackedvenom2:
do we have one for 2.2?
[G1 Android Development] s0k_nl:
I hope one will quickly be released. Htc music is the only thing I really like about sense.
[G1 Android Development] j.books:
*bump*

yeah I'm also wondering if anyone can port it to 2.2

I installed the 2.1 version and it runs, but it force closes when I try to browse artists/albums/playlists etc

the title of this thread refers to 2.1 ROMs so if I get no luck here, I'll start a new thread (or if someone else already has and I missed it, let me know)
[G1 Android Development] ATZ-007:
CAN SOMEONE PLEASE ADVICE ME HOW DO I PORT 1.5 (CUPCAKE) APPS TO 2.2 (FROYO) BECAUSE I WANT HTC MUSIC & HTC SMART DIALER ?

MANY THANKS :-)
[G1 Android Development] matthew4295:
Any news on the HTC Music player for the Droid? Anything? Or widgets? Thanks!
[G1 Android Development] antonyfl:
no dev on this?
[G1 Android Development] matthew4295:
Is there any production going on this app for droid?
[G1 Android Development] matthew4295:
Hello? Anyone doing anything for this on the Droid??
[G1 Android Development] antonyfl:
i think it would be best to bring the download link to the droid forums
[G1 Android Development] Try4Ce:
WVGA for Milestone / DROID would be totally kickass.
[G1 Android Development] matthew4295:
Yes, anyone going to do it??
[G1 Android Development] bestofrhcp:
can you make one foe froyo please????
[Droid Eris General] DS36:
thought today would be a good day to post this.....

but my gf has the rooted leak version3 (leak4)

i need to disable her OTA in ADB before they start coming out

how do i do this ?

and no i dont not want to flash her a new rom or she will b!tch at me

TIA

EDIT: with ALOT of searching i found out how here it is for anyone who needs it

from a your android sdk type

adb shell

$ su

# mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

# cd /etc/security

# mv otacerts.zip otacerts.zip.bak

# exit

$ exit
[Droid Eris General] Liz210:
Thanks so much for finding these instructions. I'm going to repost on other sites that are looking for the instructions.
[Off-topic] zahnza:
First of all I would like to say thanks to everyone at XDA. It has been my source for custom roms and help/information since my very first windows mobile phone and now for my hero.

I would like to share with you guys my band. We're called Assembly Line Gods You can find us at www.assemblylinegods.com Any feedback or comments are much appreciated. Hope you guys enjoy the music!!!
[myTouch 3G, Magic Apps and Games] 00hero00:
Is there a good replacement for the standart gallery?

I really like the new Flan gallery(android 2.1) or the cooliris gallery, but both don't wok on the magic.

Are there any good replacements?
[myTouch 3G, Magic Apps and Games] Rosco911:
they work on my magic :P
[myTouch 3G, Magic Apps and Games] JoonYerr:
Grr I would want a gallery for my mytouch 1.6 :)
[myTouch 3G, Magic General] blair99:
How do i install a file manager if i got no access to the market?

I have a HTC Magic with rogers with no data plan.

I downloaded ASTRO_File_Manager_2.2.4.apk off my computer and put it on my SD card on my phone but how do i install this file manager when i can't access the market?
[myTouch 3G, Magic General] devwithzachary:
do you not have WIFI?
[myTouch 3G, Magic General] blair99:
yes........
[myTouch 3G, Magic General] devwithzachary:
if thats yes you do have access to wifi then connect to that and install from the market.

If thats no you do not have access to wifi then you can use adb to copy an application from your development computer and install it on an emulator/device instance.

To do so, use the install command. With the command, you must specify the path to the .apk file that you want to install:

adb install <path_to_apk>
[myTouch 3G, Magic General] blair99:
because i don't want to use mobile data went to my "acces points names" i deleted my APN so i can't use mobile data also i turned off

"Background data" (and you need this on to use market...)

If i turn it back on will that use mobile data. (I don't have a sata plan)