Simple Activity to display some images from a server. The images are first downloaded and then presented inside a ViewPager. Works for all Android versions.
Sometimes you want to look at the html that’s currently beeing shown in a webview. Using a
When using API 17+ you’ll need the
iOS 6 let’s you detect faces on a AVCapture preview. In iOS 7 barcodes and qr-codes have been added and work in the same way.
First, you have to know the difference between UIDeviceOrientation and UIInterfaceOrientation. The device orientation is the orientation the device is currently at. We can get the device orientation with this call:
[[UIDevice currentDevice] orientation]
Selecting a random record with MySQL can be achieved with one simple select:
Providing a mobile friendly version of your website is defently a good idea. I summed up a few code snippets in different languages to help you redirect the visitor to your mobile website.
I recently created a website using the 960 Grid System. It let’s you create a grid-based layout with ease but also offers enough freedom. In this post I’ll show you how to use 960gs.
With XSLT (Extensible Stylesheet Language Transformations) you can transform a xml file into any desired output. You can generate html, text or even sourcecode.
The goal is to have a footer stick to the bottom of the browser (making the website extend to the bottom) or, if the there’s no free space stick to the end of the website.