IOS learning notes 23 object archiving (NSKeyedArchiver, NSKeyedArchiver, NSCodeing)

1,NSKeyedArchiver,NSKeyedUnArchiver 1) , archiveRootObject:toFile archive object to this path file 2) , unarchiveObjectWithFile: recover objects from this path file For object archiving, we can understand that serialization in Android is to save objects to file persistence. Serializable and Parcelable must be implemented for ...

Posted on Sun, 02 Feb 2020 10:24:24 -0500 by mook

WeChat public number custom menu to activate WeChat customer service

  1. preparation work: Certified subscription number, opening customer service function, adding a customer service, closing the developer function of public address (or completing business logic on its own). 2. train of thought: click on the menu bar to jump to the public address page, request the ...

Posted on Sun, 02 Feb 2020 06:39:42 -0500 by Tonka1979

reactNative Integrated Alipay Payment

1. android Integration 1. Download Alipay sdk, create a new libs folder under android/app, put SDK in this directorysdk download address 2. Import alipaySDK-20180403.aar from the libs directory and add the following code in android/app/build.gradle: dependencies { ...... compile (name: 'alip ...

Posted on Sat, 01 Feb 2020 23:20:34 -0500 by jrough

Winter vacation learning progress 1 (Android configuration environment and hello world)

Today's Learning Content: Watched the Android teaching video on Belly Mile to get a brief understanding of the basic knowledge of Android Specific content: 1. Configure the Android Development Environment (install Android studio, configure JDK) Android studio is an integrated environment that works without having to configure JDK. If you want t ...

Posted on Sat, 01 Feb 2020 12:10:56 -0500 by cabldawg

How to make the corner circle of the button?

I want to round the corner of the button. Is there an easy way to do this in Android? #1 building Create an xml file in the drawable folder as follows <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" android:padding="10dp"> <!-- you ...

Posted on Sat, 01 Feb 2020 10:48:13 -0500 by Johntron

Flutter (1): bottom navigation bar architecture with BottomNavigationBar

Rendering (left ios right Android): It mainly involves five files, main.dart is the program entry, MainPage.dart is the main interface (equivalent to MainActivity in Android), homepage.dart, FindPage.dart and MinePage.dart are the home page, discovery and mine respectively. First, look at the Main.dart Code: import 'pack ...

Posted on Fri, 31 Jan 2020 23:18:28 -0500 by christian_phpbeginner

An example of the authoritative Android programming guide--Step 3--Data transfer between activities

On the previous basis, create a new activity to view the answer (cheating), which uses data transfer to the activity to pass the correct answer to the question from QuizeActivity to CheatActivity. We use Intent to pass in values, before startActivity, we store the answers in intent as key-value pairs by intent's putExtra metho ...

Posted on Fri, 31 Jan 2020 20:46:37 -0500 by smerny

Android: use of data binding (2)

Share some common basics of Data Binding in the project, click events and input box operations. DataBinding allows us to fill in DataBinding expressions in some event properties of view (such as onClick, etc.) in xml, and it can also be implemented by binding listener.   First, write a class to represent the click event public class Presen ...

Posted on Fri, 31 Jan 2020 16:13:15 -0500 by okok

The realization of the function of OL3 + middle chain home map house searching

Summary Today, let's talk about how to realize the function of finding house by map in the version of OL3 +. Preparation 1. Functional analysis Look at the map room searching function of chainhouse, which is relatively simple, mainly including: 1) Statistical display based on administrative division; 2) Display by lev ...

Posted on Fri, 31 Jan 2020 14:08:22 -0500 by jaymc

Android alphabetical address book

Android alphabetical address book Design sketch: Code department: Activity class ContactViewActivity: AppCompatActivity(){ private var mAdater: ContactSortAdapter? = null private var mDataList: MutableList<SortModel>? = null override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(s ...

Posted on Fri, 31 Jan 2020 07:21:45 -0500 by jonstu