Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
Hello Jamie, Do you have any news on the implementation of SD Card access for "normal" applications? Frans On 06/18/2015 04:59 PM, Jamie Strandboge wrote: > On 06/18/2015 09:15 AM, Frans Schreuder wrote: >> >>> A few moments ago we got all the right people in a hangout to discuss how to >>> support SD Card access with apps and we have a preliminary design that >>> addresses >>> the aforementioned complexities, maintains application isolation and allows >>> apps >>> to use the SD Card without any additional privileges (ie, won't be blocked >>> for >>> manual review in the store). >>> >>> Thomas Voß will now shape this into a proper design spec and present this >>> here >>> in the coming weeks. >>> >>> >> Thank you for discussing this. Do you have any idea when it will be >> available? >> Wil it be in the updates next months? >> > It first needs to be spec'd and then implemented. We don't have an exact time > frame (it is a multi-team effort) but it is considered a high priority. > > > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Help wanted for OSMScout
Hello Sam Bull, OSMScout is really different from OSMTouch and GPS-Navigation and all the others. Even if they implement downloading of the apps, the total implementation is different. Merging them would mean throwing one away completely and implementing the functionality from scratch into the other. Your idea is nice and is also what I would like to see myself, but technically impossible. To be more specific: OSMScout is based on a library libosmscout which has a binary format. The conversion to that format has to be done on a PC because it is quite memory hungry (3+GB for France, 30+GB for Russia) All the other apps are either web based, or use the QML "Map" component from the Ubuntu Library. The Map component does support caching of tiles, but I don't think it supports offline navigation and things like that. Frans On 08/18/2015 12:57 PM, Sam Bull wrote: > On Wed, 2015-08-12 at 15:06 +0200, Frans Schreuder wrote: >> I have spent quite some time developing the OSMScout app for Ubuntu Phone. >> I don't want to provide this app free of charge, but my time is also >> limited. >> Is there anyone out there with some c++ / qml skills who would like to >> offer a hand to improve this app? > OSMTouch is already a fairly nice app. I think it'd be really great to > see the work merged together somehow, so we have one really nice app for > OSM, rather than the 3 partial apps that we currently have. > > In particular, I rather like the design of OSMTouch, but it is missing > the offline map download feature of OSMScout, and the satnav feature > from uNav. It'd be great to get all these developers working on the same > project. > > At the moment I need to have all 3 of these apps installed to have a > functional OSM implementation. signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Navigation working!
Hello Ed, I think it was your lucky day, as the failing navigation service is really a navigation service issue. Did you by chance have your wifi off? that improves things a lot. Frans PS. I have created a payed version in the store and an equal free version, not to sell support, but to be able to cover the costs for webhosting for the maps. I give support to anyone . On 08/23/2015 02:12 PM, Ed Kapitein wrote: > Hi Frans, > > After todays update i was able to use osmscout to navigate for much > longer then before. > Usually the gps stopped after a couple of minutes at most, but now it > just kept on working! > > Did you do something special to make it work or was today just my > lucky day? > > I did noticed some messages in dmesg that seem to indicate a minor > problem with apparmor: > [97018.315786] type=1400 audit(1440328171.356:348): apparmor="DENIED" > operation="open" > profile="osmscout-support.fransschreuder_OSMScout_0.5.0" > name="/home/phablet/.cache/mediascanner-2.0/mediastore.db" pid=30058 > comm="OSMScout" requested_mask="r" denied_mask="r" fsuid=32011 ouid=32011 > > And some messages from the gps about an invalid native process pi, but > i doubt that is something from osmscout: > [96569.291276] GPS_open: major 191 minor 0 (pid 27184) > [96569.312817] [WMT-CTRL][I]wmt_ctrl_gps_sync_set:ctrl GPS_SYNC(4) > [96569.312837] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl GPS_SYNC_SET(0) ok > [96569.313266] [WMT-IC][I]mtk_wcn_soc_pin_ctrl:ret = (0) > [96569.313280] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:set reg for GPS_SYNC > function okay by chip ic_pin_ctrl > [96569.313293] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl combo chip gps > sync function succeed > [96569.313305] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:host pin used for > gps lna > [96569.313316] [WMT-CTRL][I]wmt_ctrl_gps_lna_set:ctrl GPS_LNA(2) > [96569.313329] [WMT-FUNC][I]wmt_func_gps_pre_ctrl:ctrl host gps lna > function succeed > [96569.315124] [WMT-CTRL][I]wmt_ctrl_bgw_desense_ctrl:wmt-ctrl:send > native cmd(1) > [96569.315137] [BGW] send_command_to_daemon: here we will send command > to native daemon > > vv > [96569.315147] [BGW] send_command_to_daemon: invalid native process pid > > > [96569.315164] [WMT-CORE][I]wmt_core_dump_func_state:[AF FUNC > ON]status(b:2 f:0 g:2 w:2 lpbk:0 coredump:0 wmt:2 stp:0) > [96569.315223] [WMT-STP-EXP][I]mtk_wcn_wmt_func_on: > mtk_wcn_wmt_func_on_f type(2) > [96569.315236] [GPS] GPS_open: WMT turn on GPS OK! > > > Keep up the good work! > Ed > > > PS > I have the supported version, in case that makes any difference. > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] Can't connect to foreign mobile network
Hello, I have had the Ubuntu phone (BQ E4.5) for some time, I lately travelled to New York and found out it didn't connect to the mobile network, not even GSM. At that time I thought it was a frequency issue, but right now I am in Portugal and the frequency is the same here as my home country (Netherlands). For some reason the phone doesn't see or recognize the other providers networks. My own provider is T-Mobile (NL), then when I just rebooted the Mobile settings => Provider shows 3 available networks, after a few seconds they disappear and there is only the choice for "Automatic". The spinning icon keeps spinning for ever and there is no way I can call or text outside my own country. Is there any way this can be solved? Or do I have to wait for an upgrade? Thanks, Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Can't connect to foreign mobile network
Thanks for your reply, I filed the bug... https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1501761 On 10/01/2015 02:03 PM, Jonas Drange wrote: On 1 October 2015 at 14:50, Frans Schreuder <fransschreu...@gmail.com> wrote: My own provider is T-Mobile (NL), then when I just rebooted the Mobile settings => Provider shows 3 available networks, after a few seconds they disappear and there is only the choice for "Automatic". Sounds like a bug. Can you file one here [1]? Scripts /usr/share/ofono/scripts/list-operators and /usr/share/ofono/scripts/list-modems will be helpful when debugging. Thanks! [1] https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+filebug signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
Dear Ubuntu-phone mailing list, I have spent a few weeks developing an offline routing / navigation application (LGPL) based on openstreetmaps / libosmscout. I want to publish the app in the Ubuntu App Store, but I am facing a problem: I need read access on a location on the SD card. I will explain why. 1.) The maps take quite some space on the device (Netherlands is 1.3GB, Germany is 4+ GB). At least on the BQ Aquaris this space is not available in the home directory, at least not if you also want to remain with some space available. 2.) The maps have to be converted to a binary format with a tool on the PC. Until I got some server space and time to host some readily converted maps, the user will have to transfer maps manually to the phone. If this would be the app data space, that location is not by default readable if you browse the phone on the PC. 3.) Converting the maps on the phone is not really an option, as the process uses several GB as temp space, and on an i7 pc it can take over 1 hour for a map of a small country. For now there are no good apparmor rules that matches the need of this application, Picture read could be possible, however it needs the maps to be placed in /Pictures/osmscout. That is an ugly solution, but it works. Another solution is to set the app as unconfined, and use the location /Maps/osmscout. However this is not the solution to allow for any app, I think this app really adds value to the Ubuntu phone. Would it be possible to create an app-specific rule that allows (Read, and maybe later Write) access to /Maps/? Or otherwise to allow this app to be published as unconfined? The source code for the app can be found here: https://github.com/fransschreuder/libosmscout The tool to convert maps can be obtained on a desktop: sudo apt-add-repository ppa:fransschreuder1/osmscout-import sudo apt-get update sudo apt-get install osmscoutimportgui0 Thanks for your comments, Regards, Frans Schreuder signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
On 06/02/2015 09:38 PM, Christian Dywan wrote: Hey Frans, First off, I'm looking forward to it. Proper offline navigation is sorely needed! Well, you can already download it and build using ubuntu-sdk. Until I found a solution for publishing in the app-store. However frankly requiring a lengthy map conversion process on a separate PC will impede adoption. Everyone doesn't have a beefy machine sitting at home. Plus you need to understand it. And most crucially, and I think I'm not the exception, when you know you need that map you may already be on the road, with no access to that beefy or possibly any computer. I can imagine this. I am willing to build the maps using an automated build script. I have already hosted the benelux map on my website, however I need more space to host worldwide maps. Maybe Ubuntu / Canonical can supply some hosting space somewhere? The way the app works now is by copying the maps to the SD card manually. I realize I'm not providing the answer you're asking for. But as I am very interested in this project, this is my feedback: Figure out hosting, and ways to downsize the files. The HERE app on Android shows that it can be done. I am surely looking into downsizing the maps, but for now they are just big (however also detailed) Regards, Christian Am Di, 2. Jun, 2015 um 3:18 schrieb Frans Schreuder : Dear Ubuntu-phone mailing list, I have spent a few weeks developing an offline routing / navigation application (LGPL) based on openstreetmaps / libosmscout. I want to publish the app in the Ubuntu App Store, but I am facing a problem: I need read access on a location on the SD card. I will explain why. 1.) The maps take quite some space on the device (Netherlands is 1.3GB, Germany is 4+ GB). At least on the BQ Aquaris this space is not available in the home directory, at least not if you also want to remain with some space available. 2.) The maps have to be converted to a binary format with a tool on the PC. Until I got some server space and time to host some readily converted maps, the user will have to transfer maps manually to the phone. If this would be the app data space, that location is not by default readable if you browse the phone on the PC. 3.) Converting the maps on the phone is not really an option, as the process uses several GB as temp space, and on an i7 pc it can take over 1 hour for a map of a small country. For now there are no good apparmor rules that matches the need of this application, Picture read could be possible, however it needs the maps to be placed in /Pictures/osmscout. That is an ugly solution, but it works. Another solution is to set the app as unconfined, and use the location /Maps/osmscout. However this is not the solution to allow for any app, I think this app really adds value to the Ubuntu phone. Would it be possible to create an app-specific rule that allows (Read, and maybe later Write) access to /Maps/? Or otherwise to allow this app to be published as unconfined? The source code for the app can be found here: https://github.com/fransschreuder/libosmscout The tool to convert maps can be obtained on a desktop: sudo apt-add-repository ppa:fransschreuder1/osmscout-import sudo apt-get update sudo apt-get install osmscoutimportgui0 Thanks for your comments, Regards, Frans Schreuder -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
On 06/02/2015 09:38 PM, Christian Dywan wrote: > Hey Frans, > > First off, I'm looking forward to it. Proper offline navigation is > sorely needed! Well, you can already download it and build using ubuntu-sdk. Until I found a solution for publishing in the app-store. > > However frankly requiring a lengthy map conversion process on a > separate PC will impede adoption. Everyone doesn't have a beefy > machine sitting at home. Plus you need to understand it. And most > crucially, and I think I'm not the exception, when you know you need > that map you may already be on the road, with no access to that beefy > or possibly any computer. I can imagine this. I am willing to build the maps using an automated build script. I have already hosted the benelux map on my website, however I need more space to host worldwide maps. Maybe Ubuntu / Canonical can supply some hosting space somewhere? The way the app works now is by copying the maps to the SD card manually. > > I realize I'm not providing the answer you're asking for. But as I am > very interested in this project, this is my feedback: Figure out > hosting, and ways to downsize the files. The HERE app on Android shows > that it can be done. I am surely looking into downsizing the maps, but for now they are just big (however also detailed) > > Regards, > Christian > > Am Di, 2. Jun, 2015 um 3:18 schrieb Frans Schreuder > : >> Dear Ubuntu-phone mailing list, I have spent a few weeks developing >> an offline routing / navigation application (LGPL) based on >> openstreetmaps / libosmscout. I want to publish the app in the Ubuntu >> App Store, but I am facing a problem: I need read access on a >> location on the SD card. I will explain why. 1.) The maps take quite >> some space on the device (Netherlands is 1.3GB, Germany is 4+ GB). At >> least on the BQ Aquaris this space is not available in the home >> directory, at least not if you also want to remain with some space >> available. 2.) The maps have to be converted to a binary format with >> a tool on the PC. Until I got some server space and time to host some >> readily converted maps, the user will have to transfer maps manually >> to the phone. If this would be the app data space, that location is >> not by default readable if you browse the phone on the PC. 3.) >> Converting the maps on the phone is not really an option, as the >> process uses several GB as temp space, and on an i7 pc it can take >> over 1 hour for a map of a small country. For now there are no good >> apparmor rules that matches the need of this application, Picture >> read could be possible, however it needs the maps to be placed in >> /Pictures/osmscout. That is an ugly solution, but it works. >> Another solution is to set the app as unconfined, and use the >> location /Maps/osmscout. However this is not the solution to >> allow for any app, I think this app really adds value to the Ubuntu >> phone. Would it be possible to create an app-specific rule that >> allows (Read, and maybe later Write) access to /Maps/? Or >> otherwise to allow this app to be published as unconfined? The source >> code for the app can be found here: >> https://github.com/fransschreuder/libosmscout The tool to convert >> maps can be obtained on a desktop: sudo apt-add-repository >> ppa:fransschreuder1/osmscout-import sudo apt-get update sudo apt-get >> install osmscoutimportgui0 Thanks for your comments, Regards, Frans >> Schreuder >> -- Mailing list: https://launchpad.net/~ubuntu-phone >> <https://launchpad.net/%7Eubuntu-phone> Post to : >> ubuntu-phone@lists.launchpad.net Unsubscribe : >> https://launchpad.net/~ubuntu-phone >> <https://launchpad.net/%7Eubuntu-phone> More help : >> https://help.launchpad.net/ListHelp signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
On 06/02/2015 11:36 PM, Sam Bull wrote: > On Tuesday, 2 June 2015 20:18:35 BST, Frans Schreuder wrote: >> Would it be possible to create an app-specific rule that allows (Read, >> and maybe later Write) access to /Maps/? > > Just add an additional read path, like the camera-app does here: > > http://bazaar.launchpad.net/~phablet-team/camera-app/trunk/view/head:/camera-apparmor.json > > > Whether the reviewers will accept it or not, is at their discretion, > but there's no need for it to be unconfined. Thanks, that is helpful! I have changed the rule and uploaded a new version. Let's see what the reviewers will do. signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
Hello Michael, The library in the ppa (libosmscoutimport0) was first compiled without libxml, but it should be now. I suspect that you should update the library from the ppa, that way it should work. Both issues shouldn't be the case if you use the gui OSMScoutImport or the script osmscout-import. Frans On 06/03/2015 11:25 AM, Michael Zanetti wrote: > Hey Frans, > > totally excited about this. Currently downloading maps and finding my > way through the converter script. Just as small feedback: > > * Had to figure that I need to copy the map.odt file manually to my > home dir. > * Only after downloading the pbf file I got the message that support > for pbf files is not enabled in the build in your ppa. > > Br, > Michael > > On 02.06.2015 21:18, Frans Schreuder wrote: > > Dear Ubuntu-phone mailing list, > > > I have spent a few weeks developing an offline routing / > > navigation application (LGPL) based on openstreetmaps / > > libosmscout. I want to publish the app in the Ubuntu App Store, but > > I am facing a problem: I need read access on a location on the SD > > card. I will explain why. > > > 1.) The maps take quite some space on the device (Netherlands is > > 1.3GB, Germany is 4+ GB). At least on the BQ Aquaris this space is > > not available in the home directory, at least not if you also want > > to remain with some space available. > > > 2.) The maps have to be converted to a binary format with a tool on > > the PC. Until I got some server space and time to host some > > readily converted maps, the user will have to transfer maps > > manually to the phone. If this would be the app data space, that > > location is not by default readable if you browse the phone on the > > PC. > > > 3.) Converting the maps on the phone is not really an option, as > > the process uses several GB as temp space, and on an i7 pc it can > > take over 1 hour for a map of a small country. > > > For now there are no good apparmor rules that matches the need of > > this application, Picture read could be possible, however it needs > > the maps to be placed in /Pictures/osmscout. That is an > > ugly solution, but it works. Another solution is to set the app as > > unconfined, and use the location /Maps/osmscout. However > > this is not the solution to allow for any app, I think this app > > really adds value to the Ubuntu phone. Would it be possible to > > create an app-specific rule that allows (Read, and maybe later > > Write) access to /Maps/? Or otherwise to allow this app to > > be published as unconfined? > > > The source code for the app can be found here: > > https://github.com/fransschreuder/libosmscout > > > The tool to convert maps can be obtained on a desktop: sudo > > apt-add-repository ppa:fransschreuder1/osmscout-import sudo apt-get > > update sudo apt-get install osmscoutimportgui0 > > > Thanks for your comments, > > > Regards, > > > Frans Schreuder > > > > > > > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
Hello Jamie Strandboge, Thanks for your reply (...) > This is a complicated topic and currently app-access to the SD card is not > fully > implemented. This has been discussed in the past and the main points are: > > * we don't want to allow a shared storage area like /freeforall >because that breaks application isolation I totally agree here > * we could try to do something like: > owner ///** rwk >similar to the app-specific directories in /home, but that only works well >with Linux filesystems (eg, ext4) because some filesystems may not support >case-sensitivity, separate UIDs (for multiuser systems) or long filenames This folder could be unreadable by the user, when connecting to the computer. Especially when it is a hidden folder like the app storage in home. > * Most things in Ubuntu Touch aren't aware of the SD CARD and the user >experiences have not been defined > > Because of this, only a couple of apps have special exceptions that grant them > access to the filesystem. > >> Picture read could be possible, however it needs the maps >> to be placed in /Pictures/osmscout. That is an ugly solution, >> but it works. > It does work in the sense that your app now has access to the folder, but it > almost certainly doesn't work in the gallery, mediascanner, etc that have to > deal with GBs of data that are in a subfolder that it scans for updates. Those > apps would have to be updated to ignore the osmscout subfolder, which is even > uglier. I totally agree Pictures is not the way to go, this was the first folder that I could get myself access to using simple rules. > >> Another solution is to set the app as unconfined, and use the location >> /Maps/osmscout. However this is not the solution to allow for >> any app, I think this app really adds value to the Ubuntu phone. >> Would it be possible to create an app-specific rule that allows (Read, >> and maybe later Write) access to /Maps/? Or otherwise to allow >> this app to be published as unconfined? >> > There is no reason to run it unconfined when an app-specific directory could > be > used instead. As far as exceptions go, this is the cleanest solution because > only your app would have access to this directory. Because of the > case-insensitivity, you would need to do something like this: > read_path: [ > "/media/*/*/[Mm][Aa][Pp][Ss]/" > ] This is what I also did in the latest version that I uploaded (well, a slightly different syntax but I will copy the line above) When I first uploaded a version i was unaware of the possibilities of such custom rules. > > However, if you add that, what happens if the user has an Ubuntu Touch device > that doesn't have an SD Card (eg, the reference Nexus 4)? AIUI, most new > devices > have a lot more storage and many are foregoing SD card support altogether. For that reason I would also like to request access to another folder in the home directory. e.g. $HOME/Documents/Maps. This way the app can automatically check where maps are located, and let the user choose. > Now, this doesn't deal with all the other problems with non-Linux filesystems > on > the SD CARD. > > I've included Thomas Voß in this email because he may have more information on > the current status. Thomas (please forward if someone else knows), > * what is the current status of SD CARD access by apps, especially wrt >multiuser (UID mappings), case-insensitivity and short filenames? Is there > a >roadmap? For my app this wouldn't be a big problem, as long as I define the rule as [Mm][Aa][Pp][Ss] > * is there a better way to handle map data? It seems like Frans is having to >deal with a lot of difficulties here with pregenerating map data and > getting >it onto the SD Card. Are there plans for a maps service or something? Well there isn't much of a problem, as long as the reviewer allows me to create a rule dealing with read_path. OSMScout is using a custom binary map format, which is converted from .osm xml using a simple application based on libosmscout. I don't think these maps would be useful in any way for applications that are not based on libosmscout. > * should we create a restricted 'maps' policy group that allows '~/Maps' and >'/media/.../Maps' like how the gallery current owns '~/Pictures'? The >question then is, who is the actual owner of Maps (ie, osmscout isn't like >gallery)? I don't think a map policy would be necessary at this point, as the read_path (and eventually write_path when downloading maps will be done through the app) does the job very well. Thanks again for your input. Frans > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
Hello Simon, Could you use the OBF format, and possibly reuse (for now) the pre-generated files from http://download.osmand.net/rawindexes/ ? You are asking whether I can completely start over again, stop using the library libosmscout and start writing another library? Well I don't feel like doing that but feel free to do it. The uncompressed OBF files are a bit less than 2x the corresponding ZIP file. For detailed countries (so huge OBF), the OSMAND project has split those countries in regions. The generated binary files are usually smaller than the obf file In addition, I remember a very recent discussion about privacy concerns if the maps are shared among applications. That is, a third-party app could check what tiles are cached, thus figure out where the user has been. I could not find the exact discussion and Google search in my e-mails did not help. I would say that this is not a huge concern for the vector maps, because they cover a whole country. Thus, the privacy would be for an app that was forbidden to find the location (no access to GPS, neither the MCC/MNC SIM details). But still, the app can easily deduce the country anyway simply from GEOIP. OSMScout doesn't use tiles to render the map, it takes the binary file and renders in memory. I think that having a way to support shared OBF files, so apps can reuse them, would be a big win. If an app needs OpenStreetMap maps for a non-cached region, then the service that deals with the OBF files would ask the user "Hey, you are trying to view the maps for Poland, shall we download these?". Sure but why does it need to be obf? the osmscout files could be used in a similar way Simos signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
Hello Jamie Strandboge, > There is no reason to run it unconfined when an app-specific directory could > be > used instead. As far as exceptions go, this is the cleanest solution because > only your app would have access to this directory. Because of the > case-insensitivity, you would need to do something like this: > read_path: [ > "/media/*/*/[Mm][Aa][Pp][Ss]/" > ] I have changed my apparmor file to the lines you mentioned above, however I can't get it to work fully. For some reason it works when I just hit play from Ubuntu SDK, but when I install the application (through the publish tab in ubuntu-sdk) the app still doesn't have access. The nasty thing is that I can't debug applications that are already installed. I have two questions: 1) Is there any difference between debugging from Ubuntu SDK and just installing the click app (other than "debug" in the .json), or is there anything special I have to do to process the .apparmor file? 2) Is there a way to see stdout / stderr from an installed application? Thanks, Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Find SD card path
Hello, I am developing an application which needs access to a path on the SD card: read_path: [ "/media/*/*/[Mm][Aa][Pp][Ss]/" ] In C++ I don't know the full path of the SD card, I can guess the user is "phablet", but the SD card ID is impossible to guess. if I also give access to "/media/" the solution is simple, I just create a QDir and list all subdirs of /media and so on, but since I don't have read access, how do I find out the path? I found the class QStorageInfo which could do the job: QList volumes = QStorageInfo::mountedVolumes(); however this class will only be available from the Vivid image, not yet in 14.10 which is currently installed on most BQ Phones. Any other ideas? Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] OSMTouch and pre-fetch tiles
Hello Matthias, It could be due to a different screen resolution, that zoom levels are handled differently. Anyway it looks like a lot of work to copy over the cache. I am currently developing an offline navigation application which is suited for your needs. It's not yet in the store, but the sources are available on github. https://github.com/fransschreuder/OSMScout-ubuntu Opening the project in ubuntu-sdk, build and install it seems like less work to me than manually converting image tiles. Regards, Frans On 13-06-15 16:52, Matthias Apitz wrote: > Hello, > > The background of my question is, that I often travel to places where > you do not have access to Internet via data mobile. In my netbook with > FreeBSD I'm using foxtrotGPS and pre-fetched tiles, i.e. they are already > stored in the disk and foxtroGPS makes use of the png-files. There is a > small C-written tool which generates all tiles file names for the two > coordinates of a rectangle you give to that tool. > Than one just uses wget to fetch down the ~100 tiles and you have > them stored in the disk for offline usage. > > The name structure is the same as in the OSM server, i.e. for example: > > 9/266/170.png > > The OSMTouch app caches the tiles below > /home/phablet/.cache/me.yohanboniface.osmtouch/ > > and the tiles for that same place has for the OSMTouch the name > > osm_100-1-9-266-170.png > > Both cover the same region of the map in zoom level 9. So far so good. > > I was thinking to copy over the tiles from my netbook to the BQ and just > generating on the fly the correct names osm_100-1-. > > But, I have compared the files and they have a different look and feel (both > attached). Anybody knows why they are different? > > Thanks > > matthias > > > -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] OSMTouch and pre-fetch tiles
Hello Matthias, >> I am >> currently developing an offline navigation application which is suited >> for your needs. >> It's not yet in the store, but the sources are available on github. >> >> https://github.com/fransschreuder/OSMScout-ubuntu >> >> Opening the project in ubuntu-sdk, build and install it seems like less >> work to me than manually converting image tiles. > Thanks, I will have a look. How the app will fetch in advance around > 10 tiles for the location, for example the area of Havana? > > matthias > In fact it doesn't download tiles, but you have to import downloaded .osm or .pbf files (from openstreetmaps) using a tool on your PC, this tool converts it into a binary format. sudo apt-add-reporitory ppa:fransschreuder1/osmscout-import sudo apt-get update sudo apt-get install libosmscoutimportgui0 OSMScoutImport See for screenshots https://github.com/fransschreuder/OSMScout-ubuntu/wiki At the moment it is still having some slight stability issues, but I am working on that. Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
I have uploaded it to the store, awaiting manual review. Meanwhile here is a video of the performance https://www.youtube.com/watch?v=qC-TtZZW4-Y Reviewers: Can you please at least respond? I haven't heard from you since a few weeks. If you don't allow it because of read/write access to SD_CARD/Maps then at least let me know. On 06/04/2015 01:57 PM, Wayne Ward wrote: This is brilliant i hope you get the help you needed this will be a big bonus when travelling you should generate and donation page when done and im sure you will get plenty of people donating for this feature good luck :) Wayne On 04/06/15 11:17, Simos Xenitellis wrote: On Tue, Jun 2, 2015 at 10:18 PM, Frans Schreuder <fransschreu...@gmail.com> wrote: Dear Ubuntu-phone mailing list, I have spent a few weeks developing an offline routing / navigation application (LGPL) based on openstreetmaps / libosmscout. I want to publish the app in the Ubuntu App Store, but I am facing a problem: I need read access on a location on the SD card. I will explain why. 1.) The maps take quite some space on the device (Netherlands is 1.3GB, Germany is 4+ GB). At least on the BQ Aquaris this space is not available in the home directory, at least not if you also want to remain with some space available. 2.) The maps have to be converted to a binary format with a tool on the PC. Until I got some server space and time to host some readily converted maps, the user will have to transfer maps manually to the phone. If this would be the app data space, that location is not by default readable if you browse the phone on the PC. 3.) Converting the maps on the phone is not really an option, as the process uses several GB as temp space, and on an i7 pc it can take over 1 hour for a map of a small country. Could you use the OBF format, and possibly reuse (for now) the pre-generated files from http://download.osmand.net/rawindexes/ ? The uncompressed OBF files are a bit less than 2x the corresponding ZIP file. For detailed countries (so huge OBF), the OSMAND project has split those countries in regions. In addition, I remember a very recent discussion about privacy concerns if the maps are shared among applications. That is, a third-party app could check what tiles are cached, thus figure out where the user has been. I could not find the exact discussion and Google search in my e-mails did not help. I would say that this is not a huge concern for the vector maps, because they cover a whole country. Thus, the privacy would be for an app that was forbidden to find the location (no access to GPS, neither the MCC/MNC SIM details). But still, the app can easily deduce the country anyway simply from GEOIP. I think that having a way to support shared OBF files, so apps can reuse them, would be a big win. If an app needs OpenStreetMap maps for a non-cached region, then the service that deals with the OBF files would ask the user "Hey, you are trying to view the maps for Poland, shall we download these?". Simos signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Force update
Hello Ed Kapitein, Did you finally get the update? My colleague (Jeroen) still didn't get it. Frans On 06/16/2015 10:18 AM, Ed Kapitein wrote: > Hi all, > > I had to restart my phone, after i received the "there is an update" > notice. > After the restart the notice is gone, and if i use "check for updates" > in system settings, i get "software is up-to-date", but i am still on > R22. > > Is there a way to manually start the update? > > Kind regards, > Ed > > > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
> A few moments ago we got all the right people in a hangout to discuss how to > support SD Card access with apps and we have a preliminary design that > addresses > the aforementioned complexities, maintains application isolation and allows > apps > to use the SD Card without any additional privileges (ie, won't be blocked for > manual review in the store). > > Thomas Voß will now shape this into a proper design spec and present this here > in the coming weeks. > > Thank you for discussing this. Do you have any idea when it will be available? Wil it be in the updates next months? Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] debugging from ubuntu-sdk
Hello All, I am trying to debug my Qt/Qmake application from Ubuntu SDK. I did install gdbserver on the phone (BQ Aquaris with 15.04). Some time ago it worked fine (long before OTA4), but since a few weeks I get this message when starting to debug: Connecting to remote server failed: Remote 'g' packet reply is too long: 13f3ffbe7bf3ffbe00 In the Application Output I get this: Process /opt/click.ubuntu.com/.click/users/phablet/osmscout.fransschreuder/lib/arm-linux-gnueabihf/bin/OSMScout created; pid = 13455 Listening on port 10001 Remote debugging from host 127.0.0.1 Architecture rejected target-supplied description readchar: Got EOF Remote side has terminated connection. GDBserver will reopen the connection. Listening on port 10001 Debugging has finished It may be due to the fact that I installed gdbserver, and afterwards installed OTA updates, but what would be the right way to use debugging? And is there a way to fix this? Thanks... Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
Hello Simeon, If you'd read the whole thread, you wouldn't have posted this issue. The problem is that the current version of Ubuntu doesn't allow read access to the SD card, unless you specify a rule in the apparmor file. This rule is not allowed by the Ubuntu store, unless it's a special Ubuntu Application. Appearantly OSMScout is not special enough. Hopefully this will be fixed in a coming release of Ubuntu. For now I published a version of OSMScout without the special rules, so it only allows read / write access to maps located in $HOME/.local/share/osmscout.fransschreuder/Maps You should put your custom maps there for now, until this limitation of Ubuntu is fixed. Frans On 06/19/2015 09:42 PM, Simeon wrote: Hi Frans and others, I noticed today that the app got released, very nice. Thanks a ton for it. I tried adding my own map files to the sd card but the app didnt pick them up. The github issue is https://github.com/fransschreuder/OSMScout-ubuntu/issues/4 I will try routing tomorrow. Simeon Am 2015-06-02 um 21:18 schrieb Frans Schreuder: Dear Ubuntu-phone mailing list, I have spent a few weeks developing an offline routing / navigation application (LGPL) based on openstreetmaps / libosmscout. I want to publish the app in the Ubuntu App Store, but I am facing a problem: I need read access on a location on the SD card. I will explain why. 1.) The maps take quite some space on the device (Netherlands is 1.3GB, Germany is 4+ GB). At least on the BQ Aquaris this space is not available in the home directory, at least not if you also want to remain with some space available. 2.) The maps have to be converted to a binary format with a tool on the PC. Until I got some server space and time to host some readily converted maps, the user will have to transfer maps manually to the phone. If this would be the app data space, that location is not by default readable if you browse the phone on the PC. 3.) Converting the maps on the phone is not really an option, as the process uses several GB as temp space, and on an i7 pc it can take over 1 hour for a map of a small country. For now there are no good apparmor rules that matches the need of this application, Picture read could be possible, however it needs the maps to be placed in /Pictures/osmscout. That is an ugly solution, but it works. Another solution is to set the app as unconfined, and use the location /Maps/osmscout. However this is not the solution to allow for any app, I think this app really adds value to the Ubuntu phone. Would it be possible to create an app-specific rule that allows (Read, and maybe later Write) access to /Maps/? Or otherwise to allow this app to be published as unconfined? The source code for the app can be found here: https://github.com/fransschreuder/libosmscout The tool to convert maps can be obtained on a desktop: sudo apt-add-repository ppa:fransschreuder1/osmscout-import sudo apt-get update sudo apt-get install osmscoutimportgui0 Thanks for your comments, Regards, Frans Schreuder signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] ubuntu phone tester
You can buy one from BQ On 06/19/2015 11:43 PM, rené fabrice wrote: Hello @All, I want know how to get ubuntu phone for test, i'm ubuntu user and i want to be tester. Regards, signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Offline routing with maps on SD-card (was Re: [Ubuntu-phone ][ubuntu-phone] Offline routing application - Publishing problems)
There is one possible fix, until the reviewers press the freakin' button "manual review approved". Just go to Github, download the sourcecode. Install ubuntu-sdk and open libosmscout/OSMScout/OSMScout.pro Edit OSMScout.apparmor and paste the following content: { "policy_groups": [ "location", "networking", "audio" ], "policy_version": 1.3, "read_path": [ "/media/", "@{HOME}/Documents/[Mm][Aa][Pp][Ss]/" ], "write_path": [ "/media/*/*/[Mm][Aa][Pp][Ss]/", "@{HOME}/Documents/[Mm][Aa][Pp][Ss]/" ] } Then compile and install on device. That should give you access to the SD card. It may also help if more people complain about this issue... Security measures don't help if they are so stringent that people start looking for workarounds. On 06/20/2015 12:02 AM, Torsten Sachse wrote: > On Fri, 19 Jun 2015, Frans Schreuder wrote: > >> The problem is that the current version of Ubuntu doesn't allow read >> access to the SD card, unless you >> specify a rule in the apparmor file. > [...] >> For now I published a version of OSMScout without the special rules, >> so it only allows read / write >> access to maps located in >> $HOME/.local/share/osmscout.fransschreuder/Maps > > Hi Frans & developers, > > do you reckon this problem could be temporarily fixed by creating a > soft link > to a directory on the SD-card or would that sill require that special > apparmor > rule? If a simlink does not work, it might help to create an image as a > container on the SD-card and mount it to the folder mentioned above. I > don't > want to circumvent any system security but I'm rather wondering > whether there > is a temporary way to still have the maps on the SD-card. Will try > both ways > tomorrow or on Sunday. > > Torsten signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Offline routing application [was: to long]
Hello Ed, Thanks for your support! The GPS that stops updating is a bug in Ubuntu Phone. Other apps suffer from it too. It helps a little to turn off wifi but I still cant get my hands on it. Please let me know if you only see this behaviour in OSMScout, in that case it must be something else. The payment options are indeed not under my control. I could add a bitcoin address somewhere but i think it is fine like this. Thanks Frans On 06/20/2015 09:29 AM, Ed Kapitein wrote: > Hi Frans, > > Thanks for making this wonderful app! > I bought the support version. > > When using the app, the GPS seems to be switched of after a couple of > seconds. > Switching between SensorStatus GPS and OSMScout makes the position > move again, for a couple of seconds. > Should i file it as a bug? if so, where? > > And perhaps not in your control, but when purchasing the app, i can > only choose paypal as a payment option. Any change that bitcoin will > be added as a payment method in the (near) future? > > Keep up the good work! > > Kind regards, > Ed > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Offline routing application - Publishing problems
Hello Wayne Ward, The apps are in fact the same, so you can delete one of them (paid or unpaid). The SD card is not yet supported, that's a bug in Ubuntu / Store, apps are not yet allowed to access the SD card. You can download maps through the app, but it will use space in your home folder. Please make sure that you have sufficient space available for the map. Well, the map should show indoors, but getting a GPS fix indoors can indeed be difficult. Frans On 06/20/2015 03:46 PM, Wayne Ward wrote: I have the app im not sure which one i need as paid for the support and now have two apps so which one i keep would be handy to know and then id like to know what to the folder i make on the sd card to store the maps please doesnt seem to work when im in doors so do i need to get the app running just when im outside ? Wayne On 19/06/15 20:42, Simeon wrote: Hi Frans and others, I noticed today that the app got released, very nice. Thanks a ton for it. I tried adding my own map files to the sd card but the app didnt pick them up. The github issue is https://github.com/fransschreuder/OSMScout-ubuntu/issues/4 I will try routing tomorrow. Simeon Am 2015-06-02 um 21:18 schrieb Frans Schreuder: Dear Ubuntu-phone mailing list, I have spent a few weeks developing an offline routing / navigation application (LGPL) based on openstreetmaps / libosmscout. I want to publish the app in the Ubuntu App Store, but I am facing a problem: I need read access on a location on the SD card. I will explain why. 1.) The maps take quite some space on the device (Netherlands is 1.3GB, Germany is 4+ GB). At least on the BQ Aquaris this space is not available in the home directory, at least not if you also want to remain with some space available. 2.) The maps have to be converted to a binary format with a tool on the PC. Until I got some server space and time to host some readily converted maps, the user will have to transfer maps manually to the phone. If this would be the app data space, that location is not by default readable if you browse the phone on the PC. 3.) Converting the maps on the phone is not really an option, as the process uses several GB as temp space, and on an i7 pc it can take over 1 hour for a map of a small country. For now there are no good apparmor rules that matches the need of this application, Picture read could be possible, however it needs the maps to be placed in /Pictures/osmscout. That is an ugly solution, but it works. Another solution is to set the app as unconfined, and use the location /Maps/osmscout. However this is not the solution to allow for any app, I think this app really adds value to the Ubuntu phone. Would it be possible to create an app-specific rule that allows (Read, and maybe later Write) access to /Maps/? Or otherwise to allow this app to be published as unconfined? The source code for the app can be found here: https://github.com/fransschreuder/libosmscout The tool to convert maps can be obtained on a desktop: sudo apt-add-repository ppa:fransschreuder1/osmscout-import sudo apt-get update sudo apt-get install osmscoutimportgui0 Thanks for your comments, Regards, Frans Schreuder signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Offline routing with maps on SD-card (was Re: [Ubuntu-phone ][ubuntu-phone] Offline routing application - Publishing problems)
On 06/20/2015 08:23 PM, Robert Schroll wrote: > On Fri, Jun 19, 2015 at 6:19 PM, Frans Schreuder > wrote: >> There is one possible fix, until the reviewers press the freakin' button >> "manual review approved". > > You might also consider submitting the version with expanded apparmor > permissions to the Open App Store [1]. This is designed to be a > source for apps that can't work within, or work better outside of, the > official app store's restrictions. I use it to distribute a version > of Beru that lets users keep their ebooks in any directory they > choose, rather than in the particular hidden app directory. You could > probably do something similar with OSMScout. > > Robert > > [1] https://open.uappexplorer.com/ > So I did! Let's wait for it to appear in the open app store signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] OSMScout && keyfile
On 06/20/2015 07:27 PM, Torsten Sachse wrote: > On Sat, 20 Jun 2015, Matthias Apitz wrote: > >> Does the app OSMScout needs a keyfile for activation? Is the source for >> OSMScout public available for inspection or is that binary only >> application? Haha a key file for an open source application? Just download it from the app store, or compile it from source. There is also a paid version, but it is exactly the same app, just voluntary payment for supporting the hosting of maps (web space is not free, maybe a little for my time as well) > > I can't answer the first question (althugh a "I don't think so" is the > likely > answer), but the source is freely available on github. Indeed, in > order to be > abble to store you maps on the SD-card right now, the only way is to > manually > alter the source and compile and install it yourself due to a missing > feature > in the OS itself. So just search github for OSMScout and you should > find it. It has been requested to come into the Open App Store, but let's see what they do... > > The link to the repo should be > https://github.com/fransschreuder/OSMScout-ubuntu Right! > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Screen lock features
Hello Gareth, The limitations are only true for apps in the app store. As of today OSMScout has also been published in the open appstore (https://open.uappexplorer.com/app/osmscout.fransschreuder) with the following extras: *Allow access to /Maps and $HOME/Documents/Maps *Keeps the screen always on. I still wonder why reviewers of the Ubuntu store can't just review the code and press the manual review accepted button, at least for open source apps like OSMScout, but the open app store is a workaround, at least for people who are willing to type those commands to install the openappstore. Frans On 06/21/2015 10:16 PM, Gareth France wrote: > So we now have a number of apps available which require the ability to > hold the screen in a fully illuminated, unlocked state. Some of them > are killer feature apps which are crucial to acceptance of the OS, at > least one of these has this feature implemented within the code but > cannot do so as Ubuntu does not yet support it. > > I am able to use these apps at present by disabling the auto screen > lock. But because the screen still dims after a few moments they are > effectively unusable during the day. How do we go about adding weight > to the request for this feature? I really feel everyone needs to do so > as one of the major functions I require of a phone is missing, this is > selling us short as we all know this OS has the ability to really > impress. > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] [ubuntu-phone] QStorageInfo::bytesAvailable() returns bytes available from root path if the app is Apparmor restricted
Hello, I would like to show the space available for downloading maps in the OSMScout app. QStorageInfo::bytesAvailable() provides exactly the information that I need, however when the application is confined, it returns the free space on "/" in stead of the folder I specified which is " /home/phablet/.local/share/osmscout.fransschreuder/" Is there a way to get the space available as a normal user? Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] QStorageInfo::bytesAvailable() returns bytes available from root path if the app is Apparmor restricted
Hello, On 06/23/2015 05:08 PM, Alberto Mardegan wrote: Hi, On 23.06.2015 17:20, Frans Schreuder wrote: > I would like to show the space available for downloading maps in > the OSMScout app. QStorageInfo::bytesAvailable() provides exactly > the information that I need, however when the application is > confined, it returns the free space on "/" in stead of the folder I > specified which is " > /home/phablet/.local/share/osmscout.fransschreuder/" > Is there a way to get the space available as a normal user? Just initialize the QStorageInfo object with the path to your app's data: QStorageInfo(QStandardPaths::writableLocation(QStandardPaths::DataLocation)); http://doc.qt.io/qt-5/qstorageinfo.html#QStorageInfo-2 Ciao, Alberto > That's exactly what I did, however it seems to be blocked by AppArmor. When running "unconfined" it works fine with the right path, without it it returns the free space of the "/" partition signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] Dekko 0.5.4: small observations (Spanish menu, ...)
On 06/24/2015 11:18 AM, Matthias Apitz wrote: > El día Wednesday, June 24, 2015 a las 09:59:17AM +0300, Simos Xenitellis > escribió: > >> According to https://translations.launchpad.net/dekko >> I think the translator is Adolfo. >> The translation process is managed by the translation teams. >> Anyone (for example, you) can make directly a "translation suggestion" >> to fix an error. Then, the fixed translation will be included in a >> subsequent release of the program. > Thanks for the hints. > >> There is also a process of finding dekko.mo on your phone, editing it >> and changing it. >> It is a bit advanced, but it can be done nevertheless. > I was looking in the phone with > > $ sudo su > # find / | fgrep -i dekko.mo > > for such a file, with no results. Could you please point me to it. > Thanks > > matthias The files are here: /opt/click.ubuntu.com/dekko.dekkoproject/current/lib/arm-linux-gnueabihf/bin but you have to edit the .ts file, and then convert it to a qm file using lrelease signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] [ubuntu-phone] Determine whether the phone is muted
Hello All, Is there a way (in qml or c++) to see whether the phone was muted? I got a feature request for my app to shut down the app when the phone is muted, but I don't know whether there is a library call for it. Thanks, Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] [ubuntu-phone] Star ratings
Hello, It appears to me that whenever you have given a star rating to a certain app in the store, you are unable to update your rating, even if there is a new version of the app available. Could this be fixed? Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Determine whether the phone is muted
On 06/24/2015 07:31 PM, Frans Schreuder wrote: > Hello All, > > Is there a way (in qml or c++) to see whether the phone was muted? > I got a feature request for my app to shut down the app when the phone > is muted, but I don't know whether there is a library call for it. > > Thanks, > > Frans > Anyone? This page was edited in 2013: https://wiki.ubuntu.com/SilentMode Has nothing happened ever since, or do we just need documentation? signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Determine whether the phone is muted
DBus won't be very convenient, as it requires an "unconfined" application, as everything on the Ubuntu phone does except for showing a "hello world" text on your screen. On 06/25/2015 12:31 PM, Brendan Donegan wrote: > I'm not sure it's the best way but using Pulseaudio's DBus interface > might work. There seems to be a MuteUpdated signal that is sent out > when a device is > muted: > http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/DBus/Device/ > > On Thu, Jun 25, 2015 at 9:45 AM, Jonas Drange > mailto:jonas.dra...@canonical.com>> wrote: > > I don't know about system wide muting—but I suspect the app to not > have access to this information. Either way, wouldn't this [1] be > a natural place to start looking for information? Maybe one of the > examples can help you. > > [1] https://developer.ubuntu.com/api/apps/qml/sdk-14.10/QtMultimedia/ > QtMultimedia.Audio has a property called "muted" but it doesn't seem to be controlled by the system wide "mute" control. > > > Jonas > > On 25 June 2015 at 09:34, Frans Schreuder > mailto:fransschreu...@gmail.com>> wrote: > > On 06/24/2015 07:31 PM, Frans Schreuder wrote: > > Hello All, > > > > Is there a way (in qml or c++) to see whether the phone was > muted? > > I got a feature request for my app to shut down the app when > the phone > > is muted, but I don't know whether there is a library call > for it. > > > > Thanks, > > > > Frans > > > Anyone? > This page was edited in 2013: > https://wiki.ubuntu.com/SilentMode > Has nothing happened ever since, or do we just need documentation? > > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > <https://launchpad.net/%7Eubuntu-phone> > Post to : ubuntu-phone@lists.launchpad.net > <mailto:ubuntu-phone@lists.launchpad.net> > Unsubscribe : https://launchpad.net/~ubuntu-phone > <https://launchpad.net/%7Eubuntu-phone> > More help : https://help.launchpad.net/ListHelp > > > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > <https://launchpad.net/%7Eubuntu-phone> > Post to : ubuntu-phone@lists.launchpad.net > <mailto:ubuntu-phone@lists.launchpad.net> > Unsubscribe : https://launchpad.net/~ubuntu-phone > <https://launchpad.net/%7Eubuntu-phone> > More help : https://help.launchpad.net/ListHelp > > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Determine whether the phone is muted
No, it always shows false. I can set it manually (from QML and for my app only) to true, and the Audio will mute, but the system wide setting doesn't control this property. On 06/25/2015 02:19 PM, sturmflut wrote: > Hey all, > > > On 25.06.2015 14:11, Frans Schreuder wrote: > >> QtMultimedia.Audio has a property called "muted" but it doesn't >> seem to be controlled by the system wide "mute" control. > > The documentation for this property indicates that it fits your use > case exactly. If it doesn't work, then that sounds like another bug. > > > cheers, > Simon signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-phone] [ubuntu-phone] Determine whether the phone is muted
Hello Jim, I just filed a bug. https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1468793 Frans On 06/25/2015 04:57 PM, Jim Hodapp wrote: > It's currently not connected to anything for the platform, although it > wouldn't be too difficult to export this via media-hub up to > qtubuntu-media (which is the layer that implements the Ubuntu-specific > parts for QtMultimedia. Would you mind filing a bug against > qtubuntu-media (Ubuntu) for this? > > On Thu, Jun 25, 2015 at 8:30 AM, Frans Schreuder > mailto:fransschreu...@gmail.com>> wrote: > > No, it always shows false. I can set it manually (from QML and for my > app only) to true, and the Audio will mute, but the system wide > setting > doesn't control this property. > On 06/25/2015 02:19 PM, sturmflut wrote: > > Hey all, > > > > > > On 25.06.2015 14 :11, Frans Schreuder wrote: > > > >> QtMultimedia.Audio has a property called "muted" but it doesn't > >> seem to be controlled by the system wide "mute" control. > > > > The documentation for this property indicates that it fits your use > > case exactly. If it doesn't work, then that sounds like another bug. > > > > > > cheers, > > Simon > > > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > <https://launchpad.net/%7Eubuntu-phone> > Post to : ubuntu-phone@lists.launchpad.net > <mailto:ubuntu-phone@lists.launchpad.net> > Unsubscribe : https://launchpad.net/~ubuntu-phone > <https://launchpad.net/%7Eubuntu-phone> > More help : https://help.launchpad.net/ListHelp > > signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
[Ubuntu-phone] Help wanted for OSMScout
Hello, I have spent quite some time developing the OSMScout app for Ubuntu Phone. I don't want to provide this app free of charge, but my time is also limited. Is there anyone out there with some c++ / qml skills who would like to offer a hand to improve this app? Thanks, Frans signature.asc Description: OpenPGP digital signature -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp