[Ubuntu-phone] Running background services

2013-08-14 Thread Fabio Colella
Hello, is it possible to run click app in background and activate them on scheduled event or on some conditions? If it's possible, then how to implement that from the point of view of security? Greetings -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchp

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
Hey Fabio, no, applications are not allowed to run in background. Our application lifecycle is strict in this respect and we only guarantee focused applications to be running. HTH, Thomas On Wed, Aug 14, 2013 at 9:04 AM, Fabio Colella wrote: > Hello, is it possible to run click app in backgr

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Michael Zanetti
On Wednesday 14 August 2013 09:07:52 Thomas Voß wrote: > Hey Fabio, > > no, applications are not allowed to run in background. Our application > lifecycle is strict in this respect and we only guarantee focused > applications to be running. Does that mean I will have an Ubuntu Edge phone with 4GB

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Daniel Holbach
Hello, On 14.08.2013 09:29, Michael Zanetti wrote: > On Wednesday 14 August 2013 09:07:52 Thomas Voß wrote: >> Hey Fabio, >> >> no, applications are not allowed to run in background. Our application >> lifecycle is strict in this respect and we only guarantee focused >> applications to be running.

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Michael Zanetti
On Wednesday 14 August 2013 09:31:31 Daniel Holbach wrote: > Hello, > > On 14.08.2013 09:29, Michael Zanetti wrote: > > On Wednesday 14 August 2013 09:07:52 Thomas Voß wrote: > >> Hey Fabio, > >> > >> no, applications are not allowed to run in background. Our application > >> lifecycle is strict

[Ubuntu-phone] Daily release are now running every 4h.

2013-08-14 Thread Didier Roche
Hey guys, Yeah, we need a better name with that cadence change. :) So now, the daily release process is run way more often to speed up our delivery time to the baseline (every 4h). You will find more information at http://blog.didrocks.fr/post/Release-early%2C-release-often%2C-release-every-4

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Daniel Holbach
Hello, On 14.08.2013 09:41, Michael Zanetti wrote: > On Wednesday 14 August 2013 09:31:31 Daniel Holbach wrote: >>> Does that mean I will have an Ubuntu Edge phone with 4GB of RAM, 8 CPU >>> cores and cannot do multitasking on it? >> >> I don't think anyone specified the phone to have 8 CPU cores

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Fabio Colella
So, i can write daemons but no background? For example, if I want to create a calendar app that rings on some scheduled events, what's the path? :) Il giorno 14/ago/2013 09:41, "Michael Zanetti" < michael.zane...@canonical.com> ha scritto: > On Wednesday 14 August 2013 09:31:31 Daniel Holbach wrot

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
On Wed, Aug 14, 2013 at 9:41 AM, Michael Zanetti wrote: > On Wednesday 14 August 2013 09:31:31 Daniel Holbach wrote: >> Hello, >> >> On 14.08.2013 09:29, Michael Zanetti wrote: >> > On Wednesday 14 August 2013 09:07:52 Thomas Voß wrote: >> >> Hey Fabio, >> >> >> >> no, applications are not allowed

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
On Wed, Aug 14, 2013 at 9:56 AM, Tobias Havla wrote: > On 14.08.2013 09:54, Thomas Voß wrote: >> On Wed, Aug 14, 2013 at 9:41 AM, Michael Zanetti >> wrote: >>> On Wednesday 14 August 2013 09:31:31 Daniel Holbach wrote: Hello, On 14.08.2013 09:29, Michael Zanetti wrote: > On Wed

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Michael Zanetti
On Wednesday 14 August 2013 09:51:56 Daniel Holbach wrote: > Hello, > > On 14.08.2013 09:41, Michael Zanetti wrote: > > On Wednesday 14 August 2013 09:31:31 Daniel Holbach wrote: > >>> Does that mean I will have an Ubuntu Edge phone with 4GB of RAM, 8 CPU > >>> cores and cannot do multitasking on

Re: [Ubuntu-phone] news^Wbuilds at eight !

2013-08-14 Thread Oliver Grawert
hi, On Mi, 2013-08-14 at 09:48 +0200, Didier Roche wrote: > So now, the daily release process is run way more often to speed up > our delivery time to the baseline (every 4h) with this awesome change we can now do our image builds more often for the ubuntu-touch images. For the start we now have b

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
The state of an application is transparent to the user. Behind the scenes, the system can decide to stop/kill non-focused apps at its own discretion. Whenever the system alters the state of an app to "not running" it offers an archive such that the app can persist its state. With that, a user ideal

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
Please also see: https://blueprints.launchpad.net/ubuntu/+spec/client-1303-add-app-model-and-lifecycle-to-platform-api and the linked documents for further details. Thomas On Wed, Aug 14, 2013 at 10:33 AM, Thomas Voß wrote: > The state of an application is transparent to the user. Behind

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Michael Zanetti
On Wednesday 14 August 2013 10:33:34 Thomas Voß wrote: > The state of an application is transparent to the user. Behind the > scenes, the system can decide to stop/kill non-focused apps at its own > discretion. Whenever the system alters the state of an app to "not > running" it offers an archive s

Re: [Ubuntu-phone] Flipped Samsung Note 10.1 port

2013-08-14 Thread András Mamenyák
So the problem is: D/libEGL ( 1854): loaded /system/lib/egl/libEGL_mali.so D/libEGL ( 1854): loaded /system/lib/egl/libGLESv1_CM_mali.so D/libEGL ( 1854): loaded /system/lib/egl/libGLESv2_mali.so W/libEGL ( 1854): eglInitialize(0x1) failed (EGL_BAD_ALLOC) Is the proprietary driver the problem

Re: [Ubuntu-phone] Flipped Sony Tablet Z Port

2013-08-14 Thread András Mamenyák
There is a problem with the device: If I unplug the USB cord, the device reboots. There are some powerd errors in dmesg, but when unplugging, it instantly reboots, so there is no trace of the problem in dmesg. On Wed, Aug 7, 2013 at 7:43 PM, Daniel Holbach wrote: > Hey, > > On 07.08.2013 19:21,

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Scott May
Thanks for that link Thomas - very helpful! I'm sorry to say I'm still a little confused about one thing (amongst many!)... I'm writing an app that is taking this shape: - An app that can start and stop as the user and OS decides - which acts as the interface between the user and a daemon, w

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Zisu Andrei
Scott, careful, we might end up on the bad side of things, as developers would want their app to be running all the time so he will abuse this, and we end up having all the things running all the time and the enduser gets bad performance, battery life and overall bad experience. I think I have rai

Re: [Ubuntu-phone] Daily release are now running every 4h.

2013-08-14 Thread Robert Park
On Wed, Aug 14, 2013 at 1:48 AM, Didier Roche wrote: > Hey guys, > > Yeah, we need a better name with that cadence change. :) > Hexadaily? Quadrourly? -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Jamie Strandboge
On 08/14/2013 02:07 AM, Thomas Voß wrote: > Hey Fabio, > > no, applications are not allowed to run in background. Our application > lifecycle is strict in this respect and we only guarantee focused > applications to be running. > Well... I think saying applications are not allowed to do it is too

Re: [Ubuntu-phone] Daily release are now running every 4h.

2013-08-14 Thread Robert Park
On Wed, Aug 14, 2013 at 7:44 AM, Robert Park wrote: > On Wed, Aug 14, 2013 at 1:48 AM, Didier Roche wrote: > >> Hey guys, >> >> Yeah, we need a better name with that cadence change. :) >> > > Hexadaily? Quadrourly? > No, wait, sorry for the hasty email. Hexadaily would technically mean "every 6

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Jamie Strandboge
On 08/14/2013 08:50 AM, Jamie Strandboge wrote: > On 08/14/2013 02:07 AM, Thomas Voß wrote: >> Hey Fabio, >> >> no, applications are not allowed to run in background. Our application >> lifecycle is strict in this respect and we only guarantee focused >> applications to be running. >> > Well... I t

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
On Wed, Aug 14, 2013 at 11:31 AM, Michael Zanetti wrote: > On Wednesday 14 August 2013 10:33:34 Thomas Voß wrote: >> The state of an application is transparent to the user. Behind the >> scenes, the system can decide to stop/kill non-focused apps at its own >> discretion. Whenever the system alter

Re: [Ubuntu-phone] Nexus 7 2013 (Flo): How can I help?

2013-08-14 Thread A Random User
Hello, Ubuntu phone depends on cyanogenmod. Luckally, the nexus 7 2013 just got nightly's of cyanogenmod (codename flo). The next part is our work and I've never ported before either, though I would be willing to help. I read the porting instructions but heard they were terribly out of date. -Jo

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Roberto Colistete Jr.
Hi, Please, let it be clear about Ubuntu Touch : - currently Apps screen shows "Running Apps" with (not live) miniatures of open softwares. These softwares are not-focused ? If so, they can be closed by the system ? - if the user have installed a mathematical application and want to let

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Rick Spencer
On Wed, Aug 14, 2013 at 10:08 AM, Roberto Colistete Jr. wrote: > Hi, > > Please, let it be clear about Ubuntu Touch : > - currently Apps screen shows "Running Apps" with (not live) miniatures of > open softwares. These softwares are not-focused ? If so, they can be closed > by the system ?

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Fabio Colella
Things are getting confused, so I put some use cases. For example, a client of Ubuntu one that sync photos when a new one is shot? Or a daily backup? Is this possible? And if it is, what's the path? :) I'm thinking from a event driven point of view. Does the user always need to open the application

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
On Wed, Aug 14, 2013 at 4:08 PM, Roberto Colistete Jr. wrote: > Hi, > > Please, let it be clear about Ubuntu Touch : > - currently Apps screen shows "Running Apps" with (not live) miniatures of > open softwares. These softwares are not-focused ? If so, they can be closed > by the system ?

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Rick Spencer
It's pretty straight forward, applications simply cannot do any work when they are not in the foreground (for v1). However, don't worry! These cases would be handled by consuming services. There isn't currently an upload service that goes to an arbitrary place, but there is a Friends service that

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Roberto Colistete Jr.
Em 14-08-2013 08:18, Zisu Andrei escreveu: Scott, careful, we might end up on the bad side of things, as developers would want their app to be running all the time so he will abuse this, and we end up having all the things running all the time and the enduser gets bad performance, battery life

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Rick Spencer
On Wed, Aug 14, 2013 at 10:38 AM, Roberto Colistete Jr. wrote: > Em 14-08-2013 08:18, Zisu Andrei escreveu: > > IMHO, It is a joke to have in 2013 quad core & 2GB RAM smartphones with > not real multitasking. > I understand your concerns, but I think that they may be a bit premature. As discus

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Zisu Andrei
> > Well, Ubuntu Touch is said by Canonical to enable convergence of devices, > e.g., a smartphone which becomes a PC by connecting a monitor (by cable), > mouse and keyboard (by Bluetooth). > Let us remember that a notebook user with Linux, Mac OS and Windows > has real multitasking. Let's

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
On Wed, Aug 14, 2013 at 4:38 PM, Roberto Colistete Jr. wrote: > Em 14-08-2013 08:18, Zisu Andrei escreveu: > >> Scott, careful, we might end up on the bad side of things, as developers >> would want their app to be running all the time so he will abuse this, and >> we end up having all the things

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
On Wed, Aug 14, 2013 at 4:48 PM, Thomas Voß wrote: > On Wed, Aug 14, 2013 at 4:38 PM, Roberto Colistete Jr. > wrote: >> Em 14-08-2013 08:18, Zisu Andrei escreveu: >> >>> Scott, careful, we might end up on the bad side of things, as developers >>> would want their app to be running all the time so

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Fola Dawodu
Let me get this straight. For v 1: The system has services which do work in the background and can be 'adopted' by any other app to enable "working in the background"? If this is accurate i dont see what the problem is!! On 14 Aug 2013 15:48, "Thomas Voß" wrote: > On Wed, Aug 14, 2013 at 4:38

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
On Wed, Aug 14, 2013 at 5:00 PM, Fola Dawodu wrote: > Let me get this straight. > > For v 1: > The system has services which do work in the background and can be 'adopted' > by any other app to enable "working in the background"? > exactly. Some use-cases might not be covered by the background se

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Simon
I think it's a good way to first restrict all accesses and then "tighten" the "law" afterwards. My concern are my (personal) core-apps: Apps with APIs: - Music, IRC, Jabber, ICQ (There is an API) - E-Mail, Dropbox "new File uploaded" (OK, this could use the calender-api for the "checking"-wakeup

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Zisu Andrei
> > - Updates? (will surely be an API too) > - Skype (will need to check, if there is someone calling/texting me) Push notifications. I know Thomas was saying it's being worked on, but no idea what's the state of it now. But not sure it would work for IRC. Zisu Andrei On 14 August 2013 16:21

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Thomas Voß
On Wed, Aug 14, 2013 at 5:27 PM, Zisu Andrei wrote: >> - Updates? (will surely be an API too) >> - Skype (will need to check, if there is someone calling/texting me) > > Push notifications. I know Thomas was saying it's being worked on, but no > idea what's the state of it now. But not sure it

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Gustavo Niemeyer
On Wed, Aug 14, 2013 at 12:18 PM, Thomas Voß wrote: > exactly. Some use-cases might not be covered by the background > services we will be offering, but we can collect actual requirements > over time and extend. Also worth remembering given some of the comments: there's an actual Linux distributi

[Ubuntu-phone] Nexus 4 connecting to 3g data

2013-08-14 Thread bbiery
I have attempted to connect my phone using 3g so that I can use it for development without having to switch back to Android, however, the data connection does not connect. I am in Canada and Rogers is recognized as my carrier on the phone, I am able to get SMS and Calls without issue, howe

Re: [Ubuntu-phone] Running background services

2013-08-14 Thread Jamie Strandboge
On 08/14/2013 10:21 AM, Gustavo Niemeyer wrote: > On Wed, Aug 14, 2013 at 12:18 PM, Thomas Voß > wrote: >> exactly. Some use-cases might not be covered by the background >> services we will be offering, but we can collect actual requirements >> over time and extend. > > Also worth remembering gi

Re: [Ubuntu-phone] Nexus 4 connecting to 3g data

2013-08-14 Thread Sergio Schvezov
On Wed, Aug 14, 2013 at 2:44 PM, wrote: > I have attempted to connect my phone using 3g so that I can use it for > development without having to switch back to Android, however, the data > connection does not connect. I am in Canada and Rogers is recognized as my > carrier on the phone, I am abl

Re: [Ubuntu-phone] Nexus 4 connecting to 3g data

2013-08-14 Thread bbiery
Thanks Sergio, the command /sbin/initctl restart network-manager fixed my issue and I am now able to get 3G data! Awesome! Thanks for the assistance. Quoting Sergio Schvezov : On Wed, Aug 14, 2013 at 2:44 PM, wrote: I have attempted to connect my phone using 3g so that I can use it for

Re: [Ubuntu-phone] Nexus 7 2013 (Flo): How can I help?

2013-08-14 Thread A Random User
Hello, You don't need to install cyanogenmod, unless you want to use it in the meantime before you port. Cyanogenmod runs on top on Ubuntu phony. -Joshua Anderson On Aug 14, 2013 11:59 AM, "Leo Tindle" wrote: > Thanks for the info! I'll get cyanogenmod installed and see what I can > figure out