摘要:
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment 阅读全文
posted @ 2017-11-23 15:08
呀啦啦啦
阅读(103)
评论(0)
推荐(0)
摘要:
public class MainActivity extends AppCompatActivity implements RadioGroup.OnCheckedChangeListener, ViewPager.OnPageChangeListener { private ArrayList< 阅读全文
posted @ 2017-11-23 10:28
呀啦啦啦
阅读(116)
评论(0)
推荐(0)
摘要:
public class MainActivity extends AppCompatActivity implements RadioGroup.OnCheckedChangeListener { private ArrayList<Fragment> arrayList; private Rad 阅读全文
posted @ 2017-11-23 10:25
呀啦啦啦
阅读(240)
评论(0)
推荐(0)
摘要:
public class VideosurfaceView extends SurfaceView implements SurfaceHolder.Callback, MediaPlayer.OnPreparedListener { private SurfaceHolder holder; pr 阅读全文
posted @ 2017-11-23 10:21
呀啦啦啦
阅读(148)
评论(0)
推荐(0)
摘要:
package com.example.shishangyuan;import android.content.Context;import android.content.SharedPreferences;//存储类public class SharedUtils { //存账号的方法 publ 阅读全文
posted @ 2017-11-23 10:13
呀啦啦啦
阅读(164)
评论(0)
推荐(0)
摘要:
百度地图BaiduMap准备工作1、百度地图API官方网站注册开发账号,搜索:百度地图sdk2、在网站中获取APP_KEY密钥 1、电脑系统中Android Studio/Eclipse的SHA1值。 2、确定应用的包名。通过这两者获得AK3、下载百度地图SDK,包括: 1、百度地图开发API文档 阅读全文
posted @ 2017-11-23 10:10
呀啦啦啦
阅读(205)
评论(0)
推荐(0)
摘要:
public class FileActivity extends AppCompatActivity implements View.OnClickListener { protected Button mReadFileBtn; protected Button mWriteFileBtn; p 阅读全文
posted @ 2017-11-23 10:06
呀啦啦啦
阅读(95)
评论(0)
推荐(0)
摘要:
如果在android studio 搜不出来的话可以把他们直接添加到build里面 compile 'com.squareup.retrofit2:converter-gson:2.3.0' compile 'com.squareup.okhttp3:okhttp:3.9.0' compile 'c 阅读全文
posted @ 2017-11-23 09:56
呀啦啦啦
阅读(361)
评论(0)
推荐(0)
摘要:
百度地图BaiduMap准备工作1、百度地图API官方网站注册开发账号,搜索:百度地图sdk2、在网站中获取APP_KEY密钥 1、电脑系统中Android Studio/Eclipse的SHA1值。 2、确定应用的包名。通过这两者获得AK3、下载百度地图SDK,包括: 1、百度地图开发API文档 阅读全文
posted @ 2017-11-23 09:36
呀啦啦啦
阅读(201)
评论(0)
推荐(0)