Wang Jialin's fourth Android book "elaborate Android ndk programming" will be published in December this year. The first Android ndk book in China. The first Android 4.0-based ndk book in China.

Source: Internet
Author: User

 

 

 

 

The1ArticleFor Android 4.0Build and test the development environment1

1.1 download required software 2

1.2 install required software 4

First in 1.3For Android 4.0Program25

1.4 profilingAndroidOrganizational structure of the program43

1.5 Android 4.0No Simulator3GSignal Solution65

The2InAndroidRun onCInitial program experience67

2.1 Download and installCTool chain for cross-language compilation67

First in 2.2CLanguage Programs76

2.3 InAndroidInstall, authorize, and run onCLanguage Programs80

2.4 use dynamic links to generate executable files andAndroidInstall, authorize, and run onCProgram87

2.5 solve the"Segmentation fault"Problem99

The3ArticleBuildAndroid ndkDevelopment Environment and Development firstAndroid ndkProgram101

3.1DownloadWndowsUnder developmentAndroid ndkRequired Software101

3.2 InstallationWindowsLowerAndroid ndkDevelopment Environment103

3.3 ConfigurationCygwin112

3.4 First developerAndroid ndkProgram117

The4ArticleAndroid ndkMediumJavaPassJNICallC140

4.1 in-depth analysisNdkAndJNIRelationship140

4.2 in-depth analysisJNIInJavaVMAndJnienvObject142

Android ndk 4.1MediumJavaPassJNICallCSteps144

Android ndk 4.2MediumJavaPassJNICallCCase studies145

The5ArticleAndroid ndkMediumCPassJNICallJava160

5.1 localCCodeCallJavaInMethod160

5.2 localCCode AcquisitionJavaObject Property Value170

5.3 obtained in local codeJclass180

5.4 how to call in local codeJavaParent Class Method185

5.5 create in local codeJavaObject192

5.6 obtain from local codeStringObject201

5.7 process the array in the local code 206

5.8 CacheJfieldidAndJmethodid222

5.8 handle exceptions 230

The6ArticleAndroid ndkMediumJavaAndC ++Communication235

Java 6.1Code callC ++Code235

6.2 C ++Code callJavaCode248

The7ArticleNdkMulti-thread programming in260

7.1 in-depth analysisJava,Dalvik VM,C/C ++Operating mechanism and process260

Java 7.2Allocating thread callsC/C ++Function262

7.3 (C/C ++)Local Code is called by the allocation threadJavaFunction298

The8ArticleNdkArchitecture mode and Design Mode320

8.1 ndkArchitecture diagram and thinking320

8.2 fa C ade design pattern analysis 322

8.3 The Fa C ade design mode is available inJNIWonderful application in330

8.4 The Fa C ade design mode is available inNdkWonderful application in335

The9ArticleThoughtsNdkCloud computing has been integrated with hardware and software340

9.1 ndkAdvantages and disadvantages340

9.2 ndkIntegration with hardware and software342

9.3 ndkAnd cloud computing345

How to become an appendixAndroidMaster's latest version: integrates cloud computing with smart terminals and hardware and software integration350

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.