摘要:
<!doctype html><html><frameset cols="200,*"> <frame src="left.html"> <frame src="right.html" name="viewFram"></frameset></html> left.html专门写个菜单文件菜单每一个
阅读全文
posted @ 2016-02-04 14:57
lypzxy
阅读(367)
推荐(0)
摘要:
Please specify exact device preset UUID 重启RAD IDE,重新选择 IOS Simulator ,iphone 机型!
阅读全文
posted @ 2016-01-27 15:22
lypzxy
阅读(426)
推荐(0)
摘要:
运行中,突然远程设备断开。TBluetoothLEDevice.IsConnected 为false了。再次搜索,订阅,BluetoothLE1.SubscribeToCharacteristic(FCurrentDevice, FGattChar); 无法订阅成功TBluetoothGattCha...
阅读全文
posted @ 2016-01-26 20:54
lypzxy
阅读(386)
推荐(0)
摘要:
double 没有问题,Single有问题'0.7' 0.69999999999999996Single; // 4 byte realDouble; // 8 byte real
阅读全文
posted @ 2016-01-26 15:44
lypzxy
阅读(587)
推荐(0)
摘要:
http://docwiki.embarcadero.com/Libraries/Seattle/en/System.Threading.TTask http://docwiki.embarcadero.com/Libraries/Seattle/en/System.Threading.TTaskS
阅读全文
posted @ 2016-01-25 14:34
lypzxy
阅读(3308)
推荐(0)
摘要:
[UIApplication sharedApplication].idleTimerDisabled=YES;不自动锁屏idleTimerDisabled
阅读全文
posted @ 2016-01-23 19:25
lypzxy
阅读(216)
推荐(0)
摘要:
VCL grideh 选中多行 TBookmark、Bookmark、GotoBookmark if(DBGridEh1->SelectedRows->Count == 0 ) DBGridEh1->SelectedRows->CurrentRowSelected = true; TBookmark
阅读全文
posted @ 2016-01-23 17:27
lypzxy
阅读(666)
推荐(0)
摘要:
自己作为广播方,连接我的设备断开收到的事件。TBluetoothLE.OnDisconnectDeviceTBluetoothLEDeviceBluetoothLE1->DiscoveredDevices->Items[i]->DisposeOf();BluetoothLE1.DiscoveredD...
阅读全文
posted @ 2016-01-22 17:15
lypzxy
阅读(880)
推荐(0)
摘要:
System.Bluetooth.TBluetoothLEDevice.UpdateOnReconnectDescriptionIndicates whether the manager automatically updates its internal service objects when ...
阅读全文
posted @ 2016-01-22 15:53
lypzxy
阅读(558)
推荐(0)
摘要:
str:string;delphistr.IsNullOrEmptystr.IsNullOrWhiteSpaceTStringHelperfor delphi only,c++ no use.
阅读全文
posted @ 2016-01-22 13:17
lypzxy
阅读(967)
推荐(0)
摘要:
aUrl: NSString; cmdurl: NSURL; AbsoluteFileName: string; cmdurl := NSURL.URLWithString(aUrl); NSNewURL := TNSURL.Wrap(TNSURL.OCClass.fileURLWithPath(L
阅读全文
posted @ 2016-01-21 13:38
lypzxy
阅读(513)
推荐(0)
摘要:
setKeepAliveTimeout定期唤醒间隔至少600秒唤醒,唤醒后执行的代码最多10秒要执行完成。与setMinimumBackgroundFetchInterval的区别呢?performFetchWithCompletionHandler配对使用,只用于后台获取。
阅读全文
posted @ 2016-01-17 21:10
lypzxy
阅读(701)
推荐(0)
摘要:
10分钟 beginBackgroundTaskWithExpirationHandler,beginBackgroundTaskWithName endBackgroundTask 定义变量 UIBackgroundTaskIdentifier bgTask; - (void)applicatio
阅读全文
posted @ 2016-01-17 19:30
lypzxy
阅读(2183)
推荐(0)
摘要:
3.这里有一个问题,就是客户端是通过心跳来和服务端保持连接,心跳是由定时器触发的,当我退到后台以后,定时器方法被挂起,那么通过如下设置来在后台运行定时器beginBackgroundTaskWithExpirationHandler-(void)applicationDidEnterBackgrou...
阅读全文
posted @ 2016-01-17 17:10
lypzxy
阅读(610)
推荐(0)
摘要:
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Automatic_Reference_Counting_in_Delphi_Mobile_Compilers#Weak_ReferencesWeak ReferencesAnother impo...
阅读全文
posted @ 2016-01-16 17:02
lypzxy
阅读(189)
推荐(0)