We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-06-11 13:15:44 +0200

Add drag-and-drop functionality to app switcher (home screen)

It could be useful to be able to pass data from app to app via the home screen / app launcher.

API draft

  • Each app can define a list, what type of data they will handle, so you could show interactively whether the data can be handled by target or not
  • there could be externalDataReceived-signal for ApplicationWindow

Process of transaction

  1. A drag-and-drop transaction would begin from the app, by calling some special function when the data to be tranferred would be selected / dragged
  2. the app would be thrown to background and home screen with app covers be shown
  3. dropping the content on any of the covers / launcher would trigger that apps signal / start the app and trigger the signal
  4. under the hood there would be for example Dbus

why?

  • This would be more intuitive to app developers who are not familiar with Dbus
  • I think this would be intuitive to most of the users too, as most people are used to drag-and-dropping on their desktop machine
  • One could take an image from the gallery and drop it to the email / cloudstorage / paint / etc. apps.
  • This would reduce redundancy with each app having image / etc. choosers

Add drag-and-drop functionality to app switcher (home screen)

It could be useful to be able to pass data from app to app via the home screen / app launcher.

API draft

  • Each app can define a list, what type of data they will handle, so you could show interactively whether the data can be handled by target or not
  • there could be externalDataReceived-signal for ApplicationWindow

Process of transaction

  1. A drag-and-drop transaction would begin from the app, by calling some special function when the data to be tranferred would be selected / dragged
  2. the app would be thrown to background and home screen with app covers be shown
  3. dropping the content on any of the covers / launcher would trigger that apps signal / start the app and trigger the signal
  4. under the hood there would be for example Dbus

why?

  • This would be more intuitive to app developers who are not familiar with Dbus
  • I think this would be intuitive to most of the users too, as most people are used to drag-and-dropping on their desktop machine
  • One could take an image from the gallery and drop it to the email / cloudstorage / paint / etc. apps.
  • This would reduce redundancy with each app having image / etc. choosers