Experience of using admob

by Mattaku Betsujin » Sat, 11 Apr 2009 23:58:32 GMT

Sponsored Links

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


Experience of using admob

by Mariano Kamp » Sun, 12 Apr 2009 00:13:34 GMT

 The implementation is straight forward. The reporting is nice.

I didn't want the ads to show up in horizontal orientation as it takes up
too much screen estate this way. As I manage configuration changes
(orientation changes) myself that took me hours to get it right and was one
of the reasons that I don't use it anymore. If you don't manage
configuration changes on your own, that shouldn't affect you.

Moneywise it was very unexciting, but that was to be expected as I don't
have that many users and probably never will (I am not developing a game). I
implemented it to release my full version until Google opens the Android
Market outside the US and UK and wanted to prevent users from complaining
afterward that they now have to pay for something that seemed to be free
But meanwhile I learned that some users will complain no matter what, so I
removed the ads again.

On Sat, Apr 11, 2009 at 5:58 PM, Mattaku Betsujin <


Sponsored Links

Other Threads

1. The "Blinking Activity of Death"


We have a problem in our app that happens very rarely - but I have
witnessed it several times, on several devices and once on the
We currently do not know a way to reproduce it.
It goes like this: you use the app normally, you click on an item or a
button that starts an Activity (it seems it can happen anywhere in the
app, and not in one specific Activity).
=> The Activity, instead of being started normally, seems to be
started "in a loop", thus producing a nice blinking/stroboscopic

Exciting the app by pressing back several times, solves the problem:
if we then relaunch it, the problem won't be there and then we usually
won't see the problem for a few weeks/months. Hence the "Blinking
Activity of Death" nickname...

Reading the logs, it looks like onStart() and onResume() are normally
called, again and again.
The only warning I see in the logs is this:

INFO/UsageStats(102): Unexpected resume of <myapp> while already
resumed in <myapp>

Googling a bit about this (and
didn't help.

The "Starting activity" and "Displayed activity" bits are logged only

I checked to be sure our startActivity or startActivityForResult calls
are not in any sort of loops.

Any idea on what could produce such behavior?
Thanks a lot for your help.



2. java.lang.ArrayIndexOutOfBoundsException: too much data for RSA block

I am using Asymmetric Cipher RSA algorithm for encryption and
decryption. I am generating private and public keys and using them for
encryption and decryption respectively. Following is the code snippet.

 KeyPair keypair =

 private  Cipher cipher = = Cipher.getInstance("RSA");

public String encrypt(String plaintext) throws Exception{
        byte[] bytes = plaintext.getBytes("UTF-8");

        byte[] encrypted =  cipher.doFinal(bytes);

        return new String(encrypted);

    public String decrypt(String encrypted) throws Exception{
        byte[] bts = encrypted.getBytes("UTF-8");

        byte[] decrypted = cipher.doFinal(bts);

        return new String(decrypted,"UTF-8");

Encryption is working fine. But while decryption it is throwing the
error "java.lang.ArrayIndexOutOfBoundsException: too much data for RSA
block". Please let me know how to resolve this problem. Please suggest
me if any other asymmetric algorithms to work on large data.

Thank you,


3. Emulator is crashing a lot

4. Porting to a new product (preffered directory structure)

5. kernel debug capability for ADB

6. how to get bytes for mp3 song that is playing by mediaplayer?

7. Android License response 鈥淩espond normally鈥