MoPub advertisement - android

While integrating MoPub SDK in my app, I followed instructions line by line given at https://github.com/mopub/mopub-client/wiki/IntegrationHowToAndroid but still I am getting an error:
import com.mopub.mobileads.*; is unresolved.
What mistake I am committing?

You need to download the SDK and make sure that you include it in you project

This is Franklin from MoPub. As Flynn said, you will have to edit your manifest file to have the proper permissions for the MoPub SDK.
Can you make sure you follow the instructions here:
https://github.com/mopub/mopub-client/wiki/IntegrationHowToAndroid
Additionally, we have a knowledge base you can reference here:
http://help.mopub.com/
If those don't help you solve the problem, feel free to email support#mopub.com. We're pretty good about responding and we'll make sure you're taken care of.

Related

Admob ads won't display because of missing permissions

I am using Unity3d 4.5.5f1 and I followed this tutorial in order to add Admob ads into my android game.
http://youtu.be/kBRb9ba71qI
I then build my app and install it into my android phone and it says "Missing internet permission in AndroidManifest.xml." even though I have the permissions in there.
http://www.mediafire.com/convkey/0f46/vnhxlb6fia231uyfg.jpg?size_id=4
I have the AndroidManifest.xml inside Assets/Plugins and this is how it looks like.
http://www.mediafire.com/view/vfvwcmyrngie0cu/androidmanifest.txt
I just can not seem to figure this out, any help will be appreciated.
Like LearnCocos2D said, you should try to clean your project. In Android Studio you can choose "Build > Clean Project", in Eclipse it should be something similar. I would have posted this as a comment, but I don't have the rep ;)
I figured it out, the problem was that I was putting the AndroidManifest.xml inside Assets/Plugins when it should be in Assets/Plugins/Android. I feel so dumb for wasting hours and hours trying to figure out such a simple mistake.

Where is ProperyLoader class?

I attempted to follow and old tutorial for Sending E-mail with Amazon SES Using the AWS SDK for Android here:
https://developer.amazon.com/post/TxEUZC89WLEC2Z/Sending-E-mail-with-Amazon-SES-Using-the-AWS-SDK-for-Android.html
I am having a little trouble however. PropertyLoader cannot be resolved. What jar library is this a part of? I have tried importing all of the jar libraries from the SDK into my Eclipse project. (http://aws.amazon.com/mobile/sdk/).
I also get an error on this line: SendEmailResult result = clientManager.ses().sendEmail(request); I am guessing there is another class called ClientManager to set this up with in which I am also not able to find.
Any thoughts or links would be helpful. Thanks.
From the tutorial it looks like it follows a sample. Doing a quick Google search finds me this page.
I imagine the clientManager stuff is also there.
Note that the post is very old so I'm not even sure it still works with the current version of the SDK

How do I properly implement Google Play Service Achievements?

I've been searching for a couple of days, including on this website. What I have found would be useful, however I find that I'm unable to follow them correctly. The questions here have no answers either.
Firstly, when I attempt to add BasegameUtils to the project and import whats needed, Eclipse cannot find them. I don't understand why, because I have imported it and marked it as a library.
This is not helped by the fact that all of the examples have their mainactivity in the folder where the API is. I have already built a full application, and I do not understand where I'm supposed to put mine.
The whole thing is incredibly confusing, and any help, or examples would be lovely.
https://developers.google.com/games/services/android/init
You need to implement baseGameUtils as a library or module depending on your IDE.
public class Main extends BaseGameActivity
And then you call this to unlock the achievement.
Games.Achievements.unlock(getApiClient(), getString(YOUR_ACHIEVEMENT_CODE));
These code samples really helped me first time round.
https://github.com/playgameservices/android-basic-samples/tree/master/BasicSamples/libraries/BaseGameUtils
The tricky part isn't the code, it's the configuration of your project, make sure to check on the play developer console that you have set up your testing account properly and your achievement codes are correct etc.
Okay, the solution was not simple. The guides seem to favour Android Studio, which implement a script to create BaseGameUtils. The BaseGameUtild that I was importing with Eclipse was not the correct one. I ended up searching for a valid one, and downloaded it.
The second thing I was doing wrong was not updating the SDK to version 20. Now, with the Play Services Lib in the extras, I could import the updated version.
After that, I discovered that gms.; actually must be written as com.google.android.gms..;. With this in line, I am now able to properly implement everything.
Thank you to those who helped.

Configuring Android Steroids App to work with Facebook-Phonegap plugin

I would be extremely grateful if someone could walk me through the process of configuring my facebook app to accept connections from my android scanner build of my steroids app. Specific areas that I am not entirely clear on are:
Generating a keystore for my app
Hashing the keystore
Configuring the Android build settings
Configuring the facebook settings within Facebook. With specific attention to what Class Name / activity I want facebook to launch, and how to ensure my Class Name and package name are consistent with my Android build settings.
I've been fighting with this for a while, and can't help but feel as though I am missing something simple.
I'm not sure if you have gone through the official documentation or not; but they have explained each steps that you've mentioned step by step: https://developers.facebook.com/docs/android/getting-started/
Try for once (if not tried yet), and if you find any specific problems post your questions here (I don't think you'll find any after reading the doc)
I had the exact same issue.
I have used Android Decompiler to find the main class.
In my case it was: com.appgyver.runtime.standalone.chromium.MainActivity.
Looks pretty generic. Might work in your case too.

How to import android facebook sdk to simple app example?

I want to make a simple Android app which connect to facebook, but i'му begin to make it and found missing pics
http://developers.facebook.com/docs/guides/mobile/#android
http://developers.dev.facebook.com/attachment/app_wizard.png
http://developers.dev.facebook.com/attachment/app_properties.png
and just don't know how to import or make right compilation of Facebook source to add it as a library to "simple" example.
I'm using Intellij IDEA, but if you describe for eclipse, i'll be appreciated.
Thanks!
You can check another answer that has project setup instructions and a link to the sample project with Facebook SDK.
If it doesn't help, please provide more details, however it's probably too late considering the question date.

Categories

Resources