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

2
votes
2answers
27 views

How to add some padding between a ListView and its footer?

Consider the following QML snippet: ListView { //... footer: Text { text: "Sample Text" } } This will display the text "Sample Text" directly at the bottom of the ListView. ...
1
vote
1answer
50 views

How can I depoly an Ubuntu SDK app for other GNU/Linux distributions?

My situation: I have created an application using Ubuntu SDK, in QML & C++. The application uses Ubuntu UI Toolkit (Ubuntu.Components 0.1) I want my application to run in other GNU/Linux ...
12
votes
2answers
732 views

How do you package HTML applications for Ubuntu Touch?

Gomobile talks about HTML5 applications but doesn't explain how to package or install them on Ubuntu Phone/Touch. Is the "Unity Webapps" stuff webapps the same for Ubuntu Touch? (API documentation ...
22
votes
18answers
13k views

Is there a Visual Studio style tool/IDE?

I have been developing in the windows space with Visual Studio for a while now with work, but I have also been using Ubuntu for a while and am keen to get into some software development for linux. I ...
-1
votes
1answer
34 views

Programing software [on hold]

I'm Shuvra . I'm programing on 'C' . Two month ago I worked in Xcode(Mac OS) for C programing . But now I'm a member of Ubuntu family . So, please Tell me a compiler name which is the best for "C" ...
4
votes
2answers
121 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"} }
0
votes
0answers
132 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: ...
0
votes
0answers
31 views

get_iplayer no longer works

I used to use get_iplayer to download previously transmitted BBC programmes to disk. The BBC has now stopped the facility that get_iplayer uses so that it no longer works. It's now offering the Nitro ...
0
votes
2answers
24 views

Best way to update files on production server from development server

I am developing a website for my own company. To do so I have 2 servers: Server 1: a development server where I upload and test files. I use Adobe Dreamweaver CS6 to put and get files I am working ...
0
votes
1answer
20 views

Ubuntu Touch: How can I debug ubuntu touch apps on the device? [duplicate]

My app works well on desktop but I can't figure out why does it crash on my nexus 7. How can I debug it while it runs on the device?
2
votes
0answers
19 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 ...
3
votes
0answers
35 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
2answers
30 views

Ubuntu SDK: How can I see error logs for my ubuntu touch app?

I've built an ubuntu touch app, it works well on desktop, but when I install it on the device and try to launch, it crashes. Where can I find error logs or any other output that the app can give me to ...
1
vote
1answer
18 views

Ubuntu SDK, Ubuntu touch app: “Error: Error opening shm.”

I am building an app for Ubuntu Touch. It works well on desktop, but when I try to open it on nexus it starts opening a splash screen but immediately crashes. Here's the logs: t_shm() at ...
0
votes
1answer
46 views

UbuntuShape component doesn't show the background color.

This code gives me an UbuntuShape with the background color red: UbuntuShape{ height: units.gu(6) width: units.gu(6) color:"red" } but when I set an image with the code below, the ...
-1
votes
1answer
1k views

Ubuntu sdk not getting installed 12.04

First I used the compound command given here but it gave some errors so I executed each command separately that I may be able to figure out the where is the error. Adding repository and updating was ...
1
vote
0answers
21 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 ...
0
votes
1answer
26 views

How do I remove dependencies from a deb installer for an isolated system?

I have created a deb package for an application created in Qt. I have included all the libraries that the application depends on, to be installed in a folder next to the application itself: ...
3
votes
1answer
17 views

How do I add categories to a scope?

I'm playing around with the Ubuntu SDK. At the moment I'm trying to create a Unity 8 Scope. Currently I'm stuck with the following: How do I add categories to the scope (the selection list above the ...
1
vote
1answer
32 views

Ubuntu Touch: How do I run an ubuntu touch app from the terminal?

How do I run an ubuntu touch app from the terminal? Where are they stored?
2
votes
1answer
51 views

how to change to next page when clicked on button

hi guys I'm new in qml programming and i was just wondering how can i switch to an other page when the user clicks on my button. by the way how can i make a new page in the ubuntu sdk so that when ...
13
votes
0answers
264 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
0answers
12 views

Ubuntu SDK, Ubuntu Touch: Disable automaticOrientation for one element?

I am building an Ubuntu Touch app. Option "automaticOrientation: true" rotates the whole interface, but I need one element to stay in place and ignore it. Is this possible?
1
vote
1answer
11 views

Scope settings - what does “list” type returns?

i am trying to get the string selected from a list (defined in the settings.ini with name [listname]) using this code: unity::scopes::VariantMap config = settings(); std::string selected_string = ...
0
votes
2answers
17 views

How do I make and upload a package for my game?

I developed a game using the C programming language with SDL for graphics. Now, I just have a folder of the project (with project files). But I don't know how to make a package of this game to upload ...
1
vote
0answers
12 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 ...
0
votes
1answer
28 views

Ubuntu Components - Picker problem

While trying to create two pickers on Ubuntu inside a dialog, the labels inside can only be read properly when they are not chosen and overlap on the left when chosen, as seen in the image: The ...
2
votes
1answer
17 views

Ubuntu SDK. error: “Kit autocreation for error is not supported”

I am using ubuntu sdk, and I am trying to create Kit for my device. I'm opening the tab "Devices" and clicking "Autocreate", and I'm getting an error: "Kit autocreation for error is not supported". Do ...
0
votes
0answers
17 views

Cannot launch app in Ubuntu Device

I have just installed the Ubuntu SDK on an Ubuntu 14.10 system (a virtual 32-bit install). I have also installed Ubuntu Touch on a 2013 Nexus 7. The device is seen by the host and the device is ...
1
vote
1answer
33 views

How do you branch a single file from a multi-file project in bazaar?

How do you branch a single file from a multi-file project in bazaar? For example: lp:ubuntu-popey-app has two files; foo.h and bar.h I would do something like this: bzr branch lp:ubuntu-popey-app ...
1
vote
0answers
10 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 ...
6
votes
1answer
1k views

What programming languages are scopes written in?

I'd like to get started writing a Scope for Ubuntu. What programming languages are available and what should I choose?
1
vote
1answer
81 views

Cannot run the Unity 8 openclipart scope example

Following the instructions of this page, I have installed the Ubuntu SDK and downloaded the tutorials source code. The openclipart scope builds correctly, but I have a runtime error: $ ...
1
vote
1answer
106 views

QML what to use to store int numbers TextInput or TextField

What is good to use on a Ubuntu Phone app that needs 25 variables to get input that are int numbers. Text fields or text input. Right now I'm using text inputs to create the 25 ids that I'm going to ...
2
votes
1answer
73 views

How can I store the value an user enters in a variable?

How can I store the value an user enters in a variable? For example I have this code TextField {width: 37; height: 19 var id: q1 ...
3
votes
1answer
123 views

Ubuntu SDK: Provide your application identifier in $APP_ID environment variable

I'm getting familiar with Ubuntu SDK and QML. After creating sample project: 'App with Simple UI', I'm able to run it correctly. But, I'm getting warning: ...
2
votes
1answer
54 views

Get a rid of the header section in a qml app on Ubuntu SDK

It is possible to remove the header section in the MainView of an new qml app? Code: import QtQuick 2.0 import Ubuntu.Components 0.1 import "components" /*! \brief MainView with a Label and ...
1
vote
1answer
75 views

Prevent components from becoming transparent on a qml window

Here is the code for a transparent and frameless window in qml: import QtQuick 2.2 import QtQuick.Window 2.1 import Ubuntu.Components 0.1 Window { MouseArea { anchors.fill: parent ...
3
votes
2answers
83 views

QML - How to create QML Components properties so they can be set from JavaScript?

I am trying to create a component with certain properties I've set. The sounds location and name are given by a C++ function that is actually working because the console.log() shows so: qml: Adding ...
1
vote
1answer
84 views

Using Online Accounts to authenticate against my server

In my Ubuntu QML app I'm trying to use online accounts in order to authenticate against my server. I'm a little confused as to how I should go about doing this. Ultimately I want the user to be able ...
0
votes
0answers
30 views

Ubuntu Touch Qt3D 2.0 crashes on start

I've been trying to develop something in QML3D and while my app is running well on desktop, I can't get it working on my tablet (even thought for example Qt3D cylinder from the software center - ...
2
votes
1answer
61 views

How to get data from REST API with QML (for ubuntu touch app)?

I am trying to use firebase REST API and to get some data into my ubuntu touch app. Can you give me some pointers on how could I go about doing that?
1
vote
1answer
73 views

get QML default value of a widget

How to receive the default value of e.g. TextEdit font.pointerSize? I would like to create a custom widget that uses some default values but allows to set some values from outside. Therefore it is ...
2
votes
1answer
74 views

U1DB problems with apparmor

I'm having problem with u1db and apparmor. The application works fine, but when it is packaged apparmor does not allow the app to save data into $HOME/.local/share/.. so I can't actually save my ...
2
votes
1answer
27 views

Add external library to Ubuntu App in Ubuntu SDK

I am trying to add the QuaZip library to my project (https://launchpad.net/vadetux). I have tried setting the EXEC variable in the CMakeLists.txt to: set(EXEC "qmlscene -I /usr/include/quazip $@ ...
0
votes
2answers
394 views

How to call Qt or local function from Ubuntu HTML5 App?

I have create a HTML5 App from Ubuntu SDK. It contains a index.html and js directory. Next I add "X" label on the html file like this: <head> ... <style type="text/css"> ...
1
vote
0answers
46 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 ...
0
votes
1answer
25 views

Why ubuntu SDK do not Highlight HTM code?

I just sterted with the ubuntu SDK, but, hell, the Highlight not even works! How can I make the Highlight to work like it should do, in the settings, the mimetype handler use a simple text file style ...
0
votes
0answers
51 views

Use ubuntu-html5-app-launcher, canvas.addEventListener(“mousedown” … Triggered when up the mouse button

I use ubuntu-html5-app-launcher My code: ... ... canvas.removeEventListener("mousedown", newGame, false); canvas.addEventListener("mousedown", onCanvasDown, false); ...
0
votes
0answers
11 views

Phonegap plugin development

I'm developing Ubuntu WEB application using Phonegap. From http://docs.phonegap.com/en/2.7.0/guide_plugin-development_index.md.html I can see there is no explanation about plugin development in Ubuntu ...