Ubuntu SDK is an Ubuntu-specific software development kit, bringing together all the necessary software and tools for app development.

learn more… | top users | synonyms

0
votes
1answer
15 views

QML: QChar Booleans are undefined

function myFunction(x) { console.log(x.isLetter) } myFunction("s") When I run this in a .qml file, it tells me that "isLetter" is undefined. Why? ...
0
votes
2answers
14 views

QML: How do you toggle boolean?

In QML, how do you toggle boolean non explicitly? For example: Whenever a button is pressed, a boolean property will simply switch to its other value. If false, it will be come true. If true, it ...
1
vote
0answers
7 views

Use SystemSettings 1.0?

I'm developing a new app that I need to use the SystemSettings module for (I need to get the device serial, IMEI and stuff). When looking for a way to get these numbers I came across Ubuntu System ...
0
votes
0answers
7 views

ActionSelectionPopover - populate dynamically

I am trying to populate dynamically an ActionSelectionPopover... Does any one ever got it working? this is the static way to get it work: ActionSelectionPopover { id: popMeUp data: bitrates ...
1
vote
1answer
10 views

QML: How to display a “<” character in a richTextBox?

The code in question: description.insert(0,"<tr><td><H1> ---Less-Than-Sign-Here--- </H1></td><td><font face='Ubuntu'size='3'color='#f37420'> ...
3
votes
1answer
17 views

QML: Will the Ubuntu Phone be theme-able, and do I need to develop with that in mind?

Take a simple example in formatting richtext: The Manual Way someTextBox.insert(0,"<font face='Ubuntu Mono'size='3'color='#f37420'> Blah Blah Blah </font>") The hypothetical Way ...
2
votes
1answer
17 views

QML: What is the difference between Row and TemplateRow?

TemplateRow is just an example out of several. There is also TemplateSection and I assume TemplateColumn as well as many others. When should I be using Row{} vs TemplateRow{}?
0
votes
2answers
33 views

QML: What does i18n.tr(“blah blah blah”) mean?

Specifically, what is i18n.tr short for?
0
votes
0answers
23 views

Imports for executing system commands? [duplicate]

QML at the moment lacks the ability to execute basic system commands. What libraries or functions can be imported to add this functionality to a .qml file?
0
votes
1answer
45 views

In QML, is there a Conditional Layout that corresponds to the phones orientation?

So instead of guessing it with something like this: ConditionalLayout { name: "column" when: layouts.width > units.gu(50) Column {... It would be something like this: ...
1
vote
1answer
44 views

It is not supported to create click packages for a non UbuntuSDK target

I've just finished a first version of my app port to QML and tried to create a click package but Ubuntu SDK said Wrong kit type It is not supported to create click packages for a non UbuntuSDK ...
1
vote
2answers
27 views

How to set default time for QML DatePicker?

According to the API I should use date property, but with mode: "Hours|Minutes" the picker stays at 00:00. Is it possible somehow?
1
vote
2answers
32 views

Difference between Qt Creator and Ubuntu SDK?

Having downloaded them both when I installed the Ubuntu SDK, I wonder if there is any tangible difference between the two, such as the libraries being employed.
1
vote
1answer
21 views

Scrolling of ListView within a Column in QML

Below code is working fine ( thanks to Sylvain ), only when scroling, the top row from the ListView overwrite the buttonRow. Any idea ? – import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { ...
2
votes
2answers
24 views

How to get pixel length of a Button text string in QML?

I need to know Button text length in pixels. How to do that ?
0
votes
0answers
61 views

Problem with setting up path in Eclipse for sdk

I am currently working on Ubuntu 12.04 LTS and I have installed Eclipse from the Ubuntu Software Center and then according to the procedure suggested I dealt with the ADT. Next I had to install SDK ...
1
vote
1answer
32 views

QML PageStack , communication between Pages - return values

I defined PageStack only on master page (a.qml) : import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { width: units.gu(48) height: units.gu(60) PageStack { id: pageStack ...
1
vote
1answer
17 views

Ubuntu SDK: Error with First App

I am just starting to develop with the ubuntu sdk. I created a default html5 project, and I havent changed anything. This is the error: Starting ubuntu-html5-app-launcher ...
0
votes
0answers
17 views

Import libraries in Ubuntu SDK

I am very new to QML, Qt and the like. I want to add a library (e.g. http://sourceforge.net/p/qzxing/wiki/Home/) for a "Ubuntu -> Simple UI" project. However, I cannot figure out how. The instructions ...
1
vote
1answer
23 views

does ubuntu-sdk all programming language supports all mobile devices?

ive installed ubuntu-sdk , and the main goal for this installation is to develop mobile apps, for all devices iphone/galaxy...etc saw the project programming language select, html5....python. can i ...
1
vote
1answer
31 views

Running apps from sdk on nexus 4

I wanted to play around with Ubuntu Touch, so I installed the Ubuntu SDK 2.8.1 and dual-booted my Nexus 4 with Ubuntu and Android. But when I connect my Nexus to the SDK, I can start an ssh session ...
1
vote
0answers
20 views

HTML5 app not running in Ubuntu SDK

Today I tried to run just test program in Ubuntu SDK. I create a new project and just pressed run button. But it is showing error. And emulator is also not opening. But when I try to open with QML it ...
2
votes
1answer
26 views

Having trouble installing Ubuntu Phone SDK

I've been trying to install Ubuntu Touch development software, and tried installing the packages by trying these two commands: sudo add-apt-repository ppa:ubuntu-sdk-team/ppa as well as ...
2
votes
1answer
35 views

QML ListView is not scrollable ( if included within a row )

Below code is using ListView within a Column and Row. But the ListView is not scrolable. Any idea why ? import QtQuick 2.0 import Ubuntu.Components 0.1 MainView { width: units.gu(60) height: ...
1
vote
1answer
22 views

QML ListView overwriten with buttons - but should be in different rows

In below code I have 2 rows . In first I have buttons and in second a ListView. Why are they overwriten in the display, what's wrong ? import QtQuick 2.0 import Ubuntu.Components 0.1 Page { id: ...
2
votes
1answer
37 views

QML ListView display only 1 row ( if covered in Column and row )

I need to put a ListView ( coded in QML) into a Row, but in this case only first Row of the ListView is displayed . Some idea why ? Here is my example : import QtQuick 2.0 import Ubuntu.Components ...
0
votes
0answers
42 views

“No executable specified.” Ubuntu SDK Unity8

Was working last night, but today when I started up again, I could not run unity8 out of QtCreator/UbuntuSDK. After building and running, it just states: "No executable specified." FYI; This is a ...
2
votes
2answers
124 views

Ubuntu Studio for Ubuntu SDK

I have one of the strange question in my mind. I saw Ubuntu studio is good for multimedia related thing. I was wondering this thing for past few days. Is it possible to Install Ubuntu SDK in Ubuntu ...
1
vote
1answer
30 views

How to open a browser when the TextEdit::onLinkActivated signal is received

I'd like to open a browser window to display the URL received by a TextEdit onLinkActivated signal. Is it possible to perform such call from the QML application?
0
votes
1answer
63 views

Ubuntu SDK open file dialog

I've started playing with the SDK to start developing an application. The application will be something that will allow me to filter records in an CSV file by a search term. But does a file dialog ...
4
votes
1answer
40 views

How do I make a WebView transparent?

Consider the following QML snippet: Page { WebView { id: webView anchors.fill: parent } } I then attempt to load some HTML in the WebView using the following JavaScript: ...
3
votes
1answer
48 views

How come the contents of Text elements aren't being properly justified?

Consider the following page in a QML application: Page { Text { anchors.fill: parent anchors.margins: units.gu(2) horizontalAlignment: Text.AlignJustify text: ...
0
votes
0answers
34 views

Service Notifications in Ubuntu Phone?

I'm thinking to create a messaging app for Ubuntu Touch. Android apps aren't using 3G every time because it'll drain the battery (Are they Push notifications?). Has Ubuntu Phone something like that? ...
1
vote
2answers
45 views

Ubuntu installation on Windows 7

Can anyone provide me with link of ubuntu setup(non .iso file) so that i can install it side-by-side on windows without writing on cd or usb flash drive?
2
votes
1answer
33 views

In the CurrencyConverter Ubuntu SDK QML example where does the index variable come from?

In Ubuntu SDK QML tutorial a simple currency converter is build. The complete QML source code can be found here. When working through the example I found the following snippet somewhat confusing, ...
1
vote
3answers
82 views

Tab View HTML 5 App

I am trying to understand the basics of the Ubuntu HTML5 UI. I have used the following sample Code from developer.ubuntu.com <body> <div data-role="mainview"> <header ...
1
vote
0answers
80 views

Get/emulate touch event in Cordova app

I have a HTML5 app, wich I want to port to Ubuntu as a Cordova app with Ubuntu SDK. It use touch events on a canvas and works fine in any browser, but no with Cordova. I bind the events like this: ...
0
votes
1answer
23 views

How can I access an attribute of the selected option in an OptionSelector?

I have an OptionSelector that delegates to an OptionSelectorDelegate, and has a ListModel for the model. How should I access the "sometext" attribute of the ListElements? OptionSelector{ model: ...
3
votes
2answers
47 views

How to change the color of *just* the header?

Is there a non-hacky way to change the color of just the header in an app using the Ubuntu SDK? MainView has a headerColor property, but that is used as the first step of gradient. Currently, I'm just ...
0
votes
2answers
107 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"> ...
0
votes
1answer
58 views

ubuntu sdk html5 applicaitons miss some basic effcts of normal html in web browsers!

I download and install the newest ubuntu sdk (1.097~sdkppa~saucy1~test9) in Ubuntu 13.10. I just create a native app with Ubuntu HTML5 APIs, but find that it miss some basic effects/behaviors of ...
0
votes
0answers
26 views

ubuntu-sdk ppa out of date?

I'm currently wrestling with the ubuntu-sdk and after installing it I cannot get the "unity-webapps-qml" package to install because its dependent on a missing package ...
0
votes
0answers
43 views

ubuntu-html5-theme package does not install ubuntu-html5-app-launcher

The package ubuntu-html5-theme (which gets installed as part of the ubuntu-sdk) does not install ubuntu-html5-app-launcher. However if I download the source for this package and build and install it ...
1
vote
1answer
44 views

Set Application Icon

I'm building a QML application with the Ubuntu SDK. I've figured out how to add an application icon to the .desktop file, but I'm not sure where to add the window icon itself. I've seen code for ...
0
votes
1answer
25 views

is there code example or api reference for “convergence”?

I cannot find any code example for writing apps for “convergence”. Does anyone know it where I could find any? Or will anyone give some clue about how to write a convergence app for both phone and ...
0
votes
0answers
29 views

Ubuntu-SDK installation

So I have a clean Ubuntu 64bit 12.04 VM ... please explain why the installation fails following simple instructions on the Ubuntu site? (http://developer.ubuntu.com/apps/create/get-the-sdk/). As a ...
0
votes
1answer
173 views

Get Qt WebKit HTML Content in QML

My application is built with QML (Ubuntu SDK), and I need to get the HTML content from a page loaded with a Qt WebView after the page is loaded. Based on some initial research, it would appear that ...
3
votes
0answers
96 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 ...
2
votes
1answer
59 views

How to clear history on a WebView component?

I am writing a small application containing a WebView component. The final app should work in a kiosk setup, so I need to clear everything in between different sessions, in particular the navigation ...
0
votes
1answer
38 views

Ubuntu-SDK Plugin Loader Errors: Could not resolve dependency 'Core(2.7.1)' Could not resolve dependency 'ProjectExplorer(2.7.1)' [duplicate]

(In Ubuntu 13.10) Ubuntu-SDK opens with the following errors: Does anyone know how to resolve these dependencies?