编程资料和资料分享专区 - 爱资料
分类:
Delphi XE7写的一个http post的小测试程序

Delphi XE7写的一个http post的小测试程序

栏目分类:Delphi 浏览次数:189 发布时间:2015-09-22

本文章介绍了DelphiXE7写的一个httppost的小测试程序,该程序是通过TIdHTTP组件进行post功能的测试,具体就不介绍了,代码很简单,下面是主要的代码 unitUnit1; interface uses Winapi.Windows,Winap...

TAG:
Delphi 禁用本地网络连接/启用本地网络连接

Delphi 禁用本地网络连接/启用本地网络连接

栏目分类:Delphi 浏览次数:219 发布时间:2015-09-22

代码如下: //Unitto getthelocalnetworkconnectionlist //andenable/disablecorrespondnetworkconnection // //Author:jhzhang@iflytek.com //History:2009/1/16Create // unituNetworkConnection; interface usesWindows,Messages,SysUtils,Variants,C...

TAG:
Delphi XE6 Android下捕获功能键

Delphi XE6 Android下捕获功能键

栏目分类:Delphi 浏览次数:110 发布时间:2015-09-22

在Form的Onkeyup事件中,参数Key,为按键值: vkMenu:菜单键 vkHardwareBack:back键 更详细的键定义在System.UITypes单元。 procedureTForm1.FormKeyUp(Sender:TObject;varKey:Word; varKeyChar:Char;Shift:TShiftState); beg...

TAG:
Delphi XE7安装后配置Android的SDK的方法

Delphi XE7安装后配置Android的SDK的方法

栏目分类:Delphi 浏览次数:299 发布时间:2015-09-22

绍 本文章介绍了DelphiXE7安装后target中无法显示手机的解决方法,昨天晚上经过一个多小时安装好了DelphiXE7,今天想试试开发一个android小程序,发现在targer中无法刷新出来手机列表,已...

TAG:
Delphi XE5 android得到手机的手机号码

Delphi XE5 android得到手机的手机号码

栏目分类:Delphi 浏览次数:140 发布时间:2015-09-22

首先引用这些: uses System.SysUtils,System.Types,System.UITypes,System.Classes,System.Variants, FMX.Types,FMX.Graphics,FMX.Controls,FMX.Forms,FMX.Dialogs,FMX.StdCtrls ,Androidapi.JNI.GraphicsContentViewText,Androidapi.JNIBridge, Andr...

TAG:
Delphi XE7组件TetheringManager1发送消息

Delphi XE7组件TetheringManager1发送消息

栏目分类:Delphi 浏览次数:174 发布时间:2015-09-22

介绍 本文章介绍了DelphiXE7组件TetheringManager1发送消息,今天对这个组件又进行了研究,并写了一个手机客户端以及PC客户端,通过连接可以通过手机忘PC端发送命令,以前需要写很多行的...

TAG:
Delphi XE7 android 实现的在线更新APP的一个程序

Delphi XE7 android 实现的在线更新APP的一个程序

栏目分类:Delphi 浏览次数:216 发布时间:2015-09-22

介绍 本文章介绍了DelphiXE7实现的在线更新APP的一个程序,该程序通过IDHTTP组件在线下载APP到手机中,然后自动安装这个APP程序。 程序首先点击DownLoadAPP按钮,实现在线下载APP程序 proc...

TAG:
Delphi XE实现android 添加图片资源到应用并使用它

Delphi XE实现android 添加图片资源到应用并使用它

栏目分类:Delphi 浏览次数:245 发布时间:2015-09-22

介绍 本文章介绍了Delphi XE7添加图片资源到应用并使用它,首先我们打开project/deployment,然后点击添加文件按钮,将文件添加进去 添加进去之后,默认的remotepath是.\,这个是不对的,需...

TAG:
Delphi XE5 android实现繁体字到简体字的转换函数

Delphi XE5 android实现繁体字到简体字的转换函数

栏目分类:Delphi 浏览次数:136 发布时间:2015-09-22

介绍 本文章介绍了DelphiXE5实现繁体字到简体字的转换,下面直接上函数代码,经过测试有效。 functionGBChs2Cht(GBStr:string):string; var SourceLength:Integer; TargetStr:string; begin SourceLength:=Length(GBSt...

TAG:
Delphi XE6调用Android手机标准功能

Delphi XE6调用Android手机标准功能

栏目分类:Delphi 浏览次数:568 发布时间:2015-09-22

介绍 本文章介绍了DelphiXE6调用Android手机标准功能,下面会有几个调用的例子,通过代码来进行讲解,希望大家喜欢。 调用首先进行一些类的引用: uses Androidapi.JNI.GraphicsContentViewText,...

TAG: