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

15
votes
0answers
305 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 ...
7
votes
0answers
297 views

Howto create a new C++ based Ubuntu touch project in Ubuntu SDK?

There is no option to start a C++ and QML based project in Ubuntu SDK. It only offers to create a QML project with no C++ codes. If I try to add C++ classes to the QML project, I get this error: ...
6
votes
0answers
53 views

High-level library for Unity Dash?

I've wanted to write a GTK+ version of Unity Dash for some time. I think it could be useful for Xfce, Gnome Flashback, elementaryOS, etc. Before I start doing anything about it, I'd like to know if ...
3
votes
0answers
41 views

Documentation / guides for offline ubuntu phone scopes

I've been working on an Ubuntu phone scope that is NOT connecting to the internet, it is retrieving local results. I am having difficulty, which is mostly due to not having a guide for how to write a ...
3
votes
0answers
105 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 + ...
3
votes
0answers
127 views

FreshBooks Online Account

I'm developing an application that connects to FreshBook's API. I can either integrate the account authentication process within my application, or I can develop an Online Account that could be used ...
3
votes
0answers
606 views

TypeError: Cannot call method 'hasOwnProperty' of null, while creating a QMLscene window

I am trying to make a simple Ubuntu Touch web application with Qt Creator. I have set up a new project according to the tutorial and committed the files to Bazaar. I have set a url instead of the ...
3
votes
0answers
255 views

QML app icon not effective when called from app.setWindowIcon()

I've a Qt5/QML hybrid app built with Ubuntu Touch SDK. I'm trying to set the app icon for it, but without success. Code looks like this: int main(int argc, char *argv[]) { QApplication app(argc, ...
3
votes
0answers
341 views

Kinect + Webcam - Bandwidth issue

I am making an application on Ubuntu 12.04 and ROS Fuerte (Robot Operating System) using the Microsoft Kinect sensor and a logitech webcam. Both work perfectly fine independently. For information I ...
3
votes
0answers
410 views

How do I get high resolution icons in Unity for my application without a .desktop file?

I am trying to fix a problem I found with a Java application. It has a too low res icon. After reading the source of it I modified it to have a bigger icon. SWT uses the gtk_window_set_icon() function ...
3
votes
0answers
188 views

Python Access Pidgin Data Structure by Dbus

I recentely started to program in Python and making a script/plugin for Pidgin,i need to access PurpleConversationUiOps and use the has_focus field,based in some examples in documentation of Pidgin i ...
3
votes
0answers
105 views

How to get Yelp to open the docs?

quickly tutorial Result: An empty Yelp window with the XML file opened in gedit. yelp /usr/share/quickly/templates/ubuntu-application/help/tutorial.xml --> Exactly the same problem. Worked fine a ...
2
votes
0answers
24 views

Unity 8 scopes: changing the card color has no effect

The example scope that comes with the ubuntu-sdk implements a client for the OpenWeatherMap API. If I specify "card-background" in the category renderer template (because I want to have background ...
2
votes
0answers
16 views

Ubuntu SDK, QML: how do I create a vertical slider?

I am trying to create a vertical slider: http://developer.ubuntu.com/api/qml/current/Ubuntu.Components.Slider/ How can I do that? Just rotating it doesn't seem like a good idea, it messes up anchors ...
2
votes
0answers
55 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 ...
2
votes
0answers
25 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" }
2
votes
0answers
32 views

How do I delete files that my app owns from QML?

My app imports files from ContentHub and saves them into ~/.local/share/applications/${myappid}/Pictures/ and I would like to be able to delete them when the user no longer wants them.
2
votes
0answers
117 views

How does one run QML tests on a Ubuntu Touch Phone?

My application has QML tests using QtTests that I run locally on the desktop via qmltestrunner. I am interested in running these tests on the device to simulate real conditions like the on-screen ...
2
votes
0answers
76 views

Targetting Boost 32-bit While on 64-bit ubuntu?

Well i have libboost-all-dev installed, but i am trying to compile for 32-bit. I can't install libboost-all-dev:i386 either. g++ -lboost_filesystem main.cpp g++ -m32 -lboost_filesystem main.cpp The ...
2
votes
0answers
24 views

Deleting a application draft

I accidentally started submitting a click application when I meant to submit a desktop application is there a good way to delete it in the draft state? I searched around the "Manage" menu and I tried ...
2
votes
0answers
255 views

Multitouch in Qt

I've got a fresh install of Kubuntu 14.04 and Qt Creator/5.2.1, and I'm trying to get multi-touch working for the example applications like photosurface. My input device is an Acer T272HL 10 point ...
2
votes
0answers
36 views

Ubuntu keyboard shortcut guidelines?

Is there an authoritative specification of keyboard shortcut guidelines for Ubuntu? I am looking for something like the OS X guidelines that result in unified application behaviour for common things ...
2
votes
0answers
41 views

Unity Scope to read XMP metadata from local files

I have seen various tutorials on writing Unity Scopes, including the one on developer.ubuntu.com However, they all appear to concentrate on scopes that download data from various web services. I am ...
2
votes
0answers
24 views

Touch SDK Expansion

In the Ubuntu Touch SDK description http://design.ubuntu.com/apps/building-blocks/expansion there is an UI element which is mentioned, namely the Expansion. From the description I don't really ...
2
votes
0answers
37 views

Guidelines for packaging web app

For a while now, I'm trying to build an Ubuntu package for PPA upload, and facing all sort of issues understanding bzr dh-make and such. The package is web application (php-based). Most packaging ...
2
votes
0answers
180 views

My postinst script launches a service successfully but apt-get apparently shuts it down. Why?

I have this package with a postinst script that launches a service as its last step. Something like: #!/bin/sh set -e . /usr/share/debconf/confmodule [...] case "$1" in configure) [...] ...
2
votes
0answers
94 views

Terminal won't print “Refresh” in terminal

I have a slight problem today with my Ubuntu app. I've been following a Youtube tutorial. I've provided the link below with the rest of the links provided to help you find out the cause of the ...
2
votes
0answers
28 views

How does the Ubuntu SDK handle accessibility?

How do I design an application in the Ubuntu SDK so that it integrates with assistive technology such as screen readers?
2
votes
0answers
23 views

Will Ubuntu Touch apps work in Linux / Windows / Mac?

I mean, it looks like they're made with cross-platform technologies, but realistically how much effort would be involved in (say) making a Windows installer for one?
2
votes
0answers
437 views

How can I set up a build target in Qt Creator to compile for 32 bit on 64 bit Ubuntu?

I am running 64 bit (x86) Ubuntu and would like to be able to build Qt projects for a target architecture of 32 bit (x86). Qt Creator allows the configuration of multiple 'build kits' for compilation ...
2
votes
0answers
68 views

How to support converged device layout changes?

I'm interested in developing some applications for Ubuntu, using the SDK, for converged devices, including phones, tablets, and PCs. How can I detect which device the application is running on, and ...
2
votes
0answers
38 views

Are USC applications allowed to install .desktop files?

Ubuntu's official site for developers says: Technical requirements: In order for your application to be distributed in the Software Centre it must: Be in one, self-contained directory when ...
2
votes
0answers
328 views

What's the architecture of Ubuntu Phone?

Will Ubuntu Phone be more an Android or more a "normal" Linux? Or in other Words: will it be possible to have e.g. wxWidgets/wxWidgets-applications on it?
2
votes
0answers
74 views

How to make Gtk spinbutton symbolic in 12.04 in only a specific application?

I am currently developing an application for Ubuntu 12.04 and Ubuntu 12.10 systems. My application is completely monochromatic except for the spinbuttons as seen in the screenshot below. This issue ...
2
votes
0answers
131 views

unable to install the Ubuntu Toolkit

I wanted to install the Ubuntu tool kit to get started programming, but when the install was nearly on its end it threw up the following error: The following packages have unmet dependencies: ...
2
votes
0answers
39 views

How to specify target architecture in quickly apps?

I'm building a quickly-app, Do I have to specify somewhere the architecture (amd64,i386,etc) in which my app can run? Thanks in advance. Regards.
2
votes
0answers
91 views

compiling a shared library

I'm doing a 64-bit rewrite of some code I wrote that implements a novel approach to genetic algorithms that I want to turn into a shared library exclusive to Ubuntu using code::blocks/gcc. I have ...
1
vote
0answers
24 views

Ubuntu QML Alarm not working properly

I've been trying to create a simple app capable of setting system alarm. But although I can see the set alarm at correct time in the event list under my clock indicator (on desktop), it doesn't notify ...
1
vote
0answers
11 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 ...
1
vote
0answers
25 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 ...
1
vote
0answers
17 views

In the Ubuntu SDK, is there a way to view all global variables in current project?

In the Ubuntu SDK, is there a way to view all global variables in current project? Working on one of the core apps, and I want to figure out if any global variables have been defined for the current ...
1
vote
0answers
31 views

Installation of Meanings failed on Nexus 4

I'm doing a simple test with the tutorial app 'Meanings'. It's running fine in the emulator but fails if I try to install the 'click' package on the physical device. Executing: ...
1
vote
0answers
18 views

About is not working in My Ubuntu App for desktop

I have developed the same app "mybrowser" told by Jono Bacon in his tutorial. But when I want to see About it is throwing the following error: Gtk.Window.__init__(self, type=type, **kwds) ...
1
vote
0answers
354 views

module verification failed signature and/or required key missing

I am working on a kernel module, which is working fine. However, looking through dmesg, I see a message regarding my module that module verification has failed (module verification failed signature ...
1
vote
0answers
264 views

How to deploy my Qt app statically on ubuntu ? It is running on ubuntu 14.04 only

I wrote a application with Qt 5.x and the compiled binary is only working on my development machine running 14.04 on other machines running 14.04 on linux mint 16 I already inserted the CONFIG ...
1
vote
0answers
9 views

Redirecting to error page while submitting ubuntu touch app

I'm writing an application for Ubuntu for Phones and I submitted my .click package to ubuntu store 'myapp' portal, after uploading it goes for scanning, but after scanning automatically it is ...
1
vote
0answers
47 views

Pack Ubuntu HTML5 click application for desktop

I would like to pack an Ubuntu HTML5 click application for the Ubuntu Software Center. The application is a game that uses Apache Cordova. It is already published in the click store, I would like to ...
1
vote
0answers
364 views

Can't create Unity lens with Ubuntu 14.04

I want create a Unity lens, I follow this exemple : http://developer.ubuntu.com/2012/04/how-to-create-a-wikipedia-unity-lens-for-ubuntu/ I use : quickly create unity-lens wikipedia When I try : ...
1
vote
0answers
129 views

Deploy app on OpenStack deployed locally on single machine

I have deployed OpenStack using DevStack on single Ubuntu 12.04 machine running all services. I actually have to develop a Private Cloud Document Management System Now, I want to know that how do I ...
1
vote
0answers
66 views

How to package QML Extension Library + Tabbed Touch UI?

I have followed the method described [here] (https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1215913) for creating QML Extension Library + Tabbed Touch UI project and generate click package. ...