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

Publish Snappy Apps Programtically

Is it possible to publish Ubuntu open source snappy apps programmatically? I would love to be able to publish a new version of the app in my CI system, when I push a new tag. Is this currently ...
0
votes
1answer
21 views

How can I save the CurrentItem of Picker in QML?

Helo, I defined in mainView the following functions: property var db: null function openDB() { if(db !== null) return; // db = LocalStorage.openDatabaseSync(identifier, version, ...
0
votes
0answers
21 views

Which click framework should I target?

I am developing some apps for Ubuntu Touch, and one part that I am confused on is how the click build targets work. Which one should I target? Do they follow the same support schedule as the rest of ...
0
votes
0answers
10 views

How to remove Ubuntu SDK click target (failed one)

I was trying to create click target for i386 architecture with 15.04 vivid API. But it always fails at the end. I have retried it few times with no success. So, ok, I'm using armhf one. But! After ...
0
votes
1answer
27 views

How to keep an UbuntuListView between its boundaries?

I have an UbuntuListView in a QML application for Ubuntu Touch. Above it, there's another component - a TextField. The initial position of the list looks good. Also, if the list is smaller than the ...
0
votes
1answer
42 views

Ubuntu Phone - How can I program app running, when device screen is turned off?

How can I program my mobile application to be still running in the background, after the user turned off the screen? I'm developing the application in QML.
0
votes
0answers
5 views

looking to reinstall ZTE P7431 image

i´ ve been looking to set up my invironment to work on an android device which infact does n´t boots up, Ive been checking the android out with a root program, and rasy adb to check out it´s files ...
1
vote
2answers
37 views

It's possible to develop ubuntu touch app in C++ without using QML?

I am looking for way to develop ubuntu touch app using only C/C++. I want to know what are other options, maybe GTK+ can be used ? or QT Widget ? without sacrificing display touch capabilities ? And ...
1
vote
1answer
36 views

Web App Generator

I encounter an error message each time I try to submit a web app for mobile using the Ubuntu Web App generator. Am I doing something wrong? Or is there an issue with it right now? Regards, Antoine
0
votes
0answers
12 views

Publish button on Ubuntu-SDK not working

I am new to Ubuntu development. I am developing an application using HTML5. Its all set and running as required. But when I click on Publish button, nothing happens and screen freezes there. I am ...
0
votes
0answers
23 views

Error when running ubuntu phone emulator

I can launch the emulator in the devices tab, without any error. But when i try to run any html5 program/example, in the application output shows Warning: Permanently added '[127.0.0.1]:10000' (RSA) ...
2
votes
1answer
86 views
+50

How to handle QML application shutdown?

I need to persist the state of a QML application when it shuts down, and to read it when the application loads. I tried using Component.onCompleted and Component.onDestruction inside the MainView's ...
0
votes
0answers
55 views

How to compile C/C++ applications for the Ubuntu BQ E4.5?

I run on my BQ E4.5 below the HOME of phablet in a jail a Linux based on vivid for ARMHF which is build as: $ mkdir myRoot $ cd myRoot $ sudo tar xzf ../vivid-preinstalled-touch-armhf.tar.gz $ sudo ...
0
votes
0answers
12 views

Use Ubuntu Lap(desk)top+UMTS-HSPA datamodem as SMARTPHONE

I have been advised to ask my question in Lanuchpad here too. I find that Ubuntu is focussing particularly into Smartphones / Calling Tablets. Very well. But I want to use our existing ...
0
votes
1answer
28 views

Why does click package validation fail?

I'm trying to publish an app for Ubuntu touch, but I can't get past the validation phase. I'm using Ubuntu SDK. The current build configuration is for device (armhf). I was able to run the app on the ...
0
votes
0answers
31 views

Download .click package

I've had some problem with my computer and, sadly, I lost all .click packages I've developed. I would like to download them but I don't know how. In myapps page on ubuntu.com ( ...
0
votes
1answer
47 views

Python GTK3 keyboard accelerators

I'm working on creating an application for Ubuntu using Python3 and Gtk3. I'm trying to add keyboard accelerators to the program but unfortunately I keep running into problems. This is my code atm: ...
0
votes
1answer
22 views

How to delete from an UbuntuListView?

I'm trying to learn how to use an UbuntuListView. Items will be added at runtime, but for demo I just hardcoded them. What I need is a way of removing existing list items. Here's my code and a ...
0
votes
0answers
26 views

How to keep model and view in sync for a QML List Item?

I have a list with multiple selection and a button. All list items are checked. When I click the button, I want the second item to become unchecked. I am also changing the displayed text (just for ...
-1
votes
0answers
24 views

Ubuntu SDK Design

OK, so i have a question, i don't know if it's me or others, but i would like to know when or is the design mode going to be fixed?? "import Ubuntu.Components 1.1" for example. I tried, the ...
1
vote
1answer
28 views

Opencv with ubuntu-sdk

I am trying to use OpenCV with ubuntu-sdk for an app. I am using the qml app with c++ using the cmake template, downloaded the opencv source in the modules folder and added at the ...
0
votes
0answers
20 views

Develop on Ubuntu Phone

Is it possible, and if so, how can I develop/run qml-apps using only my Ubuntu phone? As example I refer to the Terminal-IDE apps on android... I have tried the Terrarium app but that's only to ...
1
vote
0answers
19 views

What is the correct way of using Qt 5.4 in my .deb package?

I want to create a .deb package for an application that I am working on, which depends on Qt >= 5.4 For some supported versions of Ubuntu this version is not available except via packages from a ppa. ...
2
votes
0answers
35 views

How to create local repository for Ubuntu Snappy

How to create local repository for Ubuntu Snappy? For example I use reprepro to create Ubuntu repository for deb packages.
0
votes
0answers
10 views

Ubuntu touch sdk and qmake

I have such structure in my project: core-lib desktop-client android-client ubuntu-client and so on... How do I specify in profile, which projects to include for builds? For example for ...
0
votes
1answer
41 views

Cannot start Qt Creator after updating to 15.04

My Qt Creator (from ubuntu-sdk) won't start after updating to 15.04. It gives this dialog after the window has opened: [3]+ Segmentation fault (core dumped) qtcreator Also I don't ...
1
vote
1answer
32 views

What is a good Bazaar cheat sheet for the most common tasks?

Plenty of documentation out there, but it seems to be either an introduction tutorial (aka not a cheat sheet), or a technical cheat sheet with too many commands (aka the manpage). Is there a good ...
1
vote
1answer
45 views

Ubuntu SDK on Kubuntu

I plan to switch from Windows to Linux long term. I just installed my first Kubuntu (since I like Qt) system in a VirtualBox VM hosted in Windows to get familiar with that system (and Linux in ...
1
vote
1answer
34 views

Ubuntu Touch webapp icon

Why not change my webapp icon for 'ubuntu-touch' after updating? Apparently it is properly updated in the app store, but when I install it, no. I've created the icon following this guide >> ...
0
votes
0answers
108 views

No avds found by ./emulator -list-avds . Do i need to install avds? How to do so, if yes?

I have installed android SDK in /opt. When i run: cd /opt/Android/android-sdk-linux/tools sudo ./emulator -list-avds I do not get anything printed on terminal. But from Android Studio under SDK ...
0
votes
1answer
59 views

QtWebSockets not available on Ubuntu Touch

I'm developing an Ubuntu Touch application which communicates with a server using WebSockets. Qt offers its own API since version 5.3, which can be used from a QML file by adding import QtWebSockets ...
0
votes
2answers
52 views

Android program execution in studio not detecting installed KVM

I have installed KVM for virtualization for AVD in studio, after running the following command: kvm-ok The output is: INFO: /dev/kvm exists KVM acceleration can be used So, by all this i can ...
0
votes
0answers
21 views

Is it acceptable code style to leave binding loops in QML applications?

Backstory: I am working on a patch for the ubuntu-filemanager-app that will shrink the fontSize: for a Label {}, if the width: is larger than the window size. Think this: Label { id: myLabel ...
1
vote
2answers
292 views

Ubuntu MX4 not detected on Ubuntu SDK

Just got hold of the Meizu MX4 which comes pre-installed with Ubuntu Touch. I have been using the Ubuntu SDK for some time now, today I tried to deploy a simple app onto the device. However, several ...
1
vote
1answer
63 views

Ubuntu SDK unable to start in Ubuntu 15.04

in Ubuntu 15.05 I installed Ubuntu SDK, but I can't start it. I installed in Terminal: sudo apt install qtcreator-plugin-ubuntu And all dependencies. 292 new installed When I try to start in the ...
2
votes
1answer
26 views

Ubuntu Software Center: The upload does not appear to be a valid click package

I'm trying to upload an application to the Ubuntu Software Center and have encountered this error when uploading the .deb file: The upload does not appear to be a valid click package. What is the ...
0
votes
0answers
36 views

App permissions

I am developing a simple sound recorder using Qt Creator. It uses the QAudioRecorder class and Qml. The app compiles and runs on the desktop during testing and I am able to play back the recorded ...
1
vote
1answer
125 views

How do I simply run an ubuntu touch app from the terminal?

I've got a qml file and I just want to ssh to the phone and do qmlscene myfile.qml Is it possible without doing all that stuff with SDK and packages? Just vim and some simple commands that can fit ...
0
votes
0answers
62 views

Windows phone app developer

I was using visual studio before for developing windows phone apps but now that i have shifted to ubuntu i have no access to any IDE for developing windows phone apps ... i tried mono studio but i ...
0
votes
0answers
26 views

How to get and install qt header and libraries in specific folder?

Where do I get qt header and libraries from? And then how do I install qt header and libraries in specific folder?
0
votes
0answers
29 views

QML app developpement, how to access system organizer (events)

I searched for a long time about this but can't find something relevant. I'm starting to develop with Ubuntu SDK and QML. I would like to access the system organizer in order to read the next events ...
1
vote
0answers
60 views

Unable to test Ubuntu Touch applications on ubuntu-emulator (ubuntu-sdk)

I've followed every step of the Ubuntu SDK documentation, as detailed here. I am able to create different types of projects, compile and test them on my desktop. I am also able to run the Ubuntu Touch ...
1
vote
1answer
36 views

Does an application need root permissions if it modifies files in the “/” directory?

I'm creating a program for Ubuntu that involves creation of files within the folder where the code is present. What I want to know is: When a .deb package is installed, where do the contents go? If a ...
0
votes
1answer
32 views

Is it possible in Ubuntu app, start C++ function from javascript?

I have application using QML and C++ and want to start C++ function from javascript . Is it possible ?
1
vote
1answer
47 views

How to identify programically in QML app, where is located my sqlite database file

I have QML application which use as well C++ . From C++ I need to connect to DB ( sqlite ) . For this I need to know the exact name and location of the database file . How to identify it ? Or how to ...
1
vote
0answers
42 views

Ubuntu Bottom Edge

So Canonical always presents the "great" Bottom Edge feature of Ubuntu Touch but how do we actually implement it? Do we have to implement it ourselves? I have not found any information about it in the ...
1
vote
1answer
55 views

Python NameError: gloabal name 'resolution' is not defined

I'm working on developing a python application for Ubuntu that enables a user to have their desired resolution without requiring graphics drivers. In order to do this I've been using xrandr. However ...
1
vote
0answers
25 views

In Ubuntu which tool we use for disk-defragment? [duplicate]

Can Ubuntu have any disk-defragment tools, like Microsoft Windows. Or any other tools equivalent for it? I read: Defragmenting tools
2
votes
1answer
121 views

AppArmor denial when trying to open file using content hub

When trying to open a file using content hub using C++ I get these errors: Opening with peer com.ubuntu.music_music_2.1.857 Sdk-Launcher> Application was resumed Sdk-Launcher> There has been a ...
1
vote
1answer
67 views

Show JSON in QML without list [closed]

I would like to display data from a JSON file in my application for Ubuntu Touch. But the data is displayed only in list, how to display it differently? My code : function load() { ...