本篇文章我们来看一下delphi xe5 在android程序里怎样启动照相机并获取所拍的照片,本代码取自xe自带打sample,路径为: C:\Users\Public\Documents\RAD Studio\12.0\Samples\MobileCodeSnippets\AccessCameraApp 1.前两步骤新建firemonkey mobile application 然后 选择blank application 2.界面摆放如下: toolbar .image .actionli…
本篇文章我们来看一下delphi xe5 在android程序里怎样启动照相机并获取所拍的照片,本代码取自xe自带打sample,路径为: C:\Users\Public\Documents\RAD Studio\12.0\Samples\MobileCodeSnippets\AccessCameraApp 1.前两步骤新建firemonkey mobile application 然后 选择blank application 2.界面摆放如下: toolbar .image .actionli…
{ Google ZXing Call demo Delphi Version: Delphi XE5 Version 19.0.13476.4176 By: flcop(zylove619@hotmail.com) } unit UMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.For…
uses Androidapi.JNI.Os, Androidapi.JNIBridge; function GetVibratorArray(const AIntArr: array of Int64): TJavaArray<Int64>; var LIndex: Integer; begin Result := TJavaArray<Int64>.Create(Length(AIntArr)); for LIndex := Low(AIntArr) to High(AIntA…
源码如下: uses Androidapi.JNI.Os, Androidapi.JNIBridge; function GetVibratorArray(const AIntArr: array of Int64): TJavaArray<Int64>; var LIndex: Integer; begin Result := TJavaArray<Int64>.Create(Length(AIntArr)); for LIndex := Low(AIntArr) to High…
http://blog.csdn.net/laorenshen/article/details/41148253 学习使用Delphi for android 调用Java类库 2014-11-15 18:36 1053人阅读 评论(0) 收藏 举报  分类: 安卓开发(27)  Android是一套非常优秀的移动端操作系统,Delphi Xe5中也能直接调用SDK中提供的各项API,但是delphi自己封装的AndroidAPI非常少,在安装目录的 source\rtl\android 中,而…
转自: http://bbs.2ccc.com/topic.asp?topicid=438595 首先感谢iny的绿色版,因为我的精简Win7 32位安装原版镜像4.63G过程正常,但是编译出错,后来用绿色版一切正常. 由于iny绿色版自带的SDK和NDK都是原版ISO里面提取的非最新版本,所以下载更新里面的文件后,绿色程序不能配置安卓环境.所以这里从头到尾说一次安装方法,成功人士或者完全版人士请略过. 一.下载以下文件:1:最新的JDK-->   http://www.oracle.com/t…
上几片文章我们把供手机端调用的web服务完成,接下来实现手机端调用webservices获取数据 1.新建firemonkey mobile application 2.选择blank application 3.这里选择分辨率,我用的手机是三星的p3100,没别的优点 就是大,7寸的屏,我女儿管这个叫平板手机  O(∩_∩)O~ 4.界面布局摆放如下: 5.绑定数据集 xe5中使用livebingding来绑定数据集,没有datasource属性了,理论上所有的控件都可以绑定数据集. 先在cl…
1. 确保正确安装Android SDK: 开始菜单 > 所有程序 > Embarcadero RAD Studio XE5 > > Android Tools > 打开 Android sdk manager  下载包文件, 如果无法更新包文件,请在hosts文件中添加一行 74.125.31.136  dl-ssl.google.com . 2. 确保正确配置AVD: Android SDK Manager > tools > manage AVDS(此时,你…
xe5 android的服务端和手机客户端的源代码下载地址 http://files.cnblogs.com/nywh2008/AndroidTest.rar…