background preloader

App Programming

Facebook Twitter

Custom URL Scheme within CONFIG.XML. I was able to find a solution for iOS to this while we wait for it to become a feature.

Custom URL Scheme within CONFIG.XML

Part of this solution involves needing a MAC and XCODE. 1. Build the app with Phone Gap Build service (build.phonegap.com) and download the package. 2. Rename the package from .IPA to .ZIP and extract the contents to a directory on your computer. Create an iPhone Developer Certificate from Windows. AIR. Detailed Guide for setting up building iOS apps without a Mac. I just did a successful build and run using this workflow - it has been described in summary as a response to this question: This is a more detailed step-by-step guide of the process. 1.

Detailed Guide for setting up building iOS apps without a Mac

Download and Install OpenSSL Download and install OpenSSL for Windows 32 bit from this location: (You may need to install the VC2008 32 Bit Redistributables as well) For the remainder of this guide, it's assumed you have installed OpenSSL into C:\OpenSSL-Win32 which is the default location.

HTML5 Appcache

Business App Development - Deploy. Adobe PhoneGap Build. Apache Cordova API Documentation. This guide describes how to set up your development environment for Apache Cordova and run a sample Apache Cordova application. Requirements Xcode 4.5+Xcode Command Line Tools Intel-based computer with Mac OS X Lion or greater (10.7+)Necessary for installing on device: Apple iOS device (iPhone, iPad, iPod Touch)iOS developer certificate Install the iOS SDK and Apache Cordova Install Xcode from the Mac App Store or Apple Developer DownloadsInstall the Xcode Command Line Tools (Xcode Preferences -> Downloads -> Components -> Command Line Tools -> Install).Download the latest release of [Apache PhoneGapextract its contentsApache Cordova iOS is found under lib/ios Install CordovaLib Download the Cordova sourceExtract the source to their final permanent location on your hard drive (for example, to ~/Documents/Cordova-2.X.X)There is no step 3 Create a New Project Locate your new project folder that you just createdLaunch the .xcodeproj file in the folder Deploy to Simulator Deploy to Device Results.

iOS: Links zu nativen Apps aus dem Browser heraus. In mobilen Websites oder Web-Apps kann es vorkommen, dass man gerne auf native Apps verlinken möchte.

iOS: Links zu nativen Apps aus dem Browser heraus

Ob Telefonnummer wählen, SMS schicken oder Facebook-App öffnen: Dies alles funktioniert üblicherweise über spezielle URLs, bei denen das http durch ein anderes Kürzel ersetzt wird (sogenannte URL-Schemes). Hier einige Aktionen, die man per Link aus dem mobilen Safari-Browser (iPhone und iPad) auslösen kann: Email: Der Email-Client auf dem iPhone öffnet sich und man kann eine Email schreiben.Telefon: Wählen einer Telefonnummer.SMS: Senden einer SMS an eine TelefonnummerMaps: Aufrufen der nativen Karten-App (Google Maps)YouTube: Öffnen eines YouTube-Videos in der nativen YouTube-App.Facebook: Öffnen der App und Anzeigen von bestimmten Inhalten Der folgende Artikel zeigt, wie dies auf Apples iOS-Betriebssystem funktioniert. Auf einem iOS-Gerät kann man dies auch direkt an diesem Beispiel ausprobieren, das ich zu Demozwecken erstellt habe: Demo mit iOS-URL-Schemes.

Adobe PhoneGap Build. Launch an app from within another (iPhone) Viewport scale on iPhone, iPad. This article started with a simple question.

Viewport scale on iPhone, iPad.

How do I get the current viewport scale in a website or web app? While focused on the iPhone/iPad, the following JavaScript solution is as generic as possible and provides access to the current viewport scale if available. Demo Try a pinch-to-zoom, assuming you are on a supported device. The values below will reflect the current scale within the parameters of this page's viewport settings. Viewport scale not available.

The current viewport settings are: Note, minimum-scale does not necessarily match how far the page will zoom out. Technique The method takes advantage of window.innerWidth variation in relation to page scale. We assume that a browser supporting full viewport scaling also takes the modern superimposed scrollbar approach. This assumption allows us to implement a check on screen width vs. viewport width since superimposed scrollbars do not steal space otherwise occupied by the viewport. The viewport scale can now be calculated. Usage.