Ram
Posts: 0
Joined: Fri Aug 02, 2013 12:15 pm

does Drag & Drop for mobile web app is possible?

Dear Appery,

is it possible for a mobile web app to allow the user, for ex., to drag a component (label, list, collapsible or any other specific component) that is holding some string, lets say "Appery's support rocks!" to another component, say that component is a button, once the user fires the drop event on the button then the button caption will changed to "Appery's support rocks!"...

if the above is possible then i'd love to get some pointers on how to get this done!

Thank you all in advance!!
Cheers,
R.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

does Drag & Drop for mobile web app is possible?

Is this when you are developing the app or running the final app?

Ram
Posts: 0
Joined: Fri Aug 02, 2013 12:15 pm

does Drag & Drop for mobile web app is possible?

for running the final app, meaning, for the end user benefits.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

does Drag & Drop for mobile web app is possible?

You probably can.. but this requires very strong JavaScript expertise. You can build anything that the browser will support. The app that you build in Appery.io simply runs in the browser.

http://docs.appery.io/getting-started

Ram
Posts: 0
Joined: Fri Aug 02, 2013 12:15 pm

does Drag & Drop for mobile web app is possible?

thanks.

Ram
Posts: 0
Joined: Fri Aug 02, 2013 12:15 pm

does Drag & Drop for mobile web app is possible?

Max,

I see that most users use the following lib hjQuery UI Touch Punch is a small hack that enables the use of touch events on sites using the jQuery UI user interface library to get the drag drop functionality, i tried their samples using my mobile it it works very well, their implementation supposed to be only one line of code, however i get an error when trying to use that lib, here's what i did:

  1. added the lib as a JS asset

  2. placed a button on the page

  3. on page load JS:

    code
    Appery('mobilebutton_1').draggable();
    /code

    i get the this error: "TypeError: Appery(...).draggable is not a function"

    I'd love to get your input on that!
    Thx much,
    R.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

does Drag & Drop for mobile web app is possible?

Appery(..) is just a wrapper to a jQuery select: http://docs.appery.io/javascript-api/. You can try using it directly.

Ram
Posts: 0
Joined: Fri Aug 02, 2013 12:15 pm

does Drag & Drop for mobile web app is possible?

got it to work, thx max.

Matt
Posts: 0
Joined: Tue Oct 16, 2012 7:26 pm

does Drag & Drop for mobile web app is possible?

Ram,

Care to enlighten the rest of us?

Thanks!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

does Drag & Drop for mobile web app is possible?

Hello Matt! Perhaps Ram didn't add jquery UI, should be working if add it.

Return to “Issues”