3
votes
0answers
24 views

How to create an Ubuntu Touch app with a C++ backend and a QML interface [on hold]

I'm looking forward to the release of Ubuntu Touch and thought it would be nice to contribute a small and free app that I'm also using now on my Android phone. The free and open source app for ...
1
vote
1answer
54 views

Execute Javascript Code in Oxide

I'm Looking for an oxide equivalence to this QtWebKit Function: WebView.experimental.evaluateJavaScript() Or WebKitGtk WebView.execute_script() I'm having problems to find documentation about ...
1
vote
0answers
26 views

Use Pictures for an Image object in QML for Ubuntu Touch

I'm trying to use an image file from the main Pictures directory (/home/phablet/Pictures) for an AnimatedIMage/Image object however it says error reading file. I've tried two paths already but neither ...
0
votes
1answer
51 views

Problem with QtWebkit and QML in PyQt5 App Ubuntu for Devices (Ubuntu Touch)

I'm having problems with qtwebkit in ubuntu for devices (Nexus 10) when using pyqt5, the webview element doesn't show, and the application closes. But if I test the same .qml file with qmlscene it ...
0
votes
1answer
46 views

App for Ubuntu Touch [duplicate]

I've implemented an application for Ubuntu Touch, using QML. How can I create a "package"(something like APK in Android) for the app?
1
vote
1answer
56 views

emit signal with custom type objects array parameter from c++ and receive in qml

I would like to emit a signal from a Qt C++ class which includes a parameter that is an array of custom objects (inherited from QObject) and receive the parameter in its qml slot, but i'm afraid it is ...
0
votes
1answer
25 views

Login on a Webpage via QML-App

I am trying to write an App for Ubuntu Touch on a Nexus 4 using QML and the Ubuntu SDK. The App should do what I usually do via Internetbrowser: Login on a Webpage, and then see the data on the next ...
2
votes
1answer
63 views

How to translate ListElement property with Ubuntu SDK

I have my fist Ubuntu Touch QML app running, and I am willing to translate it. Whenever I use a UI string in the qml files, I was careful to use i18n.tr("my text"). So now I need to generate the pot, ...
4
votes
1answer
50 views

How can I change the color of Ubuntu Touch ToolBar?

Here is my situation: Does anyone know how to change colour of the bottom toolbar?
3
votes
1answer
79 views

Ubuntu SDK QML how to change the background color of TextField

I have a situation where the background color of my QML app MainView causes the textfield entry to have grey lettering on equally dark brown background. This makes it almost impossible to read what ...
0
votes
0answers
47 views

Binding loop error when changing mainView background colors [on hold]

The background color change works but the errors below shows and sometimes it lags when triggering the change. This is my code: onActiveChanged: { if (pageGastos.active === true) { ...
0
votes
1answer
43 views

HUD and menu integration for Ubuntu Touch apps

Is there a way to move the Tabs into a menu, or the toolbar options into a menu? It would be nice enough to have the toolbar options display in the menu when on the desktop.. Is there any work to add ...
0
votes
1answer
28 views

QML: QChar Booleans are undefined

function myFunction(x) { console.log(x.isLetter) } myFunction("s") When I run this in a .qml file, it tells me that "isLetter" is undefined. Why? ...
0
votes
2answers
41 views

QML: How do you toggle boolean?

In QML, how do you toggle boolean non explicitly? For example: Whenever a button is pressed, a boolean property will simply switch to its other value. If false, it will be come true. If true, it ...
1
vote
1answer
27 views

QML: How to display a “<” character in a richTextBox?

The code in question: description.insert(0,"<tr><td><H1> ---Less-Than-Sign-Here--- </H1></td><td><font face='Ubuntu'size='3'color='#f37420'> ...
2
votes
1answer
23 views

QML: What is the difference between Row and TemplateRow?

TemplateRow is just an example out of several. There is also TemplateSection and I assume TemplateColumn as well as many others. When should I be using Row{} vs TemplateRow{}?
2
votes
2answers
66 views

QML: What does i18n.tr(“blah blah blah”) mean?

Specifically, what is i18n.tr short for?
0
votes
0answers
25 views

Imports for executing system commands? [duplicate]

QML at the moment lacks the ability to execute basic system commands. What libraries or functions can be imported to add this functionality to a .qml file?
1
vote
1answer
96 views

In QML, is there a Conditional Layout that corresponds to the phones orientation?

So instead of guessing it with something like this: ConditionalLayout { name: "column" when: layouts.width > units.gu(50) Column {... It would be something like this: ...
4
votes
1answer
98 views

What does .gu stand for?

What does .gu stand for? For example: ConditionalLayout { name: "row" when: layouts.width > units.gu(50) //right here Row { anchors.fill: parent etc....
3
votes
2answers
402 views

QML: Simplest way to write to a text file?

QML at the moment lacks basic system commands, so I am looking for the most simple template to write to /tmp/text.txt.
2
votes
1answer
60 views

Ubuntu Touch how to detect If the application is closed

on ubuntu touch. I run an application in terminal and close the application in the Application scope. The application isn't killed. And no event is caught in QQuickView. How do I detect this close ...
2
votes
0answers
40 views

Publish a QML/C++ application as a click package

I've written an application which I would like to publish as click package. All the guides and prepared projects mention plain QML applications only. My application furthermore depends on a shared ...
1
vote
0answers
36 views

Cannot import directory path to qmlscene

I am trying to import directory in QML as explained, here: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-syntax-directoryimports.html. I have the following ubuntu-app | - extras1 | - extras2 | - ...
2
votes
1answer
68 views

How to recieve call to custom URL handler in Ubuntu Touch QML

I have a QML application that needs to react to a custom URL handler call, like "myapp://something". I know I need to register the URL handler in my *.desktop file as: ...
3
votes
1answer
276 views

Embedding C++ Objects into QML with Context Properties

According to Qt5 documentation: exposing methods including qt slots all public slots of C++ classes that inherit from QObject, are accessible from QML Here what I did: C++ class MyClass : public ...
3
votes
1answer
74 views

Install newly developed app on Ubuntu Touch device

Host OS: Ubuntu 12.04.4 LTS Ubuntu Touch Device: Nexus4 Running Ubuntu 13.10 My dev environment is QtCreator with the ubuntu-sdk plugin I'm trying to deploy the QML / C++ sample app (the one ...
1
vote
0answers
39 views

Develop apps for Ubuntu touch: Learning by doing [duplicate]

I really want to develop apps for Ubuntu touch. I have set up the Ubunut sdk and i am currently reading tutorials about qml but one will not learn programming by reading books or tutorials so i am ...
2
votes
1answer
142 views

How do I add a qrc file to my Ubuntu Touch qml project?

My UT QML project makes use of a set of images, and I was planning use them via "qrc:///pathtoimages/myimage.png" style of url. In Ubuntu SDK, I can "add new... Qt / Qt Resource File". The file is ...
1
vote
1answer
61 views

U1DB problems with apparmor

I'm having problem with u1db and apparmor. The application works fine, but when it is packaged apparmor does not allow the app to save data into $HOME/.local/share/.. so I can't actually save my ...
1
vote
0answers
56 views

Is signal handling in QtQuick asynchronous? [closed]

I have the following QML document: Item { id: item MouseArea { onClicked: { /* emit signal */ item.someSignal(); } } ... } When I click the item, ...
2
votes
0answers
162 views

Puzzle Game QML GridView Animation Problems

I've been working on a puzzle game for Ubuntu Touch and I'm facing some issues with animations. The problem seems to occurs when GridView animations (add, move, remove...) play too fast. Something ...
3
votes
0answers
431 views

TypeError: Cannot call method 'hasOwnProperty' of null, while creating a QMLscene window

I am trying to make a simple Ubuntu Touch web application with Qt Creator. I have set up a new project according to the tutorial and committed the files to Bazaar. I have set a url instead of the ...
0
votes
1answer
126 views

Cannot run Ubuntu (touch) Facebook App [closed]

as said in the title, I'm not able to run and try Facebook App, such as it happens in the reported (not by me) bug #1226770 https://bugs.launchpad.net/ubuntu-facebook-app/+bug/1226770 The ...
1
vote
2answers
202 views

Where are Tutorials and is it QML or QT

Hi there my question is that where can i find any good QML tutorials for Ubuntu phone app developing (I've seen the developer.ubuntu.com site but still thats not enough) and witch of the 2 languages ...
3
votes
1answer
74 views

Is there an 'offical' way to store data in uTouch-Apps?

through qml there are several ways to store data. Is there any 'offical' way to store data in Ubuntu-Touch?
1
vote
1answer
40 views

Can you set more than one property when pushing a Pagestack?

I am writing an app for uTouch and I want to deliver more than one property. The code for one property: pageStack.push(folgen,{serie: "himym"}) Is it possible to deliver more than one property?
1
vote
1answer
404 views

Extend existing QML Component from C++ plugin

First of all, I would like to say that I'm not very experienced in Qt, but I would like to include a new feature in existing QML WebView component to set a list of header values, included User Agent ...
3
votes
2answers
2k views

How to use a SQLite database from QML? [duplicate]

I have not been able to find a working example in QT creator or gallery to use SQLite offline storage API for an Ubuntu touch application.
2
votes
2answers
215 views

How To Use i18n.tr in Ubuntu Touch Projects

I have been using i18n.tr for a while in my Ubuntu-Touch projects. I know what this function is about but I don't know how to add a translation to my project. Where do I have to place my translation ...
0
votes
0answers
36 views

How to get audio input from Ubuntu touch device?

How can I get the audio input in a simple touch ui app in ubuntu touch? Thanks in advance, Boaz
3
votes
0answers
183 views

How to access geolocation information on Ubuntu Touch?

It's strangely hard to find any documentation on accessing geolocation information for Ubuntu Touch specifically and even Qt5 more generally. The Qt Mobility APIs provided this in Qt4, and they seem ...
0
votes
0answers
177 views

Access microphone/record sound from QML?

I'm afraid that the answer is to write a plugin in C++, but I'm wondering if there is a way to access the microphone from QML. There is a way to take pictures, record video, and play media all using ...
0
votes
1answer
266 views

can use c++ write custom qml plugins in ubuntu sdk [closed]

Recently, I want to develop a app for ubuntu showdown, but I want to use some plugins use c++. So I want to write custom plugins, then I create a project with qml extension library. However, when I ...
3
votes
0answers
192 views

QML app icon not effective when called from app.setWindowIcon()

I've a Qt5/QML hybrid app built with Ubuntu Touch SDK. I'm trying to set the app icon for it, but without success. Code looks like this: int main(int argc, char *argv[]) { QApplication app(argc, ...
9
votes
2answers
339 views

Can a single Ubuntu SDK target touch and desktop with separate layouts?

I know that touch apps will run on the desktop with the same UI, but I was wondering if it will be possible for a single Ubuntu SDK app to have a multi-window UI with desktop style UI elements when ...
1
vote
1answer
146 views

Change the language of an Ubuntu Touch app

In my Ubuntu Touch app I need to be able to change the language of the app without rebooting the app or the device. Is there a way to do it?
5
votes
3answers
199 views

Sockets in Ubuntu Touch Apps

I am creating an IRC client for the Ubuntu App Showdown. I need a way to be able to access an IRC server in QML (or JavaScript). What is the best way to accomplish this?
2
votes
1answer
55 views

How to check battery status with the Ubuntu SDK?

I am developing an app and I need to monitor the battery status, with the SDK how do I obtain the devices (phone) battery status? can this be done with javascript?
1
vote
1answer
141 views

Bad color of backgroundColor in a MainView when fixed to “#F1E1A3”

I have a strange problem. When I fix the backgroundColor in a MainView to "#F1E1A3" it doesn't show me the good color since when I draw a rectangle in the page with the same color, I see a difference ...