cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

Enhancement Request: Functionality to detect when experience loading is completed

Shinichiro_Endo
7-Bedrock

Enhancement Request: Functionality to detect when experience loading is completed

In View app, when a project takes time to fully load up for some reason (e.g. it has heavy models), a green line (moving to left and right) will be displayed on top of the screen to indicate that the project is still loading.

 

We want to prevent users from doing anything while in such status and let them wait.

However, currently there is no way to detect when the experience is fully loaded, and the green line is often overlooked.

Therefore I think it would be nice if we have a functionality to detect it programmatically, (so that we can display more bigger icons or just disable buttons).

 

Thanks in advance for your attention.

4 REPLIES 4

Hi @Shinichiro_Endo ,

I remember that I reporeted theat issue to R&D in the past  -I believe 1,5 years ago

So that was then a developer ticket STUD-8690 with description:

 

Tap the download option

Verify the text "Download started" is displayed

Verify once the download is complete, it shows "Download complete" toast

 

so according to R&D dev ticket seems to be solved soon.  in the ticket as solved in 9.23 or 9.24 depending of the mobile platform IOS/24 or Android/23 I belive what is already released. 

Could you , please, check if that work int he current release then 

No solution for HoloLens 2 device so far I see

Hi @RolandRaytchev , Thank you for your reply.

 

Sorry for the confusion, but I think you are talking about downloading experience for offline usage.

I was talking about loading of experience after opening it.


So let me clarify my post.

Some project with heavy data may take some time to fully loaded up/rendered on device after opened.
The problem is, when the user starts using project (e.g. move device around or hit some buttons etc.) in such state, fps drastically drops to about 10 fps or so.

However, currently only available indication for users to know the project is in such state is the thin green line moving to left and right displayed on top of screen.
As that line is rather hard to spot and often overlooked, we need another (more obvious) way to indicate users that they have to wait.

 

Therefore,  it would be nice if we have a functionality to detect it programmatically, (so that we can display more bigger icons or just disable buttons in project).

Hi @Shinichiro_Endo,

thanks for the clarification , so now it is clear I think. Possibly I did not pay attention on some points in your description - so misunderstood it. Sorry for that.

OK depending on what   you want to  download you could use different events . possibly depending on your requirement you  need to test it to see where you will get the best resutls

angular ready:

//++++ some function
$scope.myInit = ()=>{ console.warn("myInit");}
//++++++++++redy event which call myInit
angular.element(document).ready(function() { $scope.myInit();});
//======================================================

you can use after View Widget enter event - my favorit:

//angular.element(document).ready(function () {
$scope.$on('$ionicView.afterEnter', function() { $scope.myInit();});

in some cases you can use the faster event - what is possibly ok - before enter

//angular.element(document).ready(function () {
$scope.$on('$ionicView.beforeEnter', function() { $scope.myInit();});

So we can use also other events which could be used e.g. sequenceLoaded, onModelLoad - is called after a modelLoad is completed and you can check which model was compettely loaded /via args/

Here I want to refer to https://community.ptc.com/t5/Vuforia-Studio-and-Chalk-Tech/List-of-Vuforia-Studio-events-which-we-could-be-used-as-listener/ta-p/613258

 

So that the user have to wait you can call the ViewWidget /start widget  where you have display of some element saying that loading is not ready /help element/widget. When then the event is completed iniside the event function you can blank that element and display any other widgets etc. depending on your applicaiton.  e.g. you can use a popup which contains widget spinner and when ready remove that popup etc. also other different options possible

 

 

Thank you for your reply @RolandRaytchev .

It seems this is what we needed to achieve our goal.

I will let my customer know of this approach and see if it works.

Announcements
Top Tags