Tag Info

New answers tagged

0

You might also need to call view.showFullScreen(); Not sure what other languages you are using, but usually this needs to be called. You can also switch the other view to "Windowed" while the window that is suppose to be full screen should have visibility: "FullScreen"


0

As I understand it, you can only import objects, not bare functions, into QML from C++. Thus, you need to make your open_terminal function into a method of terminal_launcher, add a terminal_launcher object to your QML file, and then call its open_terminal method at the appropriate place. An adaptation of your code follows. Note that I've renamed ...


0

As dobey said, there's no way to get the IMEI in confined apps, so I gave up on trying to get an ID based on the device itself. Instead, I just generate a UUID and store it in U1DB. // uuid.js .pragma library function generateUUID(){ var d = new Date().getTime(); var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { ...


0

QML3D is no longer developed and therefore not supported by Ubuntu Touch.


1

This does work. It is how ubuntu-system-settings is getting the IMEI. Rather, your issue may be that console.log() is not going to whatever console output you're expecting to see it at, or the system you are running it on, has no IMEI available (which requires a GSM modem). There is also a serial number shown in the About page of system settings, but it is ...


0

The solution I came up with was to keep my secret in a special file. To my public repository, I committed only a placeholder, but I have the actual secret on my machine. In the build process, I read the secrets into build variables. These in turn are referenced in the relevant locations in my configuration files. I don't know that this is the best ...



Top 50 recent answers are included