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

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.

主站蜘蛛池模板: 沧源| 堆龙德庆县| 顺昌县| 乌拉特后旗| 枣强县| 江门市| 印江| 新野县| 石屏县| 广南县| 肥西县| 青川县| 琼结县| 贵定县| 拜城县| 临漳县| 内丘县| 芒康县| 滕州市| 肇源县| 鹤峰县| 汕尾市| 桃江县| 潼南县| 辰溪县| 巢湖市| 房山区| 白朗县| 溧阳市| 景泰县| 泾阳县| 钦州市| 马边| 佛学| 达州市| 西峡县| 绥德县| 长海县| 山阳县| 靖江市| 普定县|