The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-29-2009, 09:50 AM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: iPhone Firmware version 3.1.2
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
new to creating themes

Hello world!
I have just recently jailbroken my iPhone and I am wanting to start making some backgrounds for themes. From what I understand the iPhone uses carbon and cocoa which is like objective C, but the themes also use xhtml. I do not know what other languages can be used when coding the themes (some sources sited ajax, java, and php...but I have been unable to get php working on my phone, and I suspect the ajax and java portions might be planned for the future, or not implemented yet). Does anyone have some suggested sites that will verify what languages I can use when coding themes?
In the theme that I am throwing together right now I am trying to have a directory relative to the theme that is hard coded in, and I want to find all files that have a .jpg extension within that directory or any subdirectory, then I want those files output inside of a <img> tag...I know in php that would look something like this:
Code:
<body style="color: black">
<?php
$background_D = "../../Wallpaper/*/";
$backgrounds = glob("" . $background_D . "*.jpg");
foreach($backgrounds as $image){
echo "<img src='$image' /> ";
}
?>
any ideas how to bridge this to a language the iPhone supports?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion

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 On



Go to Top
ModMyI

All times are GMT -6. The time now is 03:50 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top