Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 sadiq@xstpl.com · Apr 17, 2013 at 06:20 PM · vuforiaapplicationapplication.openurl

Open Url in browser on button click

Hello I am new to unity . I am developing an app in unity 3d .

Their is one functionality in which I want to open the weburl in browser through the game . On completing the browsing if user wants to go back their must be one button .

On clicking that button the previous state of the game must open i.e. the state where the user clicks the button to go to that webpage.

How to accomplice this task .It must not be difficult.

I am using Application.OpenURL(); to open webpage .

Here it opens in browser and their is no way to go back to the state of the game....

Thanks ...

Comment
Add comment · Show 2
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 iwaldrop · Apr 18, 2013 at 05:04 AM 0
Share

You haven't mentioned what the target platform is. I'm assu$$anonymous$$g you're on mobile, because PC and $$anonymous$$ac deployments unfocusing the Unity app won't pause the game at all by default when you goto another app.

Depending on the platform you are using, you just go back to the game. Both iOS and Android will resume the game state when you go back to it, provided the memory hasn't needed to be reclaimed.

Think about what you're asking though. You want a button on a website to give an instruction to a native API. This, by design, is not allowed on either iOS or Android as it would compromise the security of the device.

Long story short, it isn't difficult; its impossible. All you can do is go 'back' to the application. On iOS this means double-tapping the home button and picking the app out of the task list. On Android that means either hitting the back button or holding the home button and selecting.

avatar image sadiq@xstpl.com · Apr 18, 2013 at 05:38 AM 0
Share

I am building for android and iphone .It's basically an Augmented Reality app so it is very important to go back to the current state of the application .can you suggest some methods without the last one which is some what difficult for users if they dont know how to use.

I think your third 3rd answer.can you please tell the steps or procedure for native API .or any example in this regard..

Thanks

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by aman_jha · Jul 04, 2014 at 01:53 PM

If it's an app for android or iphone, it's fine. The devices pause the game when you go to another app, so when the user presses back, it goes back to the app as if nothing happened. You probably don't actually want a button on your website that goes back. 1) There's no point. The user can just go back to your app like normal and 2) as iwaldrop has said, it could compromise the security of your application.

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

13 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

Related Questions

Cloud recognition in Vuforia 0 Answers

Detect whether marker is present or not 1 Answer

Where to see my app log 0 Answers

animations not change when OnGUI button click in unity3d Vuforia? 1 Answer

Interaction between two 3d models in unity 3D 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