Android App detects new version, automatically downloads, installs and upgrades, and is compatible with Android 7.0 and above

Preface Some companies may not go to the App store after developing an App, but they also need to regularly maintain and update later, so they will choose to publish the packaged apk to their own servers, and then build a version number table in the database, and then the rest will be handed over to ...

Posted by EvilPrimate on Thu, 16 Jan 2020 06:52:13 +0100

You should not call base in this method Xamarin Forms Renderer

Recently, I am working on Xamarin Forms project. I believe you are unfamiliar with Xamarin. In fact, it is also a cross platform technology. Please refer to the following official document to understand. What is Xamarin.Forms? Xamarin.Forms is an open-source UI framework. Xamarin.Forms allows deve ...

Posted by jeremuck on Wed, 15 Jan 2020 10:25:47 +0100

MT6739 Android 8.1 modifies the mtkcam of HAL layer to avoid the camera cutting and stretching the unsupported resolution

MT6739 Android 8.1 modifies the mtkcam of HAL layer to avoid the camera cutting and stretching the unsupported resolution CVBS camera is used in the project, and then mipi camera is used. NTSC and PAL cameras are used. Interlaced scanning has a special resolution. 720x240960x240 x240x240x240x2720x2889 ...

Posted by itsmeArry on Mon, 13 Jan 2020 10:22:23 +0100

Compatibility finishing for ios and Android front end

1. Date Compatibility Under Android Date.parse(new Date('2018-03-30 12:00:00')) Under ios system Date.parse(new Date('2018-03-30 12:00:00')) Conversion is not possible. Solution (compatibility writing) Date.parse(new Date('2018/03/30 12:00:00')) || Date.parse(new Date('2018-03-30 12:00:00')) Encapsul ...

Posted by ChrisDarl on Mon, 13 Jan 2020 03:18:34 +0100

Common methods of JavaScript project practice

On the front road, accumulate slowly 1. Get the parameter value passed by the URL through the parameter name Method 1 GetQueryString:function(name){//Get the parameter value passed by the URL through the parameter name var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search ...

Posted by dotBz on Sun, 12 Jan 2020 17:45:09 +0100

Analysis of tts TextToSpeech source code principle of android system and customization of tts engine

TextToSpeech is the text to speech service, which is a native interface service provided by Android system. The native tts engine application can download the resource file of the corresponding language through detecting the system language, so as to achieve the ability of broadcasting the text of the s ...

Posted by Renlok on Sat, 11 Jan 2020 06:18:46 +0100

Android uses ViewPager to implement APP's guide page and dot

The display effect on the simulator is as follows: The general idea and code are as follows: 1. First, create a layout file, <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_widt ...

Posted by bhawap on Fri, 10 Jan 2020 16:12:17 +0100

Click the button in Android to start another Activity and transfer values between activities

scene Click the button in the first Activity to start the second Activity, close the second Activity and return to the first Activity. Pass the value to the second Activity in the first Activity, and get and display it in the second Activity. Open the second Activity Activity value passing     Note: Blog:https://blog.csdn.net/badao_liumang_ ...

Posted by 2DaysAway on Fri, 10 Jan 2020 15:24:36 +0100

Android touch event delivery mechanism, as before

Preface To be a great Android developer, you need a complete Knowledge System Here, let's grow up as we want. 1. Understanding the composition of Activity An Activity contains a Window object, which is implemented by PhoneWindow.PhoneWindow uses DecorView as the root View of the entire application window, and this DecorView divides the screen i ...

Posted by rocket on Thu, 09 Jan 2020 06:51:30 +0100

Plugging - Class Loading

Recent learning plug-in, see all kinds of brain pain, now write some notes with your own hands for future review, there are incorrect understanding, please point out Loading classes is accomplished through the class loader ClassLoader, which has several classloaders, as follows pathClassLoader can be understood as loading activities written ...

Posted by sdat1333 on Thu, 09 Jan 2020 04:55:06 +0100