手机产品设计禁忌在做手机产品设计的过程中,遇到很多看似很小,且很容易被忽略的问题,正是这些小问题,一次次的撩拨用户的耐心,让用户对你的产品心生怨念。刚出道的朋友没有经过实战,对细节注意不多,往往都会遇到类似的问题,强调多次后,觉得不如写下来,给新人共勉。 1、没有不可点击的效果 一般按钮会有四态.....
分类:
移动平台 时间:
2015-03-14 21:38:01
收藏:
0 评论:
0 赞:
0 阅读:
290
1.导入文件将第三方文件(如下图)复制到项目app->libs中2.添加引用右键文件“jpush-sdk-release1.7.3.jar"- 什么 as Library,添加引用3.编辑build.gradle文件添加如下代码sourceSets { main { ...
分类:
移动平台 时间:
2015-03-14 21:36:51
收藏:
0 评论:
0 赞:
0 阅读:
612
原文网址:http://www.mcuos.com/thread-4553-1-1.html建立编译环境1.在VirtualBox上安装Ubuntu2.安装JDK $ sudo apt-get install sun-java5-jdk或 $ sudo apt-get install sun-jav...
分类:
移动平台 时间:
2015-03-14 21:32:21
收藏:
0 评论:
0 赞:
0 阅读:
622
原文网址:http://blog.csdn.net/tiandinilv/article/details/89530011、Android模拟器介绍Android中提供了一个模拟器来模拟ARM核的移动设备。Android的模拟器是基于QEMU开发的,QEMU是一个有名的开源虚拟机项目(详见http:...
分类:
移动平台 时间:
2015-03-14 21:30:01
收藏:
0 评论:
0 赞:
0 阅读:
258
在Ubuntu 12.04中的默认的GCC版本是4.6。但是这个版本在编译android 4.0源码的时候会出差,下面是安装和设置GCC4.4的方法。第一种方法:Install GCC 4.4First, install GCC 4.4 (and friends):apt-get install g...
分类:
移动平台 时间:
2015-03-14 21:29:33
收藏:
0 评论:
0 赞:
0 阅读:
352
Is it possible to write a GUI Android app in rust? (self.rust) submitted 4 months ago by rmc Hi all, I‘m new to rust, so forgive me if this is a really simple question, but is it currently possible...
分类:
移动平台 时间:
2015-03-14 20:15:31
收藏:
0 评论:
0 赞:
0 阅读:
702
基于ArrayAdapter创建ListView程序清单listview2.xml<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"android:layout_height="match_parent">
<ListView
..
分类:
移动平台 时间:
2015-03-14 20:13:12
收藏:
0 评论:
0 赞:
0 阅读:
335
基于数组的ListViewlistview1.xml<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"android:layout_height="match_parent">
<ListView
android:layout_wi..
分类:
移动平台 时间:
2015-03-14 20:13:02
收藏:
0 评论:
0 赞:
0 阅读:
323
android网络编程发生android.os.NetworkOnMainThreadException处理办法。在进行连接操作前加上StrictMode.ThreadPolicypolicy=newStrictMode.ThreadPolicy.Builder().permitAll().build();StrictMode.setThreadPolicy(policy);
分类:
移动平台 时间:
2015-03-14 20:12:52
收藏:
0 评论:
0 赞:
0 阅读:
293
使用SimpleAdapter创建ListView程序清单1<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"android:layout_height="match_parent">
<ListView
android:lay..
分类:
移动平台 时间:
2015-03-14 20:10:41
收藏:
0 评论:
0 赞:
0 阅读:
272
基于BaseAdapter实现ListView注意扩展BaseAdapter需要重写以下四个方法getCount();getItem();getItemId();getView();程序清单packagexiaocool.net.listviewtest;
importandroid.graphics.Color;
importandroid.os.Bundle;
importandroid.support.v7.app.ActionBarActivity;
im..
分类:
移动平台 时间:
2015-03-14 20:10:12
收藏:
0 评论:
0 赞:
0 阅读:
307
~~~~~~~~~~~~~~~~WebProject的项目,在这里我们建为fe工程~~~~~~~-----------------LoginServlet.java-------------packagecom.csx;importjava.io.IOException;importjava.io.PrintWriter;importjavax.servlet.ServletException;importjavax.servlet.http.HttpServlet;importja..
分类:
移动平台 时间:
2015-03-14 20:08:22
收藏:
0 评论:
0 赞:
0 阅读:
526
/***确定、取消*@paramview*/publicvoidclick1(Viewview){AlertDialog.Builderbuilder=newBuilder(DialogTest.this);builder.setIcon(R.drawable.ic_launcher);builder.setTitle("提示!");builder.setMessage("托尔斯泰");builder.setPositiveButton("确定",newOnClickListene..
分类:
移动平台 时间:
2015-03-14 20:07:41
收藏:
0 评论:
0 赞:
0 阅读:
316
//xml写操作XmlSerializerserializer=Xml.newSerializer();FileOutputStreamoutputStream=context.openFileOutput("xmlwriter.xml",Context.MODE_PRIVATE);StringWriterwriter=newStringWriter();serializer.setOutput(writer);serializer.startDocument("utf-8",true);seriali..
分类:
移动平台 时间:
2015-03-14 20:06:52
收藏:
0 评论:
0 赞:
0 阅读:
400
在这个新系列中,我将解释什么是依赖注入,它的主要目的是什么,以及在Android工程中如何Dagger函数库实现它,Dagger是目前最流行的专为Android设计的依赖注入函数库。
本文是之前的文章《Android中MVP的实现》的后续之作,因为我相信读者中有一部分人会很乐意看到这两个特性在同一个工程中实现,而且我认为它们可以很好的协同工作。...
分类:
移动平台 时间:
2015-03-14 20:04:32
收藏:
0 评论:
0 赞:
1 阅读:
739
1.被引用的项目在“Android”选项里设置“Is Library”打钩
2.引用项在“Android”选项里设置“add"被引用项
3 .android Dependencies会显示引用项目,依赖项目
Android Private Libraries:表示放在libs里面的jar包引用和依赖项目中的包,视为私有引用
Referenced Libraries:表示引用...
分类:
移动平台 时间:
2015-03-14 20:02:11
收藏:
0 评论:
0 赞:
0 阅读:
416
话不多说,上代码:
#include
#include
#include
using namespace std;
const int DO = 261;
const int RE = 293;
const int MI = 329;
const int FA = 349;
const int SO = 392;
const int LA = 440;
con...
分类:
移动平台 时间:
2015-03-14 20:02:01
收藏:
0 评论:
0 赞:
0 阅读:
255
之前更新sdk一直不成功,一直timeout,网络由1m的换成光纤都不行,然后百度,基本让修改hosts文件,但是那个ip地址根本没效果,被坑惨了。此问题与源有关,要如下ping出来的ip才有效果。linux下:打开终端pingdl-ssl.google.com可以看到连接非常慢改变地址ping d...
分类:
移动平台 时间:
2015-03-14 19:57:11
收藏:
0 评论:
0 赞:
0 阅读:
694
ios交叉编译dylib因多个静态库,libes,libffmpeg,libmt. libpcap 使用不方便在封装一层接口,生成动态库(c代码),由IOS app上层调用。注意:ARCH 指定,可以指定多个,向下兼容!目前为止Apple移动设备默认指令集----------------------...
分类:
移动平台 时间:
2015-03-14 19:44:41
收藏:
0 评论:
0 赞:
0 阅读:
590
分别用javascript和jQuery Mobile测试 测试了三个事件:touchstart、touchmove 和 touchend,并获取了触摸时触点在页面上的坐标,根据坐标进行了左右滑动、上下滑动判断。
分类:
移动平台 时间:
2015-03-14 19:44:11
收藏:
0 评论:
0 赞:
0 阅读:
402