The PIT
Röster från ITM-koncernen.

Three ways to make a mobile application

November 30, 2011 10:42 by David Woxberg
Broadly speaking, mobile applications can be created in three different ways. This article contains a brief explanation of each of the three application types.

When people talk about mobile apps, they usually refer to native applications – programs that are installed on mobile phones.

Native applications can often be faster than web applications (more on web applications below). In practice, this may mean that the user interface in a native application is more quick and responsive compared to a web application.

Native applications also open up more possibilities when it comes to accessing phone features, including hardware features (such as Bluetooth access). They are also a good option for mobile games or applications that rely heavily on 3D functionality.

Native applications can be sold or offered for free through application stores (such as the App Store). This makes it easy to distribute the applications.

While many native applications are connected to the Internet, they do not have to be. It is also technically possible to use an Internet-enabled native application in offline mode, meaning for example that the user can access data (such as text and images) that has already been downloaded to the device. However, that requires that offline mode functionality has been enabled by the application developer.

Web applications

A mobile web application is a HTML based web site that has been adapted to mobile units, such as cell phones and tablets. Mobile web applications are accessed through web browsers.

Compared to native applications, mobile web applications are generally limited when it comes to accessing and using cell phone-specific features (including hardware features, such as Bluetooth).
The biggest strength of the mobile web application is reach. Different mobile platforms (such as iPhone and Android) are based on different operating systems but most, if not all, new cell phones contain a web browser.

While all mobile browsers do not work exactly the same, they are relatively similar. This makes it possible to create a mobile web site that can be used on more than one mobile platform. This limits the amount of code that needs to be written and maintained in order to support multiple mobile platforms. Native applications can require more work in comparison since a new native application (with unique source code) needs to be created for every platform that needs to be supported.

Web browsers in new cell phones are often powerful, which means that web applications can contain beautiful and advanced user interfaces. Tools such as HTML5, CSS3 and Javascript can be used to achieve this.

Internet access is required to access a web application. Once a web application has been accessed, however, it is technically possible to access it offline if the developer has enabled offline access/offline mode (more on this below).

Wrapped web applications

There is a third alternative – wrapped web applications – that combines the power of the native application with the reach of the mobile web application. This is a native application that contains a web browser which is used to open a mobile web site.

The native application is basically a wrapper for the mobile web site. If properly done, the mobile web site can be re-used again and again within different application wrappers. For example, the same mobile web site can be wrapped in a native iPhone application and in a native Android application. This limits the amount of code that needs to be written and maintained in order to support multiple mobile platforms.

Wrapped web applications can be distributed through application stores. In addition, they have the same access to phone features (such as bluetooth access) as regular native applications do.

Since a wrapped mobile application is largely based on web technology, it can be a bit slower than a native application.

A wrapped mobile application does not necessarily need to be connected to the Internet. Web pages and other resources can be placed locally in the app which makes it possible for the user to access them without the application ever being connected to the Internet.

Offline mode

Many mobile applications are connected to the Internet. But mobile app users do not always have Internet access. Therefore, apps often contain a so-called offline mode, meaning that mobile applications that require Internet access to fully function can be used to some extent even when the Internet connection is missing.

More specifically, offline mode can mean that certain functions are only available when the application is connected to the Internet. It can also mean that content that has already been downloaded, such as text and images for a news article, is saved in a local database that belongs to the application, making it possible for the user to read the article offline.

Offline mode can also be enabled in web applications. There are different ways of doing this, including the following HTML5-related features:

  • Specified resources such as HTML pages can be cached on the device.

  • Data can be saved in a database on the device.

  • Data can be saved on the user’s cell phone in key-value pairs.
However, since different mobile web browsers do not always work the same way, it is hard to guarantee that the three methods mentioned above will work in all mobile web browsers.


Tags:
Categories: Android | iPhone | Mjukvara | Mobilt | Teknik
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Android UI Utilities - grafiska verktyg för app-utvecklare

September 28, 2010 17:16 by David Woxberg

Ett intressant gränssnitts-paket för Android-utvecklare har släppts i betaversion. Android UI Utilities innehåller tre verktyg som kanske får jobbet att gå lite lättare och snabbare:

  • Med UI Prototyping Stencils går det att bygga Android-prototyper med hjälp av verktyget Pencil.

  • Android Asset Studio skapar Android-ikoner utifrån befintliga texter och bilder.

  • Android Icon Templates innehåller mallar för det populära bildredigeringsprogrammet Photoshop.

Android UI Utilities finns att ladda ner i betaversion hos Google Code. På nedladdningssidan kan du också titta på en demonstrationsvideo. 

IDG har en artikel i ämnet.


Verktyg för Windows Phone 7-utveckling har släppts

September 17, 2010 16:50 by David Woxberg

Microsoft har släppt utvecklingsverktygen för Windows Phone 7.

I detta paket, som är gratis, finns bland annat Visual Studio 2010 Express for Windows Phone.

Med hjälp av utvecklingsverktygen går det att utveckla applikationer som kan köras på Microsofts senaste mobila plattform.

Mer information finns på Scott Guthries blogg.


Apple lättar på restriktioner för iPhone-utvecklare

September 10, 2010 13:36 by David Woxberg

Apple ändrar nu delar av villkoren för iPhone-utvecklare. Så här säger Apple i ett uttalande:

In particular, we are relaxing all restrictions on the development tools used to create iOS apps, as long as the resulting apps do not download any code.

Detta skulle kunna innebära att det nu blir tillåtet att använda Adobes verktyg Flash Professional CS5 för att skapa iPhone-applikationer.

I uttalandet meddelar Apple också att företaget gör riktlinjerna för godkännande av iPhone-applikationer tillgängliga för iPhone-utvecklare. Detta skulle kunna minska risken för utvecklare att få avslag på applikationer som skickas till Apple för publicering på App Store.

Här kan du läsa hela uttalandet från Apple.

Computer Sweden har en artikel i ämnet.


Tags:
Categories: iPhone | Mjukvara | Mobilt | nyhet
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

jQuery Mobile på gång

September 8, 2010 17:16 by David Woxberg

De kända och populära javascript-verktyget jQuery används på många webbplatser.

Det finns flera fördelar med jQuery, inklusive dessa:

  • Det fungerar i en rad olika webbläsare.
  • jQuery tar inte upp särskilt mycket plats (omkring 24 kilobyte som minst).
  • Det går ofta snabbare att koda med jQuery jämfört med att skriva vanlig javascript-kod.
  • Det går snabbt att lägga in avancerade gränssnittskomponenter med jQuery UI. 

Inom en inte alltför avlägsen framtid släpps jQuery Mobile - en vidareutveckling av jQuery som underlättar skapandet av mobila webbapplikationer. Tanken är att jQuery Mobile ska stödja flera olika plattformar, inklusive iOS, Android och Symbian (mer detaljer finns här).

Läs mer:
jQuery Mobile


Tags:
Categories: Javascript | Mobilt
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Ny version av Android

June 29, 2010 17:15 by David Woxberg

Version 2.2 av Googles mobila operativsystem Android blev i går tillgängligt för användare av mobiltelefonen Nexus One. Det nya operativsystemet kallas för Froyo och innehåller en rad nyheter.

  • Fler funktioner för Exchange-användare, inklusive stöd för Exchange-kalendrar och global adresslista.
  • Gränssnittet har utvecklats, exempelvis med ett bildgalleri och med skärmknappar för kamerahantering.
  • Prestandan ska vara bättre, bland annat genom förbättrad minneshantering och genom att Googles javascript-motor V8 används i webbläsaren.

Mer information om Android 2.2 finns exempelvis hos Android Developers.


Tags:
Categories: Android | Mjukvara | Mobilt
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Mobilt ramverk för HTML5

June 17, 2010 17:02 by David Woxberg

Sencha Touch är ett ramverk som kan underlätta skapandet av mobila webbapplikationer med HTML5, javascript och CSS3. Ramverket riktar sig till moderna mobiltelefoner med pekskärmar (Android och iPhone stöds).

Sencha Touch befinner sig just nu i betastadiet.


Tags:
Categories: Mobilt
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Flash på iPhone - utan Flash player

June 15, 2010 16:55 by David Woxberg

iPhone, iPad och iPod Touch saknar stöd för Adobes Flash-spelare. Men genom ett nytt open source-projekt vid namn Smokescreen så verkar det bli möjligt att se Flash-innehåll i exempelvis iPads webbläsare i alla fall.

Tydligen möjliggörs detta genom att Smokescreen gör om Flash-innehåll till HTML5 och javascript.

M3 har en artikel om Smokescreen.


Tags:
Categories: iPhone | Mobilt
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Nytt operativsystem till iPhone

June 15, 2010 16:19 by David Woxberg

Den 21 juni släpps Apples nya operativsystem för iPhone, iPod Touch och iPad. Det kallas för iOS4 och innehåller många nya funktioner, inklusive dessa:

  • Multitasking
    Användare kommer att kunna köra flera olika applikationer samtidigt. Multitasking är tillgängligt på iPhone 4, iPhone 3GS och iPad. Det kräver dock att de applikationer som man vill köra samtidigt har anpassats till det nya operativsystemet.

  • iBooks
    Med denna applikation kommer användare att kunna läsa e-böcker samt köpa e-böcker från Apples butik iBookStore.

  • Mappar för appar
    Användare kommer att kunna placera sina applikationer i olika mappar.

iOS4 funkar på iPad, iPhone 4, iPhone 3GS, iPhone 3G samt på andra och tredje generationens iPod Touch.


Tags:
Categories: iPhone | Mjukvara | Mobilt
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Nya möjligheter inom mobil annonsering

June 10, 2010 13:19 by David Woxberg

Det händer en del på området mobil marknadsföring just nu.

Apple har offentliggjort iAd - företagets nya plattfom för mobil annonsering i iPhone och iPod Touch.

Med hjälp av iAd kan utvecklare placera annonser inuti sina applikationer. Annonserna är integrerade med applikationerna och kan exempelvis innehålla text, bilder och video. Apple står för annonssystemet och administrerar betalningarna.

iAd kommer att vara inbyggt i iOS 4 - det kommande nya operativsystemet för iPhone och iPod Touch.

Google är ett annat företag som ligger i framkant inom mobil annonsering.

I maj offentliggjorde Google att click-to-call-annonser kommer att kunna användas inuti mobila applikationer. Click-to-call-annonser är annonser som innehåller telefonnummer, vilket innebär att användaren kan ringa direkt till annonsören via annonsen.

Jag tror personligen att fler spännande lösningar är att vänta med tanke på att Google nyligen slutförde köpet av annonsföretaget AdMob.


Tags:
Categories: Android | iPhone | Mobilt
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed