Here is the application:
It’s not saving the world, just showing some random comics, making you save your favorites into local storage and share via your apps. It was a good training application for me.
There is a big misunderstanding among newbie mobile developers. Going with html or js is not always good. It depends on your use case. Sometimes putting a share button would be a real pain with html (phonegap and steroids). However, with native SDK, you can have an easy share button with a couple of lines of code. You don’t need to write to code share with different applications. One button to rule them all!
Another thing is monetization. It’s always painful with non-native apps. There are a couple of plugins for phonegap for admob. There is an official plugin for titanium. For kivy, the best way to integrate admob is fetching url manually and creating the widget by yourself, no plugin as far as I remember.
Even if my app looks so simple, there are significant number of challenges I have faced during the development:
- Tabbed swipe view: Eclipse creates it when you choose navigation type. Needs some learning curve to customize it. I'm still trying to figure out
- Fragments: Each swiped view is a fragment.
- SQLiteHelper: Local sqlite storage to store favorite comics.
- Async tasks: Download images without blocking the UI.
- Custom listview: Default listview only shows lines of texts in the list. I needed to show image and two buttons in each row. ArrayAdapter is your friend here.
- Share button: This one is easy. I'm gonna share it's code soon.
- Share menu button: Add share button ad the top. This one is also easy.
- Updating an application in play store: Surprisingly yes, that one was tough. I need to sign it with my previously uploaded app's keystore and alias. Ok, this is not the hard part. The problem was that I don't really remember what was my keystore and alias password.