Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 07-11-2006, 03:13 AM   #286
Constant Bitrate
 
Sharkbite86's Avatar
 
Join Date: Apr 2006
Location: California
Posts: 191
Sharkbite86 is on a distinguished road
Quote: Originally Posted by snoe
First, I'm a programmer and would love to help out too but I'm also a mac/cocoa newbie, if someone could point me in the right direction to compile the source it would be much appreciated. I guess I need something called xcode (a compiler, an ide, i dunno)? Is there a web page for extreme noobs like me to get started with setting up a dev environment? (the source code and the language look like the easier part)

xcode is included with mac os. Just pop in your os x install dvd and there should be an installer for xcode right there (no reboot necessary). I wish i could program, but i cant get my head around all the code. I mean I can understand the code well enough, but what kills me is how to know where to put code in the right place and in what order etc, for the thing to work and function... bah gets me all tied in a ball just thinking about it lmao .

Anyway yeah awesome job Aychamo, and other brothers in crime, for this great app .
__________________
MacCar progress:
Planning:-----> [||||||||||||||||||||] 70%
Parts:---------> [||||||||||||||||||||] 0%
Construction:-> [||||||||||||||||||||] 0%

Car broken into... progress is basically zip...

Last edited by Sharkbite86; 07-11-2006 at 03:15 AM..
Sharkbite86 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-11-2006, 07:19 AM   #287
Maximum Bitrate
 
pepsibobby's Avatar
 
Join Date: Dec 2005
Location: Langley AFB
Posts: 607
pepsibobby is on a distinguished road
when you click in the browser bar a keyboard pops up.
__________________
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 07-11-2006, 10:17 AM   #288
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by pepsibobby
when you click in the browser bar a keyboard pops up.

I think he meant like the input fields, like if you went to Google.com and wanted to enter a search term. Or enter your username when logging into mp3car.com

That's a really good idea!
__________________
-
aychamo is offline   Reply With Quote
Old 07-11-2006, 10:26 AM   #289
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by Sharkbite86
I wish i could program, but i cant get my head around all the code. I mean I can understand the code well enough, but what kills me is how to know where to put code in the right place and in what order etc, for the thing to work and function... bah gets me all tied in a ball just thinking about it lmao

Man, I was the same way. It took me forever to get started on Mac development. To me it seemed extremely confusing. All of these "layers" and "models" and "object oriented programming." I still don't really know what Cocoa is (LOL).

You just gotta jump into it. Apple has a lot of documents on their developer.apple.com where you can learn about Objective C & Cocoa. And they have lots of sample code. It's a lot of **** to take it in at first. Even simple things like connecting strings (like "Hello" + "World!" = "Hello World" takes a lot of effort: NSString *firstString = @"Hello"; NSString *secondString = [firstString stringByAppendingString:@" World!"]

And then it gets complicated with things like bindings, etc. You really just have to jump in. It's not really that difficult. I've been a "programmer" since I was in the 6th grade (with my trusty Turbo Pascal 6.0 compiler), but I really just started Mac stuff. My first program was a little POS flash card program I wrote last semester.

But when it comes together, & clicks, you can really see how great of a developing environment Apple has given us. Once it clicks, you'll wonder how you ever did anything without Cocoa, etc.
__________________
-
aychamo is offline   Reply With Quote
Old 07-11-2006, 10:31 AM   #290
CarFrontEnd Creator
 
iamgnat's Avatar
 
Join Date: Jul 2004
Location: NoVA
Posts: 867
iamgnat is on a distinguished road
Quote: Originally Posted by Sharkbite86
xcode is included with mac os. Just pop in your os x install dvd and there should be an installer for xcode right there (no reboot necessary).

At 900+MB it's painful, but go download it from developer.apple.com. Anything you have on Disc is going to be out of date (I believe 2.3 just came out the end of last month?).

Cocoa programming with XCode and Interface Builder are somewhat strange to get used to if you aren't familiar with something similar (I wasn't). Check out the books from Big Nerd Ranch.

Quote:
but what kills me is how to know where to put code in the right place and in what order etc, for the thing to work and function.

Yeah the NIB stuff is goofy to get used to (I still have trouble with it sometimes, and we won't talk about array controllers ).

-dave
__________________
My pathetic worklog.
CarFrontEnd (now it's own sub-forum!!!!)
iamgnat is offline   Reply With Quote
Old 07-11-2006, 12:16 PM   #291
Low Bitrate
 
jdisenberg's Avatar
 
Join Date: Dec 2005
Location: Kentucky
Posts: 78
jdisenberg is on a distinguished road
I just ripped a DVD, when I try to play it, it opens DVD player and runs from there, no internal controls are visible. This is a TS file. Then I tried to run a quicktime file and it went to a black screen but when I tried to use the controls, none worked, not even the exit button, nothing ever played either. I then tried a WMV file and that did the same thing. What am I doing wrong? What format do the files need to be in to use internal controls?
jdisenberg is offline   Reply With Quote
Old 07-11-2006, 12:27 PM   #292
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
What kind of quicktime file was it? Was it a protected video file from iTunes? Does the WMV file play OK in QuickTime player normally?

Re: DVD player, I posted somewhere a while back that for the most part, DVD's will just playin Apple's DVD player. I could write DVD controls built into AMP, but to be honest they would inferior to Apple's DVD player.
__________________
-
aychamo is offline   Reply With Quote
Old 07-11-2006, 12:30 PM   #293
Variable Bitrate
 
super-fly's Avatar
 
Join Date: Feb 2006
Location: In a van down by the river!
Posts: 226
super-fly is on a distinguished road
I just downloaded and tested it out, I was going to take some pictures too but there was too much glare; I'll take some tonight. I like the floater screen, but there are some problems with the new version. I ended up going back to 1.0 until they are fixed.

First, when you are on the music screen and you click the album cover to bring up the floater it comes up and then auto hides, which I want it to do. The problem is if I click the album cover again to bring the floater back up it won't auto hide like it's suppose to; it just sits there till I hit the x or the big album cover on the floater. This is the only time that I can find so far that it doesn't auto hide.

Two, the videos don't stretch to full screen anymore like they did in 1.0. The video is even with the bottom of the screen with 3 black borders on the other sides. I've checked the settings for bothe this and the autohide and everything is set accordingly.

Another video problem, the controls don't work at all. The only one that works is the slider. The controls also act funny sometimes. I'll touch the screen and they will pop up and they will come up for about a half of second and close again with out me touching anything. They just like flash on the screen and then they are gone. This only happens sometimes where they flash like that, but the never work. The two times I tested I had to pull the power on the computer and start over cause there was no way to exit the movie.

The last thing I have come across so far is I'm having a problem with the music importing. I tries three times and everytime i do I click yes and it just freezes there. I wait awhile figuring it will kick in but it just sits there, then the beachball starts spinning and still nothing. I didn't just wait a couple of seconds either. I had to pull the power on these attempts and restart again.

So for now I think I'll stick with 1.0...the only thing it's really missing is the slider, which is nice, but I can live without for now.


One last thing, after going back to 1.0 now I tried to import music and it froze again. I don't know what happened, I just imported last night and the only thing I have done since then is upgrade to 1.1.

Thanks

Last edited by super-fly; 07-11-2006 at 12:33 PM..
super-fly is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 07-11-2006, 12:37 PM   #294
Low Bitrate
 
jdisenberg's Avatar
 
Join Date: Dec 2005
Location: Kentucky
Posts: 78
jdisenberg is on a distinguished road
Quote: Originally Posted by super-fly
Two, the videos don't stretch to full screen anymore like they did in 1.0. The video is even with the bottom of the screen with 3 black borders on the other sides. I've checked the settings for bothe this and the autohide and everything is set accordingly.

I did not have this problem with the new version however....
Quote: Originally Posted by super-fly
Another video problem, the controls don't work at all. The only one that works is the slider. The controls also act funny sometimes. I'll touch the screen and they will pop up and they will come up for about a half of second and close again with out me touching anything. They just like flash on the screen and then they are gone. This only happens sometimes where they flash like that, but the never work. The two times I tested I had to pull the power on the computer and start over cause there was no way to exit the movie.
Thanks

Yeah, I had this problem too... but next time instead of pulling the plug... force quit... press the apple button, option button, and esc. The equivelant to crtl, alt, del on PC
jdisenberg is offline   Reply With Quote
Old 07-11-2006, 12:48 PM   #295
Variable Bitrate
 
super-fly's Avatar
 
Join Date: Feb 2006
Location: In a van down by the river!
Posts: 226
super-fly is on a distinguished road
i only have a playstation mini keyboard, no apple or escape button

Also for aychamo, if you do implement an on screen keyboard, it would be nice if there was a way to disable it. For those of us that have keyboards.

Thnaks Again

Last edited by super-fly; 07-11-2006 at 01:05 PM..
super-fly is offline   Reply With Quote
Old 07-11-2006, 01:27 PM   #296
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
RE: Movie controls. Big "Whoops!" You're right, they weren't hooked up properly. To be honest, I found out this weekend that my fiance, of over a year, who went to France a month ago to visit her friend "Julie" has actually been living and sleeping with a guy over there that she met before she left for "vacation." It's amazing how ****ty a girl can be. My brain isn't working really well the past few days. I'm just trying to stay busy so I don't have to deal with the broken engagement. Sorry.
__________________
-
aychamo is offline   Reply With Quote
Old 07-11-2006, 01:43 PM   #297
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by super-fly
First, when you are on the music screen and you click the album cover to bring up the floater it comes up and then auto hides, which I want it to do. The problem is if I click the album cover again to bring the floater back up it won't auto hide like it's suppose to; it just sits there till I hit the x or the big album cover on the floater. This is the only time that I can find so far that it doesn't auto hide.

This is now fixed.

Quote: Originally Posted by super-fly
Two, the videos don't stretch to full screen anymore like they did in 1.0. The video is even with the bottom of the screen with 3 black borders on the other sides. I've checked the settings for bothe this and the autohide and everything is set accordingly.

Oops again. This is due to a combination of reasons. The first is when I switched over to QTMovieView instead of NSMovieView. Second, I was working on this at about 4:30AM after I found out about my fiance. And third, I was implementing the movie slider thing where you can click through the movie positioin, and I fell asleep on my couch in the middle of coding it, and I woke up and I magically had finished the code for the slider, and I compiled it and it just worked (LOL, it really was magical, I don't even remember programming it. I just woke up and it was finished!!) I totally forgot (actually I have no memory of it still) that I had taken out the entire part that resizes the video. Apparently I deleted a whole section of code, but it didn't raise any compiler errors. Very weird.

EDIT: I seem to recall now that maybe I was thinking "well, the program is designed for a specific size, so it should just be the size" or whatever.

Quote: Originally Posted by super-fly
Another video problem, the controls don't work at all. The only one that works is the slider.

This is now fixed, oops


Quote: Originally Posted by super-fly
The controls also act funny sometimes. I'll touch the screen and they will pop up and they will come up for about a half of second and close again with out me touching anything. They just like flash on the screen and then they are gone. This only happens sometimes where they flash like that, but the never work. The two times I tested I had to pull the power on the computer and start over cause there was no way to exit the movie.

This *should* work better now that the buttons work in the movie control. I think the problem is if you click on the screen too many times in too short of a time, the timer gets confused.

Quote: Originally Posted by super-fly
The last thing I have come across so far is I'm having a problem with the music importing. I tries three times and everytime i do I click yes and it just freezes there. I wait awhile figuring it will kick in but it just sits there, then the beachball starts spinning and still nothing. I didn't just wait a couple of seconds either. I had to pull the power on these attempts and restart again.

If the beach ball is spinning, let it keep going. Sometimes when it gets to playlists, it looks like its dead, but just let it keep going. I've *never ever* had the importer crash. Just let it go until its done. It's slow as **** right now.

Quote: Originally Posted by super-fly
So for now I think I'll stick with 1.0...the only thing it's really missing is the slider, which is nice, but I can live without for now.

This is an embarassing release.
__________________
-
aychamo is offline   Reply With Quote
Old 07-11-2006, 01:43 PM   #298
Variable Bitrate
 
Join Date: Feb 2006
Posts: 263
LightningMac is on a distinguished road
Sorry to hear that, take a few days off and go do something you enjoy! But hey if you want to bring your laptop and code too. we won't complain! j/k. It's definitely her loss!
LightningMac is offline   Reply With Quote
Old 07-11-2006, 02:02 PM   #299
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
Quote: Originally Posted by super-fly
i only have a playstation mini keyboard, no apple or escape button

Also for aychamo, if you do implement an on screen keyboard, it would be nice if there was a way to disable it. For those of us that have keyboards.

Thnaks Again

Have you played with the current implementation of the OSK? You can access it by clicking on the URL of the WebView. I think it does a great job of getting the job done. The good thing is does support if you have a normal keyboard. You can just click on the URL, it pops it up, and you can start typing normally, or use the keys on the screen. I guess the good thing about it working like that is there is some "short cut" keys on the OSK also.
__________________
-
aychamo is offline   Reply With Quote
Old 07-11-2006, 02:11 PM   #300
AMP Creator
 
aychamo's Avatar
 
Join Date: Jun 2006
Posts: 454
aychamo is on a distinguished road
LM - Thank you man

Ok guys, I've fixed the bugs up above that super-fly mentioned. The new version and the source are available for download. Please let me know of anything else you find that seems wrong!!

http://www.aychamo.com/amp/AMP.zip
http://www.aychamo.com/amp/AMPSource.zip
__________________
-
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 05:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
"VaultWiki" powered by VaultWiki v2.5.2.
Copyright © 2008 - 2009, Cracked Egg Studios.Ad Management by RedTyger
Message Board Statistics