Image-stitching and virtual tour solutions My account Updates
It is currently Sat Aug 23, 2014 8:31 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Feb 29, 2012 11:25 pm 
Offline
Member

Joined: Tue Feb 28, 2012 8:25 pm
Posts: 42
Thanks for your suggestions yesterday. I will not be able to use Good Reader if I want to use this as an offline, self-contained app.

Looks like I'm very close to being able to use this in UIWebView. In viewDidLoad, I use the string:

Code:
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"tour" ofType:@"html"]isDirectory:NO]]];

When I add the folders into my resources I select "Create folder references for any added folders"

I see text and image tests that are referenced from folders and the root resources. Now I get an error where the tour should display: "iPhone / iPad Version not available!"

It works fine uploaded to a server. Any guesses to why this isn't working?


Last edited by exactspace on Wed Feb 29, 2012 11:29 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2012 12:01 am 
Offline
Member

Joined: Wed Nov 14, 2007 2:12 pm
Posts: 13785
Location: Isleham, Cambridgeshire, UK.
exactspace wrote:
Thanks for your suggestions yesterday. I will not be able to use Good Reader if I want to use this as an offline, self-contained app.

I don't really understand why you cannot use Goodreader as an offline viewer - other seem to have been able to do so.

Perhaps I don't understand what it is you are trying to acheive? perhaps yopu can spell it out in more detail.

Then maybe others will be better able to assist you.

_________________
Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2012 12:08 am 
Offline
Member

Joined: Tue Feb 28, 2012 8:25 pm
Posts: 42
Thanks mediavets. Goodreader limits the amount of possibilities that I can have in an enterprise or AppStore app. Creating an iPad app that utilizes UIWebView to display the tour would be really powerful because I could have buttons outside the tour that lead me to other UIViews. This means I can make an application that is not only virtual tour, but has any other number of features I want.

Again, it seems that I am very close, I just need to figure out why it is giving me this error message. Theoretically, I should be able to have the same exact functionality in offline UIWebView as I did in iPad's Safari when I tested it on the server.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2012 1:32 am 
Offline
Member

Joined: Tue Feb 28, 2012 8:25 pm
Posts: 42
I found out what my problem was! :D Xcode was compiling the javascript files in the top level of my resources folder. In my application target I needed to move the krpanoiphone.js and krpanoiphone.license.js from compile sources into the copy bundle resources.

This also got rid of the "no rule to process" warnings.

I'm so psyched now I get to have my 100% offline pano tour inside an appstore app. :) :) :)


Last edited by exactspace on Thu Mar 01, 2012 1:42 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 09, 2012 12:28 pm 
Offline
Member

Joined: Wed Jan 11, 2012 11:45 am
Posts: 37
hi !! is there a thread on how to do that ?? i am trying to create an app but don't seem to find any thread on the subject

cheers


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 09, 2012 1:25 pm 
Offline
Member

Joined: Mon May 04, 2009 4:42 pm
Posts: 62
Location: Switzerland
@rahimhamada Search in Google for Nimblekit or PhoneGap easy to create a App if you know about Basic HTML Code and bit of XCode.

_________________
D800, D300, D80, Seitz Roundshot VR2, Nodal Ninja5 RD16, Nikkor 10,5, Nikkor 24-70, Nikkor 70-200, Sigma 150-500, Nikkor 105VR, ....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group