Drag drop not working on Android device (Nexus7)

Feb 20, 2013

Has anyone managed to get drag drop working on an Android device? I've been trying to get it to work on a Google Nexus 7 but no joy - works fine on iPad.

20 Replies
Steve Andrews

Just following this one up to see if anyone has any ideas on how to get drag drop to work on an Android device?

It must be possible, because this example (click the 'published example' link) on the Articulate website works on my Nexus 7. The weird thing is, if I download the Storyline file myself and publish it, it doesn't work.

I realise Storyline doesn't officially support Android but the link above proves drag drop does is possible on Android devices, I just to know how.

Mark Cairns

I've tried drag and drops with html5 on the android but it has never worked for me. I tried the link above ( http://articulate-downloads.s3.amazonaws.com/storyline/getting-started/2-DragDropQuotes/story_html5.html ) on my Note 2 and it did work. I'm going to publish the source and see if that works. It's a mystery at this point.

Steve Andrews

Hi Mark, glad to hear it's not just me. I did read somewhere that it may have worked in Storyline V1 but not in V2. Seems odd that an update would come out that stops it working. It's very frustrating as drag drop interactions are so widely used. You can use the drop down matching question type as an alternative but it's very clunky in comparison.

Would be nice to hear from Articulate on whether this feature will come back?

I realise Storyline doesn't officially support Android and I can understand that given the amount of different Android browsers out there but drag drop is pretty standard as an eLearning interaction type and Android devices are so widely used now.

Jasmin Jasmin

Hi Steven!

I have the same problem with you!I'm trying to create o drag and drop by using the template, it isn't play on my android device. The online example works properly. Do you have any news or any solution  about this?

Thnaks a lot!

 

Steven Andrews said:

Hi Mark, glad to hear it's not just me. I did read somewhere that it may have worked in Storyline V1 but not in V2. Seems odd that an update would come out that stops it working. It's very frustrating as drag drop interactions are so widely used. You can use the drop down matching question type as an alternative but it's very clunky in comparison.

Would be nice to hear from Articulate on whether this feature will come back?

I realise Storyline doesn't officially support Android and I can understand that given the amount of different Android browsers out there but drag drop is pretty standard as an eLearning interaction type and Android devices are so widely used now.

Steve Andrews

Hi Jasmine

The linked version works because I believe it was published with an older version of Storyline. Since it was published, Storyline has been updated a couple of times (currently on version 3) and at some point the drag drop stopped working on Android devices.

It's really frustrating as it obviously worked, then a newer version of the software broke it. I did report this to Articulate who replied that they don't officially support Android - which I knew anyway but was hoping they would tell me it would be fixed in an update.

So for now, the company I work for use the drop down style question format rather than drag drop. It doesn't look as good but we're stuck unless a future Storyline update addresses the issue.

Hopefully you can make drop down style questions work in your course. It just means you'l need to reword the questions slight i.e. "select from a list" rather than "drag and drop the items".

I hope this helps,

Steve

Jasmin Jasmin said:

Hi Steven!

I have the same problem with you!I'm trying to create o drag and drop by using the template, it isn't play on my android device. The online example works properly. Do you have any news or any solution  about this?

Thnaks a lot!

 

Steven Andrews said:

Hi Mark, glad to hear it's not just me. I did read somewhere that it may have worked in Storyline V1 but not in V2. Seems odd that an update would come out that stops it working. It's very frustrating as drag drop interactions are so widely used. You can use the drop down matching question type as an alternative but it's very clunky in comparison.

Would be nice to hear from Articulate on whether this feature will come back?

I realise Storyline doesn't officially support Android and I can understand that given the amount of different Android browsers out there but drag drop is pretty standard as an eLearning interaction type and Android devices are so widely used now.


Nattawat Nonsung

Hi guys,

I have found the hot fix for this problem but it is kind of hacking way, which is quite tedious.

So, what I have done is to go into Javascript code and try to find out. The problem seems to be incorrect assign of JS events. If you open /mobile/player_complied.js and make it readable through http://jsbeautifier.org/. You can find the following code around line number 9588.

player.isIOS ? ($(document.body)

        .bind("touchmove", a), $(window)

        .bind("touchend", b)) : ($(document.body)

        .bind("mousemove", a), $(window)

        .bind("mouseup", b)) 

Apparently, it does not check for Android to assign the correct touch events. So, I replace the code to:

if(player.isIOS || (1 < navigator.userAgent.indexOf("Android") && -1 < navigator.userAgent.indexOf("Mobile"))){

    $(document.body)

        .bind("touchmove", a), $(window)

        .bind("touchend", b);

    }else{

    $(document.body)

        .bind("mousemove", a), $(window)

        .bind("mouseup", b);

    }

It might not be a perfect solution but it works for me. Hope this help

PS: In case you don't wanna touch any code, you can replace your player_complied.js with the one I attached.

This discussion is closed. You can start a new discussion or contact Articulate Support.