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
2answers
149 views

How do you get the website title to show up in the menu area / webpage title are in python / quickly created web browser?

hi there im creating a web browser using a mix of quickly and Python, im wanting to get a websites title to show up in the very top of the page. im not sure of what code that i need adding to the ...
1
vote
1answer
26 views

How can I create an application for Ubuntu 14.04 using Java? [closed]

I was looking for some links/instruction which gives a clear conception about building an application using Java, or C++.
0
votes
0answers
11 views

Distribute completely new package over ppa

Say my application is installed over software center by somebody in version 2.0 build with python and 12.04 support. When I make a completely new application with same name say version 3.0 in C and ...
5
votes
1answer
132 views

How do I get my QML program to utilize Unity7 notifications? Is there an API I can use?

I am developing a screenshot application in QML, and I wish to utilize Unity 7 notifications, similar to what Rhythmbox uses when notifying a user that a new song has started, or when the volume is ...
2
votes
3answers
1k views

Mobile app development issues with qmlviewer not being found?

I am trying to follow the Mobile app development tutorial found here. When I try to run the currency converter in QT Creator I get this error: Starting external tool '/usr/bin/qmlviewer' '' ...
2
votes
0answers
70 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 ...
1
vote
2answers
37 views

Is there a forum or community for Ubuntu Application developers?

Is there a forum or community for Ubuntu Application developers? Chat rooms count.
0
votes
0answers
27 views

How do I Resolve a dependency issue with Ubuntu SDK, chroot, CMakelists, and the Emulator?

I am trying to build lp:ubuntu-filemanager-app on the ubuntu sdk for running on the emulator. The libraries I need are installed on my system, and in the phablet-shell. I can run the application in ...
2
votes
0answers
28 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" }
1
vote
2answers
223 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?
3
votes
3answers
661 views

Can I develop a 2D game with just QML? [closed]

I have a bit of interest in developing for Ubuntu Touch (I have little to no real coding experience also), but my main interest is trying to develop a 2D game. From my understanding, I would either ...
2
votes
1answer
21 views

What is Tree and Merge Source?

I did a bzr merge, and I always forget what the merge source represents, and what the tree represents. Which one is my code, and which one comes from the branch I merged with?
0
votes
0answers
27 views

Quickly version numbering

I have been experimenting with quickly, and more specifically, packaging. I have been using this command: quickly create I am quickly (heh heh get it, 'quickly') getting frustrated that the version ...
1
vote
1answer
487 views

Ubuntu App Development. Unable to install Ubuntu SDK and buggy Ubuntu emulator

Hello I have installed Ubuntu 14.04.1 and I have no more patience to struggle with my problem. I can't install ubuntu-sdk package: Some packages could not be installed. This may mean that you have ...
0
votes
1answer
151 views

Debian installer does not create desktop/launcher link

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
4
votes
2answers
559 views

How do I develop software for Ubuntu that one could still use in future versions [closed]

Like many of you, I am sometimes annoyed by the fact that some developers just stop working on software they created (see examples below). As we try to cope with the loss, we sometimes will not accept ...
0
votes
1answer
34 views

A required package was not found - Ubuntu SDK default template has this error

I want to do some Unity Scope development and I'm getting this error: CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message): A required package was not found Here's a quick ...
0
votes
1answer
28 views

How to change the font style of a ListItem?

In my Ubuntu Touch application, I have a list of items and I would like to highlight some of them by making the text appear in bold (think of unread messages in a mail client). Looking at the ...
1
vote
1answer
35 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 ...
0
votes
0answers
73 views

If I want to test apps on the phone emulator, what kind of emulator do I have to build?

It recomends either i386, but there is an arm version as well; what is the difference? I tried running my app on the i386, but I got this error: 20:31:27: Running steps for project ...
2
votes
1answer
23 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
219 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?
19
votes
1answer
1k views

How to add support for new services to Friends?

With the new friends-app landing in Ubuntu, it occurred to me that adding support for Instagram in the timeline would be cool. I also thought I might take a stab at it myself, but I'm having a hard ...
2
votes
1answer
253 views

Error when modifying rules file in debian packaging

Trying to get my debian packaging to work as I want, I modified the debian/rules file (showing line numbers) 12 %: 13 dh $@ 14 15 override_dh_install: 16 dh_install 17 install -m 644 "My ...
0
votes
1answer
68 views

Exporting LD_LIBRARY_PATH that contains spaces and special characters

Trying to deploy a Qt application on Ubuntu Directions from Qt site show how to allow the library dependencies to be loaded, by changing the LD_LIBRARY_PATH variable: #!/bin/sh appname=`basename $0 ...
14
votes
2answers
6k views

How to read dbus-monitor output?

i'm playing around with dbus-monitor to try and understand how dbus is working in Ubuntu environment. I have several questions in this regard: Could you please let me know how to read the following ...
0
votes
0answers
11 views

Page Stack Component Depth to always remain visible?

Is this possible? Say you have a depth of 5 tabs, They appear and disappear as you click the header. I want them to always remain visible.
1
vote
1answer
131 views

Can you do dictionaries in qml?

So for example: Item { id: sylvainLikesAnsweringMyQuestions property var myDict: {[key,value],[anotherKey,anotherValue]} }
1
vote
0answers
40 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 ...
15
votes
3answers
927 views

Testing Ubuntu mobile applications

I'm currently reading a lot about the new Ubuntu mobile (phone) OS, and now I'm wondering if there is the possibility to test applications. I know that QtCreator is the recommended IDE and an emulator ...
4
votes
1answer
173 views

Can't Run Ubuntu SDK Apps in Emulator

Ubuntu 14.04.1Qt Creator 3.1.1Ubuntu Touch: Image version 189 & 179 I recently upgraded from 12.04 to 14.04 LTS (with Ubuntu SDK installed, and I did re-enable the ubuntu-sdk repository) and ...
12
votes
4answers
4k views

Writing indicators with Python, GIR and GTK3

I'm writing an application that needs to use an indicator. I've done this in the past using PyGTK and GTK2, using as reference this document: ...
2
votes
1answer
43 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 ...
0
votes
0answers
19 views

How to contain the webapp to the correct website (ie UrlPatterns)

I'm making a few webapps but I can't contain the app in the correct website. The exec line is the following one : Exec=webapp-container --store-session-cookies \ ...
0
votes
0answers
155 views

Android Development in Eclipse

I am using ubuntu 14.04 . I have been trying to develop Android apps on it using Eclipse Juno which has inbuilt Android SDK in it. After setting up a new Virtual Device when I create a new project ...
1
vote
1answer
137 views

How do you use Q_INVOKABLE to access c++ functions in QML?

I am looking for the most simple and straightforward example. For my part; .h public: KTerminalDisplay(QQuickItem *parent = 0); ~KTerminalDisplay(); Q_INVOKABLE void setFontStyle(QString & s); ...
3
votes
1answer
242 views

What in the world is wrong with my Ubuntu Touch app?

I'm working on an Ubuntu Touch app that works flawlessly with qmlscene. However, when I attempt to run it on an actual device, I get a bunch of dots all over the portion of the screen dedicated to the ...
2
votes
1answer
28 views

What is the difference between bzr lp-propose and bzr lp-propose-merge?

What is the difference between bzr lp-propose and bzr lp-propose-merge? Do I have to provide the branch I wish to propose a merge to, or does it assume it for me?
1
vote
1answer
64 views

How to get filename from FileChooserButton in PyGTK?

I'm using Glade and PyGtk to develop an application. Currently I'm using a button under a toolbar to open files using this code: def on_openVideo_clicked(self, widget): dialog = ...
1
vote
1answer
76 views

Should we be upgrading away from ubuntu.components 0.1?

Should we be upgrading away from ubuntu.components 0.1 in our ubuntu applications? I am working on one of the core apps, and many were unsure as to whether the current library (1.1 I think) offers ...
7
votes
2answers
410 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
4answers
2k views

Is there any way to make a windows version of my python/gtk3 apps?

I've recently been doing quite a bit of coding using quickly and GTK 3. Its great and i'm happy with some of the results, but now i'd like to share my apps with people running windows or mac. Is there ...
1
vote
1answer
57 views

In Ubuntu SDK, I can't test apps on my Nexus phone (Server Rejected Key)

I just made my first webapp for Ubuntu Touch with the Ubuntu SDK. If I test using deploy locally, it works fine. If I test on my device, it returns me : "-1: error: Could not connect to host: Server ...
1
vote
1answer
31 views

How can I take a textbox text entry and make it a variable?

I am having trouble with Python and would like to have some help. I am making a apt GUI 'front-end' with a nice UI. def on_textbox_changed(self): self.instvar = ...
4
votes
1answer
205 views

python GUI frameworks that support touch devices

Hello everyone I want to know what is the best GUI framework for python that supports touch I've been searching couple of hours and this are results which I found: PyQt5 I heard for Qt and I know ...
11
votes
1answer
3k views

Where can I get the source code for “Ubuntu for phones”?

It says in your website that Ubuntu is a free operating system. How can I get the source code for "Ubuntu for phones"?
0
votes
2answers
186 views

How to Integrate of Python 2.7.4 in Qt 5.0

I have Python 2.7.4 installed,Qt 5.0 installed,PyQt 4.10.4.tar.gz and sip 4.15.5.tar.gz. How can I integrate Python with my Qt?
0
votes
1answer
25 views

Is there a benchmarking/monitoring tool that can be targetted towards running applications?

I am trying to fix a performance issue bug on one of the core apps, and I would like to know if there is any benchmarking or monitoring tool that I can use to compare my different branches use of CPU. ...
0
votes
1answer
63 views

“Ubuntu.Connectivity” is not installed

who can I install Ubuntu.Connectivity 1.0 on Ubuntu 14.04 to use it in my application on nexus4 I have used the example: ...
0
votes
0answers
29 views

How do I use the “QML Extension Library + Tabbed UI” option in the Ubuntu SDK?

Is there a tutorial for using the Extension Library project type? I haven't touched C++ in a long time, and I'm completely new to QT. I'm not looking for anything complex, just something like ...