I'd like to have advertisements in an android App I've written and built using PGS4A. I've done my research and all, but there doesn't seem to be any online resources that explains how to do that just yet. I haven't much knowledge on Java either, which is clearly why I've written that in Python. Has anyone found a way to achieve that? If not, how difficult would it be to convert the project files into an Android Studio (or even an Eclipse) project? (so then one can just implement the ads following the Java Admob documentation found everywhere)
Thank you in advance.
To access Java already implemented version you can use pyjnius. I tried to use it for something else and I didn't succeed. Well, I yielded pretty quickly because it wasn't necessary for my project.
Otherwise, I am afraid, you will have to implement it yourself from scratch.
I never heard about a finished solution for your problem.
If you succeeded to use PGU, it wouldn't be so hard.
If not, well, I wish you luck, and put your solution online for others.
There is an Eclipse plug-in for Python. I think that Android studio does not support PGS4A. Never needed it. Console is the queen.
Related
I'm working on a project whereby we're creating an app for people to call/message one another.
We're currently developing in Androidstudio, java, but even after we've launched the app, it seems that most of our interested users are on iOS instead.
Is it possible for us to convert Java > Kotlin and use Kotlin Native for our iOS app? I mean, if it's possible we'd like to use a way that wouldn't need us to use too much Swift, since we're a bunch of undergrads who's doing this on interest and we haven't developed in Swift before.
Seems like there are certain projects that are multi-platform so far, but I'm kinda really skeptical about the possibility of us doing so, even though most of our code are written in web.
I'm sorry I'm not that well versed in programming or if this question has been asked before, I'm still kinda new to programming and everything.
I'll really appreciate it if you'd so kindly answer this question! :)
You can use Kotlin/Native for your iOS app and not write any Swift, but you still need to change all of your UI code so that it uses the iOS UI framework and not the Android framework. This conversion needs to be done manually; there's no automated tool for that.
You could try out Flutter if you want to have one code base for both Android and iOS?
I had been using RoboVM on libgdx. I recently updated everything I had been using and had to face the fact that RoboVM is winding down.
To be honest, I was a beginner when I started LibGDX and never needed to pay attention to backend stuff. I got started with couple youtube tutorials and was I fine until recently.
For that reason I am trying to understand what is going on, and looking for a way around. I had come across with BugVM and the list on the following link: http://www.badlogicgames.com/wordpress/?p=3925
However BugVM is not decently documented yet, and I am having trouble understanding how to use any items on the list given in the link.
Could you briefly explain how do I integrate any item on the given list, or could you just push me in the right direction so that I could start learning by myself? Or could you suggest me a simple RoboVM like plugin which would work on IOS, Android and Desktop as RoboVM did? My intention is to create an application that will work on Android, IOS and Desktop (I was simply running DesktopLauncher before to test my code. Now I get "RoboVM has not been licensed for this machine." and looking for a long term solution).
At this point I am completely lost and I am eager to learn. I just need some guidance as I am trying to learn it all completely by myself for now. Any help/suggestion/explanation is very much appreciated, and I am pretty sure your response will be useful to other beginners in the future as well.
First of all the so called solution in your link have been changed since then:
http://www.badlogicgames.com/wordpress/?p=3934
I recommend download the latest gdx-setup.jar for libGDX 1.9.3 or later:
https://github.com/libgdx/libgdx/wiki/Project-Setup-Gradle
Create a new libGDX project with ios and ios-moe subprojects enabled and then look how those 2 ios backend are implemented.
After that eihter copy your old project code into a fresh setup libgdx project or rebuild the basic setup within you old code.
I am really new to the java & android apps development. Currently I'm doing a prototype application about the voice recognition. Which use the sphinx4 speech recognition. I'm really no idea that, is that Sphinx4 can be used on the android SDK?
Using Sphinx4.0 to build a speech recog. Android application (this shows that, it can't)
https://sourceforge.net/p/cmusphinx/discussion/sphinx4/thread/ce6ee093/ (But this said it can.)
if yes, i really no idea how to make use of the sphinx4, anyone can kindly provide the guide for me to complete the prototype?
Thanks for your kindly help.
It is possible to run Sphinx4 on android, however, you need to remove sphinx4 parts that use desktop-specific java api like java sound API. You still can have the core in place and demo should work as expected.
You need to reimplement Microphone class to use android API for sound input.
For more details see the discussion about that:
https://sourceforge.net/p/cmusphinx/mailman/message/31317160/
So it is some work and it requires coding skills. If you don't have that, use pocketsphinx instead like Opiatefuchs suggests you. It's well documented approach which requires minimum efforts.
I also tried to do some App with Pocketsphinx, not Sphinx4. I think this is really not designed for android, but maybe You could get it work. But for which reason? PocketSphinx is a good designed API for including in Android. I had mad some tutorial on my website for how to get the Pocketsphinx work, I advise to stop thinking about Sphinx4 because it would be a heavy coding thing to get it work. PocketSpinx has all You need...look at my Tutorial, this is a better way:
https://sites.google.com/site/opiatefuchs/home/pocketsphinxandroiddemo
Until now I stopped working on it, but when I got time, I will start to include Pocketsphix into an apk. But this tut only shows how to get the example demo work and set up Your runtime environment to work with Pocketsphinx.
Edit - I know there are similar questions to this on SO, but I feel my specific questions are not duplicates at all. If you disagree with me please bring them to my attention before downnvoting or closevoting! If you can prove to me that my question is a true duplicate I will delete this question myself!
My understanding of the GWT is that it provides an SDK and API that allows you to code in Java, and it generates all the client-side HTML, CSS and JavaScript required to run a full-fledged web (or mobile web) app.
My understanding of PhoneGap is that it allows you to code against its JavaScript API and, through configuration, allows you to tell it which native mobile platforms (Android, iOS, Windows Phone, etc.) it should create nativee wrappers for. Hence you "write once, run many" with it, turning your JavaScript code into a native Android app, native iOS app, etc.
If these two assumption are incorrect, please begin by correcting me! And, if there are any caveats to these assumptions, please let me know!
Assuming my understanding on GWT and PhoneGap are more or less correct, I want to try and use them together for an app that would be available as (1) a web app, (2) a mobile web app, (3) an Android app and (4) as an iOS app.
I want to "daisy-chain" these two in my Ant build, whereby my pure Java code is converted (via GWT) into JavaScript (that complies to the PhoneGap API), and then a second build process uses PhoneGap to create and deploy:
A Java WAR (web and mobile web app)
An Android APK
An iOS binary (I believe this is an IPA file, but I may be wrong)
So with those as the "givens", here are my questions:
Is this possible? If not, why? Any way to hack- or juryrig-together a solution that forces this to work?
I've noticed something called gwt-phonegap - will I need this in order for my proposed solution to work, or would this library just be a "nice to have"? Why or why not?
Any other considerations I am not thinking of here? Other libraries or tools that would behoove me?
Note: I have heard (but am not asserting!) that Titanium is superior to PhoneGap. Titanium, however, is not free. And I am quite broke. Thanks in advance for any help here!
There is an open source project out there combining GWT & Phonegap to build mobile apps:
mgwt - http://www.m-gwt.com
There are many people out there using it to build mobile apps and there is quite a lot on documentation including videos there, especially this one:
http://www.youtube.com/watch?v=0V0CdhMFiao&feature=plcp
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.