unity Jump (full version)

1. scenario (1) Creat - > 3D Objict - > plane and renamed ground as ground (as shown below) (2) and adjust the color to fit (as shown below) Colour correction: Create material(project: create - > Material) to use as the material of the group, adjust the color, and assign it to the group. 2. Making models (prefab) (1 ...

Posted on Mon, 22 Apr 2019 12:12:34 -0700 by PastorHank

Simple lines of code to apply for permission

As we all know, dynamic application permissions have been added to Android 6.0 (targetSdkVersion >= 23).So the question is, what? when? how? What: In targetSdkVersion <23, when the user installs App, App will ask for those permissions of your mobile phone and display them in a list, but these tips are only prompts for installation, as lo ...

Posted on Sun, 14 Apr 2019 18:30:32 -0700 by firecat318

Qt Scene graph line drawing

Preface There are several ways to draw lines in QML: The first is to use Canvas in QML to realize the function of drawing lines. Through practice, the efficiency is relatively low and the broken lines are very serious, especially on Android mobile phones. The second is to draw by QPainter, inherit QQuickItem in C++, then implement paintEven ...

Posted on Sun, 14 Apr 2019 13:15:33 -0700 by stevesimo

jQuery Source Series (XVIII) class Related Operations

Welcome. My column Check out a series of articles. Looking at jQuery's source code is coming to an end, there are several important contents behind it, including ajax and animation operations, refueling to read them, Baidu Front-end College has begun a new series of courses. Baidu Front-end College. class operation should be relatively pleasa ...

Posted on Sat, 13 Apr 2019 16:03:31 -0700 by l4nc3r

230 lines to implement a simple MVVM

MVVM has aroused a boom in the front-end stage in the past two years. The hot Vue and Angular have brought numerous conveniences to developers. In this paper, we will implement a simple MVVM and explore the secret of MVVM with more than 200 lines of code. You can First click on JS Bin in this article to see the effect What is MVVM? ...

Posted on Sat, 13 Apr 2019 12:03:34 -0700 by JADASDesigner

Android performance optimization: common memory leaks analysis

Memory leak refers to the continuous occupancy of memory by useless objects (objects that are no longer used) or the untimely release of memory by useless objects, which results in the waste of memory space called memory leak. Memory leaks are sometimes not serious and difficult to detect, so that developers do not know there is a memory leak, ...

Posted on Fri, 12 Apr 2019 21:33:31 -0700 by myaion

[Java Foundation] Working Principle of ArrayList

ArrayList Array implementation. Save space, but the array has capacity limitations. When the limit is exceeded, the capacity is increased by 50%, and the System.arraycopy () is copied to the new array. Therefore, it is better to give an estimate of the size of the array. By default, an array of size 10 is created when the element is first in ...

Posted on Thu, 11 Apr 2019 22:21:31 -0700 by Dr.Flink

Android Bluetooth with Low Power Consumption: Mobile Phone as Peripheral Device

Summary Since Android 5.0, Google has added support for Android phones as low-power Bluetooth peripherals, i.e. servers. It enables mobile phones to communicate with each other through low power Bluetooth. Development steps To realize this function, it only needs to be divided into two parts: setting up broadcast and setting up server. Set ...

Posted on Thu, 11 Apr 2019 20:57:31 -0700 by WowAddict

Operation of Sqlite database in xUtils 3

Original link Preface xUtils is a fast development Android The framework of mobile application includes many practical android tools. At present, xUtils has four main modules: DbUtils module ViewUtils module HttpUtils module BitmapUtils module For the xUtils project github, see: xUtils Because xUtils 3 API has changed a ...

Posted on Thu, 11 Apr 2019 16:45:31 -0700 by briguy9872

Flutter develops front-end and back-end push using FCM

Preface: Currently, Flutter's FCM push only supports Android and needs google service support. Next, I briefly summarize how to implement FCM front-end and back-end push in Flutter, mainly including "notification message" push and "bottom navigation unread message" push. Code for implementation: 1.Google Official Website ...

Posted on Wed, 10 Apr 2019 16:42:31 -0700 by manitoon