I just got it working by using the --allow-external-extensions-for-remote-sources flag.
Thanks! On Mon, Jul 6, 2015 at 12:47 PM, Nitish Sakhawalkar <[email protected]> wrote: > Want to add some more info to the precious post: > > I am also getting the following in the console: > > [0706/124527:INFO:xwalk_browser_main_parts.cc(186)] Unsupported scheme for > external extensions: http > [0706/124527:ERROR:xwalk_platform_notification_service.cc(103)] Not > implemented reached in virtual bool > xwalk::XWalkPlatformNotificationService::GetDisplayedPersistentNotifications(content::BrowserContext > *, std::set<std::string> *) > LaunchProcess: failed to execvp: > libGL error: MESA-LOADER: could not create udev device for fd 34 > MESA-LOADER: could not create udev device for fd 34 > > > Thanks a lot for the help! > > -Nitish > > On Mon, Jul 6, 2015 at 11:22 AM, Nitish Sakhawalkar <[email protected]> > wrote: > >> 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
