100 likes | 201 Views
PWB: 514 PocketBuilder Advanced Topics. Reed Shilts Development Manager rshilts@powersoft.com August 15-19, 2004. The Enterprise. Unwired. The Enterprise. Unwired. Industry and Cross Platform Solutions. Manage Information. Unwire Information. Unwire People.
E N D
PWB: 514 PocketBuilder Advanced Topics Reed Shilts Development Manager rshilts@powersoft.com August 15-19, 2004
The Enterprise. Unwired. Industry and Cross Platform Solutions Manage Information Unwire Information Unwire People • Adaptive Server Enterprise • Adaptive Server Anywhere • Sybase IQ • Dynamic Archive • Dynamic ODS • Replication Server • OpenSwitch • Mirror Activator • PowerDesigner • Connectivity Options • EAServer • Industry Warehouse Studio • Unwired Accelerator • Unwired Orchestrator • Unwired Toolkit • Enterprise Portal • Real Time Data Services • SQL Anywhere Studio • M-Business Anywhere • Pylon Family (Mobile Email) • Mobile Sales • XcelleNet Frontline Solutions • PocketBuilder • PowerBuilder Family • AvantGo Sybase Workspace
Agenda • Documented Features (but seldom used) • Barely Documented Features • UnDocumented Features • Some PocketBuilder 2.0…
Documented Features (but seldom used) • Source Code Control (SCC) • UltraLite DataBase (PocketBuilder 1.5.2) • Secure Streams (ASA 9.0.1.xxxxx) • Server Push (Server Initiated Sync) • Interface with QAnywhere (ASA 9.0.1.xxxx)
Barely Documented Features • Interface with PowerDesigner 10 • Event Notification of SD card insert/removal • AutoRun your Application from the SD Card • EZSetup interface • Platform Specific Directories • GetSpecialFolder(..) System Function • FileDirect object • GetAsBitmap(..) function
External API Tricks • “memcpy” into a PocketBuilder structure • Play Music • Current timezone and UTC conversion • ByteArray using an UINT array and masking… • Compress Using ZIP • Encryption of a String into a BLOB
UnDocumented Features • Grab a string from raw memoryString( long, “address” ) • Native System Function • PocketBuilder 1.0 • PowerBuilder 8.0 (maybe 7) • Return the base address of a String or Blob _ _addressof( string | blob ) • Native System Function • PocketBuilder 1.5.1 • Launch IE from your ApplicationshRunDefltBrowser( string URL ) • public function long shRunDefltBrowser(readonly string pszURL) Library "pkvm15u.dll" • PocketBuilder 1.5.0
PocketBuilder 2.0 • Phone Features • Originate a phone call • Notification of arrival of a phone call (with caller ID) • Send / Receive / Intercept a SMS message • Dialing Directory, Call History, SIM card, etc objects • Other Hardware • “Socket” Barcode scanner object • GPS Receiver object • Camera object • SmartPhone Target Platform • Create “SmartPhone” applications • New (smaller) screen size • Internal features different, but all hidden by VM
Questions and Answers Check out PBDJ for PocketBuilder articles Reed ShiltsPocketBuilder Development ManagerPowerBuilder Group, Sybase Inc.rshilts@powersoft.com