google mobile ads - using libgdx and Android studio - java

Ive got my whole game together, using libgdx, working in android studio, and now I'm in the process of putting ads into it. I've done the tutorial here but it doesnt work when youre using libgdx(I cant just follow the steps).

OK, so I managed to get a banner ad to display.
What I did was follow this spanish tutorial, with its accompanying video, but wherever you recognise pieces from the official tutorial i linked in my original question, use the official snippets. basically the part from the spanish/video tutorial that is needed is putting the game into a FragmentActiviy and making a layout file.

Related

How can I add autosave to a Note App with entities?

I want to learn how to make android apps so I followed a tutorial series on YouTube and I made a Note App. But I need to add autosave and I don't know how. I searched on YouTube and I tried everything and nothing works.
Here is the Playlist with the tutorials:
https://youtube.com/playlist?list=PLam6bY5NszYN6-a1wt7yRISWfmYPdkbMu
As I said before, I'm new to all of this, but I really want to make this app.
you can use "periodic work request" to auto-save your notes.
you can use this tutorial or other tutorial
enter link description here

Using JavaCV to Analyze Images on Android

I'm a little stuck here. I'd like to use the JavaCV library to capture a frame from a camera and store the pixels in a matrix. Unfortunately, all the tutorials that I can find only demonstrate how to do this on an ordinary computer, and since this is for an android application I can't use the necessary AWT library that the tutorials point to. Could somebody please either point me to a tutorial or explain a way that allows me to accomplish this on Android?
I'm using Android Studio.

How to make my app accessible from any other app like Google Translate app?

I saw in the video on Google youtube channel(there it is) that Google Translate can open its own window in any app if you copy words.
I need it to my translation/dictionary app to add copied words there.
Must i have a supreme authority to do that? And how to do that? Or what else can perform this functionality?
There is already an answer for this question at Drawing over other applications in Android [closed].
Basically what you need is to draw over other applications. As stated in the Stackoverflow link I have posted above. You will have to use WindowManager, which draws a view on the root on Android Window Manager.
For more information you can visit the Stackoverflow link

implement list of user's facebook friends that are also using my application

I'm trying to implement an Android activity witch shows a list of images of the user's friends that use the same app also (like in Tinder app). I've searched the web for days and everything I found is too old or doesn't seem to work properly (mainly because they are all based on earlier versions of facebook SDK).
Can somebody please attached an explanation, or even better, an open source of example like that.
There's an example in the docs. I wonder how you didn't find that...
See
https://developers.facebook.com/docs/android/scrumptious/show-friends

Developing Android outside of the SDK

It seems as if every Android application I really want to make is impossible to make with the current SDK. It doesn't give me access to certain things I would like to work with. This is an example of one of these things.
I know it is possible since I've seen apps in the market that do things that the SDK cannot do. My basic question is can someone point me in the direction of how to create such an application. I've searched around, but all of the links I've found are for developing with the SDK. A simple link to a tutorial that can show me how to access Android elements that aren't available through the SDK would be great.
Thanks.
You will not find a tutorial on it because the NDK is in flux..
What I have found is ..
One of the Eclipse CDT has blog posts on how to setup NDK projects in Eclipse.
The people who know Android Embedded C and frameworks are usually on certain IRc channel.
Plenty of code documentation..
Google search for android jni wrapper blog posts.
But keep this in mind several areas require state management as hey interact with hardware buffers in a certain way..ie audio..video..etc.

Categories

Resources