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

Cordova Ubuntu Phone: how to debug?

I have installed the sdk and enabled developer mode on my ubuntu phone. If I connect the device via usb and go to debug -> start debugging -> attach to running application and choose sdk form dropdown ...
0
votes
0answers
14 views

problem with sdk

i was trying to develop apps for ubuntu and downloaded ubuntu-sdk but i got to know that we can build mobile apps with ubuntu-sdk.Can someone tell why we e ubuntu-sdk to build apps for mobile ...
1
vote
1answer
107 views

How to use QAudioOutput in Ubuntu Touch

When I run QAudioOutput on Ubuntu Touch in confinement, It reports permission error. Basically it is trying to create a directory in /run/user/*/pulse which is rejected by the confinement. How to ...
8
votes
2answers
1k views

Can I run bash commands from an Ubuntu HTML5 App?

I want to convert some bash scripts into GUI apps using the Ubuntu SDK to create an HTML5 app. Is this possible? Are there any tutorials besides the 'Meanings' one that demonstrate this?
2
votes
2answers
335 views

Ubuntu Touch how to detect If the application is closed

on ubuntu touch. I run an application in terminal and close the application in the Application scope. The application isn't killed. And no event is caught in QQuickView. How do I detect this close ...
0
votes
1answer
30 views

Error uploading update to ubuntu touch app: app version is not different from the earlier one

This refers to an app I have published (recorder). I wanted to update to a newer version but I get an error saying that the new version is not newer than the version already published. What does this ...
3
votes
1answer
99 views

ubuntu phone questions, about libraries, ubuntu-sdk, and QML

I'm trying to make an app for Ubuntu phone but I've lots of questions. If my app depends from a library as qxmpp, what is better? Add a local copy of the library with my app, or use the system ...
0
votes
1answer
61 views

How to create an desktop application that appear in the top menu bar?

I'm new to Ubuntu desktop app development. But I'm an experienced Python developer and also a web developer. How to create an app that appear in the top bar like 'redshift' and 'google chrome'? ...
0
votes
1answer
123 views

Ubuntu SDK and shared.h

I'm trying to make some experiments with the Ubuntu SDK and I found a problem with the sample files. If I create a new app, I can compile and run it without problems. If I try to select one of the ...
1
vote
1answer
54 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 >> https://...
24
votes
2answers
1k views

How to lock ubuntu device orientation in portrait or landscape from user input?

I am working on a reader app to be used on Ubuntu-Touch. When reading books from the app it would be a helpful feature to lock the orientation in either portrait or landscape. This would be useful ...
0
votes
1answer
24 views

How do you make the background of a dragged ListItem opaque?

The new ListItem has drag-and-drop capability built-in. By default, though, dragged items have a transparent background, which looks awful. (Why would this be the default?) The ListItem has a color ...
1
vote
1answer
22 views

How do you detect the end of a live drag with the new ListItem?

The new ListItem has the ability to do live drag-and-drop reorderings. When one is in progress, how do you detect its end? The ListItem had the ViewItems.onDragUpdated signal, which should fire for ...
3
votes
1answer
103 views

my app was rejected for ubuntu touch store due to 'unconfined'

I got a message from the review process The moderators noted the issue to be addressed as follows: security_template_valid (compass.apparmor): (MANUAL REVIEW) 'unconfined' not allowed ...
4
votes
1answer
228 views

“quickly run” not working anymore

The command quickly run is not working after I renamed the folder and created a new one with same name and moved the contents of the renamed folder to the new one . Here is the error: ERROR: No run ...
0
votes
0answers
40 views

Ubuntu Mysql Server and Netbense Java Project Connectio Error

@ I Installed Ubuntu Server 14.04.3 LTS (using VMwear Workstation).... Static ip details() address 192.168.137.xxx broadcast 255.255.255.0 network 192.168.137.0 ...
1
vote
0answers
44 views

ubuntu emulator image and sdk 15.04

I'm developing an application using the sdk 15.04 but i tried all the images available on the emulator and cant find one with that sdk installed and for that reason i can not run my app on the ...
1
vote
1answer
71 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 ...
14
votes
2answers
13k views

How do I view or install Ubuntu Touch apps?

Lots of people have started developing Ubuntu Touch apps for the Ubuntu App Showdown and just in general, and have published them in the Click App Store. What is the Click App Store, and how do I ...
0
votes
1answer
80 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, description,...
3
votes
1answer
270 views

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
33 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 ...
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 ...
1
vote
1answer
76 views

How to autostart an application on Touch device?

What if you want to distribute some daemons in ubuntu-click packages? What is the preferred way to start them on boot?
1
vote
2answers
164 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 ...
0
votes
1answer
52 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 ...
9
votes
2answers
9k views

How to use Sublime Text 2 as Quickly default editor?

I used this answer to change the editor used with quickly and it worked, however now,when I type quickly edit the command line stays on the open and does not allow me to enter other commands as long ...
3
votes
1answer
839 views

Will location data be available to ubuntu mobile apps?

Is Ubuntu planning to make location data available to mobile applications? If so, can you give any pointers to an API that I could use?
0
votes
0answers
7 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 ...
0
votes
1answer
224 views

How do I animate using javascript and qml?

I've searched the internet and I can't find a simple guide how to animate ui objects in Ubuntu SDK. Can someone please explain the different parts needed and how they work together?
6
votes
4answers
5k views

How do I get images to appear on buttons in Glade Designer?

Not sure if this is a bug or just a very annoying feature, but I can't get an image to appear on any of my buttons in Glade Designer. Is there some property I need to change in order to force it ...
1
vote
1answer
59 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
4
votes
0answers
392 views

(QML) Flickable not working as supposed

So, while building an Ubuntu app I needed to use Flickable for scrolling, so now I have code of the form Page{ ... Flickable { anchors.fill: parent content.height: element1.height + ...
0
votes
0answers
19 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
80 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) ...
0
votes
0answers
155 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
1answer
50 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
25 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 Lap(Desk)...
0
votes
1answer
296 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
76 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
201 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 ...
2
votes
2answers
932 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 ...
55
votes
13answers
13k views

What advantages does Ubuntu have over Windows as an environment for programming?

Why is writing a program in text files or via the terminal a better option (as I read) than using IDE(s) like Visual Studio on Windows? Do the features an IDE provides exist there (eg. showing ...
1
vote
1answer
74 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 backend/CMakeLists....
0
votes
0answers
31 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 ...
3
votes
1answer
500 views

Buttons in ubuntu touch toolbar

What is the code to have a toolbar with buttons when programing in QML with the Ubuntu Components Module. I want to make it so that when I swipe a finger from the bottom of the screen the toolbar ...
1
vote
0answers
21 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. ...
0
votes
1answer
135 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 dash:...
0
votes
0answers
14 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
248 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 ...