Controlling a Unity game from an Android device via bluetooth [duplicate] - android

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there any simple (or even not so simple) way to transmit just small amounts of data (some small strings and the occasional number) between 2 iOS devices using Unity? I know there are some assets on the Asset Store, but those are upwards or $50 and far overkill. Or is there a good tutorial for this that I can follow?

those are upwards or $50
No, they are not. Here is a Bluetooth plugin for Android and iOS for $10.
The rule goes like:
If you are one person, use that. You will save yourself time. If you are working for a company, you should make your own plugin.
is there a good tutorial for this that I can follow?
If you decide to make your own Bluetooth plugin, you must first learn Java. Make a simple Android Java Bluetooth program and test it on your Android device. If it works, then you can then simply convert it into a plugin by seperating the code into functions such as bluetoothInit(), bluetoothConnect(), bluetoothSend(), bluetoothReceive(), bluetoothDisconnect(), bluetoothClose(). Then compile it into a plugin (jar or aar) file. You can now call the functions from Unity C#.
Learn Android Bluetooth API.
Links on how to call Java functions from C# in Unity. I suggest you follow the first link.
http://www.what-could-possibly-go-wrong.com/creating-a-native-android-plugin-for-unity3d/
http://www.thegamecontriver.com/2015/04/android-plugin-unity-android-studio.html
https://www.thepolyglotdeveloper.com/2014/06/creating-an-android-java-plugin-for-unity3d/
EDIT:
For iOS, you need to learn Objective-C. Learn iOS Bluetooth API then make a plugin.
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/AboutCoreBluetooth/Introduction.html
http://code.tutsplus.com/tutorials/ios-7-sdk-core-bluetooth-practical-lesson--mobile-20741

Related

What language can be compiled for both iOS and Android? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking to develop an app for both iOS and Android, and I would like to be able to compile to both without having to actually write in two different languages.
GUI will be simple: buttons, drop down menus, textboxes. Although it would be a bonus to have these in a pre-made library or as part of the phone utils, I can and will write my own if needed. However, I will need access to phone hardware such as GPS and location, internet access, notifications, running in background and possibly vibration.
I'd like to program in C++ or similar in preference, but any language that will cross-compile should do. Any help would be appreciated!
EDIT: I'm asking about what frameworks I can use for this, and what languages they use.
There are plenty of engines you could use. Xamarin is one of the bests(programms are written in c#)
I know what you mean. Try Eqela. Check this out for a quick overview: https://www.youtube.com/watch?v=WcWf7SXGBv0
Eqela, a programming language translator that enables software
developers to create software applications for several operating
systems using a single set of source code, makes it possible to deploy
applications on mobile, desktop and the web simultaneously. It is
based on application source code conversion technology.
The language is OOP so you will feel comfortable programming with it. Since it is based on source code conversion, the target source code is native to your target platform. Eqela can be translated to Android, iOS, and a lot of other popular platforms. HTML5 is also part of the target source code!
Access to your target platform's native code is also available. Let's say one of your target is Android, you could include Android-specific codes inside Eqela source code.
I've used this first hand and I think this is a great tool. However, since this is not popular language, community support is limited.
For more info:
http://eqdn.tech/
Use Ionic(design) + Cordova. But you should know HTML, CSS and Javascript.

Android Game Developers on Play Store [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I was wondering that Clash of Clans, Candy Crush etc. are they being developed in Android Studio? Since i haven't seen any tutorials, i am kind of stuck at game development. iOS provides SpriteKit and its really useful. I couldn't find anything related to android game development.
Thanks in advance
Please note that game development for Android has various paths.
I will try to present some of them:
1) The most powerful tool for creating game is Unity Game Engine.
It gives enormous options for crating game (in C# and JavaScript).
What is interesting, you can create game for many platforms in Unity like Android, iOS, Windows Phone (there are 24 platforms that can run Unity Games!!!)
Please see this link:
https://unity3d.com/unity
2) Another option for creating games (but poorer that Unity) is Scirra
Construct 2.
That one is interesting because you dont have to know any programming language.
Creating games is based on instructions (which are converted to html after creating the game).
You can try it for free here:
https://www.scirra.com/
3) You can also try KiloBolt tool for creating simple Android games.
You can write natively in Java.
Description and tutorials you can find here:
http://www.kilobolt.com/game-development-tutorial.html
I hope that helped you.

Is there an IDE I can code Python which will produce an android (Dalvik byte code) app [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
As the Android team chose to base Dalvik on Java byte code instead of Java source code. This means that you could write Android applications in another language that compiles down to Java byte code.
For example, you could use Python to code your Android app.
Has anyone found and used a frameworks or IDE that supports Python and can be used for Android development? I'm not looking for an opinion about such an IDE just a link to the website where I can download and try out the IDE myself.
So far I have found
a presentation
Google has already created what you are looking for. Its called SL4A and its public repo is here. This allows you to write and execute programs written in Python directly on any Android device. Other scripting languages are also supported.
Here are some good learning guides for SL4A: Python Central, IBM and Google. You can also get this book.
Apart from SL4A, there are two other options that you can evaluate: Kivy and QPython. Hope this helps ... :)

Create an Android app on ios (Apple) platform [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
This might sound like a duplicate question but trust me its not.
I have an Android app. It contains WebView to display webpages. Now I am planning to go live with the app on ios too. Now having two different codes and maintaining them is a difficult task.
Is there a way I can develop app in both the platforms with minimum maintenance issues. With minimum maintenance I mean more reusable code that can be use on both the platforms.
I have heard that it can be done using Chromium Project but am unable to find supporting docs for the same on internet.
Any suggestions?? or reference materials??
For what I know there is no way you could use your Java code and the XML files (including your WebView) in IOS application. the language/platform are different.
What you could do is to develop a web application that looks as a mobile application for example using JQueryMobile and the export it using the already suggested PhoneGap framework to any platform you would like.
You should try one of the several frameworks out there, being PhoneGap (http://phonegap.com) an interesting option.

Chinese handwriting recognition library for android [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Does anyone know a free Chinese handwriting engine? I already check this question: Where can I find a Free Chinese Handwritten Recognition engine for Android/IPhone?
On the tegaki website I see that android is supported. However I can't find any *.jar files or anything I can import to my android project. (in eclipse with ADT)
Now I am searching for a small getting started guide for tegaki or an alternative. By the way I found this function in the google translate app. https://play.google.com/store/apps/details?id=com.google.android.apps.translate&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5nb29nbGUuYW5kcm9pZC5hcHBzLnRyYW5zbGF0ZSJd
Something similar to that would be perfect. I wonder whether this part of the android sdk or open source. Unfortunatly I could't find it on the developer site.
The Google translate feature is proprietary, and the actual recognition is done on Google's servers, so there is no library.
Where did you find info on Tegaki supporting Android? BTW, you can use the underlying recognition engine (zinnia) on Android, and its license is permissive. You just have to compile with the NDK and write a JNI wrapper. It works for any language, you just have to train it for Chinese.
There is HanziLookup, a good ole' Java Swing component that recognizes Chinese handwriting input: http://kiang.org/jordan/software/hanzilookup/
More recently there is HanziLookupJS, a Javascript port with an updated algorithm an alternative new dataset: https://github.com/gugray/HanziLookupJS
Both are open-source and pretty straightforward in case you need to port them to a different platform.

Categories

Resources