Sdk Introduction
Upcoming SlideShare
Loading in...5

Sdk Introduction






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment
  • Welcome to Asus…(opening speech 儘量簡潔 )‏

Sdk Introduction Presentation Transcript

  • 1.
    • 黃志偉 (Chih-Wei Huang)‏
    • 華碩核心 技術中心 (CTC)
    • 2008/5/8
    Introduction to Eee PC SDK
  • 2. Outline
    • The Eee PC Platform
    • The Software Development Kit
    • The IDE and Toolkit
    • Development Process
    • Special Consideration
    • Porting Applications
    • Live Demo
  • 3. How Easy Is It?
  • 4. About the Eee PC Platform
    • 7'' Series (2007, October)
    • 8.9'' Series (2008, April)
  • 5. About the Eee PC Software
    • A multilingual platform
    • Based on Debian GNU/Linux
      • Free/Open Source Software
      • Commercial
      • Unique / Customized
    • Easy to develop by Eee PC SDK and common programming language
    • Support Java / Qt4 / Python
    Open Source Linux Other Applications Open Source Commercial Unique to Eee PC
  • 6. Software Development Kit Familiar Desktop Developers Guide & Sample Applications VMware Image for Testing IDE & toolkits
  • 7. The Development Environment
    • Xandros Desktop Open Circulation Edtion 4.5
      • Uses the same stable Debian GNU/Linux (etch) as Eee PC
      • Easy installation
      • Familiar Windows-like look and feel
      • Provides compatible environment for writing, testing and debugging Eee PC applications
  • 8. Ease-to-use IDE: Eclipse
    • Eclipse
      • Provides industry standard, widely used, sophisticated IDE
      • Supports C++ and Java and others
      • Integrates with popular source code version control tools
      • Extensible with plug-ins for future enhancements for the growing development community
      • A plug-in is included for Qt4, leveraging the popular industry toolkit
  • 9. Recommended Toolkit
    • Qt4
      • Developed by Trolltech, now part of Nokia
      • A multi-platform toolkit, widely used in the industry
      • OOD, Super easy to pick up to create applications
      • Qt4 support already exists on the Eee PC
      • Qt Designer allows rapid development of professional, sophisticated graphical user interfaces
      • Commercially supported by Trolltech
      • Skype is an example of a Qt application
  • 10. Easy to Get Started
    • The guide documented experience for developing on Eee PC applications
    • Sample applications provided that compile and run on the Eee PC
    • VMware environment allows to test in virtual Eee PC multilingual environment
  • 11. Development Process
    • Phase I – On the Desktop
      • Install the Eee PC Software Development Kit
      • Write the application using industry standard IDE, toolkits with the help of developer friendly documentation
      • Package your application as Debian packages.
      • Test and debug on VMware
    • Phase II – On the Eee PC
      • Install on Eee PC
      • Verify application functionality and performance on platform
    On the Desktop On the Eee PC Develop Compile Build Packages Install on Eee PC Test and Debug Test on VMware Debug
  • 12. Package the Applications
    • Eee PC uses standard Debian package format (.deb files)
    • SDK documentation provides sample applications including packaging “How To” and example
    • Debian Policy Manual and Debian New Maintainers Guide available online
    • Debian community is large development community with many experts online
    • Debian New Maintainers' Guide
  • 13. Desktop Integration
    • With the Eee PC “Asus Desktop” interface, applications and their corresponding icons are defined using an XML file
    • Applications, dependencies, icons, localizations and help are packaged together using standard Debian packaging techniques
  • 14. <parcel extraargs=&quot;/usr/bin/sakura&quot; simplecat=&quot;Work&quot; selected_icon=&quot;xterm_hi.png&quot; icon=&quot;xterm_norm.png&quot; > <name lang=&quot;en&quot; >Terminal</name> <name lang=&quot;zh_TW&quot; > 終端機 </name> <exclude>zh_CN zh_HK</exclude> </parcel> Add Icon to Desktop
    • Tools
      • asus-launcher-config
      • New asus-launcher
    • Procedures – use root ( sudo su -)
      • /opt/xandros/sbin/create-launcher-icons new-app.png
      • Create XML snippet, put in a directory
      • Add that directory to /etc/AsusLauncher/AsusLauncher.conf
      • /opt/xandros/ sbin /update-launcher
  • 15. Test on VMware
    • Why ?
      • Easy, no need real machine
      • Test for multilingual
    • Get the ISO
      • Download from EeeCommunity @ SourceForge
      • dd if=/dev/cdrom of=L701.iso
    • Convert ISO to VMware image
      • vmware-convert L701.iso => /tmp/asus.vmdk
      • About 6GB free space is required
    • Download or create the config
      • EeePC-701.vmx
    • Put asus.vmdk and the .vmx into a directory
    • Open the .vmx by VMware Player
  • 16.
    • Test performance
    • Verify resource usage
    • Limit writing to flash
    • Check that screen size and constraints are met
    • Check delivery and installation of application
    • Perform usability testing
    • Verify sound capabilities
    • Verify video capabilities
    • Verify hardware integration
    • Verify USB interoperability
    • Verify network functionality
    • Internalized and localized the applications
    Test on the Eee PC
  • 17. I18n and L10n
    • Internationalization
    • Localization
    • Qt
      • printf(tr(&quot;Hello, World&quot;));
      • lupdate : src => .ts
      • Qt Linguist
      • lrelease : .ts => .qm
    • KDE/Gnome/Others – gettext
      • printf(_(&quot;Hello, World&quot;));
      • xgettext : src => .pot
      • Kbabel, Poedit : .pot => .po
      • msgfmt : .po => .mo
  • 18. Porting Applications
    • Java applications will run on Eee PC
    • Open Source KDE and Gnome Linux applications can be run on Eee PC
    • Windows applications may be adapted to Eee PC using WINE library
    • Other development initiatives including Python, Perl and Mono (C#) are available for Linux
    • Eee PC provides a standards compliant browser environment for Java Applets, JavaScript, and Adobe Flash applications
  • 19. Conclusion
    • Developers will move quickly to capitalize on the quickly growing Eee PC market
    • Third Party developers can easily create or port applications for Asus Eee PC
    • The Eee PC uses industry standard techniques and open source technologies
    • Desktop development environment, SDK, GUI toolkits, Integrated Development Environment (IDE) and VMware test environment enable rapid application development
    • Existing applications can be ported
  • 20. Thanks