The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

2.2 Unlock / Jailbreak OS X | Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Web Apps
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-09-2008, 04:39 PM
LukeGab's Avatar
Green Apple
 
Join Date: Apr 2008
Device + Firmware: iPod Touch 3.0
Operating System: Windows Vista Home Premium
Location: Alabama
Posts: 89
Thanks: 142
Thanked 4 Times in 4 Posts
Send a message via MSN to LukeGab
Reference Guide to Making Web Applications [UPDATED REGULARLY]

Here's a guide that I made if you are planning on making a web app. It contains images, tips, and references to get you started. Feel free to comment and correct me on spelling errors, broken links, etc.



What is a Web App?

Web Applications, or Web Apps, are websites designed specifically for the iPhone/iPod Touch. They give the feel of a normal application. They can be games, utilities, sports, you name it! Apple hosts many of the web apps available right on there website. Click Here to view them. You will find that this is already in your iPhone's bookmarks.

Web Apps can be added to the Home Screen as Web Clips by tapping the Plus symbol at the bottom of your browser. With this you can quickly get to your favorite web page without having to go to the Bookmarks in Safari. Note: iPod Touch firmware 1.1.3 and above required!


How To Make Web Clips

Making web clips couldn't be easier. Find a image you would like to use and crop it to 60 x 60. Name it apple-touch-icon.png and throw it into the root folder of your website and your done! Don't worry, your iPhone will automatically add the rounded shape, crop the image if need to, and give it the 'glossy' effect to make it fit in with the other icons around it.


Before Designing a Web App

There are several questions you need to ask yourself before you attempt this. Take a look at the following:

"Is my Web App idea useful?"

I've been seeing a lot of Apps beeing made that are completely pointless. Ask yourself:

"What will people think of my app?"

"Will they use it?" and "Who will?"

Making a web app is just like creating a website. So you will need a reliable host and server your application. Some servers and hosts cost money. Some are free, but place advertisements all over your pages. So ask yourself:

"Can I afford a web application?"

"Do I have the time to run and maintain it?"


Designing A Web Application

Below I have compiled several images that will give your App a iPhone feel. Feel free to take and use them. Note: I have not created these images. If I know the source of the image I will post it.

Right Click to Save Image

Top Bar:

Click the image to open in full size.

Background:

Click the image to open in full size.

White Bar:

Click the image to open in full size.

Transparent Buttons:

Click the image to open in full size.

Transparent Slider:

Click the image to open in full size.




Coding a Web Application

Most people think when coding a web application is the design must be in a 320 x 480 (iPhone/iPod Touch's browser dimensions) scale. This is incorrect. You may not know it, but the web app is most likely the exact same size as a normal web page but without the ability to zoom and sometimes scroll horizontally. Click here in your computer's browser for an example. To apply these features, simply insert the following code into all of your pages:

[<]meta name="viewport" content="width=320, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/"[>]

Note: Be sure to delete the red [ and ] before you put add this to your page.

Width: How wide do want your web page to display? 320 is the width of the iPhone in portal mode.
Initial-Scale: This is what the browser begins at when first viewing the page. 1.0 is equal to 100% so the iPhone will display the whole page.
Maximum-Scale: Do you want your users to be able to zoom in? Keep this the same as the Initial-Scale.
User-Scalable: Marking this at 0 will disable zooming in or out. Marking this at 1 will allow it. Keep this at 0.


Finding a Host and Server

If you want people to be able to access your application you will need to find a host and server! You will need them to upload all of your pictures and code. Below I have compiled several that you might be interested in:

Freewebs - Free website, Free Hosting, Free Webpage - Click Here



Advertising

So you're done with your application and it runs smoothly. Now is the time to advertise and tell the world about it! Here are some ways you can advertise your new application:

Create a website specifically for your app. Then sign to one of Google's advertising programs.
Join other iPhone forums and post your app.
Add your Web App to Apple's list - Click Here



Other Guides
Click Here



Sources
Apple - Click Here
Dan Dickinson's HOWTO: iPhone Webclip Icons - Click Here
Freewebs - Free website, Free Hosting, Free Webpage - Click Here

Last edited by LukeGab; 04-13-2008 at 12:08 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to LukeGab For This Useful Post:
MOSHO92 (04-09-2008)
  #2 (permalink)  
Old 04-09-2008, 11:30 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 275
Thanks: 21
Thanked 18 Times in 15 Posts

Hey! Thank You! This is some very useful stuff. And thanks for the templates.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to MOSHO92 For This Useful Post:
LukeGab (04-10-2008)
  #3 (permalink)  
Old 04-10-2008, 03:37 PM
LukeGab's Avatar
Green Apple
 
Join Date: Apr 2008
Device + Firmware: iPod Touch 3.0
Operating System: Windows Vista Home Premium
Location: Alabama
Posts: 89
Thanks: 142
Thanked 4 Times in 4 Posts
Send a message via MSN to LukeGab

Quote:
Hey! Thank You! This is some very useful stuff. And thanks for the templates.
No Problem at all. :-) If you have any questions feel free to Personal Message me and I'll see what I can do.

By the way, I updated adding:

More Images (2)
Sources (2)
Color coded HTML example
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 04-13-2008, 12:09 PM
LukeGab's Avatar
Green Apple
 
Join Date: Apr 2008
Device + Firmware: iPod Touch 3.0
Operating System: Windows Vista Home Premium
Location: Alabama
Posts: 89
Thanks: 142
Thanked 4 Times in 4 Posts
Send a message via MSN to LukeGab

Updated
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 04:38 PM
What's Jailbreak?
 
Join Date: Apr 2008
Operating System: XP
Location: Sarasota, Florida
Posts: 4
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via Yahoo to daveat2ps

We are having problems getting Web pages to scroll when the data result is taller than the initial screen size. We want to turn on the scroll bar. Can someone help us with this code?

Our initial app where you can see the issue is http://www.tipmyphone.com. If you look up a word such as "horse", you can see the problem. We have another application ready to go, but this scrolling issue is haunting us.

Thanks for your help.

Dave

Last edited by daveat2ps; 04-17-2008 at 04:39 PM.. Reason: add example link
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to daveat2ps For This Useful Post:
LukeGab (05-03-2008)
  #6 (permalink)  
Old 04-18-2008, 03:32 PM
LukeGab's Avatar
Green Apple
 
Join Date: Apr 2008
Device + Firmware: iPod Touch 3.0
Operating System: Windows Vista Home Premium
Location: Alabama
Posts: 89
Thanks: 142
Thanked 4 Times in 4 Posts
Send a message via MSN to LukeGab

Quote:
Originally Posted by daveat2ps View Post
We are having problems getting Web pages to scroll when the data result is taller than the initial screen size. We want to turn on the scroll bar. Can someone help us with this code?

Our initial app where you can see the issue is http://www.tipmyphone.com. If you look up a word such as "horse", you can see the problem. We have another application ready to go, but this scrolling issue is haunting us.

Thanks for your help.

Dave
I checked your Web App on my iTouch and I see your issue. This seems to be a frame problem with the iPhone/iTouch's Safari browser. I'll look up more about this and see if I can find a solution but for now all I can say is try extending the frame's height until all answers/definitions fit in it without having to scroll in the frame.

I never thought about this situation until now. I'll see what Apple has to say also.

EDIT: Hey I found your solution! Try simply using two fingers to scroll down instead of one. Sorry to say... but it's extremely slow on my iPod Touch browser. Try it for yourself.

Last edited by LukeGab; 04-18-2008 at 03:36 PM.. Reason: Found the solution...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7 (permalink)  
Old 05-03-2008, 10:30 AM
LukeGab's Avatar
Green Apple
 
Join Date: Apr 2008
Device + Firmware: iPod Touch 3.0
Operating System: Windows Vista Home Premium
Location: Alabama
Posts: 89
Thanks: 142
Thanked 4 Times in 4 Posts
Send a message via MSN to LukeGab

Bump
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 05-03-2008, 10:07 PM
What's Jailbreak?
 
Join Date: Apr 2008
Operating System: XP
Location: Sarasota, Florida
Posts: 4
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via Yahoo to daveat2ps
Scrolling issue...

Quote:
Originally Posted by daveat2ps View Post
We are having problems getting Web pages to scroll when the data result is taller than the initial screen size. We want to turn on the scroll bar. Can someone help us with this code?

Our initial app where you can see the issue is http://www.tipmyphone.com. If you look up a word such as "horse", you can see the problem. We have another application ready to go, but this scrolling issue is haunting us.

Thanks for your help.

Dave
We found the scrolling issue within our first Web app. We are releasing our second Web app this next week.

The scrolling problem was a one word fix. We had overflow:scroll and it needed to be auto:scroll. Sometimes the easiest fixes are the hardest to find.

Thanks for the advice on some possibilities.

Dave
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 > 3rd Party Apps For iPhone | iPod Touch > Web Apps

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Go to Top
ModMyI

All times are GMT -6. The time now is 09:33 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 | Dedicated Server Hosting by SingleHop | Copyright © 2007-09 by ModMy, LLC. All rights reserved.

RSS / Contact Us / / ModMyi Home / Archive / Privacy Statement / Top


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408