Writing applications for Ubuntu (including Ubuntu Touch) and questions about the application submission process to the Ubuntu Software Center. This covers both open source and commercial applications.

learn more… | top users | synonyms

1
vote
1answer
152 views

QML what to use to store int numbers TextInput or TextField

What is good to use on a Ubuntu Phone app that needs 25 variables to get input that are int numbers. Text fields or text input. Right now I'm using text inputs to create the 25 ids that I'm going to ...
2
votes
1answer
82 views

How can I store the value an user enters in a variable?

How can I store the value an user enters in a variable? For example I have this code TextField {width: 37; height: 19 var id: q1 ...
3
votes
1answer
141 views

Ubuntu SDK: Provide your application identifier in $APP_ID environment variable

I'm getting familiar with Ubuntu SDK and QML. After creating sample project: 'App with Simple UI', I'm able to run it correctly. But, I'm getting warning: ...
2
votes
1answer
58 views

Get a rid of the header section in a qml app on Ubuntu SDK

It is possible to remove the header section in the MainView of an new qml app? Code: import QtQuick 2.0 import Ubuntu.Components 0.1 import "components" /*! \brief MainView with a Label and ...
1
vote
1answer
93 views

Prevent components from becoming transparent on a qml window

Here is the code for a transparent and frameless window in qml: import QtQuick 2.2 import QtQuick.Window 2.1 import Ubuntu.Components 0.1 Window { MouseArea { anchors.fill: parent ...
3
votes
2answers
120 views

QML - How to create QML Components properties so they can be set from JavaScript?

I am trying to create a component with certain properties I've set. The sounds location and name are given by a C++ function that is actually working because the console.log() shows so: qml: Adding ...
1
vote
1answer
86 views

Using Online Accounts to authenticate against my server

In my Ubuntu QML app I'm trying to use online accounts in order to authenticate against my server. I'm a little confused as to how I should go about doing this. Ultimately I want the user to be able ...
0
votes
0answers
36 views

Ubuntu Touch Qt3D 2.0 crashes on start

I've been trying to develop something in QML3D and while my app is running well on desktop, I can't get it working on my tablet (even thought for example Qt3D cylinder from the software center - ...
2
votes
1answer
96 views

How to get data from REST API with QML (for ubuntu touch app)?

I am trying to use firebase REST API and to get some data into my ubuntu touch app. Can you give me some pointers on how could I go about doing that?
1
vote
1answer
76 views

get QML default value of a widget

How to receive the default value of e.g. TextEdit font.pointerSize? I would like to create a custom widget that uses some default values but allows to set some values from outside. Therefore it is ...
2
votes
1answer
76 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 ...
2
votes
1answer
30 views

Add external library to Ubuntu App in Ubuntu SDK

I am trying to add the QuaZip library to my project (https://launchpad.net/vadetux). I have tried setting the EXEC variable in the CMakeLists.txt to: set(EXEC "qmlscene -I /usr/include/quazip $@ ...
0
votes
2answers
405 views

How to call Qt or local function from Ubuntu HTML5 App?

I have create a HTML5 App from Ubuntu SDK. It contains a index.html and js directory. Next I add "X" label on the html file like this: <head> ... <style type="text/css"> ...
1
vote
0answers
47 views

Pack Ubuntu HTML5 click application for desktop

I would like to pack an Ubuntu HTML5 click application for the Ubuntu Software Center. The application is a game that uses Apache Cordova. It is already published in the click store, I would like to ...
0
votes
1answer
27 views

Why ubuntu SDK do not Highlight HTM code?

I just sterted with the ubuntu SDK, but, hell, the Highlight not even works! How can I make the Highlight to work like it should do, in the settings, the mimetype handler use a simple text file style ...
0
votes
0answers
58 views

Use ubuntu-html5-app-launcher, canvas.addEventListener(“mousedown” … Triggered when up the mouse button

I use ubuntu-html5-app-launcher My code: ... ... canvas.removeEventListener("mousedown", newGame, false); canvas.addEventListener("mousedown", onCanvasDown, false); ...
0
votes
0answers
15 views

Phonegap plugin development

I'm developing Ubuntu WEB application using Phonegap. From http://docs.phonegap.com/en/2.7.0/guide_plugin-development_index.md.html I can see there is no explanation about plugin development in Ubuntu ...
2
votes
2answers
314 views

Difference between Qt Creator and Ubuntu SDK?

Having downloaded them both when I installed the Ubuntu SDK, I wonder if there is any tangible difference between the two, such as the libraries being employed.
2
votes
1answer
105 views

Ubuntu SDK: How do I implement a “onClick” for an image in QML?

I have a background image for my page, and I want to implement a sort of page refresh when the background is clicked. However, I didn't find any actions for the image element in QT quick. What's the ...
0
votes
0answers
8 views

In Ubuntu SDK, how do you search for text which include linebreaks?

If you ctrl+f in Ubuntu SDK to browse through your code, and you paste within the search box a multi-line piece of text, it will fail to find any results. Is there a way to get around this ...
0
votes
2answers
54 views

Qt Creator - auto code generation

I have Ubuntu-Sdk IDE and I am doing HTML5 Programming in Qt Creator IDE, it is working absolutely fine, but when i click on Ctrl + Space, Auto Code is not generating, Please let me know what can i do ...
2
votes
1answer
86 views

Error while deploying HTML5 app with Ubuntu SDK

I got this error message while deploying a HTML5 app with UbuntuSDK. Can anyone help me? :-1: warning: desktop_Exec (vp99): found unexpected Exec with architecture 'all': ./qtc_device_debughelper.py ...
1
vote
1answer
53 views

Ubuntu SDK: Error with First App

I am just starting to develop with the ubuntu sdk. I created a default html5 project, and I havent changed anything. This is the error: Starting ubuntu-html5-app-launcher ...
1
vote
1answer
49 views

Launchpad Qt/C++ and external tools

I'm new to Ubuntu developpement and searching for information regarding building apps through launchpad (using recipes). I have a project of building a Qt5/c++ webkit app and wanted to ask: how to ...
0
votes
0answers
18 views

Error while trying to import pictures with ContentHub

I followed the Content Hub tutorial and I used the code about importing single pictures I found here: http://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Content.index/ Anyway, when trying to import ...
1
vote
1answer
24 views

Testing existing Ubuntu scopes without a supported device

I'm interested in participating in the Ubuntu app Showdown in which you have to make a scope. But before I begin developing I'd like to see how scopes work and what scopes are available. I don't ...
1
vote
1answer
72 views

Will I be able to develop apps for ubuntu touch with python?

I want to learn to develop apps for ubuntu touch, and I want to do that with python. So far SDK doesn't seem to support it. Will it support python in the future? Can I start developing apps with ...
4
votes
1answer
67 views

What does the head: property do on Page{} in qml?

I have an app that I am trying to get the toolbar in the header to work. In the documentation I've noticed a property called head that seems to create and add items to the header toolbar. What is the ...
1
vote
1answer
91 views

Cannot build unity scope from qt creator

I am trying to do the unity scope tutorial from ubuntu developer's site. I follow the following steps Create new project (unity scope) Set name and directory parameters As kit i choose i386 ubuntu ...
2
votes
1answer
37 views

Ubuntu SDK, how do I create a tree view in QML?

I have json data that defines comments that have children. I am trying to display nested comments(like in hackernews or reddit) in my app. What is the best way to go about doing it?
1
vote
1answer
224 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: ...
7
votes
0answers
299 views

Howto create a new C++ based Ubuntu touch project in Ubuntu SDK?

There is no option to start a C++ and QML based project in Ubuntu SDK. It only offers to create a QML project with no C++ codes. If I try to add C++ classes to the QML project, I get this error: ...
6
votes
1answer
70 views

What's the difference between OptionSelector and ItemSelector?

When writing an app for Ubuntu, it seems I can interchangeably use the ItemSelector or OptionSelector components. In which situation should I use each one of those? What's their main difference that ...
0
votes
1answer
18 views

Combine a falling animation with a going up animation on click

I am trying to make a moving sprite fall down from the upper left corner to the left down corner. That function is working properly with the SequentialAnimation component. Apart from that, when you ...
0
votes
0answers
22 views

Ubuntu SDK - how to use the new header? [duplicate]

I want to use the new header features that are described here, but I can not find any documentation. Where can I find a QML example of using it?
0
votes
0answers
10 views

Best resources(books/articles/videos) for a new Ubuntu Touch app developer? [duplicate]

I am new to Ubuntu Touch and Qt, and I want to master developing applications for it. I want to start quickly, and then learn it in depth. What are the best books for me to read? Can you outline the ...
0
votes
2answers
145 views

How do you get the website title to show up in the menu area / webpage title are in python / quickly created web browser?

hi there im creating a web browser using a mix of quickly and Python, im wanting to get a websites title to show up in the very top of the page. im not sure of what code that i need adding to the ...
1
vote
1answer
24 views

How can I create an application for Ubuntu 14.04 using Java? [closed]

I was looking for some links/instruction which gives a clear conception about building an application using Java, or C++.
0
votes
0answers
11 views

Distribute completely new package over ppa

Say my application is installed over software center by somebody in version 2.0 build with python and 12.04 support. When I make a completely new application with same name say version 3.0 in C and ...
5
votes
1answer
86 views

How do I get my QML program to utilize Unity7 notifications? Is there an API I can use?

I am developing a screenshot application in QML, and I wish to utilize Unity 7 notifications, similar to what Rhythmbox uses when notifying a user that a new song has started, or when the volume is ...
3
votes
1answer
619 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 ...
2
votes
3answers
1k views

Mobile app development issues with qmlviewer not being found?

I am trying to follow the Mobile app development tutorial found here. When I try to run the currency converter in QT Creator I get this error: Starting external tool '/usr/bin/qmlviewer' '' ...
0
votes
0answers
70 views

How do I create a Debian source package for a JavaFx application for the Ubuntu Software Center?

I submitted a native .deb file to the Ubuntu Software Center, but I got the response below from reviewers: Your application is not in the correct archive format. Please provide us with the Debian ...
2
votes
0answers
55 views

How can I detect screen rotation with QML

I've been trying to create a Ubuntu QML application, but when I rotate my screen while it is running on my tablet, the header is semitransparent and the content below is exceeding the screen's height ...
1
vote
2answers
30 views

Is there a forum or community for Ubuntu Application developers?

Is there a forum or community for Ubuntu Application developers? Chat rooms count.
0
votes
0answers
15 views

How do I Resolve a dependency issue with Ubuntu SDK, chroot, CMakelists, and the Emulator?

I am trying to build lp:ubuntu-filemanager-app on the ubuntu sdk for running on the emulator. The libraries I need are installed on my system, and in the phablet-shell. I can run the application in ...
2
votes
0answers
25 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" }
1
vote
2answers
68 views

What is the objectName: property in QML, why is it needed, and how is it different than the id: property?

What is the objectName: property in QML? Which components have this property? Why is it needed? How is it different than the id: property? Why can't I just use the id: property instead?
3
votes
3answers
581 views

Can I develop a 2D game with just QML? [closed]

I have a bit of interest in developing for Ubuntu Touch (I have little to no real coding experience also), but my main interest is trying to develop a 2D game. From my understanding, I would either ...
2
votes
1answer
19 views

What is Tree and Merge Source?

I did a bzr merge, and I always forget what the merge source represents, and what the tree represents. Which one is my code, and which one comes from the branch I merged with?