![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
文章平均质量分 72
wwwsec
记录工作感悟
展开
-
hello world (android studio DNK )
开发环境 android studio 目标:开发一个ndk的hello world 1、环境准备: 下载android ndk并解压 2、创建android项目 NDKTest01 新建java类JNIUnit 增加方法 public class JNIUnit { public static native String getStringFormC(); }原创 2016-07-04 12:21:39 · 663 阅读 · 0 评论 -
DividerDecoration 文件,recyclerview 分割线
package com.nndou.yy.recyclertest01; /* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * limitations under the License. *原创 2016-07-06 19:37:08 · 413 阅读 · 0 评论 -
hello world (android RecyclerView)
1、引入jar包 file ->project structure ->app->library dependency 选择recyclerVier 2、增加Obj.java package com.nndou.yy.recyclertest01; public class Obj { private String name; private String d原创 2016-07-06 19:05:38 · 334 阅读 · 0 评论 -
hello world(android ListView)
1、增加类 Obj.java package com.nndou.yy.listviewtest; import android.graphics.drawable.Drawable; /** * Created by yuecaili on 16/6/30. */ public class Obj { private String name; private Strin原创 2016-07-06 16:08:02 · 275 阅读 · 0 评论 -
hello world (android mediaplayer)
try{ String url = "http://7xkvbq.com1.z0.glb.clouddn.com/m4a/50.m4a"; // your URL here MediaPlayer mediaPlayer = new MediaPlayer(); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC原创 2016-07-05 15:53:54 · 280 阅读 · 0 评论 -
hello world(android volley)
volley使用原创 2016-07-06 14:12:36 · 439 阅读 · 0 评论