Tuesday, April 12, 2011
Monday, November 8, 2010
Thursday, September 2, 2010
Sunday, June 27, 2010
<html><head><meta http-equiv="content-type" content="text/html; charset=windows-1250"><meta name="www.flyloopproject.com"><title>World Cup Goal Scream Ads</title></head><body marginwidth="0" marginheight="0 leftmargin="0"topmargin="0" style="background-color: black">.....insert your Adsense Code here.........</body></html>And save the page, for example call it myads.htmlStep 5:Upload this page to your website, oh you need a place on the internet where you can upload stuffStep 6:Test the page on your mobile phone by opening the page that you just upload.Note!: it won't display any content if you open the page from your computer's web browser. You have to test it on your mobile web browser. Check out my ads page: http://flyloopproject.com/myads.htmlStep 7:Now that you have this page, you probably ask yourself "How the hack do I add it to my app ?"Well don't worry you are on track to do this.Take a deep breath of fresh air and proceed with the next step.Step 8:Open your Android project and edit the View where you want to add your ads.For example you can add ads to your main.xml where you'll place a WebView component.
<LinearLayout android:id="@+id/adsHolder"android:layout_width="fill_parent" android:layout_height="wrap_content"android:orientation="vertical" android:layout_alignParentBottom="true"android:layout_centerInParent="true" android:paddingTop="5px"><WebView android:id="@+id/adsDisplay" android:layout_width="fill_parent"android:layout_height="fill_parent" /></LinearLayout>Step 9:All you have to do now is to wire up the WebView component that you just add to your web page created in Step 4
<manifest ...>...............<uses-permission android:name="android.permission.INTERNET" />...............</manifest>Step 11:You're done, test it by building your app and run it with your emulator or on your mobile phone and you should see your ads at the bottom of your screen.A quick overview of the stepsStep 1 : Log in to the Google Adsense site https://www.google.com/adsenseStep 2-3 : Get Your Adsense CodeStep 4 : Save it to an empty web page (example: http://flyloopproject.com/myads.html)Step 5 : Upload the page to your websiteStep 6 : Test it on your mobileStep 7 : Fresh airStep 8 : Add a WebView component to a view in your android projectStep 9 : Wire up the component to display you web page that you just created in Step 4Step 10 : Add INTERNET permission to your appStep 11 : FINISH (check your heart rate :) )That's pretty much it.I hope that you find this posting useful and don't stop building free apps and get support for your development using Google Adsense for mobile.If you find this blog entry useful don't stop sharing with your friends and CLICK MY ADS to support my development and I'll get you more tutorials
Today I was able to publish my very first app for Android
It all started with a friend telling me about the Google's new smartphone, Nexus One, how awesome it is and how easy it is to develop apps for it. One thing was catchy, you can build your app using Java language and Eclipse as IDE, that's cool since I'm working with Java and Eclipse every day.
Soon I found out that Google's Android team did a really good job building a website for developers: http://developer.android.com that helped me getting started and the best thing of all was that they provide a plugin for Eclipse, Android Development Tools (ADT), including an emulator where you can test your apps without even having a real phone, it's all software. I know that others used emulators but it is nice to see that this trend is helping developers to jump building apps in no time.
I did my research about the phone and discovered that the phone is compatible with my cell phone carrier and that I can order it online and got it shipped in Canada. Now they stopped selling through the Google's website, but it will be available through other retail chains, so no worries. Anyway, at that time it was available and I got it.
Ok, so everything was set and then what? What app should I build?
I got around all my ideas by focusing on the simplest, easiest and useful aspect of an app. Then EVRIKA, (church choir singing), O Canada, the Canadian Anthem that every Canadian citizen should know it. Since I'm a Canadian citizen to be and still not knowing all the lyrics, even though I heard the anthem a lot during the Vancouver's 2010 Olimpics, I though that it will be a good idea to have the anthem's song and lyrics with me all the time. And the rest is just work and fun.
Now that's finished and published all I can hope that you'll install it and find it the simplest, easiest and useful app.
In order to install it, use your phone and search the android market for "O Canada"