iPhone Rss Reader App IOS Tutorial 4: Show Rss Feed in UIWebView

This is the forth iphone programming tutorial in the iPhone Rss Reader app example. In this iphone source code example, I will improve the xml parser to get more data from rss feed xml, and store them in a new value object class. When user clicks the rss title in the table view, I will use push segue to switch to a UIWebView, which will show the rss content inside.

This tutorial will update the storyboard to add a new UIViewController, and all data in this UIWebView example is generated by the previous iphone example source code. Hence, I recommend you to review the whole example tutorials as well.

Read more

Rss Reader Android App Tutorial 4: Drag to Refresh in ListView Android Example

New Update: Adding Loading More in FooterView
Several weeks ago, I created a IOS tutorial about how to implement pull to refresh in IOS UITableView. In my Rss reader android app, I also want to add pull to refresh feature so that user can easily update the ListView content. I searched online and spend several to integrate one open source project in my Android ListView example. After that, I find it is quite hard to make some change basing on the open source project because of its poor flexibility. Therefore, I decide to create my own drag to refresh ListView (or called pull to refresh ListView).

In my app, I will create a subclass of ListView which is called RefreshableListView. The new ListView class will allow user to drag down and trigger loading event. So my RefreshableListView will implement the interface OnScrollListener and override the interface functions onScroll and onScrollStateChanged; To track user interactions, I will override the function onTouchEvent as well. Once we drag down the ListView, we will see the headerView which gives a tip “Pull Down to Update”. If we release ListView, the headerView will stay on the top and wait for updating. Once the updating processing finishes, the headerView will shrink back and disappear. Now let’s see the example source code step by step.
Read more

Add Google Admob in IOS Apps

In IOS platform, Apple also provides a way to monetize IOS apps by iAd. However, the low fill rate is really a headache problem. Hence, Admob for IOS application is alternative way to make money from your apps. Admob provides a wide support for all mobile platforms, including Android apps, iPad apps, iPhone apps and Windows Phone apps. In post, Add Google Admob in Android Application, I give an example to show how to monetize android apps by Admob. Here, I will show you how to implement Google Admob in IOS apps.

Add Admob in iOS App
Add Admob in iOS App

Read more

Ideal CPC for AdMob Apps

In last post, I mentioned that there are three factors to affect your free apps income which are using AdMob as their first monetization method. One of the three factors is CPC, Cost per click, which indicates the amount we can earn from a user clicks on the ad each time in the apps. The CPC is depending on the advertisers’ decision. Some advertisers are willing to put more budgets on their ads to increase the chance to display. As developers, we cannot control which ads we are showing because all the ads are returned by AdMob. But we can predict the high CPC ads from some certain industries. There are some industries providing very high CPC ads. For example, the advertisers from financial industry always pay a lot on their ads. Therefore, if your apps are severing for financial features, you will get high CPC ads for sure.
Read more

Guide for Beginners: Start to Monetize Your Apps with AdMob

Several friends of mine are creating Apps to earn money on both Android and IOS platforms. Most of them provide their apps for free and use AdMob to monetize their apps. In this business model, they have meet lots of problems in the past few months, and there are still some issues they are facing now. After talking with these guys, I think it will be very helpful to share some tips about monetize free apps by AdMob with those people who want to try but haven’t tried yet.
Read more