Android :: Strange Error With AdMob

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

Android :: Strange error with AdMob


Android :: Admob - How To Detect Horizontal Orientation And Hide Admob?

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

Android :: IOException - Strange Error

Jul 29, 2009

I'm trying to write a basic application with http get request. Eclipse validated my code, but when I using IOException in Android console I have this strange messages:

CODE:...............

And my application doesn't load into the emulator.

This is my code:

CODE:..................

View 3 Replies View Related

Android :: XML Parsing Strange Error

Jun 28, 2010

I am trying to parse XML with a simple sax parser. Interestingly i am able to see desired output in the emulator. but when i run the program on a device program shows no output. I tried many different way for example putting the XML file in a raw folder but every time no out put on device. Tried this on two different handset and everywhere get the same error.

View 2 Replies View Related

Android :: Strange Instance Of App Not Responding Error

Aug 31, 2010

A customer just notified me that she's experiencing the infamous "app not responding / wait, force close" message during a specific operation. By just waiting enough, the app resumes ok. Now, that specific operation is indeed long and in fact it has been programmed in a background thread, with a progress dialog signaling the wait. I can't reproduce the problem on my development phone - I suppose because it's perhaps faster than the phone of the user. But I can't reproduce the problem either with the emulator, which I suppose is slow enough. Generally speaking, I think I could be able to solve this specific problem with the customer giving me the proper feedback. It's the general issue that hassles me. This part of the application is very good covered by tests at different levels, including automated black-box tests with Robotium that drive the UI as the user would do, and even in "stress mode" (repeating the test multiple times). So I supposed to be very safe in that area and I'm disappointed to discover that it was a false sense of safety. What am I possibly missing? Also, is it possible / does make sense to "slow down" a phone during tests? I was thinking of a service running in background just consuming some CPU cycles to make the phone less responsive. Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." a.net/blog/fabriziogiudici - www.tidalwave.it/people Fabrizio.Giud...@tidalwave.it -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

View 3 Replies View Related

Android :: Strange Error With Return String From Web Service

Aug 13, 2010

I have a strange issue. I am using KSOAP2 to create a soap request to a .net webservice. I do this in a few other places and everything works fine. The webservice basically queries a data base and takes the values from the data reader and creates a string. This string is then returned. When I run the webservice on my local machine(Without using android) it works fine. When I run it from the webserver (still not android) it works fine. When I call it from my phone however the line: String hazards = (String)envelope.getResponse().toString () ; //Get response from .net Web service Simply is filled with anyType{}. Now if I go to the webservice and I manually type in the contents from the database to represent what the string concatenation should be it works perfectly. The line: String hazards = (String)envelope.getResponse().toString(); //Get response from .net Web service Now returns the string value i need. Does anyone have any idea why this is happening or know a better place to ask this question?

View 4 Replies View Related

Android :: Gl DeleteTextures Produces Strange Error (5572216)

Aug 23, 2010

I'm trying to get my head around how the vram is used in opengl, specifically when and how to clean it up. The Story So Far. I have a GLSurfaceView into which I set a Renderer implementation (called OpenGLRenderThread). This view is created (manually, by calling "new") in the main Activity of the app. When the onSurfaceCreated method of the OpenGLRenderThread is called, I load a bunch of textures in a fairly standard way: the app runs fine, however when I try to clean up these textures at the end of the "level" (the app is a game. I do the following: On the emulator it works fine, but on the device (HTC Desire, 2.1) I get a GL Error 5572216 I have no idea what this error code is as I can't seem to find any reference to it. I understand that the VRAM references are bound to the thread that created them. Hence they can only be destroyed by the same thread. In my case, this thread is the OpenGLRenderThread (Renderer) during the onSurfaceCreated call.Unfortunately the Renderer interface does not expose an "onSurfaceLost" method, so I created my own. When the Level is complete, my main activity queues a request on the OpenGLRenderThread using the following call to the GLSurfaceView: According to javadoc for queueEvent: "Queue a runnable to be run on the GL rendering thread" Ok fine, so this should mean that the OpenGLRenderThread is performing the call to onSurfaceLost. This method is the one that then calls glDeleteTextures, and produces the error. what am I doing wrong here? I am not destroying the OpenGLRenderThread or the GLSurfaceView at any point (other than game exit) so I'm worried that if I don't explicitly delete the textures my vram will eventually fill up, or worse get into a corrupt state. The only other thing that may be relevant is the use of a ViewFlipper. Because I want to load each level asynchronously I am using a ViewFlipper in the main activity to flip to a loading screen while all the level resources are rebuilt. Hence when the call to glDeleteTextures is made, the GLSurfaceView is not actually visible not sure if this is meaningful or not.

View 4 Replies View Related

Android :: Strange Error When Building / Using Prebuilt Tool Chain

Jan 17, 2009

When I using default pre-built android-toolchain to build android on linux, the following errors occur: hucheng@hucheng-bj:~/temp$ uname -a Linux 2.6.18.5-gg42workstation-mixed64-32 #1 SMP Tue Nov 25 21:45:59 PST 2008 x86_64 GNU/Linux Have you met it before? Institute of High Performance Computing, Department of Computer Science and Technology,

View 2 Replies View Related

Samsung Behold 2 :: Strange Error With Contacts?

Jan 17, 2010

I was trying to make a call today, but every time I pressed contacts a TouchWiz style error message would pop-up and say "Initializing, try again later." The wording may not be exact, but that's pretty close. Then it would dump me back to the home screen. I ended up rebooting and now it works fine. But when things that should be a basic function of the phone don't work, I get kind of ticked off.

View 11 Replies View Related

HTC Desire :: Strange Contacts / Facebook Error

Jun 13, 2010

Having a few problems ringing people on my phone. I get a voice saying "the number you have called has not been recognised". I looked at the number and it start 447xxxxxxxxxx I went to edit the number in phonebook and it's fine cos it starts off as 07xxxxxxxxx, i have to edit the number each time i wanna ring these person now unless they're in my previous call list! They are linked to their facebook profile but they don't store their number of facebook so why is it being converted to 447xxxxxxxxxx if it has the + before the 44 i think it would be an issue! I've never had this issue before either

View 2 Replies View Related

Android :: Where To Get The Admob Jar?

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

Android :: AdMob Ads Only Display For A Second

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

Android :: Experience Of Using Admob

Apr 11, 2009

Has anyone used admob in their Android apps? If so, what is your experience so far?

View 2 Replies View Related

Android :: Possible To Add Admob To A PreferencesActivity / Example For This?

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

Implemented AdMob Android Without XML

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

Android :: AdMob Ads Not Displaying / How To Show

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

Android :: Implement Admob AdView In App

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

Android :: Admob Ad Never Displays In View

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

Android :: Developing An Application - AdMob

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

Android :: Configure Admob And Adwhirl?

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

Android :: Admob Code Cant See On Device

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

Android :: Adsense For Mobile Vs Admob

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

Android :: Adding Admob Widget

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

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 View Related

Android :: AdMob Analytics To Track Location?

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

Android :: AdMob Testmode Show In Emulator Not In Phone

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

Android : Correct Xmlns Url For AdMob In Droid Layout XML?

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

Android :: Can I Use Wrap TabHost Containing MapView Displays AdMob View Below It

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

Android :: Force Admob To Refresh On Droid / Sample Code For It?

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

Use Admob To Promote App

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







Copyrights 2005-15 www.BigResource.com, All rights reserved