>
> The browser's homepage was manually set to the bbench start page. There is
> a way to open the browser and set it to a certain page, e.g., am start -a
> android.intent.action.VIEW -d http://gem5.org but this doesn't work
> for local pages, i.e., file:/// instead of http://. For some reason the
> intent is not recognized by the browser. You can look at the browser's
> manifest file and see if you can get it work with file:/// by messing with
> the intent filters. I briefly looked into this but wasn't successful. If
> anyone else knows how to open a local page in the Android browser from the
> command line that would be useful.
>
Acutally, looking in the ICS file system, it seems as though they've
changed this so you can view local web pages. From around line 99 of
packages/apps/Browser/AndroidManifest.xml
<!-- For viewing saved web archives. -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE"
/>
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="file" />
<data android:mimeType="application/x-webarchive-xml"/>
</intent-filter>
So that command should be able to launch bbench in the browser from the
command line. I'll have more on this once I release ICS with bbench
(possibly today, more likely tomorrow).
-Tony
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users