|
 |
|
06-06-2008, 06:14 PM
|
#16
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
That sounds like a fantastic idea really, youre basically doing the same thing just in two separate applications. I was just trying to keep mine small and simple with the languages I know. Remind me to learn flex
Anyway, I've noticed a lot of people's frontends look extremely plain in my opinions. In fact I dont like most of them at all due to it. I don't mind simple, but there is beauty in simplicity...
With that said, if anyone can offer critique as to how they feel about the overall look of the application, please, let me hear them
Thanks.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
06-19-2008, 05:16 PM
|
#17
|
|
Variable Bitrate
Join Date: Jan 2007
Location: Dallas
Posts: 329
|
Quote: Originally Posted by clifwlkr 
I am using a technique that is very powerful in Flex. I am using what we call code behind practices. Using this technique, there are two files. The first file, the actionscript class, handles all of the logic of what happens when buttons are pressed, data changes, etc. There is no GUI in there, except for the definitions of the controls on the screen.
The second file is an MXML file that contains ALL of the gui layout, etc. You can changed the appearance completely utilizing a simple drag and drop like format, as long as you keep the same name for the controls.
You do have to recompile it, but that is pretty much brain dead to do.
That is why I am concentrating on the hardcore features of the app, rather than the pretty factor. This works great since you can make an MXML for a small screen in a situation like driving. I can also make an entirely different interface for a larger screen without any real code changes.
Kind of like skins, but a lot more powerful with a GUI builder in an IDE.
Jim
this is my biggest draw to flex. it is so incredibly easy to switch your gui on the fly. in my app i have a day night mode that switches from a style to a lighter one to make the screen easier to read at different parts of the day. this was just a simple css file to make all the changes.
i do the same thing but different  i guess b/c i am a little lazy, i just put all my code into a script tag and then have all the mxml at the bottom. for me it is easier to debug and make changes with everything in one file. when i finish up or the file just becomes to long it will be pretty simple to suck most everything out of the script file and stick it in its own .as file.
Quote: Originally Posted by colin 
So Flex is like a mix of a downgraded version of Flash and a programming IDE? Sounds sort of cool, I can't see the benefits of using it over anything else though? Ive noticed a few people using Flex, so I guess its because of the simplicity in the MXML GUI changes for skinning. Interesting stuff.
i wouldn't say it is downgraded at all. flex just serves a different purpose. what they did is took the programming side of flash and "beefed" (there are still some weaknesses) it up. they made it better for developing full scale applications. you can still do all of the animations and things you do in flash, you just have to do them programmaticly.
Quote: Originally Posted by clifwlkr 
Actually the biggest reason to use it is that Flash has something like an 80% penetration in the market (flash).
last i had heard it was well into the 90s
__________________
Check out the new version of NAS, a cross platform music frontend here
|
|
|
06-19-2008, 06:45 PM
|
#18
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
So in the last few weeks I dont feel like Ive really accomplished anything on this stupid frontend that takes FOREVER. Im trying to have iPod-like artist scrolling where you can just drag the screen... however, I also want it to scroll along a path. Thats still not done and has taken me like... 5 days to accomplish what I have right now. Anywho, Im working on iPod parsing right now (had it done, lost it due to screwed up backup)... etc.
Uhhh... this takes way too long, I don't think this will be done by the time I leave for school after the summer, unfortunately... that's the problem with summer, its too nice to stay in... friends > programming...
Ah well, going good so far I guess... I have a lot of trouble making the Flash work and stuff since I suck at designing, butttttt Im getting there.
OBD support is gone in Delphi since Im rewriting it to directly use the COM port instead of third party programs...
Lots going at once, I want everything done directly inside my program. Oh god this will take forever. Im thinking Ill start the iPod stuff, then leave it half done so I have a desire to finish it... then Ill do easy things like photo albums (easssyyyyyy) and finish the music and possibly set up the Setup page (haha) so that at least it looks like PART of the program is done
Whoever reads this, thank you. Any source code that could help, thank you again. Any comments or criticism, thanks once more.
|
|
|
06-19-2008, 09:27 PM
|
#19
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
For my personal reference, my todo list in this program:
[x] = COMPLETE
[/] = PARTIALLY COMPLETE
[/] = BEING WORKED ON
* Loading
[x] - communication protocol
[x] - load interface (date/time/information)
[x] - load artists for basic music selection
[x] - initialize third-party programs in idle time
* Music
[/] - sort by artists (scrolling list)
[/] - sort by album (album art scroller)
[x] - sort by album w/ artist specified
[/] - sort by song (scrolling list again)
[x] - sort by song w/ artist or album specified
[x] - search artists/albums/songs/any
[ ] - playlists
[ ] - multiple sources
[ ] - AUX input (jack for MP3 players)
[/] - IPOD input (iPod parser class, detect devices)
[ ] - CD input (detect new CDs, get information, copy CD to HD if not found)
[ ] - USB input (hard drives, etc, search for MP3s and art, detect devices)
* Pictures
[/] - load photo albums
[/] - load photos from albums (titles, effects)
* Video
[/] - load videos with previews (effects)
[ ] - play/pause/video controls
* Radio
[x] - interface with device (detect devices)
[x] - tune stations
[\] - interface (saving presets, sound control, etc)
* GPS
[x] - embed iGuidance4 for GPS
[x] - interface with iGuidance4
[x] - read satellite signal strength and heading for other uses
* Car
[ ] - detect custom USB device (detect devices)
[ ] - interface (images of car, link input to control)
[ ] - send and receive commands from device
[ ] - OBD interfacing
* Setup
[ ] - set up directories and drives
[ ] - create hibernation point (quicker load once list in RAM)
[ ] - random settings (continue playing on restart, show ____)
* Misc
[/] - popups
[/] - now playing
[ ] - are you sure
[ ] - OBD
[x] - error
[x] - alert
[/] - browse
[ ] - findFile
[ ] - shutdown
Last edited by colin; 07-28-2008 at 01:13 AM..
|
|
|
07-21-2008, 12:29 PM
|
#20
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
I've spent so much time on hardware that the software has been slacking. The GPS is now fully functional aside from reading NMEA headers.
I'm working on the radio screen now and hopefully soon enough Ill get the artist list component working like I expect it to.
|
|
|
07-22-2008, 02:29 PM
|
#21
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
New background and some minor updates
Last edited by colin; 07-22-2008 at 02:36 PM..
|
|
|
07-22-2008, 11:51 PM
|
#22
|
|
Constant Bitrate
Join Date: Dec 2004
Location: Staten Island, NY
Posts: 220
|
Hmmm. Very Nice.... Very Nice....
|
|
|
07-23-2008, 09:50 AM
|
#23
|
|
Newbie
Join Date: Apr 2008
Posts: 26
|
Just out of curiosity, how are you embedding the IGuidance? Can you control the display of it (displayed, not displayed) from Flash?
Jim
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
07-23-2008, 10:39 AM
|
#24
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
Yep, there's a function I call from flash, hideGPS. What I do is:
- create a panel through code on runtime.
- launch iGuidance in the background
- wait for iGuidance's main screen to be present (but still not visible)
- assign the parent of the screen to the panel I created
- size it all up nicely, and it's done.
With this, all I have to do is hide the panel... which in Delphi is simply
GPSPanel.Visible := False;
|
|
|
07-23-2008, 12:53 PM
|
#25
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
Im going to restart the music part because as much as I love VLC player, I can't possibly use it's horrible SDK. There's a component for Delphi but it's just absolute crap. I think music will be done in WinAmp and I'll decide on video once I get there. I love how VLC supports pretty much any format so I may have to stick to that or just get a huge codec package...
|
|
|
07-28-2008, 01:05 AM
|
#26
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
Quote: Originally Posted by colin 
I've spent so much time on hardware that the software has been slacking. The GPS is now fully functional aside from reading NMEA headers.
*IMAGE*
I'm working on the radio screen now and hopefully soon enough Ill get the artist list component working like I expect it to.
GPS now reads the NMEA headers (well it should theoretically, waiting on parts).
Still working on the artist list component and the radio screen.
Radio works (again, theoretically, waiting on parts).
Music search function works.
|
|
|
08-12-2008, 04:12 AM
|
#27
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
Ummm... still waiting to receive my working GPS.
Radio skin done, functionality is almost done... it works.
|
|
|
01-12-2009, 01:55 AM
|
#28
|
|
Newbie
Join Date: Mar 2004
Posts: 5
|
are they any updates on this frontend??
|
|
|
01-12-2009, 11:01 AM
|
#29
|
|
Maximum Bitrate
Join Date: Dec 2006
Posts: 618
|
Internally, yes.
I re-wrote the entire backend to be modular and efficient. When I was coding in Flash, I noticed a really cool way that I could call functions based on what page was active. I realized that would be awesome to do in Delphi too, and I wrote an event handler-type thing. Everything runs much quicker and smoother now and is WAY less confusing to code!
As for flash, since I changed the communication protocol, I just started working on it again yesterday. I have new ideas for how music should be laid out and I was working on that first. I basically have to code everything beyond the loading screen from scratch, which won't be too bad -- except I'm in university now.
There's updates, but no eye-candy unfortunately.
|
|
|
01-14-2009, 01:30 PM
|
#30
|
|
Maximum Bitrate
Join Date: May 2008
Location: Bordeaux, France
Posts: 537
|
Hi, Have you a new version to download ?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:36 PM.
| |