C++ 函数指针 函数名作为参数
函数指针声明例子 函数名作为参数
1.使用Android shader中的LinearGradient
2.Android 中的动画 ValueAnimator
3.得到用户滑动的速率 VelocityTracker
4.Android中的自定义控件
1.效果图
2.整体框架
3.具体每一年的绘制 – Android View的使用
4.谈谈ListFragment
5.其他的简单东西
6.代码下载
今天尝试往系统中另外一个应用的ContentProvider中写入数据,没想到报错了。 java.lang.SecurityException: Permission Denial: writing com.mediatek.todos.provider.TodoProvider uri content://com.mediatek.todos/todos from pid=8753, uid=1000 requires the provider be exported, or grantUriPermission() 网上查了下,加上android:exported=”true”就行了。 <provider android:name=”.provider.TodoProvider” android:authorities=” […]