Offline iPhone apps with RFC 2397


An old and forgotten RFC provides a way to create applications for the iPhone that people can save and execute locally, even when offline!

Back in November, I wrote about how you can store whole images inside of a URL using the RFC 2397 “data” URL format. Using this scheme on supported browsers, you can embed images within an HTML document, and you can even embed an entire HTML document within a single link.

W. Clawpaws discovered today that the iPhone’s web browser supports data URLs. This is particularly cool, because it provides a way to write and store little utlity applications entirely on the device. This is different from cached data, since the entire application is ebmedded inside the URL, tucked safely in your iPhone’s bookmark storage. You’ll be able to use these sorts of applications even when the phone has no connection or its network stack is completely disabled, like when you’re on an airplane or in Vermont.

Here’s a little javascript-based tip calculator he created as an example: Link

There’s an upper bound to how much data is allowed inside a URL on the iPhone browser. That said, there is probably a large class of utility applications that can be created this way. Remember, you can store images in a data URL as well, which you can further embed in an encoded HTML document. Provided you keep things small enough in size, you can make a whole range of micro interactive iPhone apps that are stored locally on the device.

Storing iPhone apps locally with data URLs – Link
RFC 2397 – Embed image data inside a URL – Link
Online HTML/JPG/GIF to Data URI converter – Link

8 thoughts on “Offline iPhone apps with RFC 2397

  1. 2-year degree online says:

    I do not even know the way I finished up here, but I thought this put
    up was good. I don’t recognize who you might be however certainly you are going
    to a famous blogger for those who aren’t already.

  2. loans for bad credit people says:

    WOW just what I was looking for. Came here by searching for electronics

  3. home loans for bad credit says:

    Hi it’s me, I am also visiting this web page regularly, this web page is actually fastidious and the people
    are in fact sharing good thoughts.

  4. lean muscle protein powder says:

    Could HGH Products Raise Lean Body Mass

    HGH, human growth hormome is thhe hormone within the human body responsible for sustaining
    its integrity and health in addition to groowing lean body mass.
    Thee cclinical title for this ormone is somatotropin. Many individuals seem to misread the character of HGH while in the human body and don’t
    grasp just what this hormone does.

    Human growth hormone is capable of exciting the growth of
    lean muscle mass, repairs to broken cells, and substitution of dead ones.

    As time passes we naturally start to make less of it on a
    daily basis. At the age of thirty the typical output amount of
    somatotropin in the human anatomy will waver between four hundred and five hundred micrograms.
    This really is predicated on activity-level and in some cases gender.
    This manufacturing may decrease to about half
    that volume at age forty. Nonetheless, by the moment this person
    reaches era ninety they will generate around twenty-five micrograms on the average.
    Which means that the average person can produce twenty times
    less HGH to the average at age eighty because they can
    at age twenty.

    Products for HGH are not basically providing the body more human growth hormone.
    These supplements offer crucial amino-acids that the anterior pituitary gland utilizes
    to generate HGH. This doesn’t mean they are scams or nugatory.

    They do work, aand work nicely with the aim of aiding while
    in the boost of lean body mass.
    lean muscle proterin powder
    Nevertheless, it must be noted that thre iss a weird thought that applying HGH supplements
    will turn the average person into a super human muscle-building machine.

    This isn’t true. A superb, strong, HGH supplement will continue to work
    well for some people and be practically useless for others.
    There are two principal factors that determine how well a
    proper complement will work for you. These facets are era and task.

    An eighty year old male or female that operates out
    everyday will find that a great product will help them out to
    an incredible, practically staggeringly successful, degree.
    A twenty-year old man or woman that sits around consuming potato chips and
    playing game titles all evening may barely discover any transform at all.
    In every honesty a twenty-year outdated power-lifter will not be probable see that much difference
    either. The truth within this issue is that HGH supplements might help increase lean body-mass but only in individuals that
    need the boost. A young highly active person currently produces the most of HGH your body can use naturally anyway.
    The rest is wasted. For these individuals they would be better supported by way of a simple multivitamin.
    To push your body to create notably greater amounts of lean muscle mass using HGH in a newer age
    will need the use of injections. It is a usually unlawful
    course of action without medical factors.

Comments are closed.

Discuss this article with the rest of the community on our Discord server!


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).