ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #03814
Re: Questions regarding the App Showdown
Thanks for the info, it might have been nice to have, but not important.
~ Michael
On Mon, Aug 12, 2013 at 2:53 AM, Ugo Riboni <ugo.riboni@xxxxxxxxxxxxx>wrote:
> >> Another feature that would be nice to have is inserting notes into the
> >> Notes app. Again, is or will this be possible before the deadline?
> >
> > I don't think there is an API to insert notes in the Notes app, but Ugo
> > Riboni, who develops the app, should be able to confirm.
>
> I confirm, there no official API to insert notes in notes-app.
>
> The unofficial way to do it is to inject notes into the notes-app SQLite
> database while the app is not running, but it is of course unsupported
> and the database structure is subject to change at any time without notice.
>
> That said, if you want to see how to do it, you can use the autopilot
> tests for notes-app as an example. Grep for a function called setup_db,
> it does exactly this kind of operation. The code is in python but it is
> simple enough and I'm sure you can adapt to your language of choice.
>
> Hope it helps,
> --
> Ugo
>
>
References