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

Interaction ideas from the web

asked 2015-01-20 00:04:06 +0300

rdmo gravatar image

updated 2015-05-09 18:33:13 +0300

See also the links listed further on, below these links and the text.

Avatar.ai from a Finnish group. http://osmcode.org/ (Openstreetmap code)

If the browser could send parameters to xdg-open to via links, then the GUI for this phone, within the bounds of HTML, SVG, users' imaginations and some really cool examples on the interwebs, could become arbitrarily magnificent.

Have look at revealjs, d3js and alloyui.

Unknown insecurity implications aside - or rather, with appropriate lock-down measures in place, see http://close-pixelate.desandro.com/ | http://bl.ocks.org/mbostock / 7607999 -- maybe this is how a developer version of dbus options could display (mapped to all possiblelinkages and calls, not just those actually currently exposed to some GUI somewhere on the system; | http://svg-wow.org/camera/camera.xhtml | https://processing.org/examples / rotatepushpop.html| http://ejohn.org/apps/processing.js/examples/custom/molten.html - http://www.dhteumeuleu.com/circumscrible - http://www.dhteumeuleu.com/in-second-lives - http://www.dhteumeuleu.com/you-see

Though loading this one did coincide with my browser spontaneously closing: - http://ejohn.org/apps/processing.js/examples/custom/substrate.html

edit retag flag offensive close delete

Comments

Is this possible? As in browsing to :clock#newalarm2359 or :cal#show20161231 via a href links on a page in the browser? If so, please tell how, you'll have started my day very well.

I imagine if such user-empowering functionality doesn't yet exist please name and describe some dbus calls or dbus listeners that can pick out non-http, non-file URLs (for example) that simply start with : that run a named abbreviation for an application instead of loading a search/advertising engine.

To dismiss or disallow such a thing because of standards would be no way to lead, or stand out.

rdmo ( 2015-03-26 10:14:22 +0300 )edit

The regular expression /\:*/ or another yet simpler means to catch addresses starting : would surely not add appreciably to the processing time seen by the browser user.

On catching the colon, the browser would parse the URL or defer to another process to run its dbus/xdg-open command, logging that it had done so in the new, datetime-stamped browser and user interaction history frontend, that dbus so sorely could benefit users by having.

A better regex would have been /^\:/ but the mystery Jolla phone browser settings' absence of comment edit box scrollability prevents me from correcting the first one I typed.

To prefix a browser location with : feels a pleasantly like a hat tip to vi :)

rdmo ( 2015-03-26 10:30:58 +0300 )edit

Retagged dbus and removed feature-request while I explore how much can be done using dbus before clear ideas emerge around possible useful future features to request.

rdmo ( 2015-03-27 00:23:18 +0300 )edit

2 Answers

Sort by » oldest newest most voted
5

answered 2015-03-26 10:31:33 +0300

lakutalo gravatar image

updated 2015-03-26 11:17:45 +0300

Theoretically it is quite easy. You need to edit *.desktop files at /usr/share/applications to add a URL handler for the desired app. Then you are able to call the app from URL like this: myapp://myparameters.

The tricky bit is the lack of documentation, requested here: https://together.jolla.com/question/87490/possibility-to-add-a-url-handler-for-an-android-app/

So after all, this should be doable!

edit flag offensive delete publish link more

Comments

1

Excellent:)

rdmo ( 2015-03-26 10:38:09 +0300 )edit

De nada! Keep me informed on your findings. We could create a wiki on that topic then.

lakutalo ( 2015-03-26 10:43:03 +0300 )edit

I copied those .desktop files and test ran one with xdg-open and it worked as expected.

rdmo ( 2015-03-29 00:44:31 +0300 )edit

Tested xdg-open on a text file with no .ext.

Two windows opened, one naming the file to open but showing no content, the other showing only a waiting animated arc tracing a circle. I'm not uploading screenshots as I didn't try using a .desktop file that time so I guess a non-crash (yet hardly aesthetic) manner of default failure was the best thing to expect.

rdmo ( 2015-03-29 10:27:55 +0300 )edit

Did you have a look at this, too? Have you also tried to call android apps?

lakutalo ( 2015-03-29 11:15:42 +0300 )edit
1

answered 2015-03-31 16:21:30 +0300

mariner gravatar image

For future browser updates it may be worth looking at some of the big changes coming in Microsoft's browser like being able to overtype a web page.

edit flag offensive delete publish link more

Comments

I suppose you mean inking, which I guess is mostly touch-oriented. It seems to be an extra CSS layer system that puts curvy SVG lines more or less where the user touches. Gives the impression of lazy limiting annotation. But I have no direct experience of it so I'm sure it's marvellous, in its way.

As far as annotation goes, I'd prefer local audio annotations and a text input method to toggle extra in-context typed notes. The use-cases probably don't match for me (my interest just now is in-page, translation-oriented annotation, but for now I'm just working on that myself). Existing text/css/d3js should do for that.

rdmo ( 2015-03-31 21:51:44 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2015-01-20 00:04:06 +0300

Seen: 637 times

Last updated: May 09 '15