Tag:android

  • Detailed analysis of Android 4.4 RIL SMS receiving process

    Time:2021-5-9

      Recently, a customer reported that Android couldn’t receive SMS, so he dived into RIL to find out why. Finally, it was found that it was not the RIL problem, but the bc72 reportThe format of the short message is not right, at + cnma = 1 has no effect and other small problems. Although […]

  • Android custom view to achieve five star effect

    Time:2021-5-7

    In this paper, we share the specific code of Android to achieve the effect of five-star praise for your reference. The specific content is as follows This effect must be very familiar to everyone, so how can Android customize this effect? First, customize the attributes: <?xml version=”1.0″ encoding=”utf-8″?> <resources> <declare-styleable name=”RatingStar”> <attr name=”starNormal” format=”reference”/> <attr […]

  • Android custom view to achieve cool progress bar

    Time:2021-5-6

    This example for you to share the Android cool progress bar specific code, for your reference, the specific content is as follows Let’s achieve the following effect: Step one:Create attrs folder and customize its properties <?xml version=”1.0″ encoding=”utf-8″?> <resources> <declare-styleable name=”MyProgress”> <attr name=”out_color” format=”color”/> <attr name=”inner_color” format=”color”/> <attr name=”border_width” format=”dimension”/> <attr name=”text_color” format=”color”/> <attr name=”text_size” […]

  • Android custom view imitating QQ movement steps effect

    Time:2021-5-5

    This example for you to share the Android QQ movement steps of the specific code, for your reference, the specific content is as follows Today we achieve the following effect: First, customize the attributes: <?xml version=”1.0″ encoding=”utf-8″?> <resources> <declare-styleable name=”MyQQStep”> <attr name=”out_color” format=”color”/> <attr name=”inner_color” format=”color”/> <attr name=”border_width” format=”dimension”/> <attr name=”text_size” format=”dimension”/> <attr name=”text_color” format=”color”/> […]

  • As a front-end development, can’t uniapp package app play?

    Time:2021-5-4

    App development and debugging 1、 Windows terminal 1. Install Java and select windows x64 Download address:https://www.oracle.com/java/t… 2. Install Android studio (this software needs to cross the wall). You can use this Chinese website Download address:http://www.android-studio.org/ Using Android’s own development and debugging tools will lead to code hot update failure and Android ADB conflict, so a […]

  • Implementation of Gobang with Android simple custom view

    Time:2021-5-3

    This example for you to share the Android custom view to achieve Gobang specific code, for your reference, the specific content is as follows Let’s talk about it first. Android’s custom view is to implement a class to inherit view and implement its methods. I’m most interested in the OnDraw method, because you need to […]

  • Deep comparison between emui and MIUI background processing

    Time:2021-5-3

    Android’s background mechanism is not only an advantage of Android, but also a feature with serious fragmentation. As a developer of three apps that rely on Android’s background services, I write this article to compare the background processing logic of emui and MIUI, the two most common Android systems EMUI 10.0.0, Android 10 MIUI 12.0.6, […]

  • Generate. Keystore Android certificate under mac

    Time:2021-5-2

    1. Install JDK Download page Java platform standard development kit (JDK) ​ https://www.oracle.com/java/t… 2. Check whether JDK is installed well Open the terminal under MAC (terminal. APP) and enter the following command in the terminal: /usr/libexec/java_home -V If installed, it will display: ~ » /usr/libexec/java_home -V Matching Java Virtual Machines (2): 1.8.281.09 (x86_64) “Oracle Corporation” […]

  • Android custom view to achieve Gobang games

    Time:2021-5-2

    This example for you to share the Android Gobang game specific code, for your reference, the specific content is as follows Picture: code: package com.example.fiveson; import java.util.LinkedList; import java.util.List; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; public class FiveSon extends View { public FiveSon(Context context) { super(context); // […]

  • Implementation of Gobang game with Android custom view

    Time:2021-5-1

    This example for you to share the specific code of Android Gobang game, for your reference, the specific content is as follows 1. Effect picture: 2. Gobangpanel: public class GobangPanel extends View { private int mPanelWidth;// The width of the chessboard private float mLineHeight;// All right, float private int MAX_ LINE = 15;// Chessboard rows […]

  • Hand in hand to teach you to install flutter and run demo on your mobile phone

    Time:2021-4-30

    Installation procedure 1. Download and install git, flutter SDK and Android studio (the key is Android SDK components) When you open Android studio for the first time, you will be prompted that there is no android SDK on this machine. Click Cancel, and then keep clicking next. It will help you install the Android SDK […]

  • Android custom view to achieve jigsaw puzzle games

    Time:2021-4-30

    This example for you to share the Android jigsaw puzzle specific code, for your reference, the specific content is as follows 1. Effect picture: Run time: At the end: 2、PuzzleLayoutView: public class PuzzleLayoutView extends RelativeLayout implements View.OnClickListener { //It means to cut it into 2 * 2 pieces (default 4 pieces) private int mColumn = […]