Professional Documents
Culture Documents
Bada Tutorial - Web
Bada Tutorial - Web
Web
bada 1.1.0
Copyright © Copyright
2010 Samsung Electronics
© 2010 Samsung Co., Ltd. All Co.,
Electronics rightsLtd.
reserved. 1
All rights reserved.
Contents
• Essential Classes
• Relationships between Classes
• Overview
• Web Control
– Example: Load a Web Page
– Example: Download Web Content
– Example: JavaScript Interaction
• FAQ
• Review
• Answers
Feature Provided by
Contains HistoryItems to give you the complete browsing history. WebHistory
Osp::Web::Controls
Feature Provided by
1. Construct a Web:
Web::Construct()
2. Attach to a parent control:
Control::AddControl()
3. Load URL:
Web::LoadUrl(url)
4. The Web page displays in the Web browser control.
OnWebDataDownloadComplete()
Download is finished
1. Construct a Web:
Web::Construct()
2. Attach to a parent control:
Control::AddControl()
3. Set a loading listener:
Web::SetLoadingListener()
4. Set a download listener:
Web::SetDownloadListener()
5. Load a URL:
Web::LoadUrl()