Hey guys,
As most of you may know, the iPhone SDK is a powerful tool that includes lots of great applications to develop for the iPhone or iPod Touch.
However, the iPhone SDK is only available on Mac computers.
But, after doing some research, I saw a website telling you how to make your own apps WITHOUT the need for a Mac computer at all!
So how does this work?
Well, all the header files and other source code from the iPhone SDK get placed onto the device itself via SSH into the /var/mobile/include/ directory.
So what do you need to make an app?
A simple file structure containing a build, Classes, and Recources folder.
Inside the root of the main project folder is a Makefile and Info.plist file.
The Recources folder contains all the images needed for the application such as the icon.
The build folder contains the app once you build.
And the Classes folder contains all the source code for the app.
You have your main.m which contains the main function.
And you have the App.h which is the application header file.
And then you have the App.m which is the main class of your application.
Obviously your project may contain more files than that, but that is the base of it all.
The Makefile is configured to build your source code and then you install the app on your device using make and make install.
Once you've done that, you can test out your application on your device.
But how do you build?
Well all of this is done on the device itself, and you build on the device too.
You simply use the terminal or better yet SSH into the device and run the commands to build the app.
The only thing you don't get is GUI support for using UIKit or anything else, no Xcode unfortunately.
But that doesn't mean you can't build apps, you'll be writing the code that the GUI would normally make for you.
So what have I made so far?
Well, I don't have much documentation on the iPhone SDK, and most of the tutorials you see are based on using Xcode and building on a Mac.
So right now I'm testing out some of the features and learning how Objective-C works, slowly learning as I go along.
Here is a screen shot of the current application I'm making.
All that it does right now is when you press the "Pools Closed" button, the text on it switches to "Due To AIDS".
And the ON/OFF switch disables the button, changes it to say "LOCKOUT" and changes the color of the button text.
So far I've learned a little about UIView, UIButton, UIColor, UISwitch, and a few others.
But I still have a long list of header files to go through to learn everything.
If you have a jailbroken iPod Touch or iPhone and you have Cydia, then add this repo to your list:
http://irepo.leonblog.it.cx/
And you'll be able to install my Pools Closed app to test it out.
More to come soon, and if anyone has suggestions on an app I should try to make or features I should implement in this current application, please let me know.
Thanks,
Leon Blade
My First iPhone/iPod Touch App Made On Linux?
Moderator: Coders of Rage
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
My First iPhone/iPod Touch App Made On Linux?
There's no place like ~/
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: My First iPhone/iPod Touch App Made On Linux?
Here is a simple video, no audio, just showing the works and then a screen shot at the end...
There's no place like ~/
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: My First iPhone/iPod Touch App Made On Linux?
So you're Jimmy Stine? Here I was thinking it was just some name you made up. Also, could you not remember what you were doing? I noticed some stutters before 2clicking on directories. And where's the video of you holding your ipod with this app on it? And you probably should fix those pointer-integer comparisons. :)
But hey, non-PC platforms (in this case, iSomething) always score points. :)
But hey, non-PC platforms (in this case, iSomething) always score points. :)
Last edited by MarauderIIC on Mon Mar 16, 2009 6:12 pm, edited 1 time in total.
Reason: oops fixed your last name :D
Reason: oops fixed your last name :D
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: My First iPhone/iPod Touch App Made On Linux?
Jimmy Stine yes, (not Stein lol)
And yeah it was like really late at night when I made this LOL so I was like half asleep.
My web cam isn't working too well with Ubuntu, I'll give it a go right now.
But like I said above, if you have a jailbroken device, you can download my app from Cydia.
And yeah it was like really late at night when I made this LOL so I was like half asleep.
My web cam isn't working too well with Ubuntu, I'll give it a go right now.
But like I said above, if you have a jailbroken device, you can download my app from Cydia.
There's no place like ~/
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: My First iPhone/iPod Touch App Made On Linux?
ALRIGHT TIMES FOR SOME PROOF
My voice in this video might be too exciting for you all so be warned...
My voice in this video might be too exciting for you all so be warned...
There's no place like ~/
Re: My First iPhone/iPod Touch App Made On Linux?
Oh snap! Leon said, "this crap"
Marauder vs. LeonBlade
FIGHT! FIGHT! FIGHT! FIGHT!
lol
Marauder vs. LeonBlade
FIGHT! FIGHT! FIGHT! FIGHT!
lol
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: My First iPhone/iPod Touch App Made On Linux?
OMG
BANBANBANBANBABNABNANBANBABANBABNABANBABANBABNABNABNABNABNANNANANABAN
BANBANBANBANBABNABNANBANBABANBABNABANBABANBABNABNABNABNABNANNANANABAN
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- LeonBlade
- Chaos Rift Demigod
- Posts: 1314
- Joined: Thu Jan 22, 2009 12:22 am
- Current Project: Trying to make my first engine in C++ using OGL
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: Blossvale, NY
Re: My First iPhone/iPod Touch App Made On Linux?
Lol, I didn't mean it that way in the video, just so you know.
Right now I'm working on Animation and using the built in accelerometer to move stuff...
I have an accelerometer thing going on, but it doesn't work out that great lol.
I'm making my Pixel Ship Saves Space From Evil Asteroids Game on my iPhone...
If anyone wants to develop for the iPhone and iPod touch, you should defiantly consider jailbreaking your device.
Just because you jailbreak it, doesn't mean that you pirate games...
I'll post some quick screen caps of the two apps I have made to show you guys.
Right now I'm working on Animation and using the built in accelerometer to move stuff...
I have an accelerometer thing going on, but it doesn't work out that great lol.
I'm making my Pixel Ship Saves Space From Evil Asteroids Game on my iPhone...
If anyone wants to develop for the iPhone and iPod touch, you should defiantly consider jailbreaking your device.
Just because you jailbreak it, doesn't mean that you pirate games...
I'll post some quick screen caps of the two apps I have made to show you guys.
There's no place like ~/