Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Rosonator · Oct 18, 2012 at 12:33 PM · androidsdknewbieexplanation

Newbie in programming Android aplications

I've been working in my first Android application in which I'll use the Input.acceleration to manage to move a ball through a labyrinth.

Well.. how to say... It scares me:

First of all, I have recently read that I need to install plugins, an sdk, etc... and I don't understand exactly why, nor how to do that. I thought Unity just abstracted from the platform you were programming from (unless the use of certain specific libraries for each platform) the only I had to do was compile it to Android.

I just need a little support to put my mind into order about what I need to do, install, change from my actual programming method.

The second question I have is maybe more specific: About the different resolutions and screen proportions that mobile phones and tablets have: ¿What is the properly thing to do about? ¿What can I do to achieve that every screen shows my app okay?

Well, forgive me about such unspecific questions.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jessespike · Oct 18, 2012 at 05:35 PM 0
Share

Unity is multi-platform, but you still need the libraries for the desired platform for Unity to compile to. They are separate things.

android-sdk setup

Unity-Android: Getting started

I'm not sure what the standard procedure is for screen resolutions, on the few mobile apps/games I have worked on, I simply kept the resolution the same.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by paulaceccon · Oct 18, 2012 at 06:21 PM

Hi, Rosonator.

To build an application for Android, you just have to install the sdk (http://developer.android.com/sdk/index.html). I guess the Indie Unity version doesn't build for Android, so you should have the pro version too.

About the resolution, I'm not pretty sure, I just have done one application for Android with Unity, but I didn't worry about resolution, everything just had fit. But, in player setting, you can choose the orientation (portrait, landscape...).

Inputs are also different.

Some links to look:

http://docs.unity3d.com/Documentation/Manual/android-sdksetup.html http://docs.unity3d.com/Documentation/Manual/android-remote.html (this allow you to test your application just connecting the tablet and the computer via usb, so you don't have to copy the apk into the tablet all the time. http://docs.unity3d.com/Documentation/Manual/Input.html#AndroidInput

I hope this help you a little. Sorry for my bad english.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android sdk not working. 0 Answers

Facebook SDK Android Error Message: "Failed to re-package resources. See Console for details" 0 Answers

How to remove Facebook SDK from project when I don't need that? 1 Answer

How to pass Java object to C#? 2 Answers

Help with problems with re-packaging resources and google-play-services_lib location? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges