RSS图片
Android
1) SQL Server服务器 SSMS -> 服务器右键 -> 内存 -> 设置最大服务器内存 设置800MB比较合适 2)AppFabric内存占用设置 SharePoint命令行管理程序 -> 执行以下命令 Update-SPDistributedCacheSize -CacheSizeInMB 500 https://docs.microsoft.com/zh-cn/SharePoint/administration/plan-for-feeds-and-the-distributed-cache-service 安装 SharePoint Server 时,用于缓存大小的分布式缓存服务的内存分配设置为默认值,即物理......
作者:发表于:2019/07/12 点击:23 评论:0
You can activate it by going to:  File > Settings > Editor > General and check Show quick documentation on mouse move:...
作者:发表于:2018/03/17 点击:45 评论:0
前言   Loaders,装载机,适用于Android3.0以及更高的版本,它提供了一套在UI的主线程中异步加载数据的框架。使用Loaders可以非常简单的在Activity或者Fragment中异步加载数据,一般适用于大量的数据查询,或者需要经常修改并及时展示的数据显示到UI上,这样可以避免查询数据的时候,造成UI主线程的卡顿。   Loaders有以下特点: 可以适用于Activity和Fragment。 可以提供异步的方式加载数据。 监听数据源,当数据改变的时候,将新的数据发布到UI......
作者:发表于:2017/06/21 点击:36 评论:0
Android SQLite database and content provider - Tutorial Lars Vogel (c) 2014, 2016 vogella GmbHVersion 5.1,29.06.2016 Table of Contents 1. SQLite and Android 2. SQLite architecture 3. Tutorial: Using SQLite 4. Content provider and sharing data 5. Tutorial: Using ContentProvider 6. Loader 7. Cursors and Loaders 8. Tutorial: SQLite, custom ContentProvider and Loader ......
作者:发表于:2017/06/21 点击:63 评论:0
Android中操作数据库主要有两种方法:使用SQLiteOpenHelper 和使用ContentProvider。  (一)使用SQLiteOpenHelper:一个抽象类,用于提供管理数据库版本并维护创建数据库的接口。其子类必须实现onCreate(SQLiteDatabase)和onUpdate(SQLiteDatabase, int, int)方法,也可以实现可选方法onOpen(SQLiteDatabase)。另外,也必须重写父类的构造函数。  如果数据库存在则这个类将负责打开数据库,如果不存在则创建一个新的数据库。当Android检测到你在引用......
作者:发表于:2017/06/19 点击:52 评论:0
Download PDF https://software.intel.com/en-us/articles/handling-offline-capability-and-data-sync-in-an-android-app-part-2 Abstract Mobile apps that rely on backend servers for their data needs should provide seamless offline capability. To provide this capability, apps must implement a data sync mechanism that takes connection availability, authentication, and battery usage, among other thin......
作者:发表于:2017/06/18 点击:51 评论:0
https://software.intel.com/en-us/articles/handling-offline-capability-and-data-sync-in-an-android-app-part-1 Abstract Mobile apps with a backend need to provide offline capability as the devices may not have continuous network access. We also need an efficient way for our app to automatically sync with a backend server. In this article we will take a look at how Android* sync adapter framewo......
作者:发表于:2017/06/18 点击:57 评论:0
https://console.developers.google.com/apis 首先创建凭据  包名,keystore文件的sha1码 API管理器中启用相应的api ...
作者:发表于:2017/06/13 点击:43 评论:0
android studio 菜单 -> buid -> Generate Signed Apk 创建jks后缀的签名件  然后在build.grade 中引用 android { signingConfigs { config01 { keyAlias 'MXXXXE' keyPassword 'XXXXX' storeFile file("E:/XXXXX/focusdict.jks") storePassword 'XXXXX' }     } I have not fully fixed this issue, but I think it is related to the follow......
作者:发表于:2017/06/13 点击:48 评论:0
画面回転時のメモリーリークを防ぐため、下記のような DialogFragment を作成することを推奨します。 public class SampleDialogFragment extends DialogFragment { @Override public Dialog onCreateDialog(Bundle savedInstanceState) { return new AlertDialog.Builder(getActivity()) .setTitle("タイトル") .setMessage("メッセージ") .create......
作者:发表于:2017/06/11 点击:231 评论:0