Im trying to add admob ads to an exisiting application on the play store which is written in html5 and javascript and made using cordova but I'm having trouble initializing and showing the ads... I believe I narrowed the problem down to my MainActivity.java file but I'm not sure.. I would just like to display a banner ad from admob on my application using either cordova or android studio.. Thank you..
I'm using an android device and cordova and as of now when I do the command cordova run android, it looks like it deploys but crashes.
I'm not very familar with java..
can someone more expierenced in java tell me if my code is atleast correct?
Related
so i am working on android app programmed in java which shows a list of animals sounds in recycler view. The app works fine when i install it on my device from android studio but when i upload the apk to play console and install from play store the adapter becomes real mess and apps gets crashing untill i clear cache and app data from settings.
Here is what app looks like on first install from play store (https://i.stack.imgur.com/OTQkX.jpg)
When i clear cache and app data from settings and relaunch the app it works absolutely fine.(https://i.stack.imgur.com/HPbgM.jpg)
I have tries all possible solutions which i found online but they could not help. Can anybody explain why this occurs and whats the solution to this?
Update: Following #Tenfour4,s comment i switched to production build in android studio but surprisingly app is working fine . The issue only occurs when app is uploaded to play console and installed from there.
I'm using react-native to make an multiplatform VOIP Dialer, and i'm facing difficuties to integrate my app with the default contacts list of the o.s (Android on the below example)
I didn't tried anything already because i dont know Java (For android) neither objective-c (For IOS). So i was hoping there's a module for that
Thanks in advance!
You can check this anwser Integrate my app with Contact , it shows how to do it with Java at an Android App.
Regards,
I am developing a virtual reality application for the Samsung Gear, I already did the graphic part in unity ,what I want is when I click on the login button that I have created with unity,the treatment will be in java, i already have exported my unity project as an android project but I can't find the link between the unity objects that I have created and the generated activity,any help please ?
thank you.
You can write custom android plugin for your unity project. You can communicate between java & C# using JNI. For more information, see here
Straight to the point, Im trying to run a small program of unity within an android application created on android studio.
The android application has its own functionality. Eg. after opening the maps API(in android studio), I want to click on a location and then want a small program of unity scene(augmented reality) to start. I want help and I don't have any idea how to do this.
This is the unity application that I want to integrate within my android App. I want to make a unity plugin that can run within an android application instead of creating the entire application in unity.
https://www.youtube.com/watch?v=gNwduUQrlJs&t=6s
I'm afraid you can't do that. What you can do is to create another unity application which will have just the functionalities you want after clicking map location. If you install such app on your Android device, you can then trigger opening this unity app from your Android app by using custom uri schemes. But there is no way to create Unity 'plugin' to launch within android application.
Well i `ve made an app using java me and as graphics i used lwuit library which i added into the midlet`s jar. On Nokia it runs smooth and i wanted to port it to android. So i found out about microemulator http://microemu.blogspot.ro/2008/11/running-java-me-applications-on-android.html and i followed those steps and i got the apk. However when i run it into the Android Emulator it closes at start. I don`t know what may be the problem because i was able to convert the demo jar app into apk and it ran succesfuly.
Any ideas on what should i do?
I suggest you port your application to Codename One which should be pretty simple. It has proper Android support which will make your application look and act native on Android.