For the past 2 days I have been trying to get Unity to build and deploy to my Andriod Nexus, problem is, it tells me no andriod device found. I am running Windows 7, have the SDK installed, looked at the google andriod development website about the USB, but it only talks about Vista and Windows XP, nothing about Windows 7, when I go to my device manager and look, the Google Nexus is their, then when I try to use add/remove hardware then update driver then select the USB in the SDK folder, it tells me that my driver is already up to date, so now what?
The Android stuff is still pre-order right? You won’t be able to build to Android targets at the moment…
Found my problem, if anyone runs across this same issue, you have a few things to set, follow this page:
http://developer.android.com/guide/developing/device.html#setting-up
More of a user error, I skipped a configuration step.
Now to figure out how to get the touch controls to work, can’t figure that one out, maybe a unity package for Andriod for basic use, like touch or tilt and stuff.
The “Standard Assets (Mobile).unityPackage” included with beta 4 should work on Android as well as iPhone/iPad. The package includes control set-ups for basic input mechanics. Almost all input functions for Android and iPhone are identical.
Thats what I thought, so I created a blank project and only included that package, set the startup scene as the side scroll, built and deployed, but no way to move the pill.
Ok, thanks for the heads up. I tested most of them, but admittedly not all of them. Hopefully I’ll have them all fixed for the next release. But the scripting is the same as it is for the iPhone so if you’re familiar with that platform then you should be up and running pretty fast on Android.
thats keep in mind that the vast majority of android phones don’t offer multitouch for game usage so if any of the examples uses such a setup it will fail misserably on most (I think the exception are the droid x and galaxy s ie the newest generation of android devices).
Unhappily the 8 way ball - stick thingy is just as not-granted as multitouch, at least you use the nexus one which is technically as multitouch capped as most devices, so less to worry
I am new to the android platform and trying to figure out how to get the roller ball to do anything, let alone trying to figure out how to launch the game so that what I use on the device is translated back into Unity, never could figure that out even with the iPhone, I do not see a “play” or “launch” feature that allows me to use the tethered device for the input to see what is going on or troubleshoot it. I can’t seem to get what I know about the iPhone to translate to the Android Nexus
the rollerball from what I recall is hooked up as joystick 1 or alike, with the “click” functionality of it mapped to fire 1
Don’t understand what you mean with the other part. If you talk about the unity iphone remote: that works through being on the same network (bonjour connection) while being in the remote. You need to start the remote, connect to your computer (when unity is running it will show up in the local list if you are on the same LAN with both) and select it. after that if you hit play in the editor, screen in low quality will be sent to the iphone and the iphone sends back input to the editor.
Can’t say how it works on the android or if it is present there at all.
“being in the remote” that is the part I do not understand, nor how to hook it up in Unity. I do not know what “remote” is, I do not recall having that option in the iPhone, nor does my version of Unity have a player that hooks into Remote, maybe Unity Pro with only iPhone does not have the remote play option, maybe only iPhone Pro does and I do not own iPhone pro. I want to be able to do it via the tether, as the phone is attached via USB to the computer, the iPhone on the Mac or the Andriod to the PC.
As far as the Andriod Nexus, the “joystick” does not work as a controller. The side scroller is hooked to the joystick script but the Nexus doesn’t work with the joystick script. At the moment there is no way to use the Nexus inputs with Unity. I spent the better part of the wee early morning hours trying to get some input translation on the phone to no availe.