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

1
vote
1answer
1k views

Listmodel in QML: How to retain Listmodel values on page switch in page stack

I have an XML file to show list of items(listview), on click of each item i am switching to page which reads the XMLListmodel for each category using pagestack.push. After pressing back and again ...
0
votes
0answers
29 views

How to develop Ubuntu apps (2013 edition) [duplicate]

I know this question has come up before, but the answers can quickly go out of date. No pun intended. ;) Previously, it was the "quickly" tool to build apps. Now, developer.ubuntu.com points you to ...
2
votes
1answer
427 views

Is it possible to develop an app for Ubuntu with C (not C++)?

I just want to know if i can write GUI apps for Ubuntu using C--again, not C++. It's just that I hate having to learn a new language entirely (I know that they are similar in some ways but still). ...
6
votes
1answer
384 views

Can I make profitable app for Ubuntu Touch?

I would like to ask you guys, if there would be some sort of app policy regarding the Ubuntu touch. Just as in Android, and iOS, the developers could earn a reasonable amount of money, by making their ...
2
votes
1answer
46 views

How to show the numpad automatically when the textfield is loaded?

I'm making an app with the Ubuntu SDK where a user has to enter a number as fast as possible. I have a textfield in a page, where he has to enter the number: TextField { id: inputQuestion ...
7
votes
2answers
9k views

Can I sell my PyQt4-app without having a PyQt license?

I would like to sell a Python application that uses PyQt4. The commercial licenses for Qt PyQt cost thousands of Euros together. Do I need to buy a commercial license? Consider this from a ...
2
votes
0answers
107 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 ...
0
votes
2answers
5k views

I get a error “IndentationError: unindent does not match any outer indentation level”

I get this error: Traceback (most recent call last): File "bin/mybrowser", line 32, in <module> import mybrowser File "/home/shaunyo/mybrowser/mybrowser/__init__.py", line 14, in ...
2
votes
2answers
581 views

How can HTML5 Ubuntu Touch apps access camera and microphone?

I am creating an app for Ubuntu Touch using HTML5. I am opening my HTML page using QtWebKit's WebView and I really need to let the app take pictures and record audio, however, I can't access the ...
2
votes
3answers
533 views

When I create a new project I can only choose “Other Projects”, “Non-Qt Project” and “Import Project”

I have a problem with ubuntu-sdk I installed it following the guide here Get-Started But then when I start ubuntu-sdk and try tro create a new project I can only choose "Other Projects", "Non-Qt ...
27
votes
1answer
7k views

What are Click packages?

I noticed that Ubuntu SDK recently had some updates and it installed a program named "Click". I would like to know what they are and how to use them. Also, would they make Debian packaging easier?
2
votes
0answers
31 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?
1
vote
1answer
39 views

How can I anchor a component to the top of the toolbar?

Using the Ubuntu SDK, how can I get an anchor to the top of the toolbar? I want something like this: MyItem { anchors.bottom: toolbar.top } so that I can anchor an item to an omnipresent ...
0
votes
1answer
45 views

Plugin ubuntu Desktop [closed]

I'm want to do a plugin to Ubuntu in my term paper, but i never had seen something like this to ubuntu. I want to know about the complexity to "extend" an OS, how much time will spend to do something ...
1
vote
1answer
52 views

How can I pin the toolbar so that it remains revealed?

An always-revealed toolbar would be more suitable for a pointer-driven interface. How, using the Ubuntu SDK, can I set the toolbar to be (and remain) revealed?
4
votes
2answers
465 views

Fade in or out a QML Audio file?

I have a QML Audio element in my app that plays a sound. When I click a button I execute: audio.play() and when I click it again I execute: audio.stop() Ideally I would like to fade the sound in ...
4
votes
1answer
226 views

i18n vs qsTr (what is the difference)

In this tutorial http://developer.ubuntu.com/resources/tutorials/getting-started/currency-converter-phone-app/ you can see i18n.tr was used for the internationalisation of text in the Qml file. Today ...
0
votes
1answer
889 views

ubuntu 13.04 unable to locate package ubuntu after installing ubuntu sdk

Am new to ubuntu and software development but after installing the sdk via the terminal, it say "unable to locate package ubuntu" then "unable to locate package sdk"
0
votes
2answers
84 views

I want to use Ubuntu for developing my application - pl help

I am an Mfg Engg Professional with 30 years experience in CNC / CAD / CAM fields. I have stumbled upon an application for time & motion study and using VB.net SQL 2005 Express developed it into a ...
5
votes
1answer
942 views

How to use Arguments in QML without getting qmlscene arguments

I'm trying to write a QML application to be launched by qmlscene. I want this to accept arguments, so I'm using the Arguments object. However, this gets the arguments passed to qmlscene as well as ...
6
votes
2answers
549 views

How do I use OAuth from an Ubuntu Touch app?

I'm writing an Ubuntu Touch application in QML. I'd like to integrate with Trello. There are two ways to log into Trello in the API, one of which is OAuth, which I plan on using. What is the best way ...
0
votes
1answer
60 views

QT Creator - Testing Code

I am doing the tutorial 'CurrencyConverter'. But I am not able to see the output. The code compiles fine. But the mainview after opening just shows blank window. What might be the issue?
3
votes
1answer
1k views

Quickly application create config folder and config file under user's home folder

I want to create an app with Quickly but i have a question: Lots of applications create config files under ~/.config or ~/.application/config in home folder of current user and keep configs, user ...
5
votes
1answer
114 views

How to develop for Ubuntu?

I read on the Ubuntu site about development, and I'm downloading the Ubuntu SDK currently, but I just had some questions that the site didn't answer for me when I was looking around. Is the Ubuntu ...
0
votes
1answer
154 views

Why do I get an error when trying to use U1db with the Ubuntu SDK?

I want to create an app with the Ubuntu SDK. It requires the creation of a database, so I thought it would be easy to create it with U1db. First I had many issues finding I needed to install the ...
1
vote
1answer
59 views

Are Python apps allowed in Ubuntu App Showdown?

I want to know if python apps (containing only a .py file) are allowed in the latest app showdown. If not, how can it be ported to QML?
0
votes
2answers
77 views

What are the plataforms/devices Ubuntu touch will run from? [duplicate]

Having been a first day contributor to Edge (shame it didn't get there) I appreciate phones & tablets running Ubuntu is the aim, for next year. In the meantime, can you please clarify what ...
0
votes
1answer
520 views

Receiving drag events in a WebView in a QML application

I'm working on an app using QML and the Ubuntu SDK. One of the Pages contains a WebView. While the WebView receives click events just fine, it doesn't receive drag events, as I would like it to. I ...
1
vote
1answer
382 views

How do I install QtTest for the Ubuntu SDK?

When I select "Build -> Ubuntu Touch -> Create Application Package" in the Ubuntu SDK, the build fails with the error "FAIL! : qmltestrunner::tst_hellocomponent::compile() module "QtTest" is not ...
3
votes
0answers
547 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, ...
16
votes
4answers
3k views

Developer resources for desktop apps?

On developer.ubuntu.com most resources seems to be targeted to Ubuntu touch. If I wanted to write an Ubuntu desktop application, where can I start? Is the Ubuntu SDK for the desktop too? I read that ...
4
votes
1answer
148 views

How to host a project on Launchpad?

I want to create a Python project and host it on Launchpad. I have already produced Python code. What I want to know is: How can put it on Launchpad? How can I make a PPA for it?
3
votes
1answer
107 views

Should all Ubuntu Touch apps use a MainView?

I know the MainView component is the recommended container for all widgets that are part of an Ubuntu Touch app. However, I'd like to understand whether it is essential to use it and what it brings to ...
3
votes
1answer
82 views

Making the MainView fill screen on device

I have been creating an app in the Ubuntu SDK. I want to make sure that the app fills the screen on the device (phone, tablet, etc.). I do not have a ubuntu phone or tablet to test this functionality. ...
12
votes
1answer
144 views

How to add dependency after submitting a proprietary app to USC?

I submitted my app "Brightness Controller" under proprietary license and it has been published. It contains an executable .py file. But the app depends on python-wxgtk2.8 I wrote it in the comments ...
0
votes
1answer
129 views

Programming Linux [closed]

I want to make an application in c#, or in c++ or in what ever programming language even in script language as bash. The application will ask for an answer, e.g. 1+1? and the password will be 2 If ...
1
vote
1answer
293 views

Is there any app for voice recording on Ubuntu Touch phone?

I am working on voice over sensor networks project.For this I need to give the voice data to the network by ubuntu touch phone(Nexus 4) through datacable.Can anybody suggest any app for my project???
3
votes
1answer
11k views

How to set app icon in the .desktop file of an Ubuntu Touch application?

I am learning the Ubuntu SDK, and I have make an new HTML5 Touch UI project with Qt Creator. The project folder has an .desktop file. I then added an launcher.png to my project's folder. Here is my ...
1
vote
1answer
304 views

Ubuntu Software Center application extension

I want to make an application for Ubuntu Software Center. So I wanted to know the type of files that can be packaged into the bundle. Also wanted to know what languages are the applications published ...
9
votes
2answers
454 views

Can a single Ubuntu SDK target touch and desktop with separate layouts?

I know that touch apps will run on the desktop with the same UI, but I was wondering if it will be possible for a single Ubuntu SDK app to have a multi-window UI with desktop style UI elements when ...
1
vote
1answer
186 views

Change the language of an Ubuntu Touch app

In my Ubuntu Touch app I need to be able to change the language of the app without rebooting the app or the device. Is there a way to do it?
1
vote
1answer
57 views

How to make a Quickly project standalone?

I have a Quickly project. But now I want it to be independent from Quickly. How can I do it? How can I run it without typing 'quickly run'?
6
votes
3answers
269 views

Sockets in Ubuntu Touch Apps

I am creating an IRC client for the Ubuntu App Showdown. I need a way to be able to access an IRC server in QML (or JavaScript). What is the best way to accomplish this?
2
votes
1answer
452 views

Are there any synchronization APIs in Ubuntu Touch yet? (Contacts/Calendar/…)

Just wondering if there are any APIs to read/write Contacts/Calendar/Installed Apps/... yet. I thought about writing an OwnCloud Sync app for the showdown that should be able to synchronize all that ...
1
vote
3answers
147 views

Photo selector API for Ubuntu Touch

I searched all over the web, but I can't find anything that could help me. I am looking for an API to implement a photo selector in my Ubuntu Touch application. I need something like a File Chooser ...
1
vote
2answers
2k views

How to read file contents in QML

My app require reading contents from a file. Can you do it using QML alone? Or should I use C++ for it ?
0
votes
1answer
261 views

Qt library: linked by ld.so.conf.d/qt.conf but were not found by installation package

I have problem while installing the program rthlibs. I have linked the library of Qt5.1.0 with the standard library via this command: Code: sudo sh -c "echo /usr/local/Qt5.1.0/5.1.0/gcc_64/lib > ...
1
vote
1answer
244 views

PyQt App deployment

I'm developing four bioinformatic software's with PyQt. I mostly target Windows OS users but since the programs run without any problems on Ubuntu, I thought to upload them to the USC (I also got ...
0
votes
1answer
39 views

PPA packages versions

I am developing an open-source Java application and want to distribute it for Ubuntu (12.04+) users through a PPA. My app depends on a Trove4j library v3+, but there is only 2.1 version of this ...
1
vote
1answer
623 views

I cannot install ubuntu-sdk

I have followed up to getting an Ubuntu Touch. But I cannot get Ubuntu SDK. • OS: Ubuntu 12.04 64-bit • Language: Korean I opened the terminal and ran sudo add-apt-repository ...