Difference between revisions of "XApps Development"

From WebOS Internals
Jump to navigation Jump to search
(Created page with "Application Framework repo: git.webos-internals.org:x11/xapps.git APP names take the following form XApps-{X Application name}-{Chroot Distro Name}-{Distribution Revision Name}...")
 
Line 1: Line 1:
 
Application Framework repo: git.webos-internals.org:x11/xapps.git
 
Application Framework repo: git.webos-internals.org:x11/xapps.git
  
APP names take the following form
+
App names take the following form:
  
 
XApps-{X Application name}-{Chroot Distro Name}-{Distribution Revision Name}  (capitalizing where appropriate)
 
XApps-{X Application name}-{Chroot Distro Name}-{Distribution Revision Name}  (capitalizing where appropriate)
  
Xapps-XChat-Ubuntu-Natty
+
ie: Xapps-XChat-Ubuntu-Natty
  
 
build directory names use same but no caps:
 
build directory names use same but no caps:
  
xapps-xchat-ubuntu-natty
+
ie: xapps-xchat-ubuntu-natty
 +
 
 +
for inclusion into the webos-internals catalog as an XApp the appid should take the form:
 +
 
 +
org.webosinternals.xapp-{x11 appname}-{distro name}-{distro release}
 +
 
 +
that conforms to the distro name and release it is intended for.
  
 
Usage:
 
Usage:

Revision as of 20:32, 28 September 2011

Application Framework repo: git.webos-internals.org:x11/xapps.git

App names take the following form:

XApps-{X Application name}-{Chroot Distro Name}-{Distribution Revision Name} (capitalizing where appropriate)

ie: Xapps-XChat-Ubuntu-Natty

build directory names use same but no caps:

ie: xapps-xchat-ubuntu-natty

for inclusion into the webos-internals catalog as an XApp the appid should take the form:

org.webosinternals.xapp-{x11 appname}-{distro name}-{distro release}

that conforms to the distro name and release it is intended for.

Usage:

git checkout git.webos-internals.org:x11/xapps.git

git checkout git.webos-internals.org:preware/build.git

copy Makefile to build/nonworking/.

cp ~/xapps/Makefile ~/build/nonworking/appname/Makefile

Modify Makefile with correct info and

make package.

install xecutah on target device.

modify /media/cryptofs/usr/palm/applications/org.webosinternals.xecuatah/app/assistants/main-assistant.js to include your appid in the whitelist

install your app on the device and test.