You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Google Read-Along android app from a web page to perform a fluency test.
Current Problem & Android Specific Solution
Read-Along is not yet available as a PWA or web-based implementation due to which, Assessment module in Shiksha will not be able to perform fluency and reading test. This will be achieved by creating interfacing between web implementation and the Read-Along android app via an intermediate Android app working as a bridge.
Functional Diagram
Implementation
In the android app where the web page will be hosted, JS interfacing is needed to be enabled -
here, "this" refers to the class where the JS interfacing method will be implemented which is explained in the next step
Adding a function inside the class(in the android app where javascript interface has been added as mentioned in Pt. 1). This function will be called from the web page triggering the Read-Along app.
Add a callback in the android app which will receive the results from the Read-Along App and call the method "onReadAlongResult" on the web page with parameters word count and total time taken in seconds
On the Web side two functions will be created, one for calling the android code and another one for receiving results from the android app
functionopenReadAlong(){androidInteract.triggerReadAlong("hp_g3_hinP4")}functiononReadAlongResult(correctWords,timeTaken){document.getElementById("results").innerHTML="Read Along : Correct words : "+correctWords+" : Time taken : "+timeTaken+" seconds";}
Example Implementation - Github Link
(This has been created and tested using a local webpage. The same would work for an online running webpage)
Description
Using the Google Read-Along android app from a web page to perform a fluency test.
Current Problem & Android Specific Solution
Read-Along is not yet available as a PWA or web-based implementation due to which, Assessment module in Shiksha will not be able to perform fluency and reading test. This will be achieved by creating interfacing between web implementation and the Read-Along android app via an intermediate Android app working as a bridge.
Functional Diagram
Implementation
here, "this" refers to the class where the JS interfacing method will be implemented which is explained in the next step
Example Implementation - Github Link
(This has been created and tested using a local webpage. The same would work for an online running webpage)
Sample Video
https://user-images.githubusercontent.com/87115901/178682782-fb20cec6-9db6-49ac-9996-0fbae04abe6a.mp4
The text was updated successfully, but these errors were encountered: