Android Camera2 Tutorial. Chapter 2. Switching Cameras

Previous Chapter Overview of Camera2 Here we have introduced some of Camera2's basics, but not many API s. Starting with this chapter, we will develop an application with full camera functionality and divide the camera knowledge into several chapters. This chapter is about the camera opening process. After reading this chapter, you will learn ...

Posted by n14charlie on Tue, 18 Jun 2019 22:05:13 +0200

Android Process Survival Series: (1) Use Activity to Promote Privileges

http://www.jianshu.com/p/4ff700faab78 The secret of QQ's long-term survival was to monitor the user's unlock screen operation, activate a transparent window of a pixel when the screen was locked, and destroy the Activity when it was unlocked. I have to admire the programmed ape of goose factory. He can come up with such a wonderful plan! Reg ...

Posted by Tuck on Tue, 18 Jun 2019 00:30:02 +0200

Introduction of millet push

1. Now the developer platform applies for an account, downloads jar, and remembers to save the AppID and AppKey projects to use https://dev.mi.com/console/appservice/push.html Two. Put jar in the project and start reading official documents https://dev.mi.com/doc/?p=544 Configure the AndroidManifest.xml file 1) The minimum Android versi ...

Posted by AnnieKay on Tue, 18 Jun 2019 00:21:17 +0200

Use of NineOld Androids Animation Compatibility Library-ViewHelper

This article is reproduced from: http://www.bkjia.com/Androidjc/936210.html Function description: NineOld Androids is an open source project on github. Its function is to use attribute animation on low version android (below API 11). Its principle is also very simple, mainly to judge the current sdk version, if it is larger than API 11, then ...

Posted by maheshb on Mon, 17 Jun 2019 22:14:11 +0200

IOS Airplay -- Implementation of Airtunes Music Play on Android Box and Mobile Phone (Part 1)

I. Preface There are two main ways to play streaming media in LAN, Airplay and DLNA. For iOS systems, Airplay is a natural product, but unfortunately Apple has a consistent style, and Airplay is a closed source protocol. Fortunately, God reversed the content of the agreement, so that we can build services to complete this work. The complexity ...

Posted by Adarmo on Mon, 17 Jun 2019 21:56:34 +0200

hellochart's Detailed Explanation (2) Pie Charts

hellochart's Detailed Explanation (2) Pie Charts The use of HelloChart graphics frameworks and various rendering effects were introduced before. http://blog.csdn.net/wenzhi20102321/article/details/73133718 No detailed description of various graphic designs has been given before. This paper focuses on the design of hellochart pie chart. E ...

Posted by idire on Mon, 17 Jun 2019 00:48:37 +0200

Power optimization of Android performance optimization series

The calculation and statistics of power consumption is a troublesome and contradictory thing. Recording power consumption itself is also a matter of power consumption. With the increasing performance requirements of Android, the optimization of power consumption is particularly important. For a power-consuming application, users will undoubted ...

Posted by TNIDBMNG on Sun, 16 Jun 2019 01:32:52 +0200

Implementation of Android drop-down refresh framework

1. About drop-down refresh Drop-down refresh was first invented by Loren Brichter, the founder of twitter. There is a theory that pull-down refresh is an application that can be used to arrange feeds in a chronological order from new to old. In this application scenario, users will naturally pull down to find the updated content, so pull-down ...

Posted by tony_l on Sun, 16 Jun 2019 01:15:57 +0200

Android App payment series (two): detailed guide for Alipay SDK access (with official payment demo)

Links to the original text: http://blog.csdn.net/shenggaofei/article/details/52022206 Preface A mobile Internet company, in the final analysis, payers are always required to make profits. It is obviously not wise for a company with limited resources to develop its own payment system. Ali is one of many mature mobile payment provid ...

Posted by shawjames on Sat, 15 Jun 2019 23:48:25 +0200

One line of code for multiple-choice batch operation of RecyclerView

One line of code for multiple-choice batch operation of RecyclerView MultiSelectAdapter project address Loading Part B In the ancient days of Android, if people wanted to display lists, they needed ListView. It was simple but not flexible. Then, Google introduced a new alternative RecyclerView. RecyclerView was really flexible. You can ...

Posted by priya_cks on Sat, 15 Jun 2019 22:13:07 +0200