Android :: How Does AdMob Calculate How Much To Pay Developers Per Click?
Aug 14, 2010
I just integrated AdMob into my app. I noticed that in South Korea, there were 24 clicks, but that I only got 7 cents off of those clicks. In Malaysia, there was one click that generated 11 cents, and in Japan there were 2 clicks that generated 0 cents Does anyone know how this works? Also, does AdMob or Google AdSense generate more money?
View 3 Replies
Nov 12, 2010
I am new to programming in Java and Android. I got admob to work at the most basic level, and whenever the device is at the landscape orientation, admob tends to popup and occupy a huge potion of the screen.What is the best way to detect the orientation and hide the ads from displaying if it is in horizontal orientation? Is it necessary to put the admob application in a thread to check for change in orientation and hide/unhide it?
View 1 Replies
View Related
Apr 1, 2010
when I click on one item in the ListView that item's background changes to light gray, but when I continue to scroll through the list every 4th item has the background changed to light gray even though those other items have not been clicked. How do I make only the item I clicked be effected by the click?
ListView lv = (ListView) findViewById(R.id.resultsList);
lv.setAdapter(new ArrayAdapter(this, R.layout.resultitem, (String[])labelList.toArray(new String[labelList.size()])));
lv.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView parent, View view, int position, long id) {
TextView tv = (TextView)view.findViewById(R.id.result);
tv.setBackgroundColor(Color.LTGRAY);
tv.setTextColor(Color.BLACK);
View 1 Replies
View Related
May 3, 2010
I have a ListView in my Activity. I am trying to catch both a click and a long click (which should bring up a context menu).
ListView lv = (ListView) findViewById(R.id.MyListView); ... lv.setOnItemClickListener(this); lv.setOnCreateContextMenuListener(this); ...
I notice that if I have both the click and long click listeners up, I won't ever get the long click listener (i.e. the context menu). If I remove the setOnItemClickListener() call, i get a call into
@Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at
View 4 Replies
View Related
May 31, 2010
I have just started my career as an android programmer, and am currently relying heavily on the sample code and api examples. I have been working with this api example, to produce an expandable list of items (note this example does not use the ExpadableListView).In playing with the example, I tried to add another widget that would become visible and be gone at the same time as the text (mDialogue in the sample code). This works well with another TextView, but as soon as I tried to add a button widget, it stopped working. The list would expand on first click, showing my hidden TextView and Button, but it will not disappear on further clicks. The button is however, clickable, and I was able to set up an onClick listener to change the button text back and forth.I'm starting to wonder, is it just not possible to have a clickable item inside a clickable list item? Or is there some kind of work around? Would it solve my problem if I used ExpandableListView?
View 1 Replies
View Related
Oct 6, 2010
I'm sure this is a stupid question, but I can't find a link anywhere and their wiki just says "Copy the AdMob Jar file into that libs directory." but not where to get it.
View 1 Replies
View Related
Nov 22, 2010
My app displays an AdMob AdView followed by a ListView. When the app first starts, I'd see an empty space where the AdView should be. After a while, I'd see an ad being displayed. However, this where the strange happens.The ad only displays for a brief moment, no more than a second, then it goes away and becomes empty space again (no ad). So it just repeats like this: no ads for while, brief display of ad, no ads again for while, and so on.This is my first experience with AdMob and I followed the AdMob integration instructions pretty closely.Am I doing something wrong? Or is there some kind of param to set the during of an ad being display that I am missing?
View 4 Replies
View Related
Apr 11, 2009
Has anyone used admob in their Android apps? If so, what is your experience so far?
View 2 Replies
View Related
Mar 30, 2010
Android java, is it possible to add admob to a preferencesActivity? if so can someone plz give an example?
View 1 Replies
View Related
Jun 18, 2013
create to get ads on my free application, ok first off I have been following this book
Beginning Android games 2011
Beginning Android Games
Now this book implements a very nice and simple game framework which I use (a simpler version can be found here.The Android Game Framework: Part I - Kilobolt
Now this framework doesn't use any type of XML file what so ever, it uses a framebuffer to draw things onto the screen. now when the application is first started, this is the first method called which is in the AndroidGame.java
[HIGH]
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
[code]...
View 1 Replies
View Related
Jan 21, 2010
I have already posted on their developer group but based on everything I've seen I don't expect a reply. I have a strange problem. When I added and adview to my app it imported a bunch of comments that all start with /** Eclipse is acting like it is not a comment. Although it isn't erroring out it has now marked anything starting with R.id as not existing. Is this something I can remedy in eclipse or is it time to chuck my dreams of being mega rich off of all the admob revenue I will be receiving? Writing code is one of few things that teaches me I don't know everything. Join the Closed Beta of Call Girl Manager http://www.fuligin.com/forums
View 5 Replies
View Related
Oct 8, 2010
I'm adding AdMob ads (say that five times fast) to my finished, published Android app. I added the code from the PDF included with AdMob, following their instructions to a tee. The test ads show up fine on my emulators and specified test devices. They just don't appear in the published marketplace app when you download and run it. I still get impressions on my AdMob page however. Any ideas?
View 3 Replies
View Related
Aug 30, 2010
I want to use Admob in my app. I've downloaded the SDK and followed the steps. Sometimes, I get an ad in return, but most of the time, I get an entry in LogCat that says "Server did not find any ads" or something to that effect. Test mode is enabled, says the Admob site. I think I might be doing something wrong. Where can I get a step-by-step guide to insert admob ads in Android apps? The Admob developer site is rather lacking.
Also, let's assume that everything's gone well and that I'd now like to deploy the app. How do I turn off test mode for Admob ads?
View 1 Replies
View Related
Aug 26, 2010
I am trying to get AdMob ads to display in my android application and have been unable to do so. I have contacted their support and have not received any response in almost a week, so I figured I would now ask for help here.
First some code:
CODE:................
Yes, admob-publisher-id-here is my real publisher id in the actual manifest file.
In the logcat, i see the following:
CODE:..................
The AdListener is indicating that it is unable to retrieve the ad. I have an active data connection, plus I am in Test Mode, so it is supposed to always show an ad, according to the admob wiki. There are no errors in the logcat, nor is the application force closing at all.
I got a response from admob, but all they said was i was creating the aeveiw twice, which I am not
View 6 Replies
View Related
Dec 10, 2009
I am developing an application in which I have used AdMob. When I run the application on emulator the it runs proper i.e. I get ads near about 8 times out of 10 requests. But when I run it through handset, the response get decremented i.e. I get near about 1 to 2 ads out of 10 to 20 requests.
View 3 Replies
View Related
Sep 8, 2010
I follow all the instruction but my ad doesn't appear on my app. My app is already on the market, i configure admob and adwhirl, and it's say it's active, but i can't do it.
View 3 Replies
View Related
Oct 15, 2010
Admob code cant see on device.
I followed the instructions here: http://www.admob.com/docs/AdMob_Android_SDK_Instructions.pdf everything ok, but the 6. not clear for me
"Step 6
When integrating AdMob ads into your application it is recommended to use test mode. In test mode test, ads are always returned. Test mode is enabled on a per-device basis. To enable test mode for a device, first request an ad, then look in LogCat for a line like the following:
To get test ads on the emulator use AdManager.setTestDevices...Once you have the device ID you can enable test mode by calling AdManager.setTestDevices:
CODE:..........
what is that long number on the code? how i get that number?
In the oncreate method i put this code:
CODE:........
(into the help activity, not into the main activity)
View 3 Replies
View Related
Jun 8, 2010
I got accepted into Adsense for Mobile yesterday. Right now my app is running with Admob and generating about $6+ a day with 70k impressions (CTR ranges from 0.2% to 0.3%) . Just wondering if someone has experience with both Admob and Adsense, if so would you suggest changing to Adsense?
View 3 Replies
View Related
Apr 30, 2010
I cant seem to figure out how to add the admob widget into my application. i want to add the widget to a linearlayout that is the child of a relative layout. the linerlayout was created just for the ad. and have it update/refresh the ad each time a button is pressed. i have already imported the JAR,edited my manifest to include the permissions and publisher id. but i cant seem to exactly figure out how to add integrate the admob code.
View 1 Replies
View Related
Oct 31, 2010
Is anyone using AdMob analytics to track location and events in their app? I haven't been able to find any Android relevant info for the (AdMob) analytics side of things. Can someone please point me in the right direction? Alternatively, what are you using to track location and event data?
View 2 Replies
View Related
Oct 13, 2010
I qadrouple checked phone Id. Still does not work. What, besides of phone Id, is the difference betwween running on the Emulator and on the phone?
View 1 Replies
View Related
Jan 7, 2010
I am testing the AdMob for Android SDK. I can't set the admob:testing="true" because the admob attribute is unknown.code...
My Eclipse is complaining that admob:testing="true" would have an unknown prefix. Anyone got an idea on how to fix this?
Sub question: Anyone got an idea how to change the height of the ad? It seems to be fixed to 48px, which is not looking good on any DROID phone...
View 1 Replies
View Related
Sep 18, 2010
I'm very new to Android (like 2 days), but I'm experienced with other layout toolkits. I'm trying to put an AdView below a TabHost, and it seems that I can either get the TabWidget or the AdView to display correctly, but never both.
First, here's an ASCII art version of what I'm trying to accomplish:
--------------------------------------------
| Tab 1 | Tab 2 |
--------------------------------------------
| MapView when tab 1 is selected |
| |
| |
| |
| |
| |
| |
--------------------------------------------
| AdView that stays no matter what tab |
--------------------------------------------
As you can see, I'm trying to get the AdView outside the TabWidget or FrameLayout. I want it to be below the whole tabhost contents.
Here's the layout I've got before adding the AdView...
Unfortunately, in that one, my MapView in the first tab puts the Zoom controls on top of the AdView. Is there some simple layout I'm missing? Cuz I can get the TabWidget to wrap_content for height, or the AdView to wrap_content for height, but only when they go above the "@android:id/tabcontent."
Anything below the tab content gets eaten by the MapView.
View 1 Replies
View Related
Oct 2, 2010
I have an app with Admob ads on it but I find that when I use it the ad almost never refreshes because I don't change activities, instead I just update a text view when buttons are pressed. I have tried searching this on Google but keep comming up short.
I would like to tell the app to refresh the add occasionally, such as after two button clicks or something like that. Does anyone know how to do this and potentially have some sample code for it?
View 1 Replies
View Related
Sep 19, 2011
I'm a new developer and I want to advertise my new app. How many of you use admob to promote your app? Do you think admob is very effective or do you use another method to advertise your app? I'm just starting out so I don't have a huge amount of funds to spend and I like the feature that allows me to put a daily cap on how much I spend. I'm a little concerned with Admob though because I read that Google is killing admob.
View 2 Replies
View Related
Dec 19, 2009
When I DL'd the GDE app, I accidentally set my stock droid "HOME" screen as the default screen when the popup box came up asking me to choose between stock Home and GDE. Now when I click on GDE and click the home button, it switches back to the stock Home screen. How to I switch the settings now to set the GDE app as the new home screen?
View 15 Replies
View Related
Sep 25, 2010
I would like to record from the device microphone and then be able to calculate the beats per second of the recorded audio, is it possible and how? is there any open source project I can look?
View 1 Replies
View Related
May 18, 2010
I need to calculate a rotation vector out of the data i get from Sensor.TYPE_ORIENTATION. The sensor data is defined like this: the values have to be recalculated to become a correct 3d position: values[0]: Azimuth, angle between the magnetic north direction and the Y axis, around the Z axis (0 to 359). 0=North, 90=East, 180=South, 270=West values[1]: Pitch, rotation around X axis (-180 to 180), with positive values when the z-axis moves toward the y-axis. values[2]: Roll, rotation around Y axis (-90 to 90), with positive values when the x-axis moves away from the z-axis need all three values like the Z axis value (from 0 to 360 degree). I tried a lot but cant figure out how to do this :/ So i bet there is a simple solution how to recall the values of sensor.TYPE_ORIENTATION to make them a 3d rotation vector, but i just dont know how to do it. If you know the answer please tell me. Code...
View 3 Replies
View Related
Nov 16, 2010
I want to calculate CPUTime per process for Android devices.
View 3 Replies
View Related
Jul 21, 2010
How much space does a TextView take?
When I declare a TextView, is it possible to calculate how much space (height and width) it is going to take when actually rendered on the phone?
I have noticed that based on the different screen sizes of phones (or density), the TextView is rendered accordingly. I want to be able to calculate the exact height and width rendered.
View 1 Replies
View Related