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

0
votes
1answer
21 views

Why do it get this error while downloading source packages as a Regular user?

I'm downloading a source package and I get this error W: Can't drop privileges for downloading as file 'inkscape_0.91.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: ...
1
vote
1answer
28 views

Where can I get the development packages for rsync?

I would like to check the code for RSync but I don't see the development files, maybe I only need GCC and Make ?
1
vote
1answer
10 views

Non-existent property tools in Page

I have a code which used to work but after I upgraded to (K)ubuntu 16.04 and the latest Ubuntu-sdk, it doesn't work anymore. I get error Cannot assign to non-existent property "tools". This is my code ...
20
votes
2answers
8k views

How can I get started with developing apps for Ubuntu Touch? [closed]

I am interested in trying the new Ubuntu for phones OS development. (I am not an Ubuntu developer, I am new to Ubuntu. Impressed by the Ubuntu Touch preview, I got interested in learning how to ...
0
votes
1answer
70 views

Running QML/C++ application build with CMake is unable to run from QtCreator or snap package

I am trying to get a QML/C++ application packaged as a snap. I am using CMake as a build system. The application builds fine and I am able to run the executable by double clicking on it. When trying ...
4
votes
2answers
5k views

How can I create a simple debian package from binary?

I have been researching debian packaging, but I can't seem to figure out how to package a C# mono application made up of a single executable and a few resource files. Can anyone help me figure out? ...
1
vote
0answers
37 views

Does Ubuntu Touch offer APIs for battery, installed apps enumeration, WiFi and cellular info, OS info, confinement info, etc?

I'm in the progress of porting my existing 'droid app as a native Ubuntu Touch QML + QT5 C++ app. I've tried to find a native Ubuntu Touch or QT5 API for the following goals, but without a luck so far....
0
votes
0answers
27 views

How to work with QVariant(QJsonDocument) in javascript

I try to write a ubuntu app. My problem is, that i want to fill the ListModel in my qml. ListModel { id: model } i do that by using javascript: fill(database.get()) The database is defined ...
3
votes
0answers
48 views

How can i build an ubuntu touch app only in c++ (without qml) and with cmake

is there a way to configure a cmake file for building a click-package without qml. i like to start programming in the main function with QApplication and only my own window class. my goal is to write ...
1
vote
0answers
24 views

What is the preferred way to store secret data on Ubuntu touch?

I am developing an Ubuntu Touch app which shall connect with an e-mail server. However, I do not know how to store the password so that it is safe, for example from abuse by people buying used phones ...
0
votes
1answer
41 views

Which IDE's run on Ubuntu 14.04 and work for Brightscript Development? [closed]

Roku BrightScript is a powerful scripting language that makes it easy and quick to build media and networked applications for embedded devices. The language has integrated support for BrightScript ...
2
votes
0answers
23 views

Simple Javascript Scope HowTo and Examples

I am trying to develop a simple Scope for Ubuntu Phone (BQ 4.5 particularly). The scope's task should be just to display (and refresh) one web page directly in the scope, i.e. not to open a separate "...
0
votes
0answers
19 views

Ubuntu SDK validator bug about missing .desktop file from click package

I'm using the latest Ubuntu SDK build (based on Qt Creator 3.5.1) under Ubuntu 16.04 LTS. I'm trying to start a Ubuntu Touch project (QML with C++, using qmake) from scratch, using a built-in example. ...
1
vote
1answer
26 views

How to add binary third party libraries in qt creator (Ubuntu-sdk verison of QT-Creator)

I try to write an app for ubuntu unity8 and i use a third party library in that app. My problem is that i would like to use the binary version of that library in my app and not the source files of ...
1
vote
0answers
27 views

UbuntuUI Html5 api optionselector - how to get and set selected Index? [closed]

I'm trying to use the optionselector in an html5-app. But it seems impossible to get the selected option (index or whatever). I also want to set the index as predefined choice. Here is my html: <...
1
vote
1answer
42 views

Create Ubuntu scopes for websites

How do you create a scope in Ubuntu for a simple website wrapper? Please don't judge me I am not a developer, just trying to create a scope for my blog with notifications when a new post is up. ...
5
votes
1answer
171 views

How are Launchpad teams usually formed?

Over time, I answered a number of questions here. Many times, these questions were quite (user) specific and answers were created, writing in an improvising way. In some occasions however, things were ...
0
votes
1answer
30 views

What is the common way to save data in a database stucture in the ubuntu sdk

I plan to write an ubuntu app that runs on all ubuntu mobile devices as well on the ubuntu desktop. In this app i have to save some things onto the hard disk via database. What is the common way to ...
3
votes
2answers
2k views

How to control gnome-terminal from Python scrypt?

I am developing an application in PyGtk, and would like to launch a gnome-terminal and output commands to it. My user should then be able to modify the command, or maybe ignore using the up arrow ... ...
2
votes
1answer
70 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 ...
2
votes
1answer
3k 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?
2
votes
1answer
68 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
45 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 ...
2
votes
2answers
2k 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?
5
votes
3answers
7k 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
147 views

SDK: Is bottom edge supported for html5 apps?

I'm planning to write a html5 app (not a webapp) for Ubuntu Touch using Ubuntu-SDK. Is it possible to use the bottom edge navigation in case of html apps?
1
vote
1answer
153 views

Ubuntu SDK Error 'could not find or load the Qt platform plugin “xcb”.'

I am trying to write my first ubuntu app using the Ubuntu SDK but keep running into an error. This error turns up both with QML and HTML5 apps. I am trying this just on the template for both project ...
0
votes
1answer
55 views

Ubuntu SDK: Can't deploy to device

I installed the Ubuntu SDK following the instructions given in https://developer.ubuntu.com/en/phone/platform/sdk/installing-the-sdk/ Afterwards I connected my Aquaris M10 (running Ubuntu Touch) and ...
1
vote
2answers
48 views

Cannot git clone Apparmor kernel patches

Whenever I enter (git clone git://kernel.ubuntu.com/jj/ubuntu-utopic.git) into the terminal, I get this output: Cloning into 'ubuntu-utopic'... fatal: Could not read from remote repository. Please ...
11
votes
1answer
16k views

How to create very very simple GUI application for Ubuntu?

I want to make a simple GUI Application. Can anybody give me source code of a simple GUI Application? So far, I have been competing in Programming Competitions (I have been using C++ for it) and now I ...
1
vote
1answer
43 views

How to create single file application?

I only know how to create .desktop application that is associated with .sh file. I want to create an executable application that doesn't call any file. A simple example would be: an application that ...
1
vote
1answer
525 views

Ubuntu SDK open file dialog

I've started playing with the SDK to start developing an application. The application will be something that will allow me to filter records in an CSV file by a search term. But does a file dialog ...
0
votes
2answers
36 views

What archive type are ubuntu click packages?

Deb files and RPMS are at the end of the day zip files with files inside of them in a particular place. I was debugging one of my applications and wanted to look inside of the click package but it ...
29
votes
2answers
837 views

How to develop a System Indicator for Unity?

This is not a duplicate of How to create Unity indicators?. I'm looking for system indicator not application indicator. Backgound: From these two questions: How do I add or manipulate Application/...
1
vote
1answer
32 views

How to add qt qmake version 4.8 to qt creator?

I have Qt creator 5.4.1.I have qmake 5.4.1 but I wan to add qmake 4.8 for desktop version.How could I do? I install gcc4.8,but I don't know Is qmake install?(if it installed so where was it?) root@...
1
vote
1answer
55 views

No video shown in Ubuntu Touch QML app video player

I'm trying to play a video in an Ubuntu Touch QML app. The audio plays, but no video is shown. A minimalistic version: import QtQuick 2.4 import Ubuntu.Components 1.2 import QtMultimedia 5.5 ...
15
votes
4answers
6k views

How can I theme my Qt app to resemble one written in Gtk?

Mark Shuttleworth recently blogged about the decision to include the Qt libraries in the 11.10 release, with a followup from Jono Bacon. The thing that puts me off Qt apps is that they don't blend in ...
3
votes
1answer
164 views

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

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

Ubuntu SDK installation error on Ubuntu 13.10

I followed the instructions from http://developer.ubuntu.com/apps/create/get-the-sdk/. But the installation failed with the following message at the end: The following packages have unmet ...
1
vote
2answers
164 views

Is there a Wine equivalent for Android apps?

As Android is gaining more and more users every day (and Windows losing some), i consider reasonably fair for me to ask: Is there ANY Wine equivalent for Android apps? I'm not asking for native linux ...
4
votes
1answer
51 views

How to package a browser plugin and a gui app in a snap package

My app is a gui app (qt) and a browser plugin. The plugin is used only for firefox. When the user clicks a button I want to open my gui-app. I would like to use a snap package to do this, but I can ...
3
votes
1answer
320 views

How to create a custom splash screen for a program?

I am currently building a client for our users at work with Ubuntu MATE 15.10 and Plank as a dock. But when I click for example the Firefox icon in the dock nothing happens until it suddenly pops up ...
0
votes
0answers
234 views

java not found when running Ubuntu 16.04 desktop snappy app

When running this script from within a Ubuntu 16.04 desktop snappy application I get the message /usr/bin/java not found. Also, the application does not create the files and folders in my Documents ...
1
vote
0answers
7 views

Unable to start first template on Quickly

So I'm fairly new to Linux and truly have no idea what I am doing half of the time I do something however I started attempting to use quickly to see if I can make a little note taking program for ...
1
vote
0answers
73 views

Build an Ionic application for ubuntu phone as click package

Hello fellows I have the following application: https://github.com/kawai-developers/faster And I try to build it as a scope for ubuntu phone I managed to add the platfrom for ubuntu with the ...
0
votes
1answer
73 views

Running Ubuntu Touch applications in command line for gdb debugging?

I have already seen some answers related to this, but they didn't bring me to a definitive answer, so I'm going to try again. Basically, my question is: how can I run Ubuntu Touch applications from ...
2
votes
0answers
36 views

I want to compile apps for Ubuntu-Touch. What are some good resources?

I have an Acquarius M10. I want to try to compile x11 apps for use on my tablet. I am especially thinking of things like xournal. What are some good resources for me to start learning about how to do ...
1
vote
0answers
15 views

Is it possible to run and show the app on a device with snappy core?

The question is as simple as show the app writen for snappy/ubuntu core on a device running snappy/ubuntu core. Like the Raspberry Pi 2. Is this possible or am I better off running Ubuntu Mate on the ...
0
votes
0answers
59 views

Qt Creator missing Ubuntu Download Manager - how to install?

I am trying to use the Ubuntu Download Manager (https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.DownloadManager.DownloadManager/) in Qt Creator by entering the line: import Ubuntu....
0
votes
1answer
56 views

I need Ubuntu.Components 1.3 for Ubuntu 14.04

Newbie here. Been an IAR baremetal embedded guy for years. Ubuntu transition is painful. I've installed Ubuntu 14.04. I've installed SDK and Qt Creator and I'm trying to build...anything. ...