I tried the following steps for the extensions: Got the file: https://github.com/crosswalk-project/crosswalk/blob/master/extensions/test/echo_extension.c
Built it into a shared library using: gcc -c -fPIC echo_extension.c -o echo_extension.o gcc echo_extension.o -shared -o libecho.so Then ran: ./xwalk --remote-debugging-port=9222 --external-extensions-path=Extension/ http://localhost/xw/index.html However, I am getting an error on the console: "ReferenceError: echo is not defined" Do you think I am missing some step? Thanks! On Mon, Jul 6, 2015 at 8:39 AM, Nitish Sakhawalkar <[email protected]> wrote: > Thanks a lot, Raphael and Francesco. I will try that ! > > -Nitish > > On Mon, Jul 6, 2015 at 5:08 AM, Raphael Kubo da Costa < > [email protected]> wrote: > >> Nitish Sakhawalkar <[email protected]> writes: >> >> > Great! Thanks to you, I got debugging to work! >> > >> > With regards to bridge commands, I want the web app to invoke some >> native >> > functionality through bridge commands. >> > For example, I want to have the web app call some native functionality >> on >> > the desktop, so something like having a Javascript bridge interface to >> > communicate between the web app and the native code. Mostly, I want to >> use >> > crosswalk for linux to make an app similar to that on Android. >> > >> > Thanks so much for the help! >> >> I see. I think what you want to do can be achieved by writing >> extensions, the link that Francesco sent in another reply should work >> for your needs. >> > >
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
