Hi Olivier,

On Wed, 2014-03-19 at 17:59 +0100, Olivier Delbeke wrote:
> Dear all,
> 
> I'm trying to make a "hello world" for Tizen IVI (yes, I have high
> hopes). Basically, I created a new project, I took the "dialler"'s
> code as base, stripped it down to a maximum, created a CMakeList.txt,
> a spec file, an xml-file, an icon, built the project with gbs and
> finally installed the resulting rpm on the target. 
> 
> The problem now is to know how to run it. Executing it directly
> returns "ecore_wl_init() Could not connect to Wayland display"
Were you trying to start the app as root by any chance? This is
typically the error you'd get when doing so. I'd recommend you try to
run it from the weston-terminal (as the normal 'app' user) at least
initially. Then we can look at how to add it to the ICO HomeScreen
(desktop file)

>  and "launch_app xxx.xxxx.hello" returns "... launch failed" (great!).
> I assume that the right way is to use launch_app (because other native
> apps seem to be launched this way), but is there any way to get any
> log out of it ? Did it fail to find my application ? (I create
> a .desktop file in /usr/share/applications, but does it need anything
> else ?) Did my application crash ? Did I remove too much code from the
> dialer and did my application fail to register itself correctly ? ...
> I can't find anything useful in /var/log, in the output of journalctl
> or even in the output of strace. How can I debug this (if possible,
> other than putting tons of "printf" in launch_app) ?
> 
> More generally, is there any documentation about how to write a native
> app ? About what 'launch_app' does ? About getting logs ?
> 
> Thank you and best regards,
> 
> Olivier
> 
> 
> 
> _______________________________________________
> IVI mailing list
> [email protected]
> https://lists.tizen.org/listinfo/ivi

Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all copies.
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to