• QtWebEngine location access

    5
    1 Votes
    5 Posts
    599 Views
    G

    @dobey you were correct, the location call was just being ignored. Adding the necessary lines enabled access for the webapp. Thanks for the direction.

    I copied this from the Morph browser code:

    onFeaturePermissionRequested: { switch(feature) { case WebEngineView.Geolocation: grantFeaturePermission(securityOrigin, feature, true); break; } }

    there is of course cases for other feature requests in the code I copied, and this just grants permission passing responsibility for approving the call to the OS. This does work around the issue where Morph asks permission each and everytime location is called, without the trouble of approving different sites as there is only one.

  • Dekko2 Developer Community Thread

    132
    8 Votes
    132 Posts
    68k Views
    D

    Accuracy : Of course, the thanks go to all those who make DEKKO 2 better (whether or not i know that they are working on this or that improvement) but this time more specifically to those who have set up the Suru Dark support !! because it's cool ! 😌

  • Qml tests using TestCase

    14
    1 Votes
    14 Posts
    1k Views
    dobeyD

    @Krille said in Qml tests using TestCase:

    Btw I have found that this is propably the same reason why the UI tests (at least) in the messages app are still disabled: https://github.com/ubports/messaging-app/blob/xenial/tests/qml/CMakeLists.txt#L18

    The tests aren't disabled. If xvfb is installed and tests are run, then these tests which depend on xvfb should be run too. If however, you are using crossbuilder then the tests will not be run, because tests do not get run during the build then, as you cannot run arm binaries native on x86.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Hello World, Hello SDL

    3
  • uMPD

    2
    7 Votes
    2 Posts
    438 Views
    BastosB

    Great. Thanks!

  • Most wanted!

    7
    0 Votes
    7 Posts
    2k Views
    ?

    @halucigenia said in Most wanted!:

    Stellarium is now available.

    😃 I know! Great isn't it!?!?! I downloaded it the moment I heard it from @UniSuperBox.

    Edit:
    Jotit is very much like Get-notes and it's fantastic to be able to use it on the laptop and the phone too.

    I've given up on Tox... Matrix seems to be good, and there's a hive of development going on there. I really like Fluffychat.

    There was some talk about a system-wide Tor network button... I think that would be a fantastic thing. I guess it's a fairly low-priority though.

    And I still hope for an easy-to-use database app - the equivalent of Tap Forms on iOS.

  • Open eCard reading ID-Card for OPO

    2
    0 Votes
    2 Posts
    151 Views
    dobeyD

    How does it work exactly? I tried to discover some technical details about what is required for it to work, on the Open eCard site, but it seems to be full of broken links, and some bits only in German, with no clear link to the specifications.

  • Core Apps Update #4

    10
    8 Votes
    10 Posts
    1k Views
    lduboeufL

    @bhdouglass great work!, thanks for all

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Ability to toggle airplane / flight mode within an app

    7
    0 Votes
    7 Posts
    674 Views
    AppLeeA

    @dobey Thanks Dobey, now I understand why I cannot do it.

    I published a first release of my app without this feature and after giving it more thoughts I'm not sure it would have been useful.
    I appreciate the answer!

  • PyQt5?

    1
    0 Votes
    1 Posts
    221 Views
    No one has replied
  • Development of Bluetooth-enabled Ubuntu Touch App

    4
    0 Votes
    4 Posts
    514 Views
    N

    @advocatux Thanks. Yes, I was aware I have to add the "bluetooth" policy group to the .apparmor-file:

    { "policy_groups": ["bluetooth"], "policy_version": 16.04 }

    However, I probably got confused: It seems that the AppArmor-configuration only gets adopted when the version number in manifest.json is increased (I don't know if this bug report is related).

    Anyway, with this .apparmor-file and after increasing the version in manifest.json, the error ("Cannot find a running Bluez") is gone.

    @Flohack
    I this case, adding

    "template": "unconfined"

    to the .apparmor-file did not seem to be necessary to get Bluetooth-access. Thanks for the hint about running apps as unconfined anyway.

  • Image library for Python

    1
    0 Votes
    1 Posts
    205 Views
    No one has replied
  • uText [ Help / Devel ]

    23
    1 Votes
    23 Posts
    5k Views
    D

    @BlueKenny Sorry for the late reply : too busy.

    @BlueKenny said in uText [ Help / Devel ]:

    if you click on 'Save' so you can open as many file you want without modify it

    Ok if you think it's not too much useful

    @BlueKenny said in uText [ Help / Devel ]:

    swipe from this border

    Ok it missed the morning coffee for me ! I couldn't do it this morning even if i saw your explanation 🙂

    @BlueKenny said in uText [ Help / Devel ]:

    no possibility to go back to the first page

    Ok..

    To your last point, for my part, i don't like to much work with several files open at the same time. It's only my opinion. If you do it we must have the possibility to save a file or to exit a file when you want.

    But your app can be very scalable : maybe will open (so as to work on them) various file formats in the future... ?

  • System accounts

    2
    0 Votes
    2 Posts
    304 Views
    dobeyD

    You want to use already existing accounts in your app? Or you want to provide a new account type in your app's package, which other apps could use?

  • SDK documentation

    9
    0 Votes
    9 Posts
    1k Views
    AlainW94A

    Thanks @dobey once again. I have nothing to modify in it, just trying to save time by copying a portion of existing code to create a new ListView for the VVM messages in the dialer-app, I copy the ListView from the call history and I was looking for the structure of the model.

    I added a button (that will be showed only if the service is activated) on the dialer page :
    screenshot20190330_000034438.png

    That will display a new page :

    screenshot20190330_000021658.png

    I would like to display a play line when we touch the item (like the iphone style).

  • Porting Rust UI Toolkit OrbTk to Ubuntu Touch

    8
    3 Votes
    8 Posts
    1k Views
    F

    Unfortunately not on UT now. It's gonna take some time. The priority of the last weeks was the API. Next steps would be Web support, new widgets, refactoring and more examples.

    As soon as there's something to announce, I'll let you know.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • How to locally push a system notification ?

    10
    0 Votes
    10 Posts
    706 Views
    AlainW94A

    @dobey Hi, at the beginning i was thinking about coding everything into ofono then push notification to the dialer-app. In the mean time, as we have to handle imaps I though that it was better to do it in a separate process, just in case that the app crash because of a connection lost. That's why I was thinking about pushing notifications from this other process to the dialer app. I was not aware about telephony-service (or it come out of my mind while thinking about the project). Actually I modified ofono for pushing VVMMessage signal over dbus to my process, the I handle the imap and a separate sqlite database that store the list of messages and the imap configuration, I'm able to download the messages locally. I have to modify the dialer-app, it will have to read the DB and to require the message download or deletion over DBUS through my process. I think this way is less intrusive for the overall telephony apps. As far as I can read over the net, it seem that they did the same way on Android.

    https://source.android.com/devices/tech/config/voicemail

    What do you think about that ?

    A last but important point, my secure imap connection is made by using curl, I'm a little scared because I don't see the libcurl natively on the file system, I hope that we could add it ! otherwise, I will have to use an other library.