DIEVOBITS: creating my first mobile app
This post is about developing and distributing my first mobile app, DIEVOBITS. You‘ll find a story of pitfalls, achievements and a lot of grammatical errors :-) Perhaps, my story will help you creating your own first mobile app without making the same mistakes I did.
Chapters:
About the app
Why I chose this app
Development
AppStore part 1
Google Play
Windows Phone
App Store part 2
Landing Page
Conclusion
First mobile app checklist
About the App
DIEVOBITS is an easy tool for managing your daily habits and breaking the bad ones. It works like a bank account. You track some activities you do every day (like work, sport, play with the kids etc.) and assign a value to them. You also track some bad habits and activities you rather wouldn‘t do (like watching tv, chewing fingernails, surfing the web on work etc.) and assign a higher value to them. Now you earn points for doing good stuff which can then be spend when you want to do something bad (I really want to watch some TV in the evening, but it is just too expensive to watch 4 hours every day), or just did something accidentally (damn, another 5 points gone because I chewed a nail off again).
Why I chose this app
It is nothing spectacular, it is quite an easy problem to tackle, and I doubt I am the first one with this idea. But it is a valid app and it solves my problem, being distracted from work here in my home office too often. It is a great for a mobile app, because everywhere you go, you are just 3 clicks away from adding some activity to your balance (open the app, click on good or bad activity, click the points button for the corresponding activity).
The other main reason I choose to build a small app first is that my actual business application, www.dievolist.com, need a mobile application, too, so I wanted to get some experience before creating a really big app.
Development
Due to its simple nature and with my background as a web developer, I choose a HTML approach, wrap the whole app with PhoneGap and live happily ever after. Well, not so fast…
Development started with a blank html page and the famous twitter bootstrap framework. This was an obvious choice, because creating apps with bootstrap allows you to focus on the app rather than keeping the app in shape on every possible mobile device (iPads and iPhones have 4 x 2 different possible resolutions, not counting all the Android devices out there).
With bootstrap in place, the coffeescript compiler ready and everything else set up, I began coding the app. I coded a web version first, with a HTML5 local storage as a stub, planned to switch to the PhoneGap storage later. The web version was done after a few days, and everything worked like a charm. I tested it on mobile safari, and, to my suprise, it worked there, too. The HTML local storage was running smoothly and I did not need to integrate the PhoneGap storage (although for the next update, I will convert it to this storage system because I think it is more reliable). I took the PhoneGap js files, included it in the project, build a Xcode app and put the webapp in the correct subfolder. I just wanted to start the debug on my real iOS device when I realized, I had no icons and splash screen images for the app, yet. So after a few more hours fiddling around in Photoshop, I had some OK looking images for the time being.
I tried to load the app on my iPhone and: It did not work. it turned out my old iPhone 3g was too old for PhoneGap and the new Xcode. I tried my 1st gen iPad next and: It worked! It worked even better than I expected, no errors, the local storage saved everything correctly and the first version of the app was almost done. I added some tutorial text and legal stuff to it and went on to deply the app. I thought the difficult part was done. I was so wrong…
AppStore part 1
Now it was time for the real deployment. I had an active Apple iOS Developer account since september, so basically I was paying all the time for not having a single app on the AppStore. First, you have to create your app on iTunes Connect, the distribution application for the AppStore. Then, you need to go to the provisioning portal and create a AppID, download the correct certificates you are good to go. Well, not so easy.
You need to add screenshots (for every device) to your iTunes Connect listing before you are allowed to submit the application. You also need a description, and some other data. After that, you are allowed to upload the binary, which I tried, but it would not allow me to upload it. After hours of searching, I found the error in the AppID entered in Xcode. I was not supposed to add the 10 digits from the App IDs provisioning page, but only the normal identifier I created. So finally, the upload went through, the automatic validation scanned my archive and the app got rejected. One of the app icons was not in the right dimensions. I recreated it, uploaded the archive for the 50th time and it went through, sitting on „waiting for review“. YES! Everything here was done, so I moved on to the Android version.
Google Play
The Android version for the Google Play store was a bit harder to create, because I don‘t own an Android phone. I signed up for the developer account (29 euros if I remember correctly), downloaded the SDK, installed it, installed PhoneGap for Android, created the app, tested it on the emulator and it worked. Pretty good so far, but for some reason, it won‘t allow me to build a version for the store. I turned to the PhoneGap build service, created the config.xml, designed the various splash screens and icons for the devices, downloaded my certificate from Google, uploaded it to the PhoneGap service, uploaded the app (which is just the raw html app packed in a zip file) and everything went smoothly. I got the app on the store, added description, recorded a video walkthrough (which took me about 3 hours, because as you might have noticed by now, I am not a native english speaker, so narrating videos is not one of my strengths) and the Google Play Store was almost ready. The only thing left was verifying my bank account, which took a few days, but by that time I had already sold my first app!
Windows Phone
With the PhoneGap build service being really awesome, I thought about adding a windows phone app, too. But the 99$ annual subscription is a bit too high, yet, because I won‘t sell that many DIEVOBITS apps on windows.
AppStore part 2
Seven days after submitting the app, I got an „app rejected“ message from Apple. Somehow, the app crashed on 3rd generation iPads. Too bad I could not test that, it worked on the emulator and my first gen iPad. But with the good recent experience running the app through the PhoneGap build service, I decided to do exactly this with the iOS app, so I extracted the app from Xcode, add the config.xml with the correct icons and splash screens… you know the process from the Google Play paragraph.
So with the build from PhoneGap, I uploaded it again and waited for another 7 days. They really should add a second queue for rejected apps. Two weeks after my first submission, I got the message: “Your app is Processing for App Store”! This was the good message. But the second mesage I got was „Pending Contract“. What was pending contract?? It turned out you have to fill out some legal forms before the app can go live, and it would really be nice if anyone told you this while waiting for the app review. Luckily, these were only some online forms and after another hour, my app was “Ready for Sale”. Nice! Next Question: How to get people to actually buy the app? The first sales where from facebook friends, but only with presence on the App Store, I would not make any money from it. So it was time for a landing page.
Landing Page
Building a landing page for your app is pretty easy. It only needs some screenshots (which I had a ton from all the store screenshots you had to take), some mobile phone and tablet mockups (which are available for free on dribbble), a bit of marketing text (not too much) and a nice and clean layout. I visited a few mobile app landing pages and started creating the DIEVOBITS page afterwards. The major problem with landing pages are two numbers: 711 and 6495.
The first, 711 is the number of words in the Google Android marketing guidelines. There is nothing special here, just some advice which logo and icons you should choose and even a nice Google Play Store Logo generator. The other one, 6495, is the number of words in the german Apple iOS marketing guidelines pdf. This is a whole other story. You have to follow this guide, and sometimes, it really sucks. For example, you are not allowed to use white iPhones on your marketing material, and Apple devices should not overlap. I tried to follow all the rules, even the stupid one that the App Store Badge should have 40px of padding around it. The result of the guidelined landing page development can be seen here: www.dievobits.com.
Conclusion
Building a mobile app is a great experience. Deploying a mobile app is a pain in the ass. Deploying a mobile app for the first time is even worse, but everything is difficult for the first time. I encourage every developer to have at least one app on the stores, because once it is there, it is (almost) always a pleasure to see people buyinga and using your application.
There is a often asked question, why didn‘t I put DIEVOBITS on for free. It is a valid question, because it is not the best app ever and it solves only a simple problem, but there are two reasons for not going free with this app:
I want to have everything in place and did the whole paid app deployment experience before submitting the DIEVOLIST app. It is kind of a test run for me.
While the app is pretty simple and solves only a simple problem, it solves a simple problem, and solving a problem which makes you more happy is worth 1$, isn‘t it?
I‘ll post the sales in a few days, perhaps with the announcement of the update I planned for the app (extending some features and add some design to the app). Thank you if you read the whole article and I apologize once more for my lack of writing skills (non-native speaker and a bit rusted in writing long english texts).
First Mobile App Checklist
This is a small Checklist if you are planning to create your first mobile app for the App Store and the Google Play Store:
Find a good and simple idea for your first app. Write down all the features you want to have in the app. Reduce this list to exactly the one feature the app NEEDS. This will be your first version.
Find a good name for your app and register a good .com domain for it (don‘t have to be exactly the name of the app, but it helps)
Create an Apple iOS developer account (79$ annual, takes a few days when you don‘t have a credit card)
Create a Google Developer Account (29$ one time fee, done in a few hours).
Download PhoneGap from PhoneGap.com
have a look into the documentation
build your app with HTML / Javascript
Test your app in the mobile browsers or emulators
Add all required certificates for Google and Apple apps to the PhoneGap build service (there is a good official documentation available on what you need and where to get it)
Build the app via the PhoneGap service and test it
Take a lot of screenshots (Resolution for iPhone, iPad, Retina iPhone, Retina iPad, Landscape and Portrait, and some nice ones for Android devices in ldpi, mdpi, hdpi and xhdpi)
Design a stunning AppLogo (also with different resolutions. Apple wants a 1024x1024 resolution for the AppStore, so start with the big one, first)
Design a good Splash Screen (different… you know it by now. And a 9-patch png for Android devices)
write a good description
record a marketing video
Upload your app to the AppStore via iTunes Connect, add the description and screenshots
Proceed with the contracts at „Contracts, Tax and Banking“ on your itunes connect homepage
Upload your app to the Google Play store, add the description, the screenshots and the video
Design a simple but interesting landing page or buy one from one of the many good design template sites (should not cost more than 10$)
Add all marketing material you have by now to the landing page
Don‘t forget to add google analytics
Publish it everywhere like this: www.dievobits.com ;-)
If you have any comments about this long (2000+ words) article, suggestions or anything else, feel free to use the comment form below or write me a mail at thomas@dievolution.com.
Have a nice day! Thomas Diehl
DIEVOLUTION Blog