Currency.io, a html5 currency converter - open sourced to learn from
currency.io
currency.io
• HTML5 Application cache • localStorage • Developing a 'installable' web app for iOS • Yahoo YQL • Building a sintra app
I guess then you should change the HN post title.
So I opened this app on my android phone... and nothing happened. Basically it said 'this (web) app is available for iOS only'.
Then what is the use of 'open web standards'? Am I missing something? Is this using a feature that android phones don't support yet?
¬ Of course you can fork it and mess around with it to make the experience better for android now too.
I know it may be 'designed' for iOS and mobile screen formats, but it seems to me a seriously bad decision not to have a 'show it to me anyway' button, along with a disclaimer that it (might) be broken on $platform...
And saying 'fork it' for an issue this trivial is not a great way to promote yourselves.
I'm sure we could add a button to show it on devices that wouldn't experience what it was 'designed' for… but really, we open sourced it to share some of the things we learnt along the way—not pour time into testing over various fragmented devices.
I think the idea of the app is awesome, and it's good that we can read the source. It's just a bummer that I can't use it in its current state.
If this is what people would have to do, why would anyone do that over native?
I think the main blocker with opening it up for desktop is having to design a more appropriate layout. Not impossible, just time-consuming. And as Ben says, it is intended as a tech demo.
The same counts for visiting the website with any other browser I have.
I can view a demo, and it looks like a nice app. But I hope you understand that 'apps' like this go against the entire idea that websites are available to anyone, on any device, which is the one thing that makes web-apps so awesome.
I beg you to reconsider. I think this is the current problem with mobile web apps today; too many are trying to feel native. Instead try to make it feel smooth and responsive, as a web app.
Generally, don't be ashamed of being a web app. Embrace the web's strengths; users will appreciate it.
I think this is exactly what OP has done. It doesn't feel "native" to iOS to me, but it does feel like a well-made little web app. I don't have an Android device to test it on, but it does seem like it would fit in just fine on one.
Also you have a bit of code to recreate some jquery functionality. Maybe for your purpose it's unnecessary to load all of jquery, but consider that if you use Google's CDN, there's a strong chance the user already has jquery cached. Look at the HTML5 Boilerplate for a snippet on how to use Google CDN and fallback to the hosted version. Again, might not be necessary for your limited use case.
The "jquery functionality" you speak of is a query engine, but web kit based browsers have "querySelectorAll", which is native C code. jquery uses it (where available)… but being that we were trying to build something that downloaded very quickly on spotty 3g connections, we chose to write a couple of utility functions. (The total byte count for application.min.js is 3186).
- a link to a video
- a link to the source
Is the title misleading? "A html5 based iOS application to convert currencies" maybe?
Also I would love to try it on the desktop, this would make a great widget. Any reason not to allow it to run on desktop browsers?
Looking forward to checking out the code on GitHub and playing around with it.
I'd be interested in your feedback on why you used binary images and avoided jQuery. I know the code makes notes on these, but were you actually already experiencing loading issues without using those techniques?
In other words, was it to practice using the techniques or were you already hitting visible loading delays each time you started the app?
Also, you mention using ems for layout to handle resizing on the github info page, I've not heard of this technique, any chance you have a link explaining it?
The em technique is discussed in some detail here: http://clagnut.com/blog/348/
In practice what it also allows us to do is to set a font-size of 150% on the body and everything scales up proportionately.