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 PasZ · Jun 04, 2012 at 05:00 PM · imagelocalshowgalleryjpg

Opening a local image from the memory

Hi! I need to show some images for an app that should be used without internet. So there is no option to show them in the browser from the internet. Also I thought possible to show them with a textured plane with the image. But I found that it would be graet to have the possibility to enlarge the image to see the details.

So I got an idea, but not how to implement it. I think that probably its a good idea to show the image that is in the project (locally) with the browser (or the image gallery app??). I don't know if this is possible or not. It should be great that the solution works in iOS and Android.

Thanks!! Pascual

Comment
Add comment · Show 3
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 hijinxbassist · Jun 04, 2012 at 06:59 PM 0
Share

To access the local memory storage on a phone device, you will have to look up the coding refs for iOS and Android. I know the android ref can be found http://developer.android.com/reference/packages.html>here. $$anonymous$$ight be much much much easier to just include the image in your build and load it when the user want to view it. That will be the same for both iOS and Android

avatar image Berenger · Jun 04, 2012 at 07:52 PM 0
Share

PasZ : And how can i do that? / And how can i "just include the image in your build and load it when the user want to view it" ??

($$anonymous$$e : Please, use comments for that sort of things.)

avatar image PasZ · Jun 05, 2012 at 06:15 PM 0
Share

Thanks for the advice!

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by hijinxbassist · Jun 05, 2012 at 07:40 PM

You can use Resources folder and place your large images in there. Then when the user clicks the button to view the large image, call Resources.Load and store that image in the memory. Then you can view that image full screen by using OnGUI or a camera aligned Plane.

Comment
Add comment · Show 4 · 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 Berenger · Jun 11, 2012 at 07:07 PM 0
Share

PasZ : Yes, but with that solution It wont be possible to make zoom or drag the image!!

$$anonymous$$e : Use comments PasZ, you won't go through moderation and I won't have to replace your answers.

avatar image hijinxbassist · Jun 12, 2012 at 03:21 AM 0
Share

You would have to code a zoom function. You can drag the image by again coding something to move the placement of the image.

avatar image PasZ · Jun 12, 2012 at 06:18 PM 0
Share

Is not possible to open it on the Gallery app of the mobile phone??

avatar image hijinxbassist · Jun 13, 2012 at 09:07 AM 0
Share

You wanted a solution for both android and iphone, so to open those 'in built galleries' you will need to code them separately using the coding ref for those OS'.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Download Image to a new album (Android) 0 Answers

Image Background Problem 1 Answer

WWW image method to change raw image texture. Script problem. 0 Answers

How to load image from android gallery 0 Answers

Pick image from gallery in windows phone 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