UNITY/Vuforia Question: Click Button Take Screenshot Save to Gallery iOS/Android - unity3d

Complete coding newbie trying to do this.
I created a button in my scene and I need to now find a C# script that will allow me to call OnClick --> take screenshot --> save it to gallery in iOS/Android. I've been looking all over the Internet and I've seen bits and pieces of how to do this, but nothing complete.
I found this: https://github.com/yasirkula/UnityNativeGallery
but utterly confused about what code I need so that I can drag it onto the button. Please help. Thank you!

Related

How to make a button to start a quiz?

I'm making this quiz app for my college final task this semester using eclipse. So there would be the first frame (?) that contains a button where when you click it, you will start the quiz. But I don't know how to make the quiz starts when I click the button. I've watched several videos and searching but still to no avail.
Maybe someone has a link to some solution or maybe someone want to directly answer it?
Thank you very much to every answers and comments!
(The app I use is Eclipse Indigo)

How would one implement a sliding 2 button menu like this from Lift?

http://imgur.com/3ZBCsDn
Can't post the image on the site but there it is.
I have been trying to find if this is a template or a separate nib file ala the page turn animation. Any help would be greatly appreciated.
That is called a UIActionSheet. It is created entirely in code, so it's limited to some pretty simple stuff (i.e. a few buttons, one of which is the cancel button, and one of which can be marked "destructive"). Just consult the documentation for the UIActionSheet class; it tells you all there is to know about it.
Also, here's the discussion in my book:
http://www.apeth.com/iOSBook/ch26.html#_action_sheet

How to create android app running on top of another app

I want to develop a program like button savior (which runs on top of a another app and we can press menu, back buttons on top of a running app). So user do not need to press hardware buttons to access menu, back functionalities.
I want to do the same but to do it I have to run a app on top of another app.
How can I do this?
-Lasith.
Take a look at Robotium: http://code.google.com/p/robotium/
It seems to be doing what you want to do. You can take a look at the code and figure out how to do it.
Well i think that what you are looking for is creating something like Input Method (IME), there is a good tutorial to start with on Android Docs, another thing you can do is to create an activity which contains your virtual controller, distribute that as a lib and then if someone need it they can downloads and register your component into their project, something like what AdMobs does.

How do I flip .html pages with pure CSS3?

I'm looking for a tutorial without any javascript - pure CSS3.
I've created two pages (page1.html, page2.html) for the iPhone and I'm using CSS3 and the -webkit-properties.
To connect those sites I created a next- and a backbutton.
When tapping on the nextbutton page2.html is loaded, when tapping on the backbutton page1.html is loaded.
This is working so far.
I'd like to try using some more -webkit-properties to get the flip-effect like in this demo.
So, when clicking on my next-button page2.html should be flipped in. When clicking/tapping on the backbutton page1.html should be flipped in.
I'm new to this and hope to get some help here. Do you know a tutorial dealing with my problem?
Another question coming up to my mind was whether it is possible to load page2.html seperatly or whether I have to build only one page with the content of page1.html and page2.html?
You have to build only one page with two sections/divs with the flip-contents in it. Then you can use the transform: rotateY … or, maybe load the second page in with AXAJ or something else, but because it's CSS on my understanding you have to put everything in one page with two sections/divs
There are lots of pageflip demos on the interwebs. This is one we did It was inspired by Roman Cortes one - there are others that use more of a squeeze than a flip.

iphone maps help needed

I need you help. I saw one application myhomes for iphones. link for that app is from myhomes.com. they are using map in which markers are there when you click on marker one button is displayed(that is really a thaught for me how to disply a button in objective c when we click on marker in webview because there we might using javascript ). that will redirect to other screen which displays details of that event. I want to use that kind of functionality in my code. they might be using some api. I am very eger to know how they are doing that. rite now i am displaying map with google map javascript and displaying pop of when we click on marker. but that pop up is non clickable as it is of html type. how can i put a button on my uiview at the same position where my marker is ? how to combine objective c with javascript ? i know most of the developers might aware of this. please try to help me. that will be a great appreciation.
hopefully looking for the answers ...
Thanks a lot
Please see the MapKit component documentation included with the iPhone 3.0 SDK.