官术网_书友最值得收藏!

Mobile applications

When we talk about a mobile application, we usually mean a program that is designed to run on a mobile device, such as a smartphone. These devices have some special characteristics that we need to consider when writing an application. First, their screen is smaller than a computer monitor. The screen can also be rotated in landscape or portrait orientation. We will also use the touchscreen of the device for input.

The mobile application might also use other features of the device, such as the GPS, sending text messages, or sensing the movement of the device using its accelerometer. These are things we usually can't do if an application runs on a normal computer.

A mobile application can be connected, but it does not have to be. Being connected means that it can communicate with another computer, maybe using the client-server techniques we discussed earlier.

When writing a mobile application, the platform the application will run on is very important. The reason is that the programs we write need to interact with the device more directly. This means is that it can dictate what programming language we will use to write these applications. The developers of the operating systems for mobile devices have some preferred programming languages. For iOS, Apple's operating system for mobile devices uses two languages, the old Objective-C and the new Swift. These are two languages you will hardly ever encounter if you are not creating applications for Apple devices. For the Android operating system, the preferred language used to be Java, but Google, which is the company behind Android, changed this in 2019 and now use a language called Kotlin as the preferred development language.

Having a preferred language for these systems does not mean that we can't use other languages. Still, Apple and Google recommend using these languages, so it is usually easier for us to use these languages when developing mobile applications. The reason is that the tools we use when writing our programs will be better suited to them than any other language.

Next, we look at distributed applications.

主站蜘蛛池模板: 进贤县| 光山县| 鹤岗市| 汉源县| 承德县| 张家港市| 新竹市| 湟源县| 沁源县| 大冶市| 合水县| 昭觉县| 富阳市| 抚顺市| 集安市| 双城市| 浦江县| 萨嘎县| 阜宁县| 河北省| 青田县| 临武县| 宁强县| 舒城县| 呈贡县| 论坛| 德化县| 利川市| 个旧市| 河北省| 南开区| 奈曼旗| 喀喇沁旗| 辽宁省| 鄂伦春自治旗| 紫阳县| 连江县| 台南县| 堆龙德庆县| 赤水市| 兴国县|