Application for Electronic Services in Malang City Based on Android

DOI: 10.31284/j.iptek.2021.v25i1 .1191 Most people have electronic units. Electronic units also have advantages and disadvantages. As the advantages, electronic is that it can simplifies human-work, for example, people used to wash their clothes in a bare hand. Since the existence a washing machine, people only need to put dirty clothes into the tub then the washmachine does the rest. For the disadvantages, electronics have an expiration date. If the electronics are on the expiration period, the performance decreased. The problem can overcome by repairing the stuff. If someone cannot to repair electronics the item itself, then requires someone else who is capable to solve it in the field. To ease the time looking for services that are nearby to the user’s current location is possible. The system has been implemented on smartphone devices with an Android and Web-connected to the internet. The system help users to get information on the location of the nearest electronic service service and display service progress in realtime.The results provide a reference to the implementation of the Haversine Algorithm for distance calculation formula using GPS on an Android smartphone. This system proposes a solution as a liaison between service buyers and service providers. For electronic service providers can be used as a medium for promotion. The application is convenience in getting the nearest location for service, displays the service progress and with distance and location information features in this system can provide a reference for buyers of electronic services.


INTRODUCTION
Digital technology is an example of advances in science and technology inspiring by society to solve problems that occur in their environment and even make it easier to work. Currently, digital technology use in all aspects of human life. The world has entered an age of faster information because of rapidly evolving information technology. In industry, the internet has opened new avenues and possibilities. With e-commerce, there are many factors to consider that may not have been present in traditional business practices [1]. Digital technology is now used not only in communication and online information exchange, but also in other fields such as trade (e-commerce), industry (e-business), education (e-education), government (e-government), and others. The author's point of view on the use of e-commerce to enhance customer service and increase company productivity is the subject of this paper. Customers may use this electronic commerce (e-commerce) service to access and position orders from various locations.
In Malang City, there are many electronic service services. Customers who want to service electronic units must first find out which place is closest to the customer's location. In addition to the closest location to the customer, customers must also know which electronic service providers are trusted. Therefore, it is necessary to make an application for electronic service services in Malang city based on android.
This application provides electronic services to customers who want them. There are different types of electronic service providers in this application, including computer service, printer service, television service, and other electronic service providers. We can use a calculation based on a radius based on android [2] to determine the closest point. In this application, the Google Maps API will be used as a source of free maps that will be incorporated into the app, and calculations based on radius and haversine formulas will be used to calculate the closest distance. The Haversine formula gives a large circular distance (radius) between two points on the surface of a sphere (Earth) based on longitude and star (latitude & longitude) [3].

LITERATURE STUDY E-Commerce
E-commerce is the distribution, purchase, sale, marketing of goods and services through electronic systems such as the internet or television, www, or other computer networks. Ecommerce can involve electronic funds transfers, electronic data exchanges, automated inventory management systems, and automated data collection systems [4].

Android
Android platform is an open framework and is allowed to use by anybody. A mobile handset manufacturer can utilize android in the event that they take after the assertion expressed in the Software Development Kit (SDK). Android platform was built from the ground up with the explicit goal to be the first free platform, open and complete platform created specifically for mobile devices [5].

Distance
The distance traveled by someone is usually indicated in meters or kilometers. Distance is the sum of the differences between two coordinate points located at different locations. The distance position can be near or far from the variance position. This calculation serves to determine the difference in value between the two locations. For example, the distance between two coordinates on the map .
Distance is different from position coordinates, and the distance may not be negative. Even though the coordinate system will produce a negative value after the distance calculation, the negative result will be absolute. Distance is a scalar quantity, while displacement is a vector [6].

Haversine Formula
The Haversine Formula is an essential equation in finding stright line distance between two coordinates on the earth using longitude and latitude parameters. The haversine algorithm is an example of modeling calculation in the form of trigonometry, which is applied to a round shape. This algorithm discusses the shapes of sides and angles in spherical triangles [7]. Fisgure 1. The Law of haversines is used to solve a spherical triangle The Haversine method applied to the earth is depicted in Figure 1. "i" "v" and "w" are the three coordinates. In a Haversine measure, these three coordinates make up the distance builder. The equation for Haversine calculations is as follows [8]. To integrate the haversine formula method into maps (google maps) is as follows: 1. Adding a module containing id, name, distance, and image URL, 2. Displays the name, distance, and image url on the listview, 3. Send the parameters of the android device's earth coordinates to the web service, then the web service responds and calculates using the haversine formula of the distance between the location of the user's Android device and the locations in the database. After the calculation is done, the web service will display the JSON location data based on the closest location to the user's device, and the data will be displayed on the Android application listview.

RESEARCH METHODS
The following approach was used to perform this study: The Problem Identification and Determination of Research Objectives stage helps to clarify the context of the research as well as the goals that must be met. Data collection and processing take place at this point, and the data required for the research process is gathered. The information gathered will be analyzed using suitable methods to meet the objectives set forth at the previous level. Results Analysis and Interpretation: At this point, analysis and discussion of the obtained results will be carried out. Data review is the next step after data collection and processing to determine the research's results and administrative implications. Conclusion and Suggestion: The data processing and analysis findings will be used to conclude to arrive at solutions to the problem formulation and goals to be meet. The technique is show in the diagram below.

RESULT AND DISCUSSION
By measuring a straight line between two points, the measurement of the haversine formula will be compared to the actual distance centered on Google fire using Google Earth. For research, the author will use a variety of samples. The percentage of errors generated by Malang City's Service Application Services is 0.22%.
Based on the comparison between the distance provided by Google Api and the calculation of the Haversine Formula, it is found that the Application For Electronic Service Services In Malang City Based On Android has a reasonably good accuracy in determining the closest distance based on the results of the tests in table 1 and the calculation of the percentage of errors.

CONCLUSION
Based on the results of designing, implementing, testing, and discussing the application system that has been made, it is concluded that this service application has an accuracy rate of 99.78%.