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
0answers
36 views

Ubuntu-sdk apps on other distros

So I have just made my first Ubuntu sdk application in QML. I wonder,on a scale from 1-10 how friendly is the Ubuntu SDK to other Linux distributions? How much possible is it to run the apps I create ...
3
votes
1answer
29 views

How do I add categories to a scope?

I'm playing around with the Ubuntu SDK. At the moment I'm trying to create a Unity 8 Scope. Currently I'm stuck with the following: How do I add categories to the scope (the selection list above the ...
2
votes
1answer
66 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?
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
1answer
25 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 ...
6
votes
1answer
76 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 ...
1
vote
1answer
191 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 ...
0
votes
0answers
11 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 ...
2
votes
1answer
345 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?
2
votes
1answer
64 views

Ubuntu SDK. error: “Kit autocreation for error is not supported”

I am using ubuntu sdk, and I am trying to create Kit for my device. I'm opening the tab "Devices" and clicking "Autocreate", and I'm getting an error: "Kit autocreation for error is not supported". Do ...
1
vote
1answer
40 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 ...
0
votes
1answer
38 views

Ubuntu Components - Picker problem

While trying to create two pickers on Ubuntu inside a dialog, the labels inside can only be read properly when they are not chosen and overlap on the left when chosen, as seen in the image: The ...
1
vote
1answer
148 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 ...
1
vote
1answer
26 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 ...
0
votes
1answer
50 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
0answers
74 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
38 views

Is there a forum or community for Ubuntu Application developers?

Is there a forum or community for Ubuntu Application developers? Chat rooms count.
5
votes
1answer
145 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 ...
2
votes
1answer
41 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 $@ ...
1
vote
0answers
35 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
28 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
22 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
2answers
292 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?
2
votes
1answer
22 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?
0
votes
0answers
27 views

Quickly version numbering

I have been experimenting with quickly, and more specifically, packaging. I have been using this command: quickly create I am quickly (heh heh get it, 'quickly') getting frustrated that the version ...
0
votes
0answers
260 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: ...
0
votes
0answers
118 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 ...
1
vote
2answers
117 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 ...
4
votes
2answers
561 views

How do I develop software for Ubuntu that one could still use in future versions [closed]

Like many of you, I am sometimes annoyed by the fact that some developers just stop working on software they created (see examples below). As we try to cope with the loss, we sometimes will not accept ...
1
vote
1answer
243 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
30 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 ...
0
votes
0answers
79 views

If I want to test apps on the phone emulator, what kind of emulator do I have to build?

It recomends either i386, but there is an arm version as well; what is the difference? I tried running my app on the i386, but I got this error: 20:31:27: Running steps for project ...
3
votes
1answer
162 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 ...
0
votes
1answer
40 views

A required package was not found - Ubuntu SDK default template has this error

I want to do some Unity Scope development and I'm getting this error: CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message): A required package was not found Here's a quick ...
1
vote
1answer
567 views

Ubuntu App Development. Unable to install Ubuntu SDK and buggy Ubuntu emulator

Hello I have installed Ubuntu 14.04.1 and I have no more patience to struggle with my problem. I can't install ubuntu-sdk package: Some packages could not be installed. This may mean that you have ...
2
votes
1answer
24 views

How do open a link with a button

I would like to click a button in my QML app and have it open a link in the browser on the device.
1
vote
1answer
35 views

How do you determine the combined width of the components in a Row {}?

How do you determine the combined width of the components in a Row {}? The width of the row itself will not work, as I need to set its spacing:, and using this property will create a loop error. It ...
1
vote
1answer
286 views

How do you round numbers in qml to two decimal places?

I have these ridiculously long real numbers such as 33.088117576394794, and I am trying to convert them to doubles (Two decimal places). So in this case, I want 33.09. How do you do this in QML?
3
votes
1answer
1k 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
1answer
173 views

Debian installer does not create desktop/launcher link

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
2
votes
1answer
302 views

Error when modifying rules file in debian packaging

Trying to get my debian packaging to work as I want, I modified the debian/rules file (showing line numbers) 12 %: 13 dh $@ 14 15 override_dh_install: 16 dh_install 17 install -m 644 "My ...
3
votes
2answers
313 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 ...
0
votes
0answers
11 views

Page Stack Component Depth to always remain visible?

Is this possible? Say you have a depth of 5 tabs, They appear and disappear as you click the header. I want them to always remain visible.
0
votes
1answer
76 views

Exporting LD_LIBRARY_PATH that contains spaces and special characters

Trying to deploy a Qt application on Ubuntu Directions from Qt site show how to allow the library dependencies to be loaded, by changing the LD_LIBRARY_PATH variable: #!/bin/sh appname=`basename $0 ...
1
vote
1answer
155 views

Can you do dictionaries in qml?

So for example: Item { id: sylvainLikesAnsweringMyQuestions property var myDict: {[key,value],[anotherKey,anotherValue]} }
1
vote
0answers
44 views

Qt-creator publish tab missing click part

I am trying step by step to write some simple tutorial Ubuntu apps using qt-creator. First I've chosen HTML5 App then after writing some hello code or even after doing nothing I've tried to create a ...
4
votes
3answers
941 views

How do you check if a property is undefined in qml?

How do you check if a property is undefined in qml? This is what I am trying to do: Button { id: myButton text: if (text === "undefined"){"default text"} }
0
votes
1answer
47 views

complete list of wowza ModuleBase events? [closed]

does anybody knows where I can find full list of events supported by Wowza ModuleBase class !? ex. onSessionCreate, onRTPSessionCreate, onAppStart, etc.. edit: I just realised that this question ...
2
votes
1answer
43 views

How to make sure a Row {} or Column {} does not contract when an item's visible: property is set to false?

This is a question about good coding practice with QML: How can I make sure that a Row {} or Column {} does not contract when one of its Item's visible: property is set to false? The current work ...