當(dāng)前位置:首頁(yè) > IT技術(shù) > 移動(dòng)平臺(tái) > 列表
移動(dòng)平臺(tái) 共有 121249 個(gè)文章

Android開發(fā)資源獲取國(guó)內(nèi)代理(轉(zhuǎn)載)

    Android Dev Tools官網(wǎng)地址:www.androiddevtools.cn收集整理Android開發(fā)所需的Android SDK、開發(fā)中用到的工具、Android開發(fā)教程、Android設(shè)計(jì)規(guī)范,免費(fèi)的設(shè)計(jì)素材等。歡迎大家推薦自己在Android開發(fā)過程中用的好用的工具、學(xué)習(xí)開發(fā)教程、用到設(shè)...[繼續(xù)閱讀]

移動(dòng)開發(fā)

@postConstruct constructor afterSetProperties() setApplicationContext 執(zhí)行順序

    測(cè)試代碼:import org.springframework.beans.BeansException;import org.springframework.beans.factory.InitializingBean;import org.springframework.beans.factory.annotation.Value;import org.springframework.context.ApplicationContext;import org.springframework.context.ApplicationContextAware;import or...[繼續(xù)閱讀]

移動(dòng)平臺(tái)

iOS開發(fā)runtime學(xué)習(xí):一:runtime簡(jiǎn)介與runtime的消息機(jī)制

    一:runtime簡(jiǎn)介:也是面試必須會(huì)回答的部分二:runtime的消息機(jī)制#import "ViewController.h"#import <objc/message.h>#import "Person.h"/* 總結(jié): 1: runtime:必須要導(dǎo)入頭文件 <objc/message.h>,此頭文件中已經(jīng)引入了<objc/runtime.h> 任何...[繼續(xù)閱讀]

移動(dòng)開發(fā)

Android VideoView簡(jiǎn)單播放視頻

    給Android VideoView一個(gè)文件目錄,就可以直接播放智能設(shè)備中的視頻文件,現(xiàn)在以播放事先用手機(jī)拍好并重命名的視頻文件test.mp4為例。(1)需要在布局文件中寫一個(gè)ViedoView:<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/androi...[繼續(xù)閱讀]

移動(dòng)開發(fā)

ios學(xué)習(xí)總結(jié)--常用的字符串操作

    本文總結(jié)一下我們常用的字符串的基本操作,在此與大家分享學(xué)習(xí)。1.字符串的創(chuàng)建以及初始化string:方法:創(chuàng)建字符串NSString *str1 = [NSString string]; str1 = @"Test1";stringWithstring:方法:用字符串來創(chuàng)建字符串1 NSString *str2 = [NSString strin...[繼續(xù)閱讀]

移動(dòng)開發(fā)

關(guān)于H5實(shí)現(xiàn)的手機(jī)搖一搖

    <!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8"> </head> <body> <div id="status"></div> </body> <script> var shake=4000, last_update=0, count=0, x=y=z=last_x=...[繼續(xù)閱讀]

移動(dòng)開發(fā)

Android調(diào)用攝像機(jī)拍照(只能拍一張,第二張自動(dòng)替換)

    這兩天我玩了玩幾天沒動(dòng)的Android,腦子里冒出一個(gè)注意,想用Android調(diào)用攝像機(jī)(偷拍)拍照,然后存下來,在網(wǎng)上百度一下就有很多人說,我也試了試,7.0以下非常輕松就成功了,因?yàn)?.0一下不用動(dòng)態(tài)申請(qǐng)權(quán)限,動(dòng)態(tài)申請(qǐng)權(quán)限我沒...[繼續(xù)閱讀]

移動(dòng)平臺(tái)

android 自動(dòng)化壓力測(cè)試-monkey 3 命令參數(shù)

    使用monkey help 命令查看命令參數(shù),如下:C:Userschenfenping>adb shell monkey -helpusage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] ...][-c MAIN_CATEGORY [-c MAIN_CATEGORY] ...][--ignore-crashes] [--ignore-timeouts][--ignore-security-exceptions][--monitor-native-crashes] [--ignor...[繼續(xù)閱讀]

移動(dòng)開發(fā)

Android獲取各種設(shè)備的狀態(tài)

    WIFI? ?獲取WIFI狀態(tài)WifiManager wifiManager = (WifiManager)context.getSystemService(Context.WIFI_SERVICE);if(wifiManager != null){int wifiState = wifiManager.getWifiState();}附:Wifi狀態(tài)有以下幾種:(括號(hào)內(nèi)為所對(duì)應(yīng)的的int值)1.?wifiManager.WIFI_STATE_DISABLED (1)2.?wifiManage...[繼續(xù)閱讀]

移動(dòng)開發(fā)

idea創(chuàng)建mapper.xml文件

    ?1.點(diǎn)擊File --->Settings --->file and code template-->點(diǎn)擊+ --> 設(shè)置name-->選擇模版文件后綴--> 添加模版內(nèi)容--> 點(diǎn)擊ok步驟如下圖?模版內(nèi)容:<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"...[繼續(xù)閱讀]

移動(dòng)開發(fā)