上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 49 下一页
摘要: 运行中,突然远程设备断开。TBluetoothLEDevice.IsConnected 为false了。再次搜索,订阅,BluetoothLE1.SubscribeToCharacteristic(FCurrentDevice, FGattChar); 无法订阅成功TBluetoothGattCha... 阅读全文
posted @ 2016-01-26 20:54 lypzxy 阅读(371) 评论(0) 推荐(0) 编辑
摘要: double 没有问题,Single有问题'0.7' 0.69999999999999996Single; // 4 byte realDouble; // 8 byte real 阅读全文
posted @ 2016-01-26 15:44 lypzxy 阅读(573) 评论(0) 推荐(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 阅读(3055) 评论(0) 推荐(0) 编辑
摘要: [UIApplication sharedApplication].idleTimerDisabled=YES;不自动锁屏idleTimerDisabled 阅读全文
posted @ 2016-01-23 19:25 lypzxy 阅读(206) 评论(0) 推荐(0) 编辑
摘要: VCL grideh 选中多行 TBookmark、Bookmark、GotoBookmark if(DBGridEh1->SelectedRows->Count == 0 ) DBGridEh1->SelectedRows->CurrentRowSelected = true; TBookmark 阅读全文
posted @ 2016-01-23 17:27 lypzxy 阅读(645) 评论(0) 推荐(0) 编辑
摘要: 自己作为广播方,连接我的设备断开收到的事件。TBluetoothLE.OnDisconnectDeviceTBluetoothLEDeviceBluetoothLE1->DiscoveredDevices->Items[i]->DisposeOf();BluetoothLE1.DiscoveredD... 阅读全文
posted @ 2016-01-22 17:15 lypzxy 阅读(848) 评论(0) 推荐(0) 编辑
摘要: System.Bluetooth.TBluetoothLEDevice.UpdateOnReconnectDescriptionIndicates whether the manager automatically updates its internal service objects when ... 阅读全文
posted @ 2016-01-22 15:53 lypzxy 阅读(543) 评论(0) 推荐(0) 编辑
摘要: str:string;delphistr.IsNullOrEmptystr.IsNullOrWhiteSpaceTStringHelperfor delphi only,c++ no use. 阅读全文
posted @ 2016-01-22 13:17 lypzxy 阅读(947) 评论(0) 推荐(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 阅读(500) 评论(0) 推荐(0) 编辑
摘要: setKeepAliveTimeout定期唤醒间隔至少600秒唤醒,唤醒后执行的代码最多10秒要执行完成。与setMinimumBackgroundFetchInterval的区别呢?performFetchWithCompletionHandler配对使用,只用于后台获取。 阅读全文
posted @ 2016-01-17 21:10 lypzxy 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 10分钟 beginBackgroundTaskWithExpirationHandler,beginBackgroundTaskWithName endBackgroundTask 定义变量 UIBackgroundTaskIdentifier bgTask; - (void)applicatio 阅读全文
posted @ 2016-01-17 19:30 lypzxy 阅读(2053) 评论(0) 推荐(0) 编辑
摘要: 3.这里有一个问题,就是客户端是通过心跳来和服务端保持连接,心跳是由定时器触发的,当我退到后台以后,定时器方法被挂起,那么通过如下设置来在后台运行定时器beginBackgroundTaskWithExpirationHandler-(void)applicationDidEnterBackgrou... 阅读全文
posted @ 2016-01-17 17:10 lypzxy 阅读(594) 评论(0) 推荐(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 阅读(175) 评论(0) 推荐(0) 编辑
摘要: http://www.ithao123.cn/content-1363653.html定期更新数据的app,比如及时通信类,微博等app.定期后台获取,等打开后获取的快一些。30分钟后打开手,获取30分钟内qq消息。如果没5分钟获取一次,那么最后一次只刷新5分钟内的数据,速度快,体验好。但是费电!设... 阅读全文
posted @ 2016-01-16 07:28 lypzxy 阅读(639) 评论(0) 推荐(1) 编辑
摘要: Unable to install package (e8000051). Please check used certificate validity and provisioning.. Unable to install package (e8008018). Please check use 阅读全文
posted @ 2016-01-15 16:54 lypzxy 阅读(327) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 49 下一页