您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 国内外标准规范 > SL4A之Python-API-中文参考
SL4A之Python资源中文化项目ApiReference!Activityresultfacadesetresultbooleansetresultbooleanarraysetresultbytesetresultbytearraysetresultcharsetresultchararraysetresultdoublesetresultdoublearraysetresultfloatsetresultfloatarraysetresultintegersetresultintegerarraysetresultlongsetresultlongarraysetresultserializablesetresultshortsetresultshortarraysetresultstringsetresultstringarray!Alarmmanagerfacadecancelrepeatingscheduleabsolutescheduleinexactrepeatingschedulerelativeschedulerepeating!Androidfacadegetclipboardgetinputgetintentgetpackageversiongetpackageversioncodegetpasswordlogmaketoastnotifyrequiredversionsendemailsetclipboardstartactivitystartactivityforresultvibrate!Applicationmanagerfacadeforcestoppackagegetlaunchableapplicationsgetrunningpackageslaunch!Batterymanagerfacadebatterycheckpresentbatterygethealthbatterygetlevelbatterygetplugtypebatterygetstatusbatterygettechnologybatterygettemperaturebatterygetvoltagebatterystartmonitoringbatterystopmonitoringreadbatterydata!Bluetoothfacadebluetoothacceptbluetoothconnectbluetoothgetconnecteddevicenamebluetoothmakediscoverablebluetoothreadbluetoothreadlinebluetoothreadreadybluetoothstopbluetoothwritecheckbluetoothstatetogglebluetoothstate!Camerafacadecameracapturepicturecamerainteractivecapturepicture!Commonintentsfacadepickscanbarcodesearchviewviewcontactsviewhtmlviewmap!Conditionmanagerfacadeonringersilent!Contactsfacadecontactsgetcontactsgetattributescontactsgetbyidcontactsgetcountcontactsgetidspickcontactpickphone!Eventfacadeposteventreceiveeventwaitforevent!Locationfacadegeocodegetlastknownlocationreadlocationstartlocatingstoplocating!Mediarecorderfacaderecordercapturevideorecorderstartmicrophonerecorderstopstartinteractivevideorecording!Phonefacadechecknetworkroaminggetcelllocationgetdeviceidgetdevicesoftwareversiongetline1numbergetneighboringcellinfogetnetworkoperatorgetnetworkoperatornamegetnetworktypegetphonetypegetsimcountryisogetsimoperatorgetsimoperatornamegetsimserialnumbergetsimstategetsubscriberidgetvoicemailalphataggetvoicemailnumberphonecallphonecallnumberphonedialphonedialnumberreadphonestatestarttrackingphonestatestoptrackingphonestate!Pulsegeneratorfacadepulsegeneratorgethzpulsegeneratorgethzsamplespulsegeneratorgetleftpulsemspulsegeneratorgetleftpulsepercentpulsegeneratorgetleftpulsesamplespulsegeneratorgetrightpulsemspulsegeneratorgetrightpulsepercentpulsegeneratorgetrightpulsesamplespulsegeneratorisplayingpulsegeneratorrunpulsegeneratorsethzpercentpulsegeneratorsetleftpulsepercentpulsegeneratorsetrightpulsepercentpulsegeneratorstoppulsegeneratortoggleinvertedpulsegeneratortoggleplaybackpulsegenteratorsethz!Sensormanagerfacadereadsensorssensorsgetaccuracysensorsgetlightsensorsreadaccelerometersensorsreadmagnetometersensorsreadorientationstartsensingstopsensing!Settingsfacadecheckairplanemodecheckringersilentmodecheckscreenongetmaxmediavolumegetmaxringervolumegetmediavolumegetringervolumegetscreenbrightnessgetscreentimeoutsetmediavolumesetringervolumesetscreenbrightnesssetscreentimeouttoggleairplanemodetoggleringersilentmode!Signalstrengthfacade需要apilevel7.readsignalstrengthsstarttrackingsignalstrengthsstoptrackingsignalstrengths!Smsfacadesmsdeletemessagesmsgetattributessmsgetmessagebyidsmsgetmessagecountsmsgetmessageidssmsgetmessagessmsmarkmessagereadsmssend!Speechrecognitionfacaderecognizespeech!Texttospeechfacade需要apilevel4.ttsisspeakingttsspeak!Tonegeneratorfacadegeneratedtmftones!UifacadeaddcontextmenuitemaddoptionsmenuitemclearcontextmenuclearoptionsmenudialogcreatealertdialogcreatedatepickerdialogcreatehorizontalprogressdialogcreateinputdialogcreatepassworddialogcreateseekbardialogcreatespinnerprogressdialogcreatetimepickerdialogdismissdialoggetinputdialoggetpassworddialoggetresponsedialoggetselecteditemsdialogsetcurrentprogressdialogsetitemsdialogsetmaxprogressdialogsetmultichoiceitemsdialogsetnegativebuttontextdialogsetneutralbuttontextdialogsetpositivebuttontextdialogsetsinglechoiceitemsdialogshowwebviewshowWakeLockFacadewakeLockAcquireBrightwakeLockAcquireDimwakeLockAcquireFullwakeLockAcquirePartialwakeLockReleaseWifiFacadecheckWifiStatetoggleWifiStatewifiDisconnectwifiGetConnectionInfowifiGetScanResultswifiLockAcquireFullwifiLockAcquireScanOnlywifiLockReleasewifiReassociatewifiReconnectwifiStartScansetresultboolean设置脚本被startactivityforresult()方法调用后返回的布尔值:setresultboolean(integerresultcode:回传给原始activity的结果编码,常常是result_canceled(0)或者result_ok(-1),booleanresultvalue)设置脚本执行的结果.每当脚本程序被startactivityforresult()方法调用时,由此产生的intent将会包含script_result和给定的值.setresultbooleanarray设置脚本被startactivityforresult()方法调用后返回的布尔值数组:setresultboolean(integerresultcode:回传给原始activity的结果编码,常常是result_canceled(0)或者result_ok(-1),boolean[]resultvalue)设置脚本执行的结果.每当脚本程序被startactivityforresult()方法调用时,由此产生的intent将会包含script_result和给定的值.setresultbyte设置脚本被startacti
本文标题:SL4A之Python-API-中文参考
链接地址:https://www.777doc.com/doc-4051052 .html