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
2answers
11 views

Android program execution in studio not detecting installed KVM

I have installed KVM for virtualization for AVD in studio, after running the following command: kvm-ok The output is: INFO: /dev/kvm exists KVM acceleration can be used So, by all this i can ...
0
votes
0answers
20 views

Why do some file's code look different from others? [on hold]

I've been looking through different pieces of json code but why do some seem to look a lot different from normal json code. For example, here's a piece of json code I extracted from a file: ...
0
votes
0answers
11 views

Is it acceptable code style to leave binding loops in QML applications?

Backstory: I am working on a patch for the ubuntu-filemanager-app that will shrink the fontSize: for a Label {}, if the width: is larger than the window size. Think this: Label { id: myLabel ...
0
votes
1answer
33 views

Ubuntu MX4 not detected on Ubuntu SDK

Just got hold of the Meizu MX4 which comes pre-installed with Ubuntu Touch. I have been using the Ubuntu SDK for some time now, today I tried to deploy a simple app onto the device. However, several ...
1
vote
0answers
12 views

Ubuntu SDK unable to start in Ubuntu 15.04

in Ubuntu 15.05 I installed Ubuntu SDK, but I can't start it. I installed in Terminal: sudo apt install qtcreator-plugin-ubuntu And all dependencies. 292 new installed When I try to start in the ...
2
votes
1answer
16 views

Ubuntu Software Center: The upload does not appear to be a valid click package

I'm trying to upload an application to the Ubuntu Software Center and have encountered this error when uploading the .deb file: The upload does not appear to be a valid click package. What is the ...
0
votes
0answers
29 views

App permissions

I am developing a simple sound recorder using Qt Creator. It uses the QAudioRecorder class and Qml. The app compiles and runs on the desktop during testing and I am able to play back the recorded ...
1
vote
1answer
63 views

How do I simply run an ubuntu touch app from the terminal?

I've got a qml file and I just want to ssh to the phone and do qmlscene myfile.qml Is it possible without doing all that stuff with SDK and packages? Just vim and some simple commands that can fit ...
0
votes
0answers
28 views

Windows phone app developer

I was using visual studio before for developing windows phone apps but now that i have shifted to ubuntu i have no access to any IDE for developing windows phone apps ... i tried mono studio but i ...
0
votes
0answers
15 views

How to get and install qt header and libraries in specific folder?

Where do I get qt header and libraries from? And then how do I install qt header and libraries in specific folder?
0
votes
0answers
23 views

QML app developpement, how to access system organizer (events)

I searched for a long time about this but can't find something relevant. I'm starting to develop with Ubuntu SDK and QML. I would like to access the system organizer in order to read the next events ...
0
votes
0answers
34 views

Unable to test Ubuntu Touch applications on ubuntu-emulator (ubuntu-sdk)

I've followed every step of the Ubuntu SDK documentation, as detailed here. I am able to create different types of projects, compile and test them on my desktop. I am also able to run the Ubuntu Touch ...
1
vote
1answer
30 views

Does an application need root permissions if it modifies files in the “/” directory?

I'm creating a program for Ubuntu that involves creation of files within the folder where the code is present. What I want to know is: When a .deb package is installed, where do the contents go? If a ...
-3
votes
0answers
16 views

Music Downloads [closed]

I have several friends who are independent singers/songwriters who receive a pittance for their downloads. One recently posted a royalty check for 1 cent! Her best-selling CD was ranked between ...
0
votes
1answer
24 views

Is it possible in Ubuntu app, start C++ function from javascript?

I have application using QML and C++ and want to start C++ function from javascript . Is it possible ?
1
vote
1answer
26 views

How to identify programically in QML app, where is located my sqlite database file

I have QML application which use as well C++ . From C++ I need to connect to DB ( sqlite ) . For this I need to know the exact name and location of the database file . How to identify it ? Or how to ...
0
votes
0answers
28 views

Ubuntu Bottom Edge

So Canonical always presents the "great" Bottom Edge feature of Ubuntu Touch but how do we actually implement it? Do we have to implement it ourselves? I have not found any information about it in the ...
1
vote
1answer
27 views

Python NameError: gloabal name 'resolution' is not defined

I'm working on developing a python application for Ubuntu that enables a user to have their desired resolution without requiring graphics drivers. In order to do this I've been using xrandr. However ...
1
vote
0answers
25 views

In Ubuntu which tool we use for disk-defragment? [duplicate]

Can Ubuntu have any disk-defragment tools, like Microsoft Windows. Or any other tools equivalent for it? I read: Defragmenting tools
1
vote
1answer
81 views

AppArmor denial when trying to open file using content hub

When trying to open a file using content hub using C++ I get these errors: Opening with peer com.ubuntu.music_music_2.1.857 Sdk-Launcher> Application was resumed Sdk-Launcher> There has been a ...
1
vote
1answer
54 views

Show JSON in QML without list [closed]

I would like to display data from a JSON file in my application for Ubuntu Touch. But the data is displayed only in list, how to display it differently? My code : function load() { ...
0
votes
0answers
8 views

How do I load directory in geany using Treebrowser plugin?

When I searched on Google for loading directory in Geany IDE, the very first result was the Treebrowser plugin for Geany. I have installed it and activated it from the plugin manager in Geany. Now, ...
1
vote
1answer
66 views

Why does my app not load the translation files of the lib

I have an click app that depend on some lib, and i have package that lib in the click package. the lib loaded well. but the translations file (.mo) are not founded. my click file free look like this: ...
0
votes
0answers
33 views

I want to run a script on boot system Ubuntu 14.04 Server

I've done anything like this I made a symlink in /etc/init.d sudo ln -s /home/sts/erp-enterprise/bin/jleaf-apps /etc/init.d then I run the command $ sudo update-rc.d jleaf-apps enable then ...
-1
votes
1answer
38 views

I want to run a script to start the server automatically at system Ubuntu 14.04 Server

I've done anything like this I made a symlink in /etc/init.d: sudo ln -s /home/sts/erp-enterprise/bin/jleaf-apps /etc/init,d then I run the command: sudo update-rc.d jleaf-apps enable then appears: ...
2
votes
2answers
6 views

Why PageStack won't send property?

I have a basic code but it's impossible to send a property to an external page This is my main.qml : PageStack { id: pageStack Component.onCompleted: push(pageMain) Page { ...
0
votes
0answers
31 views

How to use Ubuntu.Components.Icon?

I am using the Ubuntu.Components.Icon component from Ubuntu SDK to display an icon (as a map marker). I also tried to place the component on a blank page, but I alays get the same error: ...
3
votes
1answer
23 views

Is Juju a suitable tool for development as well as deployment?

One of the great conveniences I've found of using docker is that it allows me to guarantee the environment my code is running in is very similar, if not identical, to the environment it will run in ...
2
votes
0answers
19 views

Application rejected on myapps.developer.ubuntu.com. What can I do?

I submitted a desktop application on myapps.developer.ubuntu.com long time ago. But it was rejected today with the following reason: This package submission process is now deprecated. To provide my ...
0
votes
0answers
13 views

Ubuntu Scope with Framework 14.10 - Intltool

Recently, I want to create a scope project, but then I found the following error when running CMake: CMake Warning at CMakeLists.txt:26 (find_package): By not providing "FindIntltool.cmake" in ...
0
votes
0answers
20 views

can't deploy application to emulator : SFTP initialization failed: Server could not start SFTP subsystem

Such error I got when try to run my app in emulator : 11:01:33: Connecting to device... 11:01:34: SFTP initialization failed: Server could not start SFTP subsystem. 11:01:34: Deploy step failed. ...
0
votes
1answer
23 views

QML WebView does not want to start in Emulator

When opening WebView in emulator I got this: LaunchProcess: failed to execvp: /usr/lib/arm-linux-gnueabihf/oxide-qt/chrome-sandbox
1
vote
0answers
97 views

Python app crash after sending command “GPIO.setup( 7, GPIO.OUT)”?

Python app crash after sending command "GPIO.setup( 7, GPIO.OUT)" !!! Action step: pi@rp:~$ python3 Python 3.4.3 (default, Mar 26 2015, 23:09:09) [GCC 4.9.2] on linux Type "help", "copyright", ...
0
votes
1answer
57 views

Visual Studio alternative for Ubuntu? [duplicate]

I write programs in Windows casually (apps like notepad, web-browser etc.). But I don't see a good alternative available. I have used Mono but it is not one bit like Visual Studio. I am having a tough ...
2
votes
0answers
36 views

Can't start ubuntu-filemanager-app in emulator

I downloaded ubuntu-filemanager-app opened the project in UbuntuSDK and want to run it in Emulator , but I get this error: 23:49:37: Running steps for project ubuntu-filemanager-app... 23:49:37: ...
0
votes
1answer
28 views

Quickly fails to package help pages

I have been working on making a program (jekyll-helper) using Quickly and a while ago I worked on adding some content to the default help pages. I tested out open the help pages in the program while ...
1
vote
1answer
28 views

Installing development libraries on 14.04

I am trying to build some application for both amd64 and i386 architectures. Host architecture is amd64. So i compile and link with -m32. Compilation is done ok but linker cannot find libraries. ...
1
vote
2answers
40 views

File access outside application directory

I want to know is it possible to access files outside the application directory? e.g. /home/phablet, /media, etc. Okay, so precisely I want to use QDir and QFile to read the folders and the files ...
0
votes
2answers
88 views

How can I create a debian package for MediaWiki 1.25.1?

I would like to create an easily installable debian package (.deb file) for MediaWiki 1.25.1 as I know from personal experience that for web programming noobs like myself, installing MediaWiki can ...
0
votes
1answer
26 views

'ReferenceError: contents is not defined' with U1db

I'm trying to read information from a database of U1db. I encountered this error 'ReferenceError: contents is not defined' Here's my code: import U1db 1.0 as U1db U1db.Database { ...
1
vote
1answer
113 views

Ubuntu Touch app development [on hold]

I would like to try out Ubuntu Touch app development, and I have a few questions that hopefully some of you will be able to answer... I'm intending to use HTML5. - Do applications have to undergo a ...
0
votes
1answer
15 views

Migrating from Microsoft VB6 and SQLite to Linux [duplicate]

I am doing business programming and wish to migrate to Umbuntu. What would be a similar development environment in Umbuntu?
0
votes
0answers
21 views

Ubuntu-sdk webview HTTP handler error

I try to open Instagram site in a webview but I just get a blank screen with some errors. here's the code: import QtQuick 2.0 import Ubuntu.Components 1.1 import Ubuntu.Web 0.2 Page{ WebView { ...
0
votes
0answers
37 views

How to delete the android studio in ubuntu 14.04?

I have installed Android studio in my lappy but I want to delete all the files and Android studio itself from my lappy.Please help me !!! gracious,have a good day!
0
votes
0answers
15 views

How to get the DPI of an ubuntu touch device

I would like to know the DPI of an ubuntu device so for example I could make a ruler app.
0
votes
0answers
35 views

How to make Ubuntu touch qml app fullscreen

I am making an Ubuntu touch app and I am wondering how you can make things such as games fullscreen like PathWind. Which means removing the notification bar. If I have a qml object as my main object, ...
2
votes
3answers
137 views

How can open-source programs make money? [closed]

I am new to Ubuntu and I am really interested in making software that can work on it and I would like to make profit from these software. How can I make money from making software for Ubuntu if the ...
3
votes
1answer
30 views

Where should libraries be located for the development process?

With the SDL libraries for example, one would have to point to the headers at the beginning of their code, like so: #include <SDL/SDL.h> And, when compiling with GCC for example the library ...
0
votes
0answers
51 views

qTox VoIP on the Ubuntu phone?

Has someone assessed how much effort is needed to make qTox VoIP client work on the Ubuntu Touch? Additional dependencies are OpenCV, OpenAL, opus, vpx. Disgusting pre-build scripts. Qt build ...
0
votes
0answers
21 views

App published only for old Ubuntu versions

I have a (commercial) app in the software center (Robotux). Previously, whenever a new Ubuntu version was released, Canonical made the package available for it. However, this doesn't seem to be the ...