2
votes
0answers
14 views

Is there a Bool or Flag you can use in QML to determine whether a phone is running the application?

For example: Text { text: isPhone ? "this application is running on a phone" : "this application is not running on a phone" }
0
votes
0answers
19 views

Incorrect display of Ubuntu Emulator (SDK)

I've installed ubuntu-sdk and created i386 instance of Ubuntu Touch image (ubuntu-emulator create myname --arch=i386). After I run it by ubuntu-emulator run myname and everytime I get the following: ...
1
vote
0answers
32 views

Ubuntu touch. adb devices is not recognizing nexus 4

I am using ubuntu touch in my mobile nexus 4. adb was working perfectly and also adb helped to test some of apps I have created in my mobile. Now I am finding that adb is not working at all (ex: adb ...
0
votes
1answer
17 views

How to change the font style of a ListItem?

In my Ubuntu Touch application, I have a list of items and I would like to highlight some of them by making the text appear in bold (think of unread messages in a mail client). Looking at the ...
1
vote
1answer
56 views

How to create charts in QML?

I'd like to add to my application a page with not only raw figures but also eye friendly charts to display data. Is there a native component or a third-party plugin I could use to create such ...
0
votes
0answers
13 views

How to contain the webapp to the correct website (ie UrlPatterns)

I'm making a few webapps but I can't contain the app in the correct website. The exec line is the following one : Exec=webapp-container --store-session-cookies \ ...
3
votes
1answer
223 views

What in the world is wrong with my Ubuntu Touch app?

I'm working on an Ubuntu Touch app that works flawlessly with qmlscene. However, when I attempt to run it on an actual device, I get a bunch of dots all over the portion of the screen dedicated to the ...
1
vote
1answer
30 views

In Ubuntu SDK, I can't test apps on my Nexus phone (Server Rejected Key)

I just made my first webapp for Ubuntu Touch with the Ubuntu SDK. If I test using deploy locally, it works fine. If I test on my device, it returns me : "-1: error: Could not connect to host: Server ...
3
votes
1answer
73 views

How to detect if GPS sources are enabled using QtPositioning in Ubuntu Touch?

I am using PositionSource to get the latitude and longitude of the user's location from the GPS data provided by Ubuntu Touch. However I need to detect if GPS has been enabled by the user. On reading ...
1
vote
0answers
24 views

Installation of Meanings failed on Nexus 4

I'm doing a simple test with the tutorial app 'Meanings'. It's running fine in the emulator but fails if I try to install the 'click' package on the physical device. Executing: ...
9
votes
0answers
168 views

How to lock ubuntu device orientation in portrait or landscape from user input?

I am working on a reader app to be used on Ubuntu-Touch. When reading books from the app it would be a helpful feature to lock the orientation in either portrait or landscape. This would be useful ...
0
votes
0answers
46 views

Why I can't open qml file?

I try to develop a very simple application in QML for ubuntu-touch ! On desktop, when I press the button "add debpt" it's open a form : When I lunch it into a emulator, I have nothing : This is ...
1
vote
1answer
43 views

Why my application crash on ubuntu-touch?

I want to try to create un application for ubuntu-touch with QML ! I was created a simple application : import QtQuick 2.0 import QtQuick.Controls 1.1 import Ubuntu.Components 0.1 import ...
2
votes
1answer
33 views

Why does the Ubuntu SDK tell me, “do not use comma expression”, and what should I use instead?

So for example: onCurrentlyExpandedChanged: flickable.DragOverBounds, flickable.contentHeight += itemHeight,console.log(itemHeight) The commas will have a yellow underline, and the tooltip will ...
1
vote
1answer
112 views

Why am I getting the error “Cannot assign to non-existent property ”head"?

I'm actually on Trusty, and I want to try new "head" property which comes with API 14.10 of Ubuntu SDK. When I launch qmlscene to test my applicaton, I get this error : Cannot assign to ...
0
votes
2answers
60 views

Developing NodeJS for Ubuntu Touch:

I'm new here and interested in developing apps for Ubuntu Touch. Already got the developer version running on a tablet model P3110. What I'd like to know is if it's compatible with NodeJS or if it's ...
3
votes
1answer
96 views

Why can't I use the 14.10 development apis?

So I am developing an Ubuntu Touch app and I am running the devel (utopic) channel on my phone, but 14.04 on my PC. I've changed the manifest to use the 14.10 framework, but when I run it on my phone ...
-1
votes
1answer
24 views

How do I uninstall a click package? [duplicate]

As a developer, how do I uninstall a click package for Ubuntu Touch / Ubuntu Phone?
3
votes
0answers
114 views

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

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
96 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 ...
7
votes
2answers
214 views

Can I run bash commands from an Ubuntu HTML5 App?

I want to convert some bash scripts into GUI apps using the Ubuntu SDK to create an HTML5 app. Is this possible? Are there any tutorials besides the 'Meanings' one that demonstrate this?
1
vote
1answer
115 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 ...
2
votes
2answers
409 views

QML Qt 5.2 problem with mp4 video

I have qt 5.2(ubuntu sdk) installed on Ubuntu 14.04 When I try to run QML code: MediaPlayer { id: mediaPlayer source: "../path/test.mp4" autoPlay: true } VideoOutput { id: video ...
1
vote
1answer
39 views

What requirements should my App meet in order to be accepted into Ubuntu App Store?

This question attempts to identify the constraints an Ubuntu (Touch) App should consider, in order to be accepted by the App Store. Should it be stable not beta? Should it not allow users to ...
4
votes
1answer
145 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
1answer
59 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
33 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? ...
1
vote
1answer
34 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'> ...
1
vote
1answer
47 views

How to use QAudioOutput in Ubuntu Touch

When I run QAudioOutput on Ubuntu Touch in confinement, It reports permission error. Basically it is trying to create a directory in /run/user/*/pulse which is rejected by the confinement. How to ...
0
votes
0answers
26 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
143 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
115 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....
4
votes
2answers
878 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
95 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 ...
0
votes
0answers
81 views

Ubuntu touch HTML5 app tab navigation not working

I am new in ubuntu touch app development, I am using HTML5 instead of QML. below is my code. <div data-role="mainview"> <header data-role="header"> <ul data-role="tabs"> ...
1
vote
0answers
51 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 | - ...
1
vote
1answer
29 views

what cd burn lib for app development libburn

Hi I am developing a GTK front end for playing audio files, encoding them then burning audio cd's. I have playing and encoding implemented but have run into a wall with burning. I would rather not ...
1
vote
1answer
47 views

does ubuntu-sdk all programming language supports all mobile devices?

ive installed ubuntu-sdk , and the main goal for this installation is to develop mobile apps, for all devices iphone/galaxy...etc saw the project programming language select, html5....python. can i ...
1
vote
1answer
58 views

How do you launch system applications from within a Ubuntu Touch app?

Android had a concept of Intents by which you can launch the system apps using your own apps. Does Ubuntu touch have any options like that? If so how can one do it?
0
votes
0answers
43 views

What to do after writing source code of ubuntu touch app?

I have completed the writing of source code for an ubuntu touch app. I created the click package also and installed it. But when I launch it the following error pops up: Failed to execute command ...
0
votes
1answer
66 views

Ubuntu Touch date picker HTML5

I'm working on an app for ubuntu touch in html5 but Im wondering what components I should use for a date or time picker. I've asked it a couple of times on IRC but never got an answer greetz ...
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 ...
0
votes
0answers
15 views

Using Ubuntu Compoments on other systems

I'm working on an music player for touch screens. I would really love to have it looking and working natively on Ubuntu Touch. At the same time I don't want to break compatibility with other systems. ...
2
votes
2answers
149 views

How to Create Ubuntu Desktop html5 Web Apps

How to Create Ubuntu Desktop html5 Web Apps please help me!!!!
0
votes
0answers
36 views

MB860 Upgrade to Ubuntu

I saw on your video that you are using Motorola MB860 phone as a desktop computer. Can I install Ubuntu to this type of phone for myself? I would create a kit with this phone and a dock with your OS ...
2
votes
3answers
90 views

What is the best way to start developing ubuntu touch apps? [closed]

I'm a starting programmer and I can write c++ programs (nothing more or less). I want to get started with writing Ubuntu touch apps, but I have no idea were to start. Should I just jump into it, or ...
1
vote
3answers
55 views

Can I find my car with my portable device?

Is there any software on Ubuntu which allows me to find my car with my tablet or cell phone which is running Ubuntu Touch? When I lost my car, I would like to use Ubuntu Touch on my portable device to ...
1
vote
1answer
46 views

Ubuntu phone development, where to start? [closed]

I'm a long time Ubuntu desktop user, but new to the development world. I'd like to start getting myself familiar with Ubuntu Touch and learn how to develop apps for it, however I'm a little bit lost ...
1
vote
1answer
108 views

Can't install the Ubuntu SDK due to broken qtcreator-plugin-ubuntu dependency [duplicate]

I tried to install the Ubuntu SDK on my Ubuntu 13.10 Virtual machine(VMwarePlayer) by typing sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get ...
0
votes
0answers
136 views

installing ubuntu sdk error

I was trying to install ubuntu SDK. at first I tried: sudo add-apt-repository ppa:ubuntu-sdk-team/ppa sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install ubuntu-sdk and it says: The ...