I’m working on an app to show my photos. I’m at a point where the basics are working relatively well, so I thought I’d post here and see what you guys think.
The app has basically three views: A first, top list of photo albums, an album view for each album, and an individual photo view. In general, you go in with one tap and return with a double tap.
The layout, and all the photos are downloaded as the app runs. You should be online when you try this. One of the albums is my photoblog, in which I post a photo per day, and which updates accordingly.
It will fill your “Documents” sprite folder with relatively high res images. You can always delete them after of course.
It might have trouble on the ipad 1. I believe this is because of the little memory the original ipad has. I’m developing it on my ipad 3, my ipad 1 keeps crashing if I try to run it.
Things I plan to do:
somehow check for the status of the internet connection, and warn the user if offline
ship the final app with the first images of each album, and perhaps very low res versions of every photo
do something about the transitions into and out of albums
maybe implement a downloading queue for the images, the way it is now I believe some crashes might be because of too many http requests open
make ALL the layout come from a json file served from my site. Right now the layout is an ad hoc text file
do better error checking
Anyway. I’ll be happy if some of you want to tr it and give me your opinion.
I am unable to get it working with the correct tab order. btw AutoGist creates an installer. it makes it a lot easier for people without gister to load the project.
I’m sorry guys. My error checking should be better, the script was calling the parse functions on an empty file. I didn’t catch this because I’ve had a file saved as local data for a while.
Wow… I didn’t realize how amazing an app this was from the video. It feels clean and doesn’t usually lag. The only time it has lagged is when it finishes loading a photo and is about to display it.
REALLY nice job!
@Briarfox I will have to see what the deal is with the ipad 1 and 2. One idea is to deliver the app with low res versions of the images, so the wait is less annoying. Maybe I could also serve lower res images for the non-retina ipads.
@Zoyt Thanks! Frankly I think parts of the code are still a bit of a mess, I’m improving it slowly. Don’t know what to do about that lag, I think it has to be an i/o thing… I think if Codea supported writing jpegs that part would be faster.
@Zoyt Interesting idea. I’m assuming you mean the part that takes a bunch of images and shows them as a tiled gallery.
It’s doable, although right now I’m focusing on making a presentation app for my photos. I’d have to really clean up the parsing I do right now (which is a bit of a mess, frankly!) and try to really generalize everything…