首页 文章 精选 留言 我的

精选列表

搜索[设置],共10000篇文章
优秀的个人博客,低调大师

Android之adt 23找不到NDK路径设置解决方案

这里下载最新的adt更新一下就行。 一下是Google的原文 If you are having trouble downloading the ADT plugin after following the steps above and you are behind a firewall (such as a corporate firewall), make sure that you have properly configured your proxy settings in Eclipse. In Eclipse, you can configure proxy information from the main Eclipse menu inWindow(on Mac OS X,Eclipse) >Preferences>General>Network Connections. If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT zip file to your local machine and manually install it: Download the ADT Plugin zip file (do not unpack it): Package Size MD5 Checksum ADT-23.0.4.zip 103336810 bytes 91a43dcf686ab73dec2c08b77243492b Start Eclipse, then selectHelp>Install New Software. ClickAdd, in the top-right corner. In the Add Repository dialog, clickArchive. Select the downloaded ADT-23.0.4.zip file and clickOK. Enter "ADT Plugin" for the name and clickOK. In the Available Software dialog, select the checkbox next to Developer Tools and clickNext. In the next window, you'll see a list of the tools to be downloaded. ClickNext. Read and accept the license agreements, then clickFinish. If you get a security warning saying that the authenticity or validity of the software can't be established, clickOK. When the installation completes, restart Eclipse. To update your plugin once you've installed using the zip file, you will have to follow these steps again instead of the default update instructions. 本文转自xuzw13 51CTO博客,原文链接:http://blog.51cto.com/xuzhiwei/1568686,如需转载请自行联系原作者

优秀的个人博客,低调大师

android 文本框的树形设置方法与对应xml属性

android中文本框有很多属性,这些树形既可以在xml文件中提前配置好,也可以在Activity中实例化TextView对象后通过调用TextView对象的方法来做配置. 本来想全部摘抄出来,去看了android的参考手册,发现这样的属性太多.就参考了下网上的视频,找了几个常用个的配置. TextView方法 XML属性 setTextColor android:textColor 文字颜色 setTextSize android:textSize 文字大小 setText android:text 文字内容 setHeight/setWidth android:height/android:width 文本框的宽度和高度 本文转自leipei博客园博客,原文链接:http://www.cnblogs.com/leipei2352/archive/2011/08/13/2137460.html,如需转载请自行联系原作者

优秀的个人博客,低调大师

asio socket设置 server地址与端口的两种方式

1. 用解释器的方法, 常用来解析域名, 如 // query("www.163.com","80"), 也可以 query("www.163.com","telnet") // echo 7/tcp // ftp 21/tcp # File Transfer Protocol (Control) // telnet 23/tcp # Virtual Terminal Protocol // smtp 25/tcp # Simple Mail Transfer Protocol // time 37/tcp timeserver # Time TCP::resolver resolver(iOS); TCP::resolver::query query("127.0.0.1", "10000"); TCP::resolver::iterator endpoint_iterator = resolver.resolve(query); TCP::resolver::iterator end; TCP::socket socket(ios); socket.connect(*endpoint_iterator, error); 2. 用简便的方法 TCP::socket socket(ios); TCP::endpoint endpoint(boost::asio::ip::address_v4::from_string("127.0.0.1"), 10000); socket.connect(endpoint, error);

优秀的个人博客,低调大师

如何将页面设置为微信端才能打开

我们有时候开发一个新项目比较辛苦,不想让别人轻易就能反编译代码,我们可以加一个授权登录,如果不是在微信端登录就会提示“请在微信客户端打开链接”,如下图所示,这就是很多网友说的微信链接无法在pc端打开飞原理。还有一个方式是用PC端判断,通过js代码,判断如果是电脑端,则返回另外一个链接页面。 <script> var link=document.getElementsByTagName('link')[0]; var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os"; var bIsMidp = sUserAgent.match(/midp/i) == "midp"; var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4"; var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb"; var bIsAndroid = sUserAgent.match(/android/i) == "android"; var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce"; var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) { //移动端 } else{ location.href="http://no120.kuaizhan.com/" } </script> 通过上面的代码可以简单实现让用户在微信或移动端访问页面。

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

用户登录
用户注册