Active Topics

 


Reply
Thread Tools
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#11
Originally Posted by coderus View Post
Much more info now.
Inside lipstick you cant use openUrlExternally
Thanks man, you are a star!, it was starting to give me a headache, but!.......here it comes, the 'but'; .......you say you can't use 'openUrlExternally inside lipstick, but clearly there are exceptions and I am now guessing that it has something to do with certain applications being registered in the system, as openUrlExternally does work with 'mailto:' as shown in my first post.

Now, how to open the alarm dialog directly! (I have managed to do this, but when the alarm dialog opens, all labels, headers, titles, etc, display as per their qsTrId's). I will try and work it out myself, as I enjoy the journey/discovery along the way, but I'm always open to tips/suggestions!

Thanks again coderus, much appreciated!
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#12
what is alarm dialog? new alarm?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#13
Originally Posted by coderus View Post
what is alarm dialog? new alarm?
Yes, it's the alarm ui page.
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#14
Code:
import org.nemomobile.dbus 2.0
//
DBusInterface {
    id: jollaClock
    service: "com.jolla.clock"
    path: "/"
    iface: "com.jolla.clock"
    function newAlarm() {
        call("newAlarm", [])
    }
}
// mousearea onClicked:
    jollaClock.newAlarm()
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#15
ты мужчина!!

hahahaha, thanks man, nicely done, again!, I was already looking at implementing dbus but wasn't totally sure how to do it, now I know.

Kudos!

EDIT: inserted the dbus code and bang!, it worked first time!, thanks again dude.

I'm very envious of your skills man, very envious!
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..

Last edited by Markkyboy; 2016-09-30 at 16:19.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:19.