I have little experience with Unity3d and checking my possibilities:
Say i write android plugin for unity
My requirements:
Display different android layouts with WebView which run html-5.
Run android activities while using png assets
Intercept android device UI touches
Is this something that can be implemented in unity as an android plugin?
Thanks for the help
Basing on your requirements, I suppose that you'd like to create native Ads or something like that which is perfectly doable.
It is possible to pause Unity Game and display another activity. It's also possible to show WebView as this activity.
I don't understand this fully but I guess you wanted to use PNG assets and display them. If I'm correct then yes, it's possible, you can bundle PNG assets as resources and them bundle into JAR.
UI Touches are collected by activity that is currently being displayed.
Related
Im working on building my own game for AirConsole. I am using Unity, have imported all relevant assets and have begun my project.
So basically what I want is two different sprites to show up on the users controller depending on if they have not touched the screen, or have swiped up on the screen and are holding. So far all my research has showed very basic controllers with just buttons. Is this even possible?
Yes that's absolutely possible.
The controllers are written in HTML. Javascript and CSS are supported. So anything you can do in a mobile browser can be done in an AirConsole controller.
I am looking into using Game Engine for one of my apps. I have been android developer for a while but never used a game engine. I know the most famous engines out there are AndEngine, Libgdx and Unity
Which engine would allow me to use the native android code along with the engine? for example, I want to create one screen using Xmls and Native android ( main menu) and when the "start game " button is clicked, I want to open another screen/activity which runs the game using game engine.
Is this possible in any of them?
A lot of game engines limit you to using their "cluster" and I don't want to be limited as I was to use some hardware features and use native Android code. Thus my concern
libGDX allows you to use Android specific code by interfacing.
See this link: https://github.com/libgdx/libgdx/wiki/Interfacing-with-platform-specific-code
F.e. you can open an Android Dialog which will look like depending on which Android API is installed on the target device.
It is possible in andEngine to start andEngien activity from basic android activity and the other way: to start normal android activity from andEngine game. You can find examples on StackOverflow. Try to search for "Trouble launching Andengine Activity from OnClickListener" (Sorry, cant paste links right now). Also, isn't it easier to just make butons in andEngine too? there is even class for that....
I am developing an app for android on Qt and i want to have thumbnail previews of webpages on certain items. I have been looking everywhere but I can't really find anything except for one post from Nokia where they build an app that creates thumbnails.
The problem is that this app uses "Qt+= webkitwidgets" which is not supported by android so i need to find another way.
Would there be any other way to create a thumbnail of a webpage besides using these classes:
QWebPage
QWebFrame
QWebSettings
As they are part of the webkitwidgets module
I decided to do the creation of thumbnails in a serverside application. This way the android device is not bothered with these things.
I've developed different personal apps for android and now i'm interested in google cardboard project
So, would be possible to create an application for android to implement the same system of this project : http://www.vrdesktop.net ( windows only ). In few words mirroring the android screen inside another app that will split everything ..
actually i don't know if there are some usefull api/ways to accomplish the job.
EDIT1: i've prepared a draw to better show the idea: https://docs.google.com/drawings/d/15AYvjesIhZDTe5mfOmm5TzhRkyxmDA6L0jI9MzdKbB4/edit
After long researches i've found an open source project that is doing exactly what i was looking for:
https://github.com/frma71/sbs
P.S. Thank you for useless downvoting
I'm planning a project which will uses JSON objects to display data on andorid mobile.
My application is some what similar to facebook application for android. It seems making detailed ui like facebook's like,comment will be time time consuming & webview seems to be better option in this case ?
need your suggestion.
I'm also planning same app to be developed on iPhone as well.
Refrence link
Android has enough support for JSON that you can easily use the native widgets for your application. By using native widgets, the Joe Default user will have a more normal (expected) user experience, since most of the application will work just like any other Android application works.
Another thing to take into consideration that by using native widgets, it will probably be easier to add support for different UI sizes (portrait and landscape mode in various sizes can be a pain to get right in a single webview).