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

Ubuntu SDK HTML5 App scan dir

I am making a small HTML5 app because I didn't get into QML yet (and can reuse some foreign code) and I am trying to load a bunch of files from a directory, possibly outside the app dir, but e.g. in ~/...
0
votes
1answer
8 views

U1Db QML API database update on Application reinstall

I have made an application in QML that uses U1Db qml Api (sdk 15.04.5). The Application create a database to save his data. The application is already loaded on Ubuntu store and available to the users....
0
votes
0answers
11 views

Layouts in Qt doesn't work for me, need help

I am starting Qt player for linux and i am stuck at design. Qt(also Glade) got pretty complicated layout behaviour. So far i did this in java. I want to replicate it in Qt: The problem is that ...
0
votes
0answers
7 views

Do Seahorse and GPG terminal program work standalone?

I have generated a Personal PGP Key with the Seahorse GUI as instructed by Launchpad. I have to manually sign a file for the Ubuntu Code of Conduct but... GPG doesn't find the Key so I need to know if ...
0
votes
0answers
4 views

Tab auto-contemplation and arrows are not working as application user

Tab auto-contemplation and arrows are not working as i logged in as another( application user)user created in linux, but this is working when i login as root user. Thanks for the help!!
0
votes
0answers
20 views

Problem installing snapd

I like to install snapd but my computer say message like this: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package snapd how ...
0
votes
1answer
23 views

Realization of the Static links [on hold]

I know about Static and Dynamic links. but I have a problem with static link: Static link is a part of application and it compile with application isn't it? But why are there in here? They should be ...
4
votes
1answer
24 views

What is the difference between appindicator and AppIndicator3

Ubuntu indicators written in python can be done with two APIs : appindicator and AppIndicator3. What is the difference between them and is there any advantage to using one over the other ?
6
votes
3answers
5k 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.
27
votes
4answers
10k views

How do I get started creating an Ubuntu Desktop App?

I want to create an Ubuntu desktop app, specifically to replace Gwibber. I can code in Java, Python and a few other technologies. Adobe Flex would have been an option until Adobe decided to suck some ...
3
votes
1answer
43 views

Ubuntu Touch HTML5 app Orientation lock

Can somebody tell me how can I fix my HTML 5 app into portrait mode only?
-1
votes
0answers
12 views

how to install IlluminationSoftwareCreator in 16.04

I read here: Unable to install Quickly on Ubuntu 16.04 that quickly is not available on 16.04 (correct me if i'm wrong). I went to: https://github.com/jsebean/IlluminationSoftwareCreator but i dont ...
0
votes
0answers
17 views

Ubuntu app dev language [duplicate]

I work as a java dev so I know java and I'm learning python. Is this enough for developing ubuntu desktop apps or I need more? I would like to focus on good gui builders and I know kava swing is ...
0
votes
0answers
19 views

Create Python objects in QML using pyotherside

I am trying to build a Python backend for my Ubuntu Touch App using Pyotherside. Unfortunately, it is not very intuitive to me. What I want to do is to have a .py file where I define a Python class ...
0
votes
0answers
14 views

SVG Image as background for Ubuntu Shape in QML Application

I am trying to use an SVG image as the source of an UbuntuShape Object: UbuntuShape { id: mainPageMap height: parent.height ...
1
vote
1answer
18 views

how to drag a folders or files on an application?

I'd like to enable my users to drop folders (from nautilus) onto our custom applications (chromium based). To my surprise I realize that users have little to no possibility to figure out the path to ...
2
votes
1answer
31 views

How do I create a program similar to 'fortune', that can be installed using apt-get install

I am trying to create a program, let's call it abcd like http://linux.die.net/man/6/fortune that can simply be installed like $ sudo apt-get install abcd. Now for the specifics, my program simply is ...
32
votes
3answers
84k views

How can I install Qt 5.x on 12.04 LTS?

If you want to develop with QML 2.0 and Qt5, the base packages don't seem to exist in repository for 12.04. What PPA should I add? Is it a binary installer? a compile the toolkit yourself? Those ...
-1
votes
0answers
23 views

Simple instructions to starting android app development on ubuntu 15.10

I have a 32-bit OS running ubuntu 15.10. For the past few nights, I have been trying to get started with android app development. I tried the old method of using eclipse with the ADT plugin but kept ...
3
votes
1answer
186 views

Unable to access i18n in QML app's JS file

I'm having trouble importing the i18n library included in Ubuntu.Components 0.1 for use in a JS file. I initially ran into my question/problem while hacking on the 'Clock' Ubuntu Touch core app, but ...
1
vote
1answer
30 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
97 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 ...
5
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
41 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
32 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
53 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
31 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
45 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
28 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
24 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
34 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
28 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
46 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
41 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
71 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
73 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
46 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
3k 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
243 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
168 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
71 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
17k 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 ...