Embeding existing app

Built a cool app using CEF that you'd like to share with the community? Talk about it here.

Embeding existing app

Postby abdlquadri » Mon May 09, 2011 10:16 am

Hi all,

Please pardon me, I am new to chromium.

I have an application built using jquerymmobile http://jquerymobile.com/ (It is not a mobile app I just used the framework). The application runs best on google chrome, so i thought i could embed the browser into the app (or other way round).

My goals are these:

1. Package the app with chromium
2. build an exe file that the users can install (I would have preferred to use java but I realize the java subproject is just started)

Please is this possible? Where do I start (I have search but found no direct answer).

Thanks all.
abdlquadri
Newbie
 
Posts: 5
Joined: Mon May 09, 2011 9:52 am

Re: Embeding existing app

Postby cagret » Tue May 10, 2011 10:19 am

If you have no experience in C/C++ have a look at WBEA HTML5 Desktop Application Wrapper:
http://asterclick.drclue.net/WBEA.html (found in this topic: viewtopic.php?f=11&t=194 )
It allows packing your html/javascript code into an exe application.
User avatar
cagret
Techie
 
Posts: 41
Joined: Fri Mar 11, 2011 11:42 am
Location: Poland

Re: Embeding existing app

Postby abdlquadri » Tue May 10, 2011 10:55 am

cagret wrote:If you have no experience in C/C++ have a look at WBEA HTML5 Desktop Application Wrapper:
http://asterclick.drclue.net/WBEA.html (found in this topic: viewtopic.php?f=11&t=194 )
It allows packing your html/javascript code into an exe application.


I have experience with both languages. I have just not been able to see a guide of how to start with chromium. I am checking asterclick anyways. Thanks
abdlquadri
Newbie
 
Posts: 5
Joined: Mon May 09, 2011 9:52 am

Re: Embeding existing app

Postby cagret » Tue May 10, 2011 1:51 pm

Download the binary zip.
Inside there is "cefclient" folder, which is an example application.
In that folder see source of cefclient_win.cpp - that is the main file, the example you're looking for, you can use this file as a skeleton for your app, the rest of the files are tests of many features that can be run in that app by clicking in the menu.
Inside the "include" folder there is the whole CEF API, see the sources of these files, there are lots of comments for each function explaining what it does.
You can also read the WIKI.
User avatar
cagret
Techie
 
Posts: 41
Joined: Fri Mar 11, 2011 11:42 am
Location: Poland

Re: Embeding existing app

Postby abdlquadri » Tue May 10, 2011 8:02 pm

Thanks
abdlquadri
Newbie
 
Posts: 5
Joined: Mon May 09, 2011 9:52 am

Re: Embeding existing app

Postby drclue » Fri Jun 10, 2011 4:54 pm

abdlquadri wrote:
cagret wrote:If you have no experience in C/C++ have a look at WBEA HTML5 Desktop Application Wrapper:
http://asterclick.drclue.net/WBEA.html (found in this topic: http://www.magpcss.org/ceforum/viewtopic.php?f=11&t=194 )
It allows packing your html/javascript code into an exe application.


I have experience with both languages. I have just not been able to see a guide of how to start with chromium. I am checking asterclick anyways. Thanks


I too have experience with C++ , JavaScript, jQuery etc. ... Your stated goals of expressing
an HTML5 or similar application as a stand alone desktop executable was the driving force
behind the commissioning of the WBEA project by the folks at the AsterClick Project.

Marshall did a great job of implementing our request for a desktop deployment tool, including the option to encrypt
the HTML5 source materials.

Our goal in having WBEA written by Marshall was to aid in the deployment of our HTML5 applications
related to Asterisk VOIP PBX work via HTML5 webSockets, as desktop executables, but the
WBEA tool should work with just about any HTML5 flavored application.

Updates are pretty darn easy too, since your actual HTML5 materials including directory layout
live in a separate (optionally encrypted) .zip file.


So basically if you just need what CEF does for the browser engine, gift wrapped as an executable, WBEA is the ticket.
If you need even more, than the regular underpinnings of CEF are there to play with.


Perhaps your looking for a mixture of the two realities, in which case , the WBEA source is there to hack at too.

It's all about having it your way! (Would you like some fries with that?) :)


--Doc
drclue
Newbie
 
Posts: 9
Joined: Thu Jul 22, 2010 1:51 pm


Return to Apps Discussion

Who is online

Users browsing this forum: No registered users and 2 guests