yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] LeopardSurd:
I understanf your point but your radio is too „thick”. Show me one think icon from Google guide. The Gmail icon is „slim”, also the Setting icon or Messages icon. You cannot see such a large upper surface at these icons. Your Radio has a large upper surface so it need some perspective corrections for the front part or you could decrease the surface of the upper part so you don't need to correct the front.

Actually it looks unnatural, as an expresionist piece of art.

Here again my little correction for the same thickness.
[Defy Android Development] Hairo The Blue Mage:
Great, but in my opinion the scrolling wheel should be in middle of the station display and the list, where it is now it will be lost in the sight of the user and might have some problems 'cause it will be too near from captative buttons... another thing, you missed the seek/next/previous controls and the action bar that, as royale said before, will have some buttons on it...

something like the attachment...

btw, keep it up, great work :)
[Defy Android Development] LeopardSurd:
In landscape, seeking buttons should be placed in action bar area, between settings button and the name of the radio
[Defy Android Development] Hairo The Blue Mage:
as royale said before:

the buttons will be save, scan, etc... so placing the seek controls will overload it, visually... in my opinion...
[Defy Android Development] maniac103:
And we need an action bar drawable for an on/off switch. I want to replace the auto on/menu exit combination with a real on/off switch at some point.

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] royale1223:
Potrait mode is done : download here. https://www.dropbox.com/s/rtj9euarvhyj4mx/FMRadio3.apk
[Defy Android Development] maniac103:
Looks great. Just the font of the preset number doesn't entirely fit IMHO, but everything else is great.

And the ,0MHz needs to go as well ;)

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] marhensa:
just push it to system and set the permission.

it works..

but one missing feature:

ignore no headset feature is not working, when i unplug the headset, it closed.

Sent from TapaTalk | MotoDEFY - Android Jelly Bean 4.1.1
[Defy Android Development] royale1223:
I agree, some drawables don't fit. Like the notification icon. Wish I was a PhotoShop wizard. What do you think about getting rid of the whole preset stuff? It's confusing and doesn't work as intended always. We could go with the regular "scan to add" and "user inputs frequency" workflow. Also does the context menu require a title? Most native application don't.
[Defy Android Development] maniac103:
What exactly do you want to get rid of?

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] royale1223:
Right now app is like this :

1) 10 presets (or whatever)

2) 1st start - Some stations added

3) A station found by seek - edit preset - user fills presets with it

But could be like this:

1) No SQL constraint on stations (Any number of station)

2) 1st start - DB populated with all found stations

3) User found a station by seek - Add it via add button in actionbar

4) User anticipates a station - He can add via same button (can input custom frequency)

I know this would be a lot of work. The app is too tightly wound around the concept of presets. But this would make usage much simpler.
[Defy Android Development] espaciosalter20:
That would be awesome!

Enviado desde mi MB525 usando Tapatalk 2
[Defy Android Development] maniac103:
I tried the newest apk, and here's what I found:

- layout is great

- the small arrow in each list item seems to do nothing?

- storing presets manually seems broken (I selected a frequency, pressed an empty slot, dialog came up; I hit OK -> listview item gets station name, but not frequency)

- consequently I can't edit those stations

- it works for scanned stations

- RDS text is a bit small

- the large seek sensitivity area is nice

- as said, the ',0MHz' for empty slots should be hidden

- reboot on each second try to open the app, probably not your fault

That's about everything I found :)

Edit: The failing manual save is a problem in my build as well - I guess I'll look into it ;)
[Defy Android Development] aribis:
Just one word for all your effort guys...BRILLIANT

not the time to rest...again as i said before...a drawer like panel pop-up for menu with icons will be very flashy...nonetheless JB is a little more exciting now!!

and a lot of false frequency lock taking up presets unnecessarily...have to look for a way to ignore them..or just reshuffle the preset numbers after they are deleted manually...and 20 is not sufficient bcoz of false locks again! again the next buttons do not function properly just working like the seek buttons though set as next preset select..
[Defy Android Development] maniac103:
Did you try playing with the seek sensitivity option already?

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] aribis:
yes i did...it happens at times not always that with the next button it skips a couple of stations or does multiple false locks while scan...i keep sensitivity between weak and very weak...its fairly ok apart from the false locks at times which needs to be removed manually...but transmission and reception matters as well i understand
[Defy Android Development] royale1223:
Fixed all that including preset issue. Added persisting loudspeaker settings. Better notification icon. Maybe now you'll understand what the small arrow is for now ;) https://www.dropbox.com/s/k7priyf3n8kjbou/FMRadio4.apk I'm a bit drunk, so forgive me if I messed something up.
[Defy Android Development] traffic22:
the bug that i found in the last build of the radio apk is when you leave the aplication or use the multitasking option, the sound in the wired headset will be off... the other things are ok :)..

Thanks in advance

greetings from Chile :)!
[Defy Android Development] royale1223:
I'm guessing you're talking about the bug that causes Radio to stop when a window goes to background (pressing background button). Maniac103 will fix that soon.

One more small bug fix with presets : https://www.dropbox.com/s/t584soj6gbtti5t/FMRadio5.apk
[Defy Android Development] labsin:
[BR]

When long pressing the single (or the double) arrows, the background (blue) stays.

With the double arrow, the ring goes the wrong way (in my opinion :D). Because you have to go right with the pointer to go up. And the ring should move in the opposite direction.
[Defy Android Development] douglasanpa:
beautiful work! also works in CM9?

Enviado do Defy+ com CM10 by Quarx2k
[Defy Android Development] ppero196:
I translated app into Croatian! It should appear in maniac103 github pull request.
[Defy Android Development] royale1223:
Fixed those. Croatian added. https://dl.dropbox.com/u/47552535/FMRadio6.apk
[Defy Android Development] G00fY2:
Wow,

I think after maniac awsome work and your great theming I will hear radio more often then before. I really like Holo.Light Theme, but for me the transition between the light action bar and the dark fild below is to hard. So I used the option to hide it. But then there is still a grey line. Is it possible to delete this?

Here you can see what i mean:

PS: Also there could be some more features in statusbar entry. Like RSD ticker and maybe a nicer icon instead of same icon as in info bar.:D
[Defy Android Development] adi4motion:
I think you should also have the other animation ( the one you just replaced)... you need it when scanning backwards... you need one for going forward...and one for backward (you can use same pngs but in inverse order)
[Defy Android Development] SkyKOG:
Respected sir...

For me only the first version mentioned in the OP seems to work... not the newer ones... I get an error message "unfortunately FM radio has stopped... "immediately after appstart when the radio is initializing... I copied it to the appropriate dir and set permissions after rename... pls do tell as to that can be the problem...

Cm9 defy... green Len's...

Thnx :)...
[Defy Android Development] UEman:
Clear data
[Defy Android Development] SkyKOG:
Tried that... still closes ...
[Defy Android Development] royale1223:
Fixed

Fixed. Glad to see that rsd ticker is working as intended. Stations out here doesn't broadcast track info. Only station names. :(

I'm guessing you're using older nightlies.

New : https://dl.dropbox.com/u/47552535/FMRadio6.apk
[Defy Android Development] G00fY2:
Thanks! Yes, RDS broadcast text is working great.:highfive:

Is it possible, that you posted an old link? Because grey line is still there.

Also one bug I found: When you already scanned for all available stations, and press forward key in the bottom and skip to next frequence with signal, but this signal was not found at the first scan, the two blue bars when playing a station keep at the one from the list. So you listening a new station that was not found at the first time, but playing symbol (blue bars) still on station before (so the one which is in the list).

I hope you can get what I mean.:D

Edit:

And another little bug: German characters (like Ä,Ü,Ö,ä,ü,ö) are not shown correctly in RDS text. I don't know if it's because the station or the app. But maybe you could look this up.:)
[Defy Android Development] SkyKOG:
Yes I'm using epsy july 5... isn't it compatible with that.... I'm still on the old one because that's the only nightly compatible with multiboot cm10....
[Defy Android Development] traffic22:
@Maniac103 if you need the translation of the application to spanish, tell me how I can help you :)..
[Defy Android Development] AnTerNoZ:
it's possible to add a manage option for the station list with drag&drop?

found interesting in PlayStore about the JB notifications in Statusbar, maybe some useful stuff for the radio app https://play.google.com/store/apps/details?id=com.sloy.jbnotif

https://github.com/Sloy/Jelly-Bean-Notification-Test/

Jelly powered.Defy
[Defy Android Development] traffic22:
Royale123 And maniac103 I translate the setting for the application :).. I attached the file in the end of the post :)

Greetings from Chile
[Defy Android Development] ppero196:
You can do it via GITHUB. Much faster.
[Defy Android Development] royale1223:
Thanks, which locale? es-Chile?
[Defy Android Development] royale1223:
New version : http://db.tt/kPLJFCoL
[Defy Android Development] traffic22:
Yes :) is Chile :D
[Defy Android Development] royale1223:
Oops, uploaded the wrong apk https://www.dropbox.com/s/dk6hmbh4hjsvc8t/FMRadio8.apk
[Defy Android Development] AnTerNoZ:
thanks for the new build, the white line between statusbar and frequency display is gone :thumbup:

i found that in the new build, every time I start the radio, it ask me to scan for stations, same happens if the radio play in background and I click on the notification. that happens only for me?

is the landscape mode now integrated? for me it don't switch :\

Jelly powered.Defy
[Defy Android Development] marhensa:
a bit off topic.. sorry.

royale, what app do you use

to get that floating download and upload monitoring speed watermark?
[Defy Android Development] maniac103:
I've thought a bit on how the interface could be improved even further. Here are my ideas: :D

Drop the speaker preference and the speaker menu item, and replace it with a speaker on/off toggle button in the upper action bar whose state is saved persistently, so that the chosen setting is used on next start (basically that means combining the old menu item and speaker preference)

Replace the start-FM-on-start-app and stop-FM-on-exit-menu-item logic by an explicit on/off toggle button in the upper action bar. Makes it more obvious what's going on and allows e.g. for editing stations without enabling FM. Need to take care of the various places in code that simply assume FM is on while the UI is running.

Drop the 'hide action bar' preference, as the action bar is needed by the new buttons mentioned above.

Implement new preset handling as mentioned earlier. There could be a 'Manage presets' activity that allows for re-sorting, editing and deleting presets; and an additional 'save current station as preset button'. I would put all those buttons (scan, add station, manage) into the lower action bar and kill the clear, save, edit items from the menu

Add station backup/restore (this will be my next work item).

Thoughts, rants, improvement suggestions, anyone? ;)
[Defy Android Development] royale1223:
I'm in :) . After getting the landscape mode done.
[Defy Android Development] G00fY2:
Great point.

So like an stop and play button equal to musik players? So you have to stop listening to close app? I think that would be great feature.

I'll think about some other possible improvements next days. Before I have to write exams.:crying:
[Defy Android Development] maniac103:
Ah, right, that's the point that I forgot :)

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] maniac103:
Right. Currently there's 'stop UI' (e. g. by back button) and the 'stop UI and FM' menu item. I'd like to decoupled the FM state from the UI state.

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] donP73:
works on WIUI?

Anyone tested if this modded FM radio works on 2.5.27 GB WIUI?

Anyway, wonderful UI, great job, guys! :good:
[Defy Android Development] juan296:
Some idea...

I would like to see on the lockscreen , some buttons such as -forward, stop and backward- when the fm radio is turn on, changing between saved stations :) and also RDS Text resize (I'd rather in the middle, with giant letters is obviously my personal taste)

cheers!

thanks for sharing guys!
[Defy Android Development] aribis:
Good idea...will save a lot time in rescanning...make it incremental plz...
[Defy Android Development] gedhe:
How do I install this on cm7? Simply copy it to system/app? Tried this and got an parsing error....

Thx,

Davix

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] labsin:
Also for me. Then it stops the FM service. At the end, there are 3 main activities. And the scrolling is again in the wrong direction :D

Verstuurd van mijn MB525 met Tapatalk
[Defy Android Development] labsin:
And an extended notification? With buttons. You can also use it from the lock screen. It is less practical but...

Verstuurd van mijn MB525 met Tapatalk
[Defy Android Development] labsin:
AFAIK it is a different build for gingerbread.

Verstuurd van mijn MB525 met Tapatalk
[Defy Android Development] royale1223:
What do you think of a widget? +1 for advanced notification. Wish I had the time.
[Defy Android Development] maniac103:
Nice idea. I would give the other items higher priority, though.

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] aribis:
What about changing stations by long press Vol keys when screen locked...wat say eh?

Swyped from Ari@JellyGreenDefy
[Defy Android Development] maniac103:
Already works in my CM7 builds, Quarx just needs to port the small framework patch to also make it work in CM10. The app itself is ready for it.

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] aribis:
Wow that's great...will mention this in Quarx thread...and one thing more...when wake with Vol rocker is enabled in display the Vol rocker no longer works as long as the locked screen is showing...any way to keep both working at the same time because i don't like to use the awkward power button to wake the device

Ari@JellyGreenDefy
[Defy Android Development] labsin:
Think it also needs to be changed in Quarx's repo. Maybe best in CM itself. (long-press skip music will also not work prop..)
[Defy Android Development] juan296:
@Dab512,

You're the best ...excellent job, soo cute :)

What's your job? Are you a proffesional designer?
[Defy Android Development] aribis:
Actually i think pretty much nothing works while you are on the visible lock screen...no volume change, no track change, its pretty much the power button and the screen-lock/notification that works...much of which is actually intended...but i think these controls should be enabled for easy access when in lock screen whether the screen is dark or litup...
[Defy Android Development] royale1223:
Advanced notifications

Advanced notifications : New version :

https://dl.dropbox.com/u/47552535/FMRadio9.apk
[Defy Android Development] [] AL []:
Yo!

Dang, 10 days without internet and I've missed all the fun...

Great design work so far guys; keep it up!

I personally do not like white backgrounds and would rather go black or even semi-transparent, but since this is JB/Holo style oriented, I understand this choice.

So 2 quick remarks:

1- I do agree with Leopard that the perspective on the 3D logo [1st pic] seems off. not as much the two vertical sides, but the fact that we see the top and that gradded scale [ruler like lines under the selection needle - sorr hard to explain] seems to be off and coming at us perfectly perpendicular to the screen. no biggie, but to me it seems obvious that there is something glitchy with 3D perspective.

2- I do agree with all of Maniac's suggestion on ON/OFF buttons and changes in the sub-menu buttons/choices

One more [since Maniac seems to follow this thread - and although I would have to read Maniac's Github commits again coz I know he's still fiddling with all this...]: the stations with RDS descriptions are not showing the MHz after the numbers like before; it seems to look a little strange... I know that we can edit them, but kind of look non consistant after a full scan [see screenshots 2 and 3 taken with my CM7 theme from 2 weeks ago; and yes I also already did not like the all red look of the FM radio and yes I quickly put that together at that time and it is still a work in progress..]

Anyhow, thanks again Maniac for all your work on this and to you all; keep on getting those pixels together - nice community projet [I'll see if I can find time to contribute soon]; we need more of those.

Cheers,

/AL

PS for Maniac also: I've posted it on the main CM7 thread also [so sorry for double posting] but I cannot get the lockscreen to work on your July 27th build.

Thanks

Edit: I must have screwed up something somewhere; after nand restore and reinstall, the lockscreen os fine again. Sorry about this. :rolleyes:
[Defy Android Development] pabloltg:
Hi royale, amazing work!

Any way to use it in my old CM9?, :P
[Defy Android Development] dab512:
Yes i'm web designer :)

---------- Post added at 10:28 AM ---------- Previous post was at 10:07 AM ----------

If we talk about illustrations - i do agree with you and Leopard.

BUT! We talking about icon. Size of icon on defy screen is 72 pixels. If i make little perspective correction, as you want, left and right edges of icon will be dirty, blurry and not pixel perfect.

When i create icon, i try to make basic shape most clearly as it posible. You can compare 2 icons: and see this your own eyes.
[Defy Android Development] LeopardSurd:
Hi again! Let's see. Hmm...I think the best ideea is to decrease de upper face (with a button) so the front face will be as you want and the icon will look like the icons from Google Guide (with an narrow upper face). In this case yoy could keep the vertical sides perfectly vertical. What do you think?

P.S. I'm a MD not a Web Designer but my hobby is drawing and design. All I want is to see this icon well made.
[Defy Android Development] labsin:
My widget is getting shape and text (same as from notification)

Maybe need a new background

@royale: Stacked the commits into one in the branch Widget.

BR:

Noticed the FM only gets muted when you answer a call and not when it vibrates (didn't check with the ringtone).

Edit:

I think I will unpack the Music2.apk and use that 9.png.

Or doesn't that fit the app (it's the one above the FM one)

I already found a bug. Fixed
[Defy Android Development] royale1223:
wE

Good work. I will do the landscape and then I'll have to take leave for a while. Exams are near. Feel free to update the thread for me. As for the widget part, rather than using the notification layout, use widget layouts from apollo. That's the style

we're following right now.
[Defy Android Development] labsin:
Something else:

Would it be good to use the FM (MHz) instead of the Untitled if there is no present?

Attached my version (different signature so need to uninstall the previous) with the widget.

If someone wants to see it.
[Defy Android Development] royale1223:
Better change the debug key in eclipse to platform keys in CM9 repo.
[Defy Android Development] labsin:
Ok, thanx. Forgot about the landscape. Prob because Trebucked has no landscape :D

Should be just the same tho. because the name and the description beneath it just stretch.

And the background is a 9.png

---------- Post added at 01:31 PM ---------- Previous post was at 01:30 PM ----------

Ow, I c.
[Defy Android Development] maniac103:
I think the old station name / frequency style made more sense than the new station name / RDS name + radio text + frequency style, though, especially given that radio text can be pretty long and as station name will most likely match the RDS name anyway. The new version may be more fancy, but is IMHO less usable than before, as there's less space now.

What about station name + frequency on one line and RT on the second if RT is available and station name and frequency on separate lines otherwise?

I also spotted some more problems in the new notification code (you broke headset button recognition, the notification clicks are needlessly routed via the media button receiver instead of directly calling into the service, and query results are thrown away when updating the notification instead of using them), I'll fix them up when I'm back home.

Gesendet von meinem MB525 mit Tapatalk 2
[Defy Android Development] dab512:
Not all Google icons has narrow upper face. If object flat, or near that, upper face is narrow. If object has volume on z-demention, we should see wider upper face.

Look at contacts icon. I get it like base for my FM radio.
[Defy Android Development] royale1223:
That was some quick coding. I wanted to consult you before, but you weren't in #motomagic Nothing's final. Although if you're saying that notification buttons were useless, I would humbly disagree. About the rds text and frequency stuff, I'm trying to enable ticker text for rds in notification. You don't have to merge it in if you think the code isn't ready.

There is constructive criticism and negative criticism. Maybe you mean well, But I don't feel like contributing anymore to this or any other defy project. I will ask admins to close this thread.

When I started coding mbm, I just wanted to learn programming. I think I have learned enough. I guess I'll just find a new hobby. I have to bow out now. So long guys.

Ps: Drawables from dab for landscape, in case someone might need them. http://db.tt/gmSMOnVy
[Defy Android Development] espaciosalter20:
Sorry to read that :(

Because you're doing a great job...

Enviado desde mi MB525 usando Tapatalk 2
[Defy Android Development] aribis:
Brother i respect your decision but something that involve the likes and ease of use will vary for each individual and will attract criticism...take some time off and complete your exams...that's priority...but do come back for Defy development...we need more people to get involved for certain and you are good at it...best of luck!

Ari@JellyGreenDefy
[Defy Android Development] LeopardSurd:
He's a student and need to take exams. This FM-project will not help him to buy a bread in future. I think his decision is right, his exams are not easy at all.
[Defy Android Development] marhensa:
wise man is wise.. :)
[Defy Android Development] Hairo The Blue Mage:
you're right, priorities...

i wish i could develop things for android (no java or c++ knowledge, just python), this was a great concept, someone must finish it...
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] joho5:
If a rom is deodexed... When you download and install app, whether it be through the play store or manual apk, does the system install it deodexed?

Or can it create an incompatibility issue?