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
3
Question by bobjosh1991 · Jul 03, 2012 at 03:44 PM · androidbrowserimagesusers

Allowing a user to choose there own profile image?

I am working with Android and wish to set up a GUI.button that allows the user to browse their images and select one as their profile picture.

I have searched high and low for 2 days and have come across nothing of use, or that makes sense.

Is it possible with unity to allows users to browse their own ( in this case ) //sdcard for images and then how do i pull those images out and set them to a Texture2D

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 douglasfigueira · Aug 26, 2013 at 01:04 AM 1
Share

Good question... I wonder about it too!

avatar image DeveshPandey · Feb 18, 2015 at 08:40 AM 0
Share

Use this nice plugin.

https://www.assetstore.unity3d.com/en/#!/content/28597

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by vfxjex · Jun 24, 2014 at 06:42 PM

check this out

http://u3d.as/content/starscene-software/uni-file-browser/1th

http://u3d.as/content/pigasus-games/file-browser-save-load-ui/3rU

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

Answer by Suyujin · Jun 24, 2014 at 07:25 PM

Well if you are looking to build everything from the ground up, you'll want to start here.

http://msdn.microsoft.com/en-us/library/07wt70x2%28v=vs.110%29.aspx

This will let you find all files in a folder, so as long as you know you're working with //sdcard/images or whatever the path is, you wont need a custom browser. If you would like to build a browser, though, this video will pretty much walk you through it in just a couple minutes.

https://www.youtube.com/watch?v=tzSFTGXvZyc

Once you have found all the files, you can use the scroll view to make a box you can scroll through, though you may not need to if the video works for you.

http://docs.unity3d.com/ScriptReference/GUI.BeginScrollView.html

Lastly, this will teach you how to save and load your files so you can save their image in a place where you can remember it, and obviously you're going to want to load the images at some point!

http://msdn.microsoft.com/en-us/library/system.io.file.aspx

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

Answer by Voxel-Busters · Aug 13, 2015 at 06:14 PM

You can use image picker plugin which picks images from Gallery app.

We developed Cross Platform Native Plugins which has MediaLibrary API to pick and save photos to gallery. It provides unified API for iOS and Android and much more features. alt text

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

9 People are following this question.

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

Related Questions

will unity run on the android browser 2 Answers

A node in a childnode? 1 Answer

Unity games and web comunication 1 Answer

App been killed when open browser? 0 Answers

"3th Party Library for MPEG 4 Video From images" under Unity for mobile 2 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