×

Discussion Board

Search:

Type: Posts; User: ajalkane; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,069

    Re: Detecting Bluetooth pairing

    I have solved the issue... and actually I wasn't interested in pairing as it turns out, but the connected value. I can now manage to get it using D-Bus. But thanks.
  2. Replies
    2
    Views
    1,069

    Detecting Bluetooth pairing

    Hi,

    I need to detect when a Bluetooth device is paired with N9. But I have not had any success with it. I'm sure I'm doing something wrong, but I have trouble finding the error.

    First I thought...
  3. Replies
    5
    Views
    1,849

    Re: qml textField as numeric

    I got it working like this:

    TextField {
    inputMethodHints: Qt.ImhDigitsOnly
    inputMask: "000"
    }

    That allows entering three digits and no alphabets. Its not perfect but best that I could...
  4. Replies
    2
    Views
    840

    Re: Run script on shut down

    pre-stop might work as a hack. It can be used for example like this:

    pre-stop exec /opt/myapp/bin/mysmallhackscript.sh
    exec /opt/myapp/bin/myapp

    Of course it's a hacky way to do it, and I...
  5. Replies
    5
    Views
    2,034

    Re: QML tokenizer or split

    Use JavaScript's string split. Example:

    var testString ="this is a normal string"
    var words = testString.split(" ")

    words is an array with each element being an individual word.
  6. Replies
    16
    Views
    2,784

    Re: Setting "Flight mode" on Harmattan

    Unfortunately aegis is smart enough to block also dbus calls. So no, it won't work.
  7. Replies
    16
    Views
    2,784

    Re: Setting "Flight mode" on Harmattan

    Thanks for following up on this. And I also agree with mikko's point. It can be a huge time saver to at least know something can not be done.
  8. Replies
    16
    Views
    2,784

    Re: Setting "Flight mode" on Harmattan

    Not the best possible course of action, IMO, as those methods could still be useful with Open Mode kernel.
  9. Replies
    16
    Views
    2,784

    Re: Setting "Flight mode" on Harmattan

    Thanks,

    but I do know the system calls. The issue is that setting device mode requires credential mce::DeviceModeControl, and if I try to request that credential in Aegis file, I get an error...
  10. Replies
    3
    Views
    787

    Re: Problem building deb package.

    In that case set-up the QEMU emulator as given here:
    ...
  11. Replies
    16
    Views
    2,784

    Setting "Flight mode" on Harmattan

    Hi,

    how can I set Flight Mode on Harmattan? There is a function that can do that:

    bool MeeGo::QmDeviceMode::setMode ( DeviceMode mode )
    ...
  12. Replies
    3
    Views
    787

    Re: Problem building deb package.

    You can "Run" it even without device. It builds the deb, but of course fails to deploy it to the device. But the dep is left behind for you to use.
Results 1 to 12 of 12
×