You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, July 22nd 2011, 1:35am

krpano for iPad app

Hello everyone!

I want to buy the krpano and the iphone license (I need both right?), but I'd like to know a few things first.

1. I was trying the demo version, everything seems very easy, is it as easy to do it for iPad?
2. The swfkrpano.js is provided by krpano with my purchase... right? or where do you get it?
3. Does the krpano watermark appears with the purchased license? I'm guessing not, but in that case, is there a way to remove it?
4. Is it possible to view the krpano inside an app or does it have to be in safari? And is there away to view it full screen without the navigation bar??

Sorry for all this questions, but I want to know what am I getting myself into, and I'm in kind of a hurry. *unsure*

Thanks in advance!

2

Friday, July 22nd 2011, 5:25am

Hi,

1. Yes, you can make a tour which will look and behave the same as it is on desktop. But krpanoJS (krpanio viewer for iDevices) have some limitations. Check out this page.
2. swfkrpano.js is included in download package.
3. Supply krpano viewer with license and you will never see the watermarks :)
4. > Is it possible to view the krpano inside an app or does it have to be in safari? And is there away to view it full screen without the navigation bar??
What do you mean by that? Inside which app you would like to see krpano viewer?
Krpano runs in safari on pc and mac and yes, it is possible to view tour/pano in fullscreen mode.

3

Friday, July 22nd 2011, 2:31pm

As far as I know it´s not possible to activate a fullscreen-mode on iDevices like iPhone or iPad. The user can use the pano/tour in (almost) fullscreen if using a browser like Atomic. But Safari has no fullscreen-mode....as far as I know.

And yes, it´s even possible to use the krpano-viewer for Apps (search the forum). But there is no function build in krpano which allows you to produce a App which you could bring directly into the App Store.

Best regards,
Nupsi

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

4

Friday, July 22nd 2011, 3:08pm

Fullscreen works fine albeit it a different way. If you embed it at less than 100%x100% it will make it so.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

5

Friday, July 22nd 2011, 4:56pm

Fullscreen on iDevices would be really cool, but unfortunately I don´t understand what you mean, sachagriffin. Could you explain your last post a little more detailed?

Thx!
Nupsi

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

6

Friday, July 22nd 2011, 5:44pm

Most uses of krpano for iphone and ipad are already fullscreen, meaning it covers the whole screen, you can't get any more fullscreen than that.

Unless, you have the krpano take up less than a fullscreen, meaning, half the screen with other html elements.
In this case, you can have a fullscreen button, that will make the krpano viewer take up the entire screen, meaning it will resize itself to cover the whole screen.
I hope that's clear.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

7

Friday, July 22nd 2011, 7:45pm

Thanks everyone for your fast responses! I got almost everything I need, except I didn't understand the fullscreen thing...

I want to "attach" this pano feature to an app I already did, its a sort of portfolio for an architect, so it has some scrolling galleries and simple stuff, but now he wants to add this feature to the same app, so that you can see the krpano and then return to the main app, if its not possible and the app will send me to safari, he doesn't want the safari browser (yeah, picky) and still come back to the main app. Also, its not for iTunes Store, at least not in the near future.

Any ideas?

- Mel

8

Saturday, July 23rd 2011, 1:48am

by the way... do you know how can I test the demo version on the iPad? I want to know the process before buying it, so I can tell the client: "YES, I can do that for you!"

thanks!!

9

Saturday, July 23rd 2011, 2:26am

In the latest tools package is a bat file that generates a "temp license". It will allow you to see the iPhone version. Put that temp license into the tools folder before dropping an image onto a "make blah blah" tool. Be sure not to use a tool that makes a swf protected file.

10

Tuesday, July 26th 2011, 1:20am

Thanks! I already downloaded it and it works like a charm in my mac, but if I try to test it on the iPad or the iPad simulator, the html loads fine, but empty, without the embed krpano do you know why is that? I have everything in the same folder and I already checked the paths *unsure*

Yomas

Intermediate

Posts: 190

Location: Anglet, France

  • Send private message

11

Tuesday, July 26th 2011, 10:45am

Hi inkdevelop!
Maybe the script doesn't load your krpanoiphone.js or your tour.xml...
You can test something like this:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	<script type="text/javascript"> 
		var viewer = createPanoViewer({swf:"tour.swf", id:"krpanoSWFObject", target:"pano"});
        //viewer.useHTML5("always");
        if( viewer.isHTML5possible() )
        {
            viewer.useHTML5("always");
			viewer.addVariable("xml", "tour.xml");
            viewer.addVariable("showErrors", "false");  
            viewer.addVariable("onstart", myonstartaction);
            viewer.embed("pano");
        }
        else
        {
			// show error message:
			// browser is not HTML5/CSS 3D transforms capable.        
		}
	</script>


The way that works better for my tour in all version is:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
	<script type="text/javascript"> 
		var viewer = createPanoViewer({swf:"tour.swf", id:"krpanoSWFObject", target:"pano"});
        //viewer.useHTML5("whenpossible");
        if( viewer.isDevice("iPhone|iPod|iPad") )
        {
            viewer.addVariable("xml", "iphone.xml");
            viewer.addVariable("showErrors", "false");  
            viewer.embed();
        }
        if( viewer.isDevice("Android") )
        {
            viewer.addVariable("xml", "android.xml");
            viewer.addVariable("showErrors", "false");  
            viewer.embed();
        }
        else
        {
            viewer.addVariable("xml", "flash_tour.xml");
            viewer.addVariable("showErrors", "false");  
            viewer.embed();
        }
	</script>

Hope it could help !
For testing your tour on iPhone/iPad you can ru safari, go to user agent and select the device you want to test!
There's a fine explanation of KlausHERE !
On the last safari update you have the 4.3.3 version of mobile device ;-)
Have a nice day.
Regards.
My website: www.eboovisite.com, See me also on www.Viewat.com, Facebook and Twitter

12

Tuesday, July 26th 2011, 9:29pm

Yomas, thanks for your help, but still no change. I'm using the user agent for ipad, but maybe I'm missing something, but in the second piece of code you posted, you use an iphone.xml file, is it different to the default krpano.xml? I'm sorry for so many questions (silly questions I guess) but I'm such a noob!

13

Tuesday, July 26th 2011, 9:43pm

Can you show an example online?

14

Wednesday, July 27th 2011, 12:14am

I tried to post it online via dropbox but I think it has a problem with the files paths. Anyway, in the iPad user agent says: Fatal Error No iPhone/iPad/iPod/HTML5 images available! and an error loading the gyro plugin... do I have to create those images? or did I skip a step?

15

Wednesday, July 27th 2011, 12:20am

check the tiles folder to see if you have mobile tiles and tablet tiles. Make sure you had the temp iphone license in the tools folder before dropping the image onto the tool. It should embed the temp license into the js script and also make the tiles for the idevices.

16

Wednesday, July 27th 2011, 12:39am

hmmm... noup, there's no mobile or tablet tiles. I already bought the krpano and krpano iphone license, but still no tiles

17

Wednesday, July 27th 2011, 12:40am

What is the size of the image you are processing? If it doesn't make cubes, then it won't work on the idevices.

18

Wednesday, July 27th 2011, 12:45am

its 3377x450

19

Wednesday, July 27th 2011, 12:47am

That's your issue, I will assume. Check your PM box.