Ludin, Anwar.

Learn BlackBerry 10 App Development : A Cascades-Driven Approach. - 1 online resource (343 pages)

Intro -- Contents at a Glance -- Contents -- About the Author -- About the Technical Reviewers -- Acknowledgments -- Introduction -- Chapter 1: Getting Started -- Cascades Programming Model -- QML -- Signals and Slots -- Signals and Slots in QML -- Signals and Slots in C++ -- Meta-Object System -- Cascades Application Bootstrap Process -- Parent-Child Ownership -- Native SDK Setup -- Momentics IDE -- Workspace -- Perspectives -- Build Configurations -- Targets -- Simulator -- Device -- Launch Configurations -- API Levels -- QNX System Information Perspective -- Summary -- Chapter 2: QML and JavaScript -- Syntax Basics -- QML Documents -- Import Statements -- Object Declarations -- QML Basic Types -- Creating a Custom Control -- Attributes -- The id Attribute -- Property Attributes -- JavaScript -- JavaScript Host Environment -- Signal Attributes -- XMLHttpRequest Example -- SCalc, the Small Calculator -- Project Structure -- Summary -- Chapter 3: C++, Qt, and Cascades -- C++ OOP 101 -- C++ Class -- C++ Inheritance -- Polymorphism -- Using References -- Using Pointers -- Qt Object Model -- Meta-Object Compiler (MOC) -- QObject -- QObject::connect( ) -- QObject::setProperty( ) -- QObject::deleteLater( ) -- QObject::objectName -- QObject Memory Management -- QObject Identity -- QVariant -- Qt Container Classes -- Smart Pointers -- Exposing C++ Objects to QML -- QDeclarativePropertyMap -- Exposing QObjects -- Using the Document Context -- Using the attachedObjects Property -- Using Bindings -- Model-View-Controller -- Application Delegate -- QThread -- Summary -- Chapter 4: Controls -- Control -- Containers and Layouts -- StackLayout -- AbsoluteLayout -- DockLayout -- Text Controls -- Text Styles -- Inline HTML and CSS -- Label -- TextField -- Validator -- TextArea -- Button -- Slider -- ImageView -- Selection Controls -- Option -- DropDown. RadioGroup -- SegmentedControl -- Pickers -- FilePicker -- DateTimePicker -- CheckBox and ToggleButton -- CheckBox -- ToggleButton -- ScrollView -- System Dialogs, Prompts, and Toasts -- SystemDialog -- SystemPrompt -- SystemToast -- Summary -- Chapter 5: Application Structure -- Application Templates -- Tabbed Pane Template -- Navigation Pane Template -- List View Template -- Defining the Application Structure -- Action Bar -- Single Page Applications -- Actions -- ActionItem -- Page Actions -- Context Actions -- MenuDefinition -- Segmented Control -- Title Bar -- Sheet -- Attached Objects -- Dynamic QML Components -- ComponentDefinition -- ControlDelegate -- Delegate -- Multiple Page Applications -- Navigation-Based Application -- Tab-Based Application -- Summary -- Chapter 6: ListView and DataModel -- List Views -- ListItemComponent Definition -- Header Definition -- StandardListItem Definition -- CustomListItem Definition -- Detecting Selection -- Single Tap -- Referencing an Item in an Action -- Navigating a Master-Details View -- Context Actions -- Accessing the Application Delegate -- Multiple Selection Mode -- Layout -- Creating Visuals in C++ -- Data Models -- Index Paths -- Standard Data Models -- ArrayDataModel -- GroupDataModel -- Mapping Item Types -- Defining a JavaScript Mapping Function -- Implementing ListItemTypeMapper -- Implementing a Custom Data Model -- Asynchronous Data Models -- Persistence -- Updating Data Items with Cascades Controls -- Summary -- Chapter 7: HTTP Networking -- Qt Networking Classes -- QNetworkAccessManager -- QNetworkRequest -- QNetworkReply -- HTTP Networking Examples -- HTTP GET -- HTTP POST -- Handling an HTTP Redirect -- Handling Authentication -- Weather2 -- Application Design -- Creating the UI -- Adding the C++ Implementation -- WeatherClient -- Constructor -- REST Service Request. Working with the Returned JSON -- CityInfo -- GoogleMapClient -- ApplicationUI -- Summary -- Chapter 8: Personal Information Management APIs -- Personal Information Management -- PIM APIs -- Service Types -- Service Providers -- Accounts -- AccountService Class -- Creating a New Account -- Searching for Accounts -- Contacts API -- ContactService -- Creating a New Contact -- Updating a Contact -- Searching for Contacts -- Paging -- Asynchronous Search -- Using a ContactsPicker -- Calendar API -- CalendarService -- CalendarFolder -- CalendarEvent -- Attendee -- Creating a New Event -- Searching for Calendar Events -- Message API -- MessageService -- Sending Messages -- Searching for Messages -- Message API Summary -- MessageBuilder -- MessageContact -- ConversationBuilder -- Summary -- Chapter 9: Sensors -- Sensor Types -- Sensors in C++ -- Determining Sensors Types -- Using Sensors in C++ -- HybridSensor -- The Application Delegate -- Filters -- Sensors in QML -- Sensors Coordinate System -- Accelerometer and Gyroscope -- Accelerometer -- Gyroscope -- Combining Readings -- Summary -- Chapter 10: Invocation Framework -- Invoking Core Applications -- InvokeManager -- InvokeRequest -- Target IDs, Actions, URIs, and MIME Types -- Creating a Calendar Event -- Taking a Picture -- Data Transfer -- File Transfer -- Target Discovery -- Unbound Invocations -- Invocable Applications -- Declaring an Invocation Target -- Handling Invocations -- Cards -- Pooling Cards -- Sandbox Data Synchronization -- Summary -- Chapter 11: Device File system -- File system structure -- Index.

9781430261582


Electronic books.

QA76.59

005.25

Ziyaretçi Sayısı

Destekleyen Koha