问题描述
我有关于Android和SCORM几个问题。在这两个领域,我pretty新我只花了一个晚上在寻找一些答案挖网页。
I've got few questions about Android and SCORM. In both areas I'm pretty new and I only spent one evening digging the web in search of some answers.
话题,我发现大约有LMS同步SCORM包,但我不需要这样。我只是想知道怎么玩(和刚刚上场,不需要任何同步或跟踪)Android设备(平板电脑,联想与Android 4+ OS)上SCORM包。如果我努力使自己的应用程序,它允许浏览本地SCORM包,我将能够使用的WebView组件推出SCORM?
Topics I found were about synchronizing SCORM package with LMS but I do not need that. I'm just wondering how to PLAY (and just play, no need for any syncing or tracking) SCORM package on android device (Lenovo tablet with Android 4+ OS). If I try to make my own application which allows to browse local SCORM packages, will I be able to launch SCORM by using WebView component?
我发现这个教程:
有部分:
播放内容和同步结果
在那里我发现了一些有趣的来源$ C $ C左右,以发挥SCORM内容配置该组件的WebView,但我真的不知道,如果我需要RSOfflinePlayer.jar这一点。
where I found some interesting source code about configuring this WebView component in order to play SCORM content, but I'm not really sure if I need RSOfflinePlayer.jar for this.
我还听说,如果设备支持Flash,我就能用浏览器推出SCORMs - 是真的吗?
I've also heard, that if device supports Flash, I will be able to launch SCORMs with Browser - is it true?
也许你知道一些应用程序,它可以做到这一点?或库,它可以帮助?
Maybe you know some application which can do that? Or library which could help?
是否有任何人在经历:
结果1)的Java API SCORM:
Is there anyone with experience in:
1) Java SCORM API:
将粘贴URL,但我需要更多的声誉。
2)的Celine
2) Celine
任何帮助将AP preacieted,不仅是我,但也受到不同类型的疾病,孩子(我们只是学生设法帮助他们)。
Any help will be appreacieted, not only by me but also by children with different kinds of diseases (we are just students trying to help them).
推荐答案
哈维尔差不多吧。我仍然会尝试重新解释。也许你会收集来自它的更多信息。
Javier is almost right. I will nonetheless try to explain this again. Maybe you will gather more information from this.
每SCO基本上是一个压缩的网页。你必须把它解压,寻找imsmanifest.xml,找到最初的文件在那里(的index.html,player.html,这样的事情)。这不会是位于资源下。你首先要看看组织>组织与GT;项目> Identifierref
,它会给你一个ID。然后,你要看看资源与GT;上述ID&GT资源; HREF
值。这就是你要找的文件。
Every SCO is basically a zipped webpage. You have to unzip it and look for imsmanifest.xml, find the initial file in there (index.html, player.html, something like this). It will NOT be located under resources. You first have to look at Organizations > Organization > Item > Identifierref
, which will give you an ID. Then you have to look at Resources > Resource with the above ID > href
value. This is the file you're looking for.
示例(index.html的是您需要的文件):
Example (index.html is the file you need):
<organizations default="someorg">
<organization identifier="someorg">
<title>Some Title</title>
<item identifier="CourseItem01" identifierref="SCO_Resource_01" isvisible="true">
<title>SCO Title Here</title>
</item>
</organization>
</organizations>
...
...
<resources>
<resource identifier="SCO_Resource_01" type="webcontent" adlcp:scormtype="sco" href="index.html">
<file href="index.html"/>
<file href="SCORM_API_wrapper.js"/>
...
一旦你发现了它,只是打开网页视图它,它会尝试连接到SCORM API中的父窗口。你必须提供一些虚拟功能,它愚弄,以为它没有连接到LMS,并照常。否则会失败或朝你扔警报。
Once you found it, just open it in WebView and it'll try to connect to SCORM API in the parent window. You'll have to provide some dummy functions to fool it into thinking that it did connect to LMS and carry on as usual. Otherwise it will either fail or throw alerts at you.
这篇关于SCORM播放Android设备上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!