/ Tag Archives: mobile dev

> CardView

rolodexThis is a little control to browse through a collection of items like they were cards in a deck or in a rolling file device (rolodex). Mostly useful on mobile, but desktop compatibility has been added for ease of debugging. Read more »

> InfiniWall

wallInfiniWall is a script for desktop and mobile that lets you pan/scroll a potentially infinite number of elements on screen. It is obsessively optimized for mobile devices that notoriously have troubles handling a large number of tags at the same time (especially images). Read more »

> Device orientation augmented UI the CSS way

auiSomeone recently discovered a nice GUI touch in the upcoming iPhone operating system (iOS6), metallic button reflections change as you tilt the device (video on youtube). Can it be done on the browser with just CSS? Of course it can, with a pinch of JS. Read more »

> Weird webkit box-shadow bug

Today I finally received my new iPad and to my surprise some CSS intensive applications seemed to run smoother on an iPad 1 than on the new shiny Apple tablet. Read more »

> Build and publish an HTML5 game for iPad – Part 3

A bit late on the roadmap due to an hard disk failure, here comes the third episode of the saga. This time I'm going to show you a quick screencast and you'll finally discover what the game will be about. Read more »

> Build and publish an HTML5 game for iPad – Part 2

The HTML5 game development holds steady, last week I was experimenting with web sql, localStorage and the PhoneGap APIs. I admit that it is slightly more complicated than I initially estimated, but it wouldn't be fun if it weren't challenging. Read more »

> Build and publish an HTML5 game for iPad

This is the first of a series of posts about a project/experiment I'm currently working on. The challenge is to build a pure HTML game (no canvas) for iPad and publish it to the Apple Store. Here you'll find my day to day experience, suggestions and pieces of code. Read more »

> SwipeView

swipeview-iconSwipeView is the super simple solution to endless seamlessly loopable carousels for the mobile browser. It's memory conservative as it uses only three elements at any given time, it's smooth as velvet since it takes advantage of hardware acceleration, it's bandwidth friendly with its 1.5kb minified/gzipped footprint. Read more »

> iScroll 4

iscroll4iScroll finally received a complete rewrite. Now it's smoother than ever and adds some new important features: pinch/zoom, pull down to refresh, snap to elements and more custom events for a higher level of hackability. Read more »

> Device motion + websockets demo

Socket ballsiOS 4.2 is finally out and it adds a couple of new important tools to the web developer's arsenal: websockets and devicemotion. The former makes client/server communication a snap, the latter brings accelerometer support to the browser. I wanted to test both technologies and see what problems might arise. It has been a very interesting experience, here're my impressions. Read more »

> Testing memory usage on mobile Safari

memory_chipHow many elements can I load into the iPhone browser before it crashes? I've been asked this question many times. We don't have memory management on Safari mobile browser, and we don't know when it is going to crash. This level of uncertainty bothered me enough that I decided to do some (admittedly empiric) tests. Read more »

> Follow along floating layer

floatWe have to find smart alternatives to meet the lack of position:fixed on iPhone. If you don't need the complexity of iScroll you may find this script useful. All it does is to move a layer together with the page scroll position. If you are familiar with the mobile Gmail web app you should know what I'm talking about. Read more »

> You shall not flicker!

flickeringOff screen items on iScroll are not cached by the mobile browser, when it comes their turn to appear on screen they need a few moments before being accessible, creating a nasty flickering. Well, there's an easy trick to force the browser to cache all elements and it's so simple I regret not having tried it before. Read more »

> Do you really need jQuery (for mobile dev)?

frame iphoneI love jQuery, I use it everyday, you can spot it even on this blog. It's a life saver in the times of desktop browser discrepancies (yes, I'm talking to you IE), but modern browsers and specifically mobile browsers are good enough not to need any bloated framework on their shoulders. In this post I'm showing you that 90% of the times you are using a framework for nothing. Read more »

> HW Accelerated Accordion

thumb-accordionAccordion on mobile webkit is a bad beast. The accordion effect is usually obtained by reducing/incrementing the elements height. Unfortunately, on mobile, height and width are two not hardware accelerated properties, which means choppy animations. Fear not: I just baked for you a translations-only height-changes-free accordion for all your mobile needs. Read more »