Developing Android App, Application Framework - codeshoppy
Developing Android App, Application Framework - codeshoppy
The advent of new mobile technologies, the mobile application industry is advancing rapidly. Consisting of several operating systems like symbian OS, iOS, blackberry, etc., Android OS is recognized as the most widely used, popular and user-friendly mobile platform. This open-source linux kernel-based operating system offers high flexibility due to its customization properties making it a dominant mobile operating system. Android applications are programmed in java language. Google android SDK delivers a special software stack that provides developers an easy platform to develop android applications. Moreover, developers can make use of existing java IDEs which provides flexibility to the developers. Java libraries are predominant in the process of third-party application development. Cross-platform approaches make sure that developers do not have to develop platform-dependent applications. With the help of these approaches, an application can be deployed to several platforms without the need for changes in coding. However, android is more prone to security vulnerabilities which the majority of the users do not take into account. Any android developer can upload their application on the android market which can cause a security threat to any android device. These applications do not have to go through rigorous security checks. In this paper, a layered approach for android application development along with various cross-platform approaches is discussed. Moreover, a brief introduction to new android platforms including security framework as well as security systems is discussed.
In Android operating system, there are two ways in which an application can be launched. First, zygote can be forked to create new application process when the process is not present n the background. Second, resume a process already present in background . Depending on whether the process is being forked or resumed, the launch time of an application changes. Application’s launch time is defined as the time it takes from the moment the user touches the icon to the moment the application’s activity shows up on the screen. The Table 1 shows the 1st launch (forking) and the 2nd launch (resuming) of various application collected from Samsung Galaxy S5 through android logcat . click here
the current algorithm of LMK kills on the basis of Least Recently Used (LRU) list . This list is maintained in the order of which the application have been launched i.e. applications which are opened recently will remain in the list while the ones which were opened earlier will get replaced.
In general scenario, user opens few applications frequently than others. Both of our proposed solutions decrease the probability of killing such important user applications by LMK in memory crunch scenarios. In our proposed solution, we have added more parameter checks to LMK algorithm to make sure killing of applications occur not only based on LRU list but also based on the importance of the application to the user.
