:122:40:fatal error:speex/speex_config_types.h:no such file or directoryNo files were found for speex_config_types.h.So go to Include\speex and see that there is only one file named: speex_config_types.h.in. At this time my heart Anxi a bit, this all to me find, this time should be able to compile successfully. I copied this. in file directly named: Speex_config_types.h, then NDK, and then error, I xxxxxxxx.The error message is: jni/include/speex/speex.h:325:35:error: ' spx_int16_t ' have not be
This year, Google launched Android Auto, a car Android, designed to provide entertainment, navigation, and other functions. Android Auto, however, is not the end point, and now news reports that Google is developing a vehicle-mounted Android system that can completely replace the bottom-line control system of the car,
car. Google Now plans to support this feature when the next-generation OS Android M is released. Android m is expected to be released within the next year. If Google succeeds, Android will become a standard system for in-vehicle entertainment navigation devices, reinforcing Google's position in this new market.If the
Simple IM Chat programbecause the project needs to do a XMPP protocol based on the Android communication software. So began to study XMPP.The XMPP protocol uses the client-server architecture, all messages and data sent from one client to another must be forwarded by the XMPP server, and the routing of DNS between servers is supported, which means that the server cluster can be built so that different
The
/domain name and the port connection server, when the server side has the notification to be able to callback OnMessage method
3, and then call the Connect method for the connection
4, after the connection can send a message, send a message is also very simple, in addition to support string sent also support byte send, OK, the client is so happy to write (detailed code see behind packaged demo)
Objective
Long time no blog, previously in the Android chat room promised to write a customer (friend) between the chat demo,android socket based chat room has been implemented through the socket broadcast form of communication functions.
Here's a bubble
static method to crack the 1th, must find the key point, our problem is to know the database, but this is encrypted, we need the password, then in Android if the use of the database, will certainly involve a class:sqlitedatabase , we can search for this class in eclipse first:
Because the micro-letter engineering code is very large, so in the search process to wait for a period of time:
The definition of the Com.tencent.kingkong.database.SQLite
client information:" + str; // process the message received from the client and send it to the client out. println (message);} out. close (); in. close (); client. close () ;}@ Override public void onDestroy () {isServiceDestroyed = true; super. onDestroy ();}}
3. Implement the chat client
The client Activity starts the server in the onCreate method and starts the thread to connect to the Socket of the server. To ensure the connection is successful,
);Mplayer.prepare ();Start playbackMplayer.start ();End PlayMplayer.stop ();Mplayer.release ();You can also set the event callback for playback to completeMplayer.setoncompletionlistener (New Mediaplayer.oncompletionlistener () {//playback completed callback Listener@Overridepublic void Oncompletion (MediaPlayer arg0) {Stopplay ();}});Unlike iOS, Android does not need to convert arm-formatted audio into the Wav,mediaplayer class to play directly with
One, the Android XMPP client BeemBeem is an XMPP (jabber) client software that runs on the Android mobile platform and is compatible with standard XMPP servers and services such as Ejabberd, OpenFire, Facebook, and Gmail. Supports SASL, proxies (SOCKS4, SOCKS5, HTTP), DNS SRV, and chatting with a specific resource.Project home: http://beem-project.com/Second, Android
connect 4, after the connection can send the message, send the message is also very simple, in addition to support string sent also support byte send, well, the client is so happy to write (detailed code see the following package of demo). Second, the creation of the service side:1-1,Java Application Server creation (using Java-websocket Library), in fact, is also very simple, inheriting a class Webs
what you can do directly using the tool class:
We can see that, through the tool class, can achieve the image of the hair glass effect, but not ideal, because the background color of micro-letter is dark, and we blurred the picture color is light. The effect is somewhat unsatisfactory. People who know about iOS may know that iOS realizes Gaussian blur with direct api:uiblureffectstyleextralight, Uiblureffectstylelight, Uiblureffectstyledark, and Uiblureffectstyledark can directly achieve a r
. If not, you can use your own computer to open the WiFi, and then the phone connection.6. In OpenFire, you can add users here so that your phone and computer can chat and interact. Or use two phones to test on the same LAN.7. Mobile login You create your own user or admin line. After landing is the chat interactive page. You can send messages to all users through your computer. You can also send messages o
annotations, see this blog:Http://www.cnblogs.com/peida/archive/2013/04/24/3036689.htmlThe Android annotation support library is available with a look at the documentation for the Android tool group, simple and straightforward:Http://tools.android.com/tech-docs/support-anno
Original address: http://www.flysnow.org/2015/08/13/android-tech-docs-support-annotations.htmlAnnotation Support (Annotations)The Android Support Library has introduced a new annotation library from version 19.1, which contains a
"Turn from"http://jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0427/2797.htmlEnglish Link: http://anupcowkur.com/posts/a-look-at-android-support-annotations/Translation links in layman's Android support AnnotationsIntroduction: If you have encountered before the method parameters in the case of @nonnull and do not
Microsoft Windows [version 6.1.7601] Copyright (c) Microsoft Corporation. All rights reserved. D:\Android Anti-compilation Tool "full" \2016\dex2jar-2.0\dex2jar-2.0>d2j-dex2jar.bat classes.dex Dex2jar Classes.dex- >. \classes-dex2jar.jar com.googlecode.d2j.dexexception:not Support version. at Com.googlecode.d2j.reader.dexfilereader.) at Com.googlecode.d2j.reader.dexfilereader.) at Com.googlecod
intGetflavour () {returnflavour; } Public voidSetflavour (@Flavourintflavour) { This. Flavour =flavour; }}At this point, if we call Icecreamflavourmanager.setflavour using the wrong integer value, the IDE will make an error as follows:The IDE will even prompt us to use valid values:We can also specify an integer value as the flag bit, meaning that these integer values can be manipulated with or, using ' | ' or ' '. If we define @flavour as the following flag bit:true, value = {VANI
Reprint please indicate the source:http://blog.csdn.net/zxt0601/article/details/53495709This article is from: "Zhang Xudong's Blog" (http://blog.csdn.net/zxt0601)Code Portal: If you like, point to a star. Thanks a lotHttps://github.com/mcxtzhang/SupportDemos
Background:I'm going to write a series that explains the collection of useful tool classes that are commonly used or unpopular in Android support
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.