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
5 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
14 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
19 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?
9
votes
0answers
167 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 ...
-3
votes
1answer
17 views

whats the best way to start [closed]

i want to learn programing so that i can start to make my own programs with my own thinking on imaginations. so i what to know whats the best way for a beginner to learn to start programing
3
votes
3answers
536 views

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

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
17 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
19 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
votes
0answers
27 views

My software center don't open

I used the terminal, and typed 'software-center', and it showed this msg: 2014-10-10 22:44:13,297 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None' 2014-10-10 22:44:14,909 - ...
0
votes
0answers
19 views

Incorrect display of Ubuntu Emulator (SDK)

I've installed ubuntu-sdk and created i386 instance of Ubuntu Touch image (ubuntu-emulator create myname --arch=i386). After I run it by ubuntu-emulator run myname and everytime I get the following: ...
1
vote
1answer
68 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
0answers
27 views

How to create Debian source package for a JavaFx application for Ubuntu Software Center?

I submitted a native .deb file to Ubuntu Software Center, but I got below response from reviewers: Your application is not in the correct archive format. Please provide us with the Debian source ...
0
votes
1answer
27 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
538 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 ...
1
vote
0answers
32 views

Ubuntu touch. adb devices is not recognizing nexus 4

I am using ubuntu touch in my mobile nexus 4. adb was working perfectly and also adb helped to test some of apps I have created in my mobile. Now I am finding that adb is not working at all (ex: adb ...
0
votes
1answer
15 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
17 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
27 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
22 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
21 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
40 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?
1
vote
1answer
55 views

How to create charts in QML?

I'd like to add to my application a page with not only raw figures but also eye friendly charts to display data. Is there a native component or a third-party plugin I could use to create such ...
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 ...
0
votes
1answer
30 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
36 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
5k 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
7 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
18 views

Can you do dictionaries in qml?

So for example: Item { id: sylvainLikesAnsweringMyQuestions property var myDict: {[key,value],[anotherKey,anotherValue]} }
0
votes
0answers
15 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
828 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
73 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 ...
10
votes
4answers
3k 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
46 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"} }
2
votes
1answer
35 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
13 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
56 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
46 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
223 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
18 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
21 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
67 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
214 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
1k 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
30 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
28 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
79 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
2k 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
96 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
22 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
35 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: ...