Gasmacken på Aftonbladet

Aftonbladet skriver om Gasmacken!
Screen shot 2009-10-12 at 17.22.18

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Company, Development, iphone | Tagged , , , , | Leave a comment

Gasmacken available for sale

My latest iPhone application Gasmacken has been approved by Apple!

Gasmacken

Gasmacken is an application that automatically fetches an updated list of all CNG (Compressed Natural Gas) refuelling stations in Sweden and displays them on a map.

Features

  • List all CNG stations in Sweden
  • Show your current location
  • Automatic updates of CNG stations in Sweden
  • Show directions with with built in Maps application

Swedish information about Gasmacken

Gasmacken är ett program som automatiskt hämtar en uppdaterad lista över alla gasmackar i Sverige och presenterar dem på en karta.

Funktioner

  • Lista med alla tankställen för fordonsgas i Sverige
  • Positionering med inbyggd GPS
  • Automatisk uppdatering av listan med tankställen för fordonsgas
  • Vägbeskrivning med inbyggd kartapplikation

Screenshot 2009.09.25 22.39.53Screenshot 2009.09.25 22.40.18

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Company, Development, iphone | Tagged , , , , | Leave a comment

UILocalizedIndexedCollation, no Swedish localization

In my latest app, Gasmacken I tried to use UILocalizedIndexedCollation (from example TableViewSuite example 3) for creating a localized version of the A-Z list (A-Ö in swedish) on the right side in a table view. But to my surprise I could not get any difference in table view running in Swedish or English. The list was created in english locale. Apples example TableViewSuite uses UILocalizedIndexedCollation and does not work either.

TableViewSuite example 3

TableViewSuite example 3 running with swedish locale, no A-Ö

I trashed the use of UILocalizedIndexedCollation and created the list manually, without localization support it only supports A-Ö sorting now. Should I classify this as a bug and report it to Apple?

Screenshot 2009.09.25 22.40.18

This is what I wanted from UILocalizedIndexedCollation

Does it support any other locales, Japanese, German, French, Chinese etc? Not Swedish as I thought.

Excerpt from documentation of UILocalizedIndexedCollation.

The UILocalizedIndexedCollation class is a convenience for organizing, sorting, and localizing the data for a table view that has a section index. The table view’s data source then uses the collation object to provide the table view with input for section titles and section index titles.

Table views with section indexes are ideal for displaying and facilitating the access of data composed of many items organized by a sequential ordering scheme such as the alphabet. Users tap an index title to jump to the corresponding section. The initial table view of the Phone/Contacts application on the iPhone is an example. Note that the section titles can be different than the titles of the index.

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Development, iphone, Mac | Tagged , , , , , | 7 Comments

Gasmacken submitted to iTunes App store

I submitted my latest iPhone application Gasmacken to the iTunes App store (pending in review) a couple of minutes ago.

It is an application that automatically fetches an updated list of all CNG (Compressed Natural Gas) refuelling stations in Sweden and displays them on a map.

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Company, iphone | Tagged , , , | Leave a comment

Sixten 1 year old

My son is now 1 year old!
That has to be celebrated with a post. His birthday was September 15th.

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Other | Tagged , , , | Leave a comment

Introduction video for NetPhotos

I created a introduction video for NetPhotos. It demonstrates core functionality for version 1.0.


Recorded with VLC.

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Company, iphone, Mac | Tagged , , , , , , , | Leave a comment

NetPhotos – iPhone Photos app without wires

I got my first iPhone application, NetPhotos available in the iTunes App Store!
It is an application for browsing your iPhoto library on your local network or over the internet.
Compared to simliar products, no additional software needed on your mac!




Features

  • View and interact with your photos without syncing your complete photo library to your iPhone or iPod touch
  • No additional software needed on your Mac
  • Email photos
  • Copy photo to iPhone clipboard
  • Save photos in iPhone photo library
  • Browse photo libraries over the internet
  • Automatic discovery of iPhoto libraries on your local network

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Company, iphone, Mac | Tagged , , , | 3 Comments

Google App Engine + Java

Google has released Google App Engine with support for Java!

It includes a neat plugin for Eclipse also. Here is a video showing features of the Eclipse plugin.

Must test this during the Easter holiday!

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Development, Web | Tagged , , | Leave a comment

Sticky load balance with Apache HTTPD 2.2

Apache HTTPD 2.2 includes some interesting features for making a basic load balancer.

This configuration makes a sticky loadbalancer with 3 backend servers. It is not dependant on any specific configuration of the backend server such as JSESSIONID or PHPSESSIONID.
It will create a BALANCEID-cookie with a route to a backend server.



#You need at least these modules

#Header used for setting cookie

LoadModule headers_module ...

#Proxy

LoadModule proxy_module ...

LoadModule proxy_http_module ...

LoadModule proxy_balancer_module ...
#Set a cookie if BALANCER_ROUTE_CHANGED containing BALANCER_WORKER_ROUTE environment variable
Header add Set-Cookie "BALANCEID=hej.%{BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED
#Show balancer-manager
<Location /balancer-manager>
  SetHandler balancer-manager
  Order allow,deny
  Allow from all
</Location>
ProxyRequests Off
#Configure members for cluster
<Proxy balancer://jakeri>
  BalancerMember http://b1.jakeri.net:80 route=server1
  BalancerMember http://b2.jakeri.net:80 route=server2
  BalancerMember http://b3.jakeri.net:80 route=server3
</Proxy>
#Do not proxy balancer-manager
ProxyPass /balancer-manager !
#The actual ProxyPass
ProxyPass / balancer://jakeri/ stickysession=BALANCEID nofailover=Off
#Do not forget ProxyPassReverse for redirects
ProxyPassReverse / http://b1.jakeri.net/
ProxyPassReverse / http://b2.jakeri.net/
ProxyPassReverse / http://b3.jakeri.net/

I believe that this configuration is somewhat better compared to this guide.

I got to fix my css for the <code></code> :-/

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in Development, Web | Tagged , , , , , | 23 Comments

iPhone 3.0 highlights

- Cut, copy and paste
- Swedish keyboard (åäö)
- Tethering, use the iPhone as modem
- MMS (kind of useless but other non iPhone uses it)
- Spotlight

and much more.

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • Reddit
Posted in iphone | Tagged , , | Leave a comment