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 Steppenwulf · Mar 23, 2014 at 11:09 PM · javascriptmobilewebplayeractivationweb browser

How to start Unity app from web page in iOS or Android

We have an e-learning platform which starts up HTML5 or javascript games and activities. These communicate back to the e-learning platform via web services calls in JSON.

We'd like to integrate Unity3d games and activities, but are not clear on how they could be started in an Android or iOS context.

They can be started by a web player from a standard web page with the Unity3d webplayer plugin.

What about on an Android phone or an iPad? Our application runs in the browser on these devices. I'm not aware that there is a plugin available for mobile browsers, or that there is a way to start an app from a web page. Any suggestions welcome.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by SkaredCreations · Mar 23, 2014 at 11:53 PM

Unity webplayer works only on desktops, not mobile. But you can launch an app from mobile browser by implementing a "Custom URL Scheme" in your app, it's supported in both iOS and Android (probably everywhere) so your developer can just google it since it's not Unity-related but something that you need to implement in your platform specific source. The app must be installed of course from their respective stores.

Comment
Add comment · Show 2 · 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
avatar image Steppenwulf · Mar 24, 2014 at 04:08 AM 0
Share

Thanks - that was the type of thing I was looking for. So we can create a Custom Url Scheme in our e-learning platform, and start up the app using the custom scheme? In that case, I guess the app starts up as stand alone in the mobile device, if the user has already downloaded it from the app store?

avatar image SkaredCreations · Mar 24, 2014 at 09:28 PM 0
Share

Yes to both questions (by the way the custom url scheme must be implemented in the source code project built from Unity, in the resulting Xcode project for iOS but I don't know about Android because I'm not experienced with it, I mean I don't know how it's implementable because when I tried to build for Android it created directly the apk file ins$$anonymous$$d of a source code like for iOS). If you're fine with the answer please mark it as accepted, so others know if they look for something similar.

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

21 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How many variables can I store using PlayerPrefs 1 Answer

Loading Unity App from web page in iOS or Android 1 Answer

Jump Script for 2D (JavaScript) 0 Answers

What are the method calls for moving left, right, and jump with the first person controller? 1 Answer

Load object at runtime using webplayer 0 Answers


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