Sie sind nicht angemeldet.

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

1

Samstag, 27. Mai 2017, 02:59

How to show virtual tours offline on mobile devices

What is the best way to store and show a virtual tour locally on a phone or tablet? It must have VR support, be able to work on Android devices (for resolution) and require no internet connection.

I've seen mention of Phonegap and offline browser-based readers. What have you found works best?

Thanks!

2

Samstag, 27. Mai 2017, 14:30

i use cordova to create ios apps.
works perfectly, but it also took some time to figure out solutions for all steps and problems.
(never tried to build for android tablets)

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

3

Samstag, 27. Mai 2017, 17:02

thanks "index",

Does Cordova support VR mode and local storage?

Cordova was formerly PhoneGap. But there seems to be a very active PhoneGap as well. Wonder what the differences are.

4

Samstag, 27. Mai 2017, 21:06

vr mode shouldnt be a problem,
problems are more in how to build the app with xcode
doing splashes, icons, debugging, handling events etc

i tried phonegap but somehow ended up w cordova
already more than 1yr ago. sorry cant really remember
why.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »indexofrefraction« (27. Mai 2017, 21:48)


Fernando

Fortgeschrittener

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

5

Sonntag, 26. Januar 2020, 08:53

Cordova app or another tools... Android JS for example

Hi Index, Cordova is full offline?
The requirements for android are ok (cordova android requirements) but always there is error relative to access external repository.

I can´t compile using Gradle working offline. *confused*



By the way Android JS would be any solution for convert htlm5 to apk? Anybody had testing this solution (linux?)

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Fernando« (26. Januar 2020, 15:14)


stevechapdbox

Anfänger

Beiträge: 8

Wohnort: NYC

Beruf: 3D Artist / Designer

  • Nachricht senden

6

Montag, 3. Februar 2020, 17:57

I just tried out Phonegap and it works very well. I followed the tutorial here:
https://tonyredhead.com/phonegap-build/offline-tours-android

jordi

Profi

Beiträge: 583

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

7

Montag, 3. Februar 2020, 18:55

This link is showing how to use phonegap build, which on one side can be very easy method, but you can not take real advantage of the whole cordova platform.
I can´t compile using Gradle working offline.
I was building android / iOS apps some years ago (8) and you have a full CLI method in order to avoid opening android Studio or xCode, you can do everything from terminal. by doing a calls like this :

Quellcode

1
cordova build android
have a look at the docs here Also it's plenty of plugins that allows you to extend the functionalities, and have hardware direct access. https://cordova.apache.org/plugins/
everpano.com step beyond 360

Fernando

Fortgeschrittener

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

8

Mittwoch, 12. Februar 2020, 16:38

Someone has Cordova installed? (No Phonegap)

Hi, I need help to convert html5 to apk using Cordova version 9.0.0 in Windows 10


My goal is to obtain a offline solution.

Initial Requirements:
1) Node.js installed
2) JDK 8.0 installed
3) Cordova installed
4) System enviroments var set properly for Java

Until here all it is ok.
Next:
5) Install SDK Android
6) Install Gradle
7) System enviroments var set properly for SDK and Gradle


Next from Node.js console:
8) Type command: cordova create demo com.mywork.demo Demo
This will create a cordova project in demo directory. There is a www directory, erase the content initial of this directory and copy the content of krpano vtour folder.
9) Go to demo directory and type command: cordova platform add android
This will create a android platform inside folder platform in project
10) Type command: cordova build android
This in theory, will generate the apk.
But If mistake in some step, the build fails.

Please I need to download a complete structure of Cordova project from someone with Cordova 9.0.0 properly installed for windows.
1) The SDK folder (example: sdk.zip to install in c:/sdk directory)
2) The Gradle folder (example: gradle.zip to install in c:/gradle directory)
3) The system enviroment vars settings (my enviroments.txt)

The idea is to clone a correct configuration for use as template offline.

In this moment many web site are blocked for my country, for this reason I need a special solution.

Thanks in advanced.

9

Mittwoch, 12. Februar 2020, 19:48

If it would be interesting for many people, we could make a simple program for viewing on mobile.
You can leave your wishes here.
vrTourSoft - Simple is better than Hard. Standalone WYSIWYG editor and development environment for krpano
https://www.vrtoursoft.com/

10

Freitag, 14. Februar 2020, 06:00

If it would be interesting for many people, we could make a simple program for viewing on mobile.
You can leave your wishes here.

if it is possible,
Then edit a program that can watch KRPANO offline
We need him

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

11

Freitag, 14. Februar 2020, 06:49

Howdy VRTourSoft,

When I started this thread eons ago I was looking for something that would run tours locally on a phone. I forgot that in the more recent posts to this thread. Turned out the best solution was the now discontinued Virtual Tour Pro. It was fine for running "Cardboard" tours but didn't work in the Oculus environment. James Tubbritt briefly considered making something similar for Oculus but quickly realized it would be more difficult than he felt worthwhile.

Today it is only worthwhile to develop something that would work with modern VR headset. My preference would be Oculus, at least. So, vrTourSoft, is that what you were thinking you could whip up? If you have that capability, we should talk.

Scott

Fernando

Fortgeschrittener

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

12

Sonntag, 16. Februar 2020, 16:55

about "Website 2 APK Builder" Soft

I tried this soft, only 2 cons:

1) No free
2) In lower android version (<5.0) fail with ERROR: Loading local files from file://urls is not possible due browser security restrictions.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Fernando« (20. Februar 2020, 00:02)


13

Mittwoch, 1. September 2021, 10:15

Hi all
I have test cordova for convert to apk

But in the Quest i have application floating windows and VR Mode not working
You have an idea ?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »DaffRider« (1. September 2021, 17:22)


Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

14

Donnerstag, 2. September 2021, 19:29

Hi Daff,

I invested a lot of time a couple of years ago trying to develop an Oculus app that would play KRPano tours without going through a browser. That included much effort with Cordova. I don't remember exactly what the problem was but I came to the realization that Cordova would never work.

You can see some discussion of that effort here.

I then moved on to building something from scratch using Android Studio. As I recall, the stumbling block was that KRPano had to run in an HTML5 environment. Making that happen was next to impossible inside Android studio. The few workarounds were unworkable for our needs.

Another approach was to build a subset of a full web browser for VR headsets -- something that just played local content. Firefox Reality seemed like a great starting point but stripping down something as complex as that code was proving to be way more difficult than I thought. Starting from scratch using available components was likewise more difficult than I bargained for. If you looked at the efforts by some others they were pretty buggy. But the worst stumbling block was that the WebGL API (at the time) was only experimental, undocumented and unsupported. Basically, only a few programmers inside the Mozilla team seemed to really understand how to make it work.

I explored a couple of other avenues and came to a dead-end each time.

I haven't looked at this in a couple of years but a stand-alone WebXR capable HTML5 + javascript interpreting app that will run KRPano in a VR HMD is not something I've been able to find. Developing it is certainly possible but exceedingly difficult, in my experience.

15

Freitag, 3. September 2021, 09:39

Hi Scott Thank you for your reply

Before i use Unity and Complete360Tour extension for make APK for Quest

Workfine but image quality is low, Krpano is better.

The problem Oculus Quest need signature inside android manifest xml file

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

16

Freitag, 3. September 2021, 23:59

Hi Daff,

Again, it has been a few years, but I thought there was a way around that if you were sideloading and not distributing via the Oculus store. It may have required being in developer mode so you could sideload. I wonder what kind of signing is needed for App Lab distribution.