上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 55 下一页
  2019年8月3日
摘要: 1) 画笔设置 Paint.Style.STROKE 中空模式 paint = new Paint(); //新建一个画笔对象 paint.setAntiAlias(true);//抗锯齿功能 paint.setColor(Color.RED); //设置画笔颜色 paint.setStyle(Pa 阅读全文
posted @ 2019-08-03 19:17 激流勇进1 阅读(425) 评论(0) 推荐(0)
摘要: # Uncomment this line to define a global platform for your projectuse_frameworks!(http://www.my516.com) source 'https://github.com/CocoaPods/Specs.git 阅读全文
posted @ 2019-08-03 19:16 激流勇进1 阅读(254) 评论(0) 推荐(0)
摘要: 新建一个页面FirstScreen.dartmain.dart改动代码 导入import 'dart:ui' as ui;import 'package:flutter_module/FirstScreen.dart';12修改//void main() => runApp(MyApp());voi 阅读全文
posted @ 2019-08-03 19:16 激流勇进1 阅读(198) 评论(0) 推荐(0)
摘要: ViewController.m #import "ViewController.h"#import <Flutter/Flutter.h>#include "GeneratedPluginRegistrant.h"#import "SettingViewController.h" @interfa 阅读全文
posted @ 2019-08-03 19:15 激流勇进1 阅读(334) 评论(0) 推荐(0)
摘要: platform :ios, '9.0'target 'myproject' do end #新添加的代码flutter_application_path = '../'eval(File.read(File.join(flutter_application_path, '.ios', 'Flutt 阅读全文
posted @ 2019-08-03 19:15 激流勇进1 阅读(1045) 评论(0) 推荐(0)
  2019年8月2日
摘要: KeepLive.startWork(this, KeepLive.RunMode.ROGUE, ForegroundNotification("Title", "message", R.mipmap.ic_launcher, object : ForegroundNotificationClick 阅读全文
posted @ 2019-08-02 20:59 激流勇进1 阅读(204) 评论(0) 推荐(0)
摘要: 在onStartCommand()方法中开启一个通知,提高进程的优先级。注意:从Android 8.0(API级别26)开始,所有通知必须要分配一个渠道,对于每个渠道,可以单独设置视觉和听觉行为。然后用户可以在设置中修改这些设置,根据应用程序来决定哪些通知可以显示或者隐藏。 定义一个通知工具类,兼容 阅读全文
posted @ 2019-08-02 20:59 激流勇进1 阅读(312) 评论(0) 推荐(0)
摘要: @SuppressWarnings(value = ["unchecked", "deprecation"])@RequiresApi(Build.VERSION_CODES.LOLLIPOP)class JobHandlerService : JobService() { private var 阅读全文
posted @ 2019-08-02 20:59 激流勇进1 阅读(701) 评论(0) 推荐(0)
摘要: class RemoteService : Service() { private var mBilder: MyBilder? = null override fun onCreate() { super.onCreate() if (mBilder == null) { mBilder = My 阅读全文
posted @ 2019-08-02 20:59 激流勇进1 阅读(212) 评论(0) 推荐(0)
摘要: @Override public void transform(TransformInvocation transformInvocation) throws TransformException, InterruptedException, IOException { long start = S 阅读全文
posted @ 2019-08-02 20:59 激流勇进1 阅读(409) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 55 下一页