Android - realizing the navigation of calculating routes in APP
Effect video
Jump to Baidu map for route calculation and navigation
Route calculation and navigation in APP
Function realization
Jump mode implementation
Function Description: by initializing Baidu map API, obtain the longitude and latitude of the current position as the starting point, and the entered address as the destination, t ...
Added by bobbuilder on Sat, 19 Feb 2022 11:13:56 +0200
Android Development - use broadcast to design simple music box
1, Function description
When using the mobile music player, you will see the buttons of "previous", "pause / play", "restart" and "next". It can be seen that the song name and singer name are displayed at the top of the screen, and four buttons are placed at the bottom to operate "previous" ...
Added by ccalzaretta on Thu, 17 Feb 2022 22:13:33 +0200
56. The core principle of Flutter - Flutter startup process and rendering pipeline
start-up
The entry of FLUENT is in the main() function of "lib/main.dart", which is the starting point of dart application. In the Flutter application, the simplest implementation of the main() function is as follows:
void main() => runApp(MyApp());
You can see that the main() function only calls one runApp() method. Let's see ...
Added by gypmaster on Tue, 15 Feb 2022 05:39:57 +0200
[Android source code learning] SharedPreferences source code learning
Chapter 1: SharedPreferences source code learning
Defects in Android SharedPreferences
Cause ANRCause CatonAll read and write to memoryData lossCannot cross process
Comparison of MMKV, Jetpack DataStore and SharedPreferences
functionMMKVJetpack DataStoreSharedPreferencesWhether to block the main threadnonoyesThread safeyesyesyesIs cross ...
Added by supratwinturbo on Sat, 12 Feb 2022 16:48:35 +0200
Android Studio accesses personal wechat H5 payment through YunGouOS open platform
Wechat H5 payment within App
Let's take a look at the demonstration effect first
I want to use the sdk of yungouos platform for wechat H5 payment, but I can't find the Demo developed in AS, so I have to think about it myself. Since I was also the first time to make wechat payment, I encountered many problems and consulted a lot of materials ...
Added by tommyda on Wed, 09 Feb 2022 03:16:46 +0200
Fluent learning picture component
Fluent learning (3) picture component
Review the basic framework built before
import 'package:flutter/material.dart';
void main(){
runApp(MyApp());
}
class MyApp extends StatelessWidget{
@override
Widget build(BuildContext context){
return MaterialApp(
home:Scaffold(
appBar:AppBar (title: Text("flutter demo") ...
Added by hawkeyes on Tue, 08 Feb 2022 18:31:52 +0200
Android Studio code block marking
Original author: Puke Original link: http://puke3615.github.io/2017/03/21/Android-Studio-Code-Block-Mark/ Original copyright notice: unless otherwise stated, all articles of this blog adopt CC BY-NC-SA 4.0 license agreement. Reprint please indicate the source!
Android Studio code block marking allows us to quickly locate the code logic block. ...
Added by SJR_34 on Mon, 07 Feb 2022 22:14:25 +0200
Jetpack Compose layout - custom layout
In the first part Quick start of Jetpack Compose Technology In this article, we briefly introduced Compose, so let's learn the layout of Compose. Since the layout involves a lot of content, it will be written separately. The layout mainly includes: Layout Basics,Material components and layout , custom layout Use ConstraintLayout in Compose.
...
Added by gemmerz on Mon, 07 Feb 2022 08:58:42 +0200
Flutter - Fundamentals Chapter 2
Introduction to Flutter catalog 1, Introduction to directory structure 2, Fluent entry file and entry method
// main.dart
void main(){
runApp(MyApp());
}
// It can also be abbreviated
void main() => runApp(MyApp());
/*There is a main in the lib directory of each fluent project Dart is the entry file of fluent
The main method is t ...
Added by newburcj on Thu, 03 Feb 2022 15:49:05 +0200
Problems and solutions of Android studio integrating cloud video SDK
Android Studio integrated cloud video SDK has integration development documents in the developer center of cloud video, but I found some problems in the process of my own integration and asked cloud video related staff to solve them. I integrate the multimedia services of cloud video and submit the test environment Certificate - SDKAPI joint co ...
Added by pumaf1 on Mon, 31 Jan 2022 21:26:28 +0200