Beruflich Dokumente
Kultur Dokumente
Home
Resources
SDKPDKDownload
SDK-PDK Download
Downloading and Installing the 3.0.5 SDK and PDK
TheHPwebOS3.0.5SDK(releasenoteshere)containsthelibrariesnecessarytodobothJavaScriptdevelopmentand C/C++development.ForJavaScriptdevelopment,theSDKincludesthecommandlinetoolsneededtopackage,download, anddebugapplications,aswellassamplecode,referencecode,andreferencedocumentation.ForC/C++development, theSDKalsoincludesthePluginDevelopmentKit(PDK),whichincludesaGCCcompiler,SDLandOpenGLcodelibraries, projecttemplates,samplesourcecode,scripts,utilities,documents.Youwillbegivenanopportunitytooptoutof installingthePDKduringtheinstallationprocess. YoucaninstalltheSDKonWindows,OSX,andUbuntuLinuxhostPCs.ForC/C++development,theSDKintegrateswithVisualStudioon Windows,andXcodeonOSX,althoughyoucanusecommandlinetoolsifyouprefer.(ApptemplatesarecurrentlyonlyavailableforXcode 3.6andearlier.)
Note:PDKdevelopmentisnowsupportedforLinux.SeetheLinuxdownloadsectionbelowformoreinformation.
Install Java
DownloadandinstallthelatestversionofJava. ToverifythatJavaisinstalled,gototheCommandPromptandtype:
j a v av e r s i o n
IfJavaisinstalled,Javaversioninformationappears. DownloadJava
Note:
file:///Users/marco/Desktop/SDK-PDK Download - HP webOS Developer Center.html 1/5
12/09/13
Install VirtualBox
ThewebOSemulatorisbuiltonVirtualBox,virtualmachinesoftwarethatyoucandownloadfreefromOracle.VirtualBoxisrequired beforeinstallingtheHPwebOSSDK. Note:ThewebOSemulatornowrunsonVirtualbox4.0and4.1. DownloadVirtualBox
p a l m g e n e r a t e
2/5
12/09/13
DownloadVirtualBox
d e bh t t p : / / d o w n l o a d . v i r t u a l b o x . o r g / v i r t u a l b o x / d e b i a nl u c i dn o n f r e e
Ifyouareinstallingon9.04(JauntyJackalope):
d e bh t t p : / / d o w n l o a d . v i r t u a l b o x . o r g / v i r t u a l b o x / d e b i a nj a u n t yn o n f r e e
2. DownloadandregistertheOraclepublickeyforaptsecure:
w g e tqh t t p : / / d o w n l o a d . v i r t u a l b o x . o r g / v i r t u a l b o x / d e b i a n / o r a c l e _ v b o x . a s cO -|s u d oa p t k e ya d d-
3. Refreshthepackageindexfiles:
s u d oa p t g e tu p d a t e
Install Java
file:///Users/marco/Desktop/SDK-PDK Download - HP webOS Developer Center.html 3/5
12/09/13
(GCJ).Example:
DownloadandinstalltheOracleJavaRuntimeEnvironment(JRE).TheSDKisincompatiblewiththedefaultUbuntuGNUCompilerforJava
s u d oa p t g e ti n s t a l ls u n j a v a 6 j r e
Install VirtualBox
ThewebOSemulatorisbuiltonVirtualBox,virtualmachinesoftwarethatyoucandownloadfreefromOracle.VirtualBoxisrequired beforeinstallingtheHPwebOSSDK. Note:ThewebOSemulatornowsupportsVirtualBox4.0and4.1.
s u d oa p t g e ti n s t a l lv i r t u a l b o x 4 . 0
s u d oa p t g e ti n s t a l li a 3 2 l i b s
Ifyouhappentohaveinstalledpalmnovacombeforeinstallingia32libs,thenyoumustrestartpalmnovacomd:
s u d os t o pp a l m n o v a c o m d s u d os t a r tp a l m n o v a c o m d
s u d od p k gip a l m s d k _ 3 . 0 . 5 s v n 5 2 8 7 3 6 p h o 6 7 6 _ i 3 8 6 . d e b s u d od p k gip a l m n o v a c o m _ 1 . 0 . 8 0 _ i 3 8 6 . d e b
Ifyouareinstallingona64bitsystem,performthefollowingstepstoinstalltheSDK:
s u d od p k gif o r c e a r c h i t e c t u r ep a l m s d k _ 3 . 0 . 5 s v n 5 2 8 7 3 6 p h o 6 7 6 _ i 3 8 6 . d e b s u d od p k gif o r c e a r c h i t e c t u r ep a l m n o v a c o m _ 1 . 0 . 8 0 _ a m d 6 4 . d e b
Note:Ifyouexperienceinstallationissues,tryacleaninstall.Touninstall,followtheuninstallinstructions.
12/09/13
ItissometimesnecessarytotestyoursoftwareonotherversionsofwebOS.UsethelinksbelowtodownloadVMDKsfortheseversions.(Be suretorightclickanduse"SaveAs..."tosavetheseasbinaries.) 1.3.5 1.4.0 1.4.1 1.4.5 2.1.0 2.2.0(Pre 3formatonly) 2.2.4(Pre2andPre 3format) Onceyouhavedownloadedthezipfile,youwillneedto"install"theimageusingthepalmemulatorcommandfromthecommandline.For example:
p a l m e m u l a t o ri n s t a l l" ~ / D o w n l o a d s / S D K2 . 1 . 0 . 5 1 9 . v m d k . z i p "
5/5