Questions tagged [ubuntu-touch]

For questions relating to Ubuntu for tablets/phones and the Ubuntu Touch Developer SDK preview.

For questions relating to Ubuntu for tablets/phones and the Ubuntu Touch Developer SDK preview.

33 questions
22
votes
7 answers

How to create a circular progress bar in pure QML+JS?

My application is made using QML+JS and I am looking to create a circular progress bar widget. I can create the circle using a QML Rectangle and settings its radius equal to its width/2 to make it into a circle. How do I create a progress bar out of…
Nik
  • 759
  • 3
  • 10
  • 24
11
votes
2 answers

Conditionally include component based on property value

I have a ListView that displays some data from an API. Within my list item, I need to have two different component trees depending on the data for that row. More specifically, if the row has an associated image, I need to display the image with a…
Tommy Brunn
  • 2,520
  • 2
  • 29
  • 41
10
votes
1 answer

How to dynamically add components in QML?

I am trying to create a component on the fly when a button is pressed, then add it to the current parent. I'm not sure what I am doing wrong here, I have this simple layout: import QtQuick 2.0 import Ubuntu.Components 0.1 import "components" import…
John
  • 3,769
  • 6
  • 30
  • 49
6
votes
1 answer

Moment.js in QML

I'm looking for a way to format dates nicely. It looks like moment.js will give me what I want, but I can't work out how to use it from QML or a Javascript file (this is for Ubuntu Touch). I've downloaded the with-langs file from the website (and…
Sam Bull
  • 2,559
  • 1
  • 15
  • 17
6
votes
1 answer

Get sensor values Ubuntu Touch

I'm new to Ubuntu applications and I'm trying to make an application for Ubuntu Touch that reads the values from the sensors (Accelerometer, Gyroscope,...) but I don't know where to begin. Which language to use? QML, C++.. I've done a thorough…
JoaoM
  • 63
  • 4
4
votes
2 answers

ListView PullToRefresh hide "Pull to refresh" string under a row above

I'm creating a QML layout with a Column and multiple Rows inside. First row contains a button, second row contains a list of items retrieved from a network service. I want to be able to do "pull to refresh" on the list, so I use PullToRefresh of the…
Unix One
  • 1,151
  • 7
  • 14
4
votes
2 answers

How Do I install an app on the ubuntu Touch device

I've been looking into Ubuntu Touch. So I installed ubuntu on a Nexus 10 following the instructions here I built the sample app following the instructions here So now I have a device running ubuntu touch and an application, how do I put the…
Craig Warren
  • 1,655
  • 4
  • 23
  • 38
2
votes
0 answers

Will Ubuntu Desktop apps run on Ubuntu Touch OS and devices using Electron?

I want to create Ubuntu Touch mobile apps using the latest technologies from HTML5, CSS3, and JavaScript (especially Angular or VueJS). The only cross-platform hybrid framework that has a lot of community and support is ElectronJS. But ElectronJS is…
junerockwell
  • 838
  • 1
  • 9
  • 29
2
votes
0 answers

Crash when using WebView on Ubuntu Touch Xenial

I am trying to add a webview to a ubports app based off the clickable ut-app-cmake-template. This gave me a simple hello world app. I added a webview into my layout: WebView { …
MungoRae
  • 1,912
  • 1
  • 16
  • 25
2
votes
0 answers

Build an ionic application for ubuntu phone

Hello fellows I have the following application: https://github.com/kawai-developers/faster And I try to build it as a scope for ubuntu phone I managed to add the platfrom for ubuntu with the followign command: ionic platform add ubuntu And that…
Dimitrios Desyllas
  • 9,082
  • 15
  • 74
  • 164
1
vote
0 answers

How do i build hallium-boot and ubuntu touch for samsung herolte?

I have tried to port hallium according to the tutorial here: -https://docs.halium.org/en/latest/porting/get-sources.html i flashed the hallium-boot using heimdall And flashed the ubuntu touch rootfs however it returns a neverending bootscreen…
ComLarsic
  • 11
  • 3
1
vote
1 answer

Compile SDL2_Mixer with libvorbis statically

I've been trying to build SDL2_Mixer with OGG support but even though libvorbis and libogg libraries are part of their sources: https://hg.libsdl.org/SDL_mixer/file/7e59d684b070/external it doesn't seem to add support for ogg at compile…
zubozrout
  • 158
  • 6
1
vote
1 answer

Compile Ubuntu Touch no rules to make target "APPS/../src/R.stamp"

I'm trying to compile Ubuntu Touch for Galaxy Note 10.1, and I'm stucked on this error while compiling: make: *** Aucune règle pour fabriquer la cible «…
1
vote
1 answer

Building Ubuntu touch: cannot obtain manifest

When i am trying to build Ubuntu touch i get the following error. youri@youri-virtual-machine:~/Desktop$ mkdir phablet youri@youri-virtual-machine:~/Desktop$ phablet-dev-bootstrap phablet/ INFO:phablet-dev-bootstrap:Changing to workdir…
yooouuri
  • 2,578
  • 10
  • 32
  • 54
1
vote
0 answers

Ubuntu 16.04 LTS and Ubuntu SDK - errors for fresh install of ubuntu sdk

I started to study the development of Ubuntu for the mobile world. I write here what I did to install the development environment. I hope someone can help me. Thanks to everyone! Fresh installation of Ubuntu 16.04 LTS Desktop Update and upgrade…
Tlabs
  • 105
  • 8
1
2 3