- 浏览: 1513994 次
- 性别:
- 来自: 南京
-
最新评论
-
bzhao:
点赞123!
Windows的adb shell中使用vi不乱码方法及AdbPutty -
wahahachuang8:
我觉得这种东西自己开发太麻烦了,就别自己捣鼓了,找个第三方,方 ...
HTML5 WebSocket 技术介绍 -
obehavior:
view.setOnTouchListenerview是什么
[转]android 一直在最前面的浮动窗口效果 -
wutenghua:
[转]android 一直在最前面的浮动窗口效果 -
zee3.lin:
Sorry~~
When I build "call ...
Step by Step about How to Build libjingle 0.4
文章列表
http://shikii.net/blog/android-button-background-image-pressedhighlighted-and-disabled-states-without-using-multiple-images/
In Android, if you provide custom background images for buttons, you
will lose the pressed and disabled image effects. The common way to fix
that is to provide additi ...
http://stackoverflow.com/questions/2170214/image-saved-to-sdcard-doesnt-appear-in-androids-gallery-app
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"+ Environment.getExternalStorageDirectory())));
Here it is, my fist JAVA application for Android. This is very simple application which introduce how you can get sound from microphone of your phone analyze it and record it on your phones SD card. What new I learn writing this application
Initializing AudioRecorder
Analyzing every byte of audio ...
JNI层coding经常会遇到ReferenceTable overflow问题,特别是当jni函数被反复调用上千上万次的时候,现汇总如下,未完待续,并欢迎补充,(*^__^*) 嘻嘻……
总体原则:释放所有对object的引用
1.FindClass
例如,
jclass ref= (env)->FindClass("java/lang/String");
env->DeleteLocalRef(ref);
2.NewString/ NewStringUTF/NewObject/NewByteArray
例如,
jstring ...
最简单的办法是在EditText前面放置一个看不到的LinearLayout,让他率先获取焦点:
<LinearLayout
android:focusable="true" android:focusableInTouchMode="true"
android:layout_width="0px" android:layout_height="0px"/>
本来是想做一个显示文字信息的,当文字很多时View的高度不能超过一个固定的值,当文字很少时View的高度小于那个固定值时,按View的高度显示。因为ScrollView没有maxHeight,无法满足需求,只好另找方法了。
View本身是可以设置ScrollBar,这样就不一定需要依赖ScrollView了。TextView有个属性maxLine,这样也就满足了需求了,只要设置一个TextView带ScrollBar的,然后设置maxLine就可以了。
Xml代码
<TextView
Android:id="@+id/text_view"
...
#include <stdio.h>
#include <stdlib.h>
char* ReadFile(char *filename)
{
char *buffer = NULL;
int string_size,read_size;
FILE *handler = fopen(filename,"r");
if (handler)
{
//seek the last byte of the file
fseek(handler,0,SEEK_END);
...
http://www.android.com/about/jelly-bean/
Android 4.1, Jelly Bean
Android 4.1, Jelly Bean, is the fastest and smoothest version of Android yet. Jelly Bean
improves on the simplicity and beauty of Android 4.0, and introduces a new Google search
exper ...
http://www.linuxidc.com/Linux/2012-06/63186.htm
众所周知,Android
的
MediaPlayer包含了Audio和video的播放功能,在Android的界面上,Music和Video两个应用程序都是调用
MediaPlayer实现的。MediaPlayer在底层是基于OpenCore(PacketVideo)的库实现的,为了构建一个
MediaPlayer程序,上层还包含了进程间通讯等内容,这种进程间通讯的基础是Android基本库中的Binder机制。但是该类只能对完整的音
频文件进行操作,而不能直接对纯PCM音频 ...
很有趣的消息:
http://forums.macrumors.com/showpost.php?p=15165020&postcount=8
They are not using Nuance tech either. Google hired one of Nuance soft
engineers to help work around all Nuance patents. From what I have read
on it that it cost a lot of money to get around all of nuance patents
w ...
http://www.asciiflow.com/#Draw
http://www.w3.org/Voice/
The Voice Browser Working Group's mission is to support browsing the web by voice
. The web is much
more than just the web pages you can see, it is also the web pages you can hear and speak to. While end users are familiar
with interacting with visual htm ...
http://www.nuance.com/
http://www.nuancemobilelife.com/
http://dragonmobile.nuancemobiledeveloper.com/
http://www.dragonmobileapps.com/index.html
http://sphinx.pocoo.org/