<script language="javascript" type="text/javascript">
var dbPath = "db_media:///";
var img = document.createElement("img");
img.src = dbPath+"test.png";
var src = document.getElementById("mnem1");
src.appendChild(img);
</script>
However, this does not work in the mobile version.
In the mobile version db_media:/// gives /sdcard/Mnemosyne/default.db_media/
But even if I add file:/ at the start
<script language="javascript" type="text/javascript">
var dbPath = "db_media:///";
var img = document.createElement("img");
img.src = "file:/"+dbPath+"test.png";
var src = document.getElementById("mnem1");
src.appendChild(img);
</script>
or directly
<img src="file://sdcard/Mnemosyne/default.db_media/test.png">
it does not work.
And if I try to access file://sdcard/Mnemosyne/default.db_media/inferiorBrain_med.png"
Thanks for the kind words!
Peter
> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-
> proj-...@googlegroups.com] On Behalf Of harizpo...@gmail.com
> Sent: 21 November 2014 07:01
> To: mnemosyne-...@googlegroups.com
> Subject: [mnemosyne-proj-users] Android client beta 1
>
> I am using it in my android phone and it works great for me... Thanks a lot.
> I have been using mnemosyne in my pc for two years and its simply the
> GREATEST thing in my whole studies and career...
> And I was in a dilemma recently as I had to find an android version to better
> utilize time... This android client came with perfect timing and clean
> performance.
> really appreciate the work you put in. I will definitely contribute to
> mnemosyne project.
> Regards
> Hariz
>
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mnemosyne-proj-users+unsub...@googlegroups.com.
If you swipe down from the very top of the screen, don't you then get the standard menu? This might be due to Android's new full-screen behaviour. Otherwise, it's indeed due to Samsung's peculiar implementation on an Android device, as as far as I can, I simply use the standard APIs for menus.