Android Development-Bluetooth

- Restore content to start Preface Lonely fragrant self-admiration, a package of fanghua; Humanity is cold and warm, free in the heart; Climbing high and looking far ahead; Laugh and lie. The last article introduced the basic use of Bluetooth, writing demo is not very perfect, I hope you gods can correct. In the past two weeks, due to the progr ...

Posted by docmattman on Thu, 11 Jul 2019 20:40:19 +0200

3. Introduction to Database and Basic Use of listview

1 Database Creation under Android When do we use databases for data storage? When large amounts of data with the same structure need to be stored. MySQL SQL Server 2000 SQLite embedded lightweight SqliteOpenHelper Create a database step: 1. To create a class integration SqliteOpenHelper, you need to add a constructor to implement two method ...

Posted by eightonesix on Thu, 11 Jul 2019 19:51:04 +0200

Android SQLite (2) Basic usage

Reload address: http://www.cnblogs.com/ldq2016/p/5237694.html SQLite plays an important role in Android development. There are many online tutorials for SQLite, but most of them are not very comprehensive.I have summarized some common methods of SQLite and shared them with you through the competition in the forum.Introduction to SQLite1. I ...

Posted by brett on Thu, 11 Jul 2019 19:23:50 +0200

Mobile Camera and Album (1): Basic Call and Photo Cutting

There are many system controls in Android system that we often use in our daily development, such as keyboard, camera, album, telephone, short message and so on. Today, the Tao Chief speaks about the basic calls of mobile phone albums and cameras, the system's own cuttings and customized cuttings. Let's get up... Basic Call of Camera Jump ...

Posted by shareaweb on Thu, 11 Jul 2019 00:36:56 +0200

android SVG Vector Animation

Preface Studying android animation shows that svg vector animation works well. W3c has a complete introduction. Follow the api What is SVG? Enter w3c SVG refers to Scalable Vector Graphics. SVG is used to define vector-based graphics for networks SVG defines graphics in XML format The quality of SVG image will not be lost when it is e ...

Posted by johnie on Wed, 10 Jul 2019 22:53:15 +0200

Classical example of java callback mechanism

java callback mechanism Classical examples In the past, I did not understand what callback was. Every day I heard people say to add a callback method. I thought to myself, what is called callback method? Then I look for it on the internet, and I don't know much about it. Now I know that the so-called callback is to call a method C of class ...

Posted by rubenc on Wed, 10 Jul 2019 22:12:57 +0200

Learning Notes on Design Patterns: Observer Patterns

Definition Observer mode (Publish and Subscribe mode) - Define one-to-many dependencies between objects, so that when an object changes state, the objects that depend on it are notified and updated automatically. Use scenarios In the context of association behavior scenarios, it should be noted that the association behavior is sepa ...

Posted by harshilshah on Wed, 10 Jul 2019 22:09:56 +0200

Interprocess Communication--IPC

Preface: Inter-process Communication (IPC) refers to the communication between processes. Generally speaking, an app has only one process, but may have multiple threads, so we use multithreaded communication, such as handler,AsyncTask. But in some special cases, we need multiple processes in our app, or we need to communicate across processes w ...

Posted by kaimason1 on Wed, 10 Jul 2019 19:56:18 +0200

WeChat, Alipay App Payment-JPay0.0.2 Release

JPay Second encapsulation of WeChat App Payment and Alipay App Payment, providing a relatively simple interface and callback of payment results GitHub:https://github.com/Javen205/JPay OsChina:http://git.oschina.net/javen205/JPay Usage method 1. Introduction compile 'com.javen205.jpay:jpaysdk:latest.release.here' 2. Android Manif ...

Posted by Andrew W Peace on Wed, 10 Jul 2019 19:15:49 +0200

Adding a login refresh to APP has opened UI mechanism

Add a Unified Refresh Event for your APP > Recently I saw a friend's blog and wrote an article. Tips for Controlling Page Refresh > I think my idea is quite different from his. Write about my own control refresh event here <br/>. First Take my recent project as an example. We want to make a unified refresh for all the interfaces th ...

Posted by staffanolin on Wed, 10 Jul 2019 01:58:51 +0200