Himalayan-Academy / Siva-Siva-App

Code Repository for the Siva Siva Mobile App
11 stars 3 forks source link

SivaSiva: All Communications with the internet would STOP #319

Open Brahmanathaswami opened 2 years ago

Brahmanathaswami commented 2 years ago
  1. The moment the user STOPs the interaction with the internet

    -- he is busy, and have a poor connections, one "bar" and LTS, and the Stories takes 5 minutes...or longer. Its time to say STOP. and the continue with the SivaSiva App

    1. The users would like it STOP whenever he goes a Video and It would be great to
command terminateBrowser
   hide widget "Body"
   hide widget "loader"
   set the url of widget "Body" to empty
end terminateBrowse

This works!

  1. User is Listens to "something" and he will to want to STOP . Of course, we want to STOP be. he will bail on the users by clicking down on "Landing"
Brahmanathaswami commented 2 years ago

this works a "charm" on Video | widget "body

When I play a video, on screen on, widget "body"-- it plays a YouTube, "Song, Love Celebrations"

If I put into a button script, outside, widget "body"

button "Case Closed"

on mouseUp set the url of widget "body" of cd "SivaSivaBrowser" to empty end mouseup

Voila! The screen, for video playing live, goes for the widget "body" - BLANK - to make it stop!

So this tells me that I could

on mouseup set the url of ###WhatEverWants### of cd "SivaSivaBrowser" to empty end mouseUp

whether it is

  1. mobileControlSet pPlayerName, "filename", ##empty##
  2. set the filename of player "audioPlayer" to empty
  3. put arrayToJson (tQueryData) into empty
  4. POST tJSON to URL to empty
  5. mobileControlDo pPlayerName, "pause"
  6. mobileControlDelete "audioPlayer"

Any of these would work, code is "empty" whether it will get you there, or some code is necessary to come up "empty"