[Ubuntu-phone] Is there going to be a standard QML UI toolkit?

2013-07-29 Thread Andreas Poulsen
Hi all
I just wondered, if there is any plan to have a more general QML UI
toolkit. For now, there is Ubuntu.Components, Sailfish OS has some
components, and QtQuick is going to have some QtQuick.components. Could
you guys talk together about some standard components? It would be much
more easy, to develop one app for 2 or 3 platforms, than creating it for
3 platforms using the same technology, but different toolkits. Just a
wish from an app developer :)

Best regards
Andreas

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Is there going to be a standard QML UI toolkit?

2013-07-30 Thread Andreas Poulsen
I see, but will Ubuntu Phone at least have support for QtQuick.Components?
That seems to be a good way to write portable apps, if you don't need
the platform specific components like Toolbar.

Regards
Andreas

On 29-07-2013 16:49, Michael Zanetti wrote:
> Hi
>
> On Monday 29 July 2013 15:53:52 Andreas Poulsen wrote:
>> I just wondered, if there is any plan to have a more general QML UI
>> toolkit. For now, there is Ubuntu.Components, Sailfish OS has some
>> components, and QtQuick is going to have some QtQuick.components. Could
>> you guys talk together about some standard components? It would be much
>> more easy, to develop one app for 2 or 3 platforms, than creating it for
>> 3 platforms using the same technology, but different toolkits. Just a
>> wish from an app developer :)
> Yes, this is really one of the bad things of the current state with QML in 
> general.
>
> There are talks in progress to align APIs as close as possible. However, I 
> think it won't be possible (at least not in the foreseeable future) to have 
> the same components everywhere. The reason is that different platform look 
> and 
> behave differently. Even if most of the components could probably aligned, 
> there will always be differences for some of them. For example if a platform 
> doesn't have some UI pattern or a platform invents a new one. One example is 
> the hiding Toolbar on Ubuntu. MeeGo's toolbar didn't do that so there is the 
> need of a difference in the API.
>
> Also a different look of the same UI patterns introduces problems here. For 
> example if one platform uses big round buttons with spaces in between while 
> another one uses small square buttons without a space. That would allow you 
> to 
> place a different amount of items into one row. While the API might be 
> compatible, your application would look quite bad one one of the platforms.
>
> The original idea for QML was to write the common stuff in Qt/C++ and then 
> create a very thin UI layer with QML on top of it. That thin UI layer is easy 
> and fast to write (just puttin some Buttons and Images into a layout and hook 
> functionality up to the C++ business logic which is really cross platform).
> This works quite well for me having a bunch of apps running on Maemo, MeeGo, 
> Symbian, KDE and Ubuntu Touch.
>
> Of course, if you write an app only in QML and smash your javaScript 
> somewhere 
> between the painting code, your app's portability will go towards 0. You can 
> of course stick to JavaScript for the platform independent code too, but make 
> sure to have JavaScript in separate files, and with a clean API, never 
> accessing properties/elements from the QML code from within JavaScript. Then 
> I 
> guess you can create something somewhat portable without C++ too.
>
> Br,
> Michael
>

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] [Development] QtQuick.Controls support

2013-08-22 Thread Andreas Poulsen
Hi all
I just saw the QtQuick.Controls module available for Qt 5.1, which is
using the native look and feel of the current platform, and I wondered
if it was going to be supported in Ubuntu Touch, and if it is, with the
touch or the desktop look and feel?
Thanks in advance

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] What will QtQuick.Controls look like on Ubuntu Phone

2013-11-04 Thread Andreas Poulsen
Hi all
I've been playing around with QtQuick.Controls, the desktop components
in QML. And I started wondering how these will be supported in Ubuntu
Phone? Will they look like they do on the desktop? Will they have a
Ubuntu.Components-looking theme, that could break the layout of an
existing app completely? Or are they supported at all?

Regards Andreas

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] Theming the Ubuntu Toolkit

2013-11-22 Thread Andreas Poulsen
Well, I think the title says the most, but my question it, if it's
possible to theme the components of the Ubuntu Toolkit. I know it
doesn't follow the normal themes installed on my computer, but is the
look hard-coded and is only to be modified using styles in the QML, or
can I add a global theme to my installed Ubuntu Touch apps?
Best regards
Andreas

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] ubuntu phone run Android apps

2013-02-24 Thread Andreas Poulsen

Hi all
Wouldn't ubuntu phone be able to run android apps?
As I can read, it's build on CyanogenMod, a customized android, so 
wouldn't it be fairly easy to run an android app?

 - Andreas

--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] Launcher image for homemade apps

2013-02-27 Thread Andreas Poulsen

Hi all
Is it currently possible to install an app on ubuntu phone with a 
launcher image on the App Lens?
It is somewhat stupid that you have to connect to the phone with a 
computer to launch your apps.

Regards Andreas

--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Launcher image for homemade apps

2013-03-03 Thread Andreas Poulsen

Thanks a lot
I've found little workaround that I used to install the newest 
calculator app on the device. Here is what I did:

I downloaded the code:
$ bzr branch lp:ubuntu-calculator-app
I copied it to my Nexus 7 device:
$ scp -r ubuntu-calendar-app/ phablet@192.168.1.12
Now, I edited the file 
"/usr/share/qml-phone-shell/Applications/applications.js" using vim and 
changed:

"'calculator-mockapp.desktop': {
'name': 'Calculator',
'icon': 'calculator',
'exec': '/usr/bin/qmlscene /usr/share/demo-mock-apps/calculator.qml',
'stage': SideStage
}," to:
"'calculator-mockapp.desktop': {
'name': 'Calculator',
'icon': 'calculator',
'exec': '/usr/bin/qmlscene /home/phablet/calculator.qml',
'stage': SideStage
},"
Now, when i click the calculator icon, it opens the new calculator app. 
Be aware: You may not edit the name of the app, E.g: from 
calculator-mockapp.desktop to my-calculator.desktop. This will make the 
launcher icon unusable. And a little bug: Once I've opened the app, I 
can't close it. When you slide from bottom edge and up to the magnifying 
glass, the app doesn't close when I press the "x". Any ideas for 
workarounds?


Regards Andreas

Den 27-02-2013 19:59, Octav14n skrev:

No, currently the available (displayed) apps are hardcoded.

(here's the code: 
https://bazaar.launchpad.net/~unity-team/unity/phablet/view/head:/Applications/applications.js
 )


Greetings
Simon

PS: Sorry Andreas for the double-post, I hit "Send" to fast before ;)

Am 27.02.2013 19:53, schrieb Andreas Poulsen:

Hi all
Is it currently possible to install an app on ubuntu phone with a launcher 
image on the App Lens?
It is somewhat stupid that you have to connect to the phone with a computer to 
launch your apps.
Regards Andreas




--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] General questions

2013-04-03 Thread Andreas Poulsen

Hi all
I've presented Ubuntu Phone to my friends, and got some questions:
1. Why can't it run standard Ubuntu applications? Debian has compiled 
most of the software for ARM CPUs, so it should not be that hard to run 
X. What's the problem then?
2. How comes that it can't run Android apps? Ubuntu Phone builds on 
CyanogenMod, a customized android, and most users is missing the tons of 
apps you find on android. I know, that the Dalvik VM has been removed, 
but why? It seems like a good strategy, at least in the beginning, to 
make as many apps run on the platform as possible.
3. The 13.4 Ubuntu image is tested on the Nexus 7 tablet. Why shouldn't 
I just install desktop Ubuntu on my tablet and theme it touch-friendly?


Regards Andreas

--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] Native looking apps on desktop

2013-04-06 Thread Andreas Poulsen

Hi all

I know that Ubuntu Phone apps are targeting to could run on any Ubuntu 
platform from desktop to phone, but on the desktop, the widget set looks 
kind of big and clumsy. Is it possible to make your app look more 
"native", when running on a desktop?


And when I've written an app, where should I publish it?

Regards Andreas

--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] How full-fledged is Ubuntu Phone

2013-04-14 Thread Andreas Poulsen

Hi all
I've wondered how "full-fledged" Ubuntu Phone is. Would I e.g. be able 
to install X, Unity and LibreOffice? Or am I stuck in the Ubuntu Phone 
shell? How many C libraries will be supported?
I've always loved Linux' freedom to install everything, and I hope you 
will maintain this freedom.


Best regards
Andreas

--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] [Design]Toolbar on desktop

2013-07-14 Thread Andreas Poulsen
Hi guys
After testing some of my Ubuntu Touch apps, I thought, that if any
Ubuntu Phone app should be used on the desktop (we are so proud to tell
that they can), there should really be an easier way to bring it up,
than "swipe from the bottom". Swiping with a mouse? My first idea was a
keyboard shortcut, but baybe you guys can bring up a better idea?

Best regards
Andreas

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] [Design]Toolbar on desktop

2013-07-14 Thread Andreas Poulsen
On 14-07-2013 18:48, Zisu Andrei wrote:
> Since they are clearly labeled "Ubunut Phone Core Apps", I don't get what's
> the problem. They're not intended to work like that on the desktop.
>
>
>
On the Ubuntu Phone app page:
"Write apps for all Ubuntu devices... With the arrival of the Ubuntu
SDK, apps can be written to work on all Ubuntu form-factors: it's the
same Ubuntu OS on the desktop and on the phone, so a single native
application can work on both"
It might be, that the core apps aren't intended to work on the desktop,
but it's the goal to let Ubuntu Phone apps run well on the desktop too.
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] Is Ubuntu Phone able to run anything else than Qt/QML apps?

2013-07-15 Thread Andreas Poulsen
Hi all
I wondered if I (with the finished Ubuntu Phone with Mir and stuff),
would be able to run anything else than Qt/QML apps. It might be, that
they don't look and behave optimal on a touch screen, but they're
usable, at least on a tablet. And let's face it: one of the great
problems with Ubuntu Phone is, that there are only the core apps and a
few more apps. If you were able to run standard Ubuntu applications,
that would be a big benefit of the Ubuntu Phone. Even Android and iOS
doesn't have a good office app, and how about other, more advanced
tools? Only available on the desktop.
And, if this wish isn't to be met, would I have any luck by installing
Gtk and start an application from the command-line?

Regards
Andreas

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp