摘要: 调用的例子方法: uses Androidapi.JNI.GraphicsContentViewText, FMX.Helpers.Android, Androidapi.JNI.Net; procedure Call_URI(const AAction : JString;const AURI: 阅读全文
posted @ 2020-04-24 17:03 lai1322 阅读(186) 评论(0) 推荐(0) 编辑
摘要: var surf:TBitmapSurface; astream:TmemoryStream; begin surf:=TbitmapSurface.Create; astream:=TmemoryStream.Create; try Surf.Asssign(Image1.Bitmap); TBi 阅读全文
posted @ 2020-04-24 17:01 lai1322 阅读(273) 评论(0) 推荐(0) 编辑
摘要: uses Androidapi.JNI.GraphicsContentViewText, FMX.Helpers.Android, FMX.Surfaces; //JBitmap转Bitmap function JBitmapToBitmap(const AImage: JBitmap): TBit 阅读全文
posted @ 2020-04-24 16:59 lai1322 阅读(264) 评论(0) 推荐(0) 编辑
摘要: Androidapi.JNI.Support引用这个单元 procedure _InstallApk(Apk: string); var LFile: JFile; LIntent: JIntent; begin LFile := TJFile.JavaClass.init(StringToJStr 阅读全文
posted @ 2020-04-24 15:47 lai1322 阅读(830) 评论(0) 推荐(0) 编辑