Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > MacCar > AMP


Reply
 
Share Thread Tools Display Modes
Old 09-16-2006, 02:52 PM   #556
QCar Creator
 
Jirka Jirout's Avatar
 
Join Date: Jul 2005
Location: Netherlands
Posts: 577
Jirka Jirout is on a distinguished road
Quote: Originally Posted by blaforce View Post
I think AMP should concentrate on just being a Front End application so it doesn't get bogged down with GPS programming and the like. Keep AMP simple and it will be the best front end.

Of course it is Aychamo's decision, but I strongly disagree. A true front-end must provide the user with a standardized and consistent user interface for all the functions. So the functionality either has to be built-in or the front end application must be kind of operating system, providing an environment and API for plug-ins that implement the functionality.

If you just launch external applications using their original GUI, you do not have a front end, but only a launcher
Jirka Jirout is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 09-16-2006, 03:17 PM   #557
Admin. Don't bug or I'll byte.
 
Bugbyte's Avatar
 
Join Date: Sep 2004
Location: Corning, NY
Posts: 6,141
Bugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to behold
Quote: Originally Posted by aychamo View Post
The point of that, meaning, that perhaps if we have the source code to gpsd (its open source, right?), it may be possible to use that to send a direct AppleScript command to GE to have it set the position automatically, which would eliminate the need to have GPS2GE running. But then again the GPS2GE works fine, so it's not really a problem. I know Jirka can program circles around me, so maybe I can get him to help me with that.

I'd say short term, just set up a nav window in AMP that lets you see GE running underneath it. In that window, put some information you pull off of GPSD like speed and altitude, big enough to read when driving.

Later on, look at getting GPS2GE out of the picture so that AMP is controlling GE. That way AMP users can configure it for what altitude they want to view from, how far down to tilt the camera, etc. etc. For example, at a stoplight GPS2GE zooms out to give you an over view. Frankly, I'd like it to zoom in closer, the slower I'm going, so street names and stuff get revealed.

Isn't there a way to send Applescript commands to GE from Cocoa? I'm almost certain there is. In that case, it is pretty trivial to, for example, ask GPSd what the speed is, then send the Applescript commands to GE.

You'd also have to output the kml file from Amp, which is a pain, but should be straightforward. Anyhow, that's a longer term solution.
__________________
Want to:
-Find out about the iBug?
-Stop being a newbie? Take a look at the FAQ Emporium?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
-Help me kill my car PC
-Watch live video streams from my mobile PC? Check it out here.
-Where is the iBug?
Bugbyte is offline   Reply With Quote
Old 09-16-2006, 05:14 PM   #558
QCar Creator
 
Jirka Jirout's Avatar
 
Join Date: Jul 2005
Location: Netherlands
Posts: 577
Jirka Jirout is on a distinguished road
Quote: Originally Posted by Bugbyte View Post
Isn't there a way to send Applescript commands to GE from Cocoa? I'm almost certain there is.

Last time I checked (beginning of summer), Google Earth was not scriptable. If this is still so, you can't send AppleScript commands to GE from any application or framework. Besides that, the GE seems to be written using some really obscure libraries and frameworks, so the common cocoa hacks and reverse engineering tricks do not work either.

Using JavaScript with Google maps seems to be the best method to integrate Google's maps into a custom product. There are still issues though (like you can't directly rotate the map, you do not get the 3D view etc.).
Jirka Jirout is offline   Reply With Quote
Old 09-16-2006, 07:16 PM   #559
Admin. Don't bug or I'll byte.
 
Bugbyte's Avatar
 
Join Date: Sep 2004
Location: Corning, NY
Posts: 6,141
Bugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to behold
It's got a couple of scripting commands. I opened the dictionary of version 4 and found these:
Attached Images
 
__________________
Want to:
-Find out about the iBug?
-Stop being a newbie? Take a look at the FAQ Emporium?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
-Help me kill my car PC
-Watch live video streams from my mobile PC? Check it out here.
-Where is the iBug?
Bugbyte is offline   Reply With Quote
Old 09-16-2006, 11:50 PM   #560
Newbie
 
Join Date: Jul 2006
Posts: 31
blaforce is an unknown quantity at this point
I like the RouteBuddy but I am still waiting on the features. It still doesn't do routing. I like what I see so far. The map shows my location and I can bring up points of interest. I purchased it now to support the project hoping it will be a solution for the mac. I would guess it will be another 4 - 6 months before they get routing working (being a programmer myself). The forum on their website is very helpful and they seem to be taking note to customer comments. They put out the software early so they can get feedback as they develop the software and add features.
blaforce is offline   Reply With Quote
Old 09-16-2006, 11:58 PM   #561
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by Jirka Jirout View Post
Last time I checked (beginning of summer), Google Earth was not scriptable. If this is still so, you can't send AppleScript commands to GE from any application or framework. Besides that, the GE seems to be written using some really obscure libraries and frameworks, so the common cocoa hacks and reverse engineering tricks do not work either.

Using JavaScript with Google maps seems to be the best method to integrate Google's maps into a custom product. There are still issues though (like you can't directly rotate the map, you do not get the 3D view etc.).


YUP! Check again! GE is Apple Scriptable (i'm so ******* durnk)(
__________________
-
aychamo is offline   Reply With Quote
Old 09-17-2006, 12:00 AM   #562
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by Jirka Jirout View Post
Of course it is Aychamo's decision, but I strongly disagree. A true front-end must provide the user with a standardized and consistent user interface for all the functions. So the functionality either has to be built-in or the front end application must be kind of operating system, providing an environment and API for plug-ins that implement the functionality.

If you just launch external applications using their original GUI, you do not have a front end, but only a launcher

Why don't we work together on some of this stuff man? I openly admit you can code circles around me, I can't grasp what is an object and what isn't, or whatever it is, or however it goes. But.. I think AMP is much more widely used than TatraApp, so if we combied forces.. hahah AMP is my first App for Apple I really ever made! Sitll drunk!
__________________
-
aychamo is offline   Reply With Quote
Old 09-17-2006, 05:56 AM   #563
Constant Bitrate
 
Join Date: Jun 2006
Posts: 126
JakobMetzger is on a distinguished road
haha, of course your drunk you posted 2min after the previous post(lol its my homecoming weekend and im ******* trashed, well coming down off of being wasted!!) just do w/e you want aychamo, this is your rodeo.

....(but GPS has got my vote for the next item on the list of to do's)
JakobMetzger is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 09-18-2006, 03:07 AM   #564
QCar Creator
 
Jirka Jirout's Avatar
 
Join Date: Jul 2005
Location: Netherlands
Posts: 577
Jirka Jirout is on a distinguished road
Quote: Originally Posted by aychamo View Post
Why don't we work together on some of this stuff man? I openly admit you can code circles around me, I can't grasp what is an object and what isn't, or whatever it is, or however it goes. But.. I think AMP is much more widely used than TatraApp, so if we combied forces.. hahah AMP is my first App for Apple I really ever made! Sitll drunk!

First - I do not think that the actual coding is your problem. I looked at AMP and the coding is rather clean. The biggest problem you have is design. The application is very monolithic and static, you are basically throwing away most of the wonderful functions Cocoa gives you. I understand it is so easy to get carried away by the ease of ObjC/Cocoa and just start writing, but I prefer to sit down and think first. Since the TatraApp host/mail application was created in late 2002, only about 50 lines were changed in the app itself. Although the whole thing has changed significantly, including the look and many new functions, all that was done in the plug-ins. From what I can see, AMP lacks some sort of this "basic framework".

As for the cooperation - all my code is available to you and if you have any particular questions, issues or problems, I can try to help you by looking at them, making some examples and pointing you in the right direction (ehm, better "the direction I believe is right :-) ). But I do not think that I will take any direct part in development of AMP as such.
Jirka Jirout is offline   Reply With Quote
Old 09-19-2006, 07:13 PM   #565
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Jirka, thank you, and I will definitly be PMing you for this upcoming GPS stuff

--

Guys, ok, what "options" should be on the little GPS overlay menu. The idea is to be small as it can be, but still provide some functionality. I'm thinking:

1. The internet access light
2. Time
3. some way to access the music pop-up control
4. and X to terminate it

That's pretty simple. Any other ideas? I had some free time today and finished the "QuickMenu" thing.

--

Also, I'm thinking that this little menu should be on the side of the screen, instead of bottom. Since we have so much more horizontal space than vertical. Thoughts?
__________________
-

Last edited by aychamo; 09-19-2006 at 07:32 PM.
aychamo is offline   Reply With Quote
Old 09-19-2006, 08:01 PM   #566
Maximum Bitrate
 
pepsibobby's Avatar
 
Join Date: Dec 2005
Location: Langley AFB
Posts: 607
pepsibobby is on a distinguished road
I think that about sums it up. Is it going to be a side app like the importer and other things? I think as long as when you press the button it takes you back to AMP its all good.
__________________
Cant code cause I dont know how, but give me the paint bucket and my eraser and have at you!
pepsibobby is offline   Reply With Quote
Old 09-19-2006, 09:10 PM   #567
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by pepsibobby View Post
I think that about sums it up. Is it going to be a side app like the importer and other things? I think as long as when you press the button it takes you back to AMP its all good.

Nah, this will be a rather small addition to the core of AMP.
__________________
-
aychamo is offline   Reply With Quote
Old 09-19-2006, 09:13 PM   #568
Maximum Bitrate
 
pepsibobby's Avatar
 
Join Date: Dec 2005
Location: Langley AFB
Posts: 607
pepsibobby is on a distinguished road
ohh good. then just have a back button like everything else.
__________________
Cant code cause I dont know how, but give me the paint bucket and my eraser and have at you!
pepsibobby is offline   Reply With Quote
Old 09-19-2006, 09:58 PM   #569
Variable Bitrate
 
Join Date: Feb 2006
Posts: 263
LightningMac is on a distinguished road
I think some type of smart switching, like you're in music and you want to get to the GPS screen to get directions, and then go right back to music. like a toggle switch. This would only happen if you started in GPS mode and then fast switch to the music screen, Amp would know that you were going to be switching between both while getting your location, so GPS would stay loaded in the background while was playing. Did all that make sense?
LightningMac is offline   Reply With Quote
Old 09-19-2006, 10:14 PM   #570
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Well, I just added a "QuickMenu" type thing, where if you touch (click) the upper-left corner of the screen, the blank area, it pops down a small menu to pick between the big 4 options (music, movies, photos, apps) and it instantly brings you there. So it actually works pretty well for getting you around AMP quickly. (I decided to add that, because I like to use AMP as my media center on my laptop while studying, and it got to be such a pain to be in the song view and have to hit back three times, then hit another button to go to the config screen. Now I can be there in less than a second.)

I know what you talking about, but I think I want to shy away from predicting what the user is going to do. I find that anytime I do something like that, I always end up wanting to do the opposite of what it makes me do. The quick-switch includes GPS, so it shouldn't be a problem.

Here's an interesting problem. Ok, you are in GPS, and you hit "back", should it close the GPS apps, or just leave them running in the background? I assume leave them running..
__________________
-
aychamo is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PC Motherboard to 1 amp or 2? hanzacra General Hardware Discussion 5 11-27-2007 03:41 AM
Amp running hot...?? Emerica2843 General Hardware Discussion 5 02-08-2006 06:40 PM
Amp running hot...?? Emerica2843 Car Audio 6 01-29-2006 08:29 PM
vw mk4 monson amp and another amp colorless Car Audio 33 10-03-2005 01:32 PM



All times are GMT -5. The time now is 02:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics