/srv/irclogs.ubuntu.com/2014/06/08/#ubuntu-app-devel.txt

danielbeckhello! I would like to test an application with the ubuntu touch emulator. I would like to install and start the application from the command line, since the ubuntu touch emulator does not work well for me (the screen stays black)08:17
danielbeckI copied the click file and installed it with pkcon. Now I would like to start it from the adb shell, but I don't know how to do it. Can someone give me a hint?08:18
danielbeckhello! I would like to test an application with the ubuntu touch emulator. I would like to install and start the application from the command line, since the ubuntu touch emulator does not work well for me (the screen stays black)11:22
danielbeckI copied the click file and installed it with pkcon. Now I would like to start it from the adb shell, but I don't know how to do it. Can someone give me a hint?11:22
pikachuzahi all15:14
pikachuzadoes anyone know how to execute a command in html5 and then get back the output from std out for use in a html5 app?15:15
pikachuzaor if this is not directly possible, how can one call node.js from within an html5 app?15:15
pikachuzais there anyway to link to the underlying OS shell from javascript/html5 app?16:42
dakerpikachuza: what do you mean ?16:44
pikachuzadaker - i would like execute a linux command and then use the results in an html5 app16:44
dakerpikachuza: what kind of command ?16:45
pikachuzadaker like one would do in a bash script for example.16:45
dakerpikachuza: that's not possible16:45
pikachuzadaker - top, df etc16:45
pikachuzadaker - mmm thought that might be the case16:45
pikachuzadaker i don't suppose there is any plans to add this?  Also no way to call node.js from within your html5 app?16:46
dakeri am not sure about that16:48
dakerpikachuza: it can be a security issue their16:49
pikachuzadaker - yeah. I can image they wouldn't want it for phones but for desktop apps this kind of integration is essential :(16:51
dakerpikachuza: we do have JS APIs to do some common task, like trigger download, create a alarm, get push notification...16:52
dakerbut accessing a lower level of the shell is not possible16:53
pikachuzadaker - i seen those. Are there more coming? APIs. For example how can one access a mongdb database from an html5 app? Do you think that will be on the list at all?16:54
pikachuzadaker or is the plan to be that the developer should create some kind of rest api with another language to provide this info to the frontend?16:54
pikachuzaui16:54
dakeryeah that's what's the recommended way16:55
pikachuzadaker: ok. Is there any recommendation for the rest "server" side. If it will be running on the same desktop. I am thinking of launching a node.js application then using the html5 sdk for the front-end16:56
pikachuzadaker: how can I get the node.js portion to launch when the ui  luanches?16:56
dakerpikachuza: it up to you, for now we don't provide a way to automatically link the backend & the frontend like angular and others17:01
pikachuzadaker  - cool. thanks for the info17:01
dakeryou can just jquery or other lib to do that17:01
dakeruse*17:01

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!