A0611ContentProviderContacts
IDOL Content Component软件版本12.8.0发布说明说明书
Document Release Date:February2021 Software Release Date:February2021Legal noticesCopyright notice©Copyright2021 Micro Focus or one of its affiliates.The only warranties for products and services of Micro Focus and its affiliates and licensors(“Micro Focus”) are as may be set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty.Micro Focus shall not be liable for technical or editorial errors or omissions contained herein.The information contained herein is subject to change without notice.Documentation updatesThe title page of this document contains the following identifying information:l Software Version number,which indicates the software version.l Document Release Date,which changes each time the document is updated.l Software Release Date,which indicates the release date of this version of the software.To check for updated documentation,visit https:///support-and-services/documentation/. SupportVisit the MySupport portal to access contact information and details about the products,services,and support that Micro Focus offers.This portal also provides customer self-solve capabilities.It gives you a fast and efficient way to access interactive technical support tools needed to manage your business.As a valued support customer,you can benefit by using the MySupport portal to:l Search for knowledge documents of interestl Access product documentationl View software vulnerability alertsl Enter into discussions with other software customersl Download software patchesl Manage software licenses,downloads,and support contractsl Submit and track service requestsl Contact customer supportl View information about all services that Support offersMany areas of the portal require you to sign in.If you need an account,you can create one when prompted to sign in.To learn about the different access levels the portal uses,see the Access Levels descriptions.ContentsNew in this Release4 Resolved Issues5 Notes6 Documentation7New in this ReleaseNew in this ReleaseThe following new features were released in Content Component version12.8.0.l You can now require that all queries to Content have a SecurityInfo string,to disable anonymous queries,by setting RequireSecurityInfo to True.In this case,if the query does not include security info,it returns an error.l The TermExpand action now respects the values of the MinDocOccs when Expansion is set to AutoComplete or Phrase.l The TermExpand action now respects field restrictions when Expansion is set to AutoComplete or Phrase.You specify the restrictions as a colon-separated list appended to the Text parameter, in the same way as for other supported Expansion modes.For example:action=TermExpand&Expansion=AutoComplete&Text=World War:SUMMARYl The SecureTermExpansion option has been optimized to reduce unnecessary security checks when expanding terms.l For applications where carriage return characters are important,you can now set the new PreserveCarriageReturn parameter to True.This option configures Content Component toconvert carriage return bytes to their XML entity equivalent in action responses,which receivingXML parsers preserve,rather than converting to a line feed.This behavior affects user-createdvalues that contain carriage returns.l The Admin action was modified to ensure that the IDOL Admin interface can not run in an iframe, to improve clickjacking protection.Resolved IssuesResolved IssuesThe following issues were resolved in Content Component version12.8.0.l The List ACI action sometimes returned an invalid response when a JSON response format was requested and no documents were returned.l In an Agentstore configuration that contained documents with an AlwaysMatchType field,queries without the Text parameter(or with Text=*),and with both FieldText and MatchReference orMatchID,sometimes missed documents from the results set.l At query time,Content could on rare occasions log spurious errors Unable to read term info for non-existent terms to the application log.l The DREDELETEREF index action could not reliably specify multiple ReferenceType fields in the Field parameter.l The server could terminate unexpectedly when an authorization role was configured and the list of Clients included a hostname with a wildcard,such as*.The Clientsparameter accepts wildcards only in IP addresses.NotesNotesThese notes provide extra information about installing and using Content Component.l The default Agentstore configuration files now include an AlwaysMatchType field with PropertyFieldCSVS=*/ALWAYSMATCH.Deprecated FeaturesThe following features are deprecated and might be removed in a future release.DocumentationDocumentationThe following documentation was updated for Content Component version12.8.0.l IDOL Expertl IDOL Getting Started Guidel IDOL Server Referencel IDOL Content Component Referencel IDOL Server Administration Guide。
contentprovide例子(一)
- ContentProvider示例一:联系人数据库在Android开发中,我们经常会需要访问设备的联系人信息。
这时就可以使用ContentProvider来提供联系人数据库的访问功能。
首先,我们需要在文件中声明READ_CONTACTS权限。
然后,我们可以通过ContentResolver类来获取联系人信息,实现对联系人数据库的访问。
我们可以通过以下步骤来实现对联系人数据库的访问:1. 首先,我们需要创建一个继承自ContentProvider的子类,例如ContactsProvider。
在ContactsProvider中,我们需要重写query、insert、update和delete方法,这些方法分别对应了查询、插入、更新和删除操作。
2. 在query方法中,我们可以构建合适的SQL语句,然后通过ContentResolver的query方法来执行查询操作,从而获取联系人信息。
3. 在insert方法中,我们可以通过ContentResolver的insert方法来执行插入操作,向联系人数据库中添加新的联系人信息。
4. 在update方法中,我们可以通过ContentResolver的update方法来执行更新操作,更新联系人数据库中的联系人信息。
5. 在delete方法中,我们可以通过ContentResolver的delete方法来执行删除操作,从联系人数据库中删除指定的联系人信息。
用中获取、添加、更新和删除联系人信息。
- ContentProvider示例二:媒体文件访问除了联系人数据库之外,我们还可以使用ContentProvider来实现对媒体文件的访问。
例如,我们可以访问设备上的音乐文件、视频文件和图片文件。
通过ContentProvider,我们可以实现对媒体文件的查询、插入、更新和删除操作。
要实现对媒体文件的访问功能,我们可以按照以下步骤进行操作:1. 首先,我们需要创建一个继承自ContentProvider的子类,例如MediaProvider。
ADSL拨号上网错误代码解析
ADSL宽带上网错误代码解析晓血家园收集整理,错误之处,敬请指正!ADSL拨号上网错误代码解析(2009-12-1816:14:07)转载标签:电脑电信isp vpn adsl分类:计算机软件硬件网络Error602The port is already open问题:拨号网络由于设备安装错误或正在使用,不能进行连接原因:RasPPPoE没有完全和正确的安装解决:卸载干净任何PPPoE软件,重新安装Error605Cannot set port information问题:拨号网络由于设备安装错误不能设定使用端口原因:RasPPPoE没有完全和正确的安装解决:卸载干净任何PPPoE软件,重新安装Error606The port is not connected问题:拨号网络网络不能连接所需的设备端口原因:RasPPPoE没有完全和正确的安装,连接线故障,ADSL MODEM故障解决:卸载干净任何PPPoE软件,重新安装,检查网线和ADSL MODEMError608The device does not exist问题:拨号网络连接的设备不存在原因:RasPPPoE没有完全和正确的安装解决:卸载干净任何PPPoE软件,重新安装Error609The device type does not exist问题:拨号网络网络连接的设备其种类不能确定原因:RasPPPoE没有完全和正确的安装解决:卸载干净任何PPPoE软件,重新安装Error611The route is not available/612The route is notallocated问题:拨号网络连接路由不正确原因:RasPPPoE没有完全和正确的安装,ISP服务器故障解决:卸载干净任何PPPoE软件,重新安装,致电ISP询问Error617The port or device is already disconnecting问题:拨号网络连接的设备已经断开原因:RasPPPoE没有完全和正确的安装,ISP服务器故障,连接线故障,ADSL MODEM故障解决:卸载干净任何PPPoE软件,重新安装,致电ISP询问,检查网线和ADSL MODEMError619问题:与ISP服务器不能建立连接原因:ADSL ISP服务器故障,ADSL电话线故障解决:检查ADSL信号灯是否能正确同步。
三星中高端机软件删除对照表
三星可精简程序翻译表AccuweatherDaemon.apk自带的天气(可删)ApplicationsProvider.apk应用程序支持服务(可删)AllshareMediaServer.apk(可删)AllSharePlay.apk(可删)AllshareService.apk (可删)AnalogClockSimple.apk 时钟小插件可删AnycallServiceCenter.apk Anycall服务中心可删AppleMint.apk 苹果字体可删AppGuide.apk(可删)ARBook_Quincy_ICS.apk(可删)AwesomeBEATS.apk 魔声音效,必须结合GOOGLE PLAY音乐才能产生效果,可删BackupRestoreConfirmation.apk 备份还原确认BadgeProvider.apk 标志提供者,删除后短信等崩溃BasicLiveWallpapers.apk 动态壁纸选择功能BCService.apk 未知(可删)Bluesea.apk 蓝色海洋(可删)Books.apk(可删)BluetoothAvrcp.apk 蓝牙设备遥控有朋友说删除后会造成使用车载蓝牙死机,请自行测试。
BluetoothMap.apk Map 蓝牙地图可外接GPS 可删BluetoothTest.apk 蓝牙测试组件可删ChocoEUKor.apk 英文特殊字形可删CapabilityManagerService.apk 兼容性管理服务(未知)CellBroadcastReceiver.apk(过滤程序之间传输机制,不可删)CertInstaller.apk 证书安装器可删ChromeBookmarksSyncAdapter.apk 书签同步(可删) ClipboardSaveService.apk 复制板储存(不用复制功能可以删除)ClockPackage.apk 自带时钟,不能删CloudAgent.apk 云智能CoolEUKor.apk 英文字体。
电磁炉4系列产品说明书
Series 4, Induction hob withintegrated ventilation system, 80 cm, surface mount without framePIE811B15EIncluded accessories1 x Slider for unducted recirculation, 1 x Clean Air Plus odor filter Optional accessoriesHEZ390230 System pan diameter 21cm, HEZ9ES100 Espresso maker 4 cups, HEZ9FE280 Iron pan Ø 18 / 28 cm, HEZ9SE030 Set of 2 pots and 1 pan, HEZ9SE040 4 pieces Set, HEZ9SE060 6 pieces Set,HEZ9VDKE1 Exhaust kit, HEZ9VDKR0 Recirculation kit 2 L-bow(70cm), HEZ9VDKR1 Recirculation kit S and L-bow (60cm),HEZ9VDKR2 Recirculation kit 1x L-bow, HEZ9VDSB1 90° flat duct bend horizontal, HEZ9VDSB2 90° flat duct L vertical, HEZ9VDSB3 90° flat duct M vertical, HEZ9VDSB4 90° flat duct S vertical,HEZ9VDSI0 Adapter round-flat, HEZ9VRCR1 Clean Air Plus odor filter (replacement), HEZ9VRPD1 Plinth Diffusor, HEZ9VDSI1 90° Adapter round-flat, HEZ9VDSM1 Straight tube 500mm, HEZ9VDSM2 Straight tube 1000mm, HEZ9VDSS1 Connector sleeve (female), HEZ9VDSS2 Flex sleeve (female), HEZ9VEDU0 Acoustics Filter, HEZ9VRCR0 cleanAir recirculation replenishment fil The induction hob with integrated ventilation module: combines induction with ventilation technology for perfect results.• TouchSelect: Selection of the desired cooking zone and easysetting of the desired power level.• PowerBoost: up to 50% more power for faster heating on your induction hob.• QuickStart: start straight away and select the desired cooking level.• If you turn off the cooktop it saves the last selected setting for a short time. If the cooktop is switched of within a short time again the former settings are still available.• Timer with switch-off function: Turns off the assigned cooking zone after the set time.Technical DataProduct name/family: .......................................Cooking zone ceramic Built-in / Free-standing: ...........................................................Built-in Energy input: ...........................................................................Electric Min. required niche size for installation (HxWxD): ....223 x 750-750 x 490-500 mmWidth of the appliance: ..........................................................802 mm Dimensions: ........................................................223 x 802 x 522 mm Dimensions of the packed product (HxWxD): .....430 x 940 x 660 mm Net weight: ..............................................................................24.6 kg Gross weight: ..........................................................................31.0 kg Residual heat indicator: ........................................................Separate Location of control panel: ..........................................................Front Basic surface material: ..................................................Ceramic glass Color of surface: .........................................................................Black Length electrical supply cord: ..............................................110.0 cm Sealed Burners: ..............................................................................No heating with booster: ......................................................................All Power of heating element (kW): ...............................................2.2 kW Power of 3rd heating element (kW): ........................................1.8 kW Power of 5th heating element (kW): ........................................1.8 kW Power of 3rd heating element (kW in boost): ........................[3.1] kW Max. air extraction: ..............................................................500 m³/h Boost position output recirculating: ..................................595.0 m³/h Max. air recirculation: ..........................................................441 m³/h Boost position air extraction: ...............................................622 m³/h Noise level: ..............................................................69 dB(A) re 1 pW Odour filter: ...................................................................................No Operating Mode: ...............................................................Convertible Voltage: .................................................................220-240/380-415 V Frequency: ...........................................................................50; 60 Hz Length electrical supply cord: ..............................................110.0 cm Min. required niche size for installation (HxWxD): ....223 x 750-750 x 490-500 mmDimensions: ........................................................223 x 802 x 522 mm Dimensions of the packed product (HxWxD): .....430 x 940 x 660 mm Net weight: ..............................................................................24.6 kg Gross weight: ..........................................................................31.0 kg Included accessories: 1 x Slider for unducted recirculation, 1 x Clean Air Plus odor filterDelay Shut off modes: ....................................................30R_12E minSeries 4, Induction hob withintegrated ventilation system, 80 cm, surface mount without framePIE811B15EThe induction hob with integrated ventilation module: combines induction with ventilation technology for perfect results.- 80 cm: space for 4 pots or pans.Flexibility of cooking zones- Cooking zone front left: 210 mm, 2.2 KW (max. power 3.7 KW)- Cooking zone rear left: 180 mm, 1.8 KW (max. power 3.1 KW)- Cooking zone rear right: 180 mm , 1.8 KW (max power 3.1 KW)- Cooking zone front right: 210 mm, 2.2 KW (max. power 3.7 KW) Usage convenience- TouchSelect: control the power with imprinted +/- touch buttons. - Variable 17-stage power settings for each zone: precisely adapt the heat with 17 power levels (9 main levels and 8 intermediate levels).- Timer for all zones- : switches off the cooking zone at the end of the time set (e.g. for boiled eggs).- Timer - shows how long the cooktop is in use- : an alarm sounds at the end of the time set (e.g. for pasta).Time saving & efficiency- PowerBoost function for all zones- : boil water faster thanks to 50% more energy than at the highest standard level.- QuickStart function: when switching on, the hob automatically selects the cooking zone with cookware (when placed on a zone whilst the hob is off).- ReStart function: in case of unintentional switch-off, this feature restores all previous settings by switching on the hob again within 4 seconds- Quick Stop: quickly switch off a cooking zone with one longer touch.Design- Frameless designSafety- 2 stage residual heat indicator for each zone: indicates which cooking zones are still hot or warm.- Control panel lock: prevent unintended activation of the hob.- Freeze function: wipe overboiled liquids without unintentionally changing settings (blocking all touch buttons for 30 seconds).- Main on/off switch: switch off all cooking zones at the touch of a button.- Safety cut-out switch-off: for safety reasons, heating stops after a preset time if not used (possible to customise).Installation- Dimensions of the product (HxWxD mm): 223 x 802 x 522- Required niche size for installation (HxWxD mm) : 223 x 750 x (490 - 500)- Min. worktop thickness: 16 mm - Connected load: 7.4 KW- Power management options for 16A, 13A or 10A connection: limit the maximum power if needed (depends on fuse protection of electric installation).- Power cord: 1.1 m, Cable included- Suitable for ducted or recirculated extraction installations in 4 different options (unducted, partly and fully ducted recirculation or ducted extraction). Installation accessories for unducted recirculation, among these four cleanAir odor filters and a telescopic slider element, are included in the cooktop. The included accessories allow easy and quick installations and can be planned in all worktop depths ≥60cm. For other types of installation, one of the following accessory kits is recommended:- HEZ9VDKR1 for partly-ducted recirculation in worktops of ≥60cm depth with max. worktop height of 960 mm. HEZ9VDKR0 forpartly-ducted recirculation in worktops of ≥70cm depth with max. worktop height of 960 mm.- HEZ9VDKE1 as starter kit for ducted extraction in worktops of≥60cm depth.- To complete the fully ducted extraction or to do any other individual recirculation planning different ducting accessories are available.Integrated ventilation downdraft system- Induction cooktop with fully integrated high-performance downdraft extractor.- Suitable for ducted or recirculated extraction configuration (incl. differentiated software modes). Installation accessories for unducted recirculation, among these four cleanAir odor filters and a telescopic slider element, are included in the cooktop. Accessories for other installation options are available, details in the planning notes.-- Aesthetically integrated fully flush air intake design with floating, heat resistant glass ceramics element for free movement and placement of cookware.- Ventilation system with 3 electronically controlled fan power levels and 1 Boost-/Intensive fan power levels (with automatic revert) via TouchSelect user interface- - Automatic switch-on of ventilation system when a cooking zone is used.- - Automatic delayed shut-off after cooking to erase residual odours after cooking (in specific ultra low-noise fan level, 12min in ducted extraction, 30min in recirculated extraction, can be shut-off manually).- - Fully manual control possible via TouchSelect.- High-performance, low-noise motor with energy-efficientBLDC-technology. High extraction rates at very low noises with pleasant noise frequencies through psycho-acoustically and aerodynamically optimised interior with enclosed, hidden motor. Highly pressure-drop resistant even with longer and more complex ducting systems.- Easy-to-detach and easy-to-clean grease filter and liquid collector unit:- - Convenient one-hand removal of unit via floating glass ceramics handle.- - Integrated, large-scale, high performance stainless-steel grease filters with 12 filtration layers and one black top layer for enhanced aesthetical integration. Grease filtration efficiency of 94 %.- - All parts of the unit are easy-to-clean, fully dishwasher safe and heat resistant.- - (Upper) Liquid collector unit with 200ml of capacity for standard accidental spillages or cooking condensate.- - Powerful drainage system for spillages that exceed 200ml of liquids.- - Liquid safety collector with additional capacity of 700ml for more severe accidental situations. Dishwasher safe. Easily accessible and detachable from below.- - Overall capturing capacity of 900ml (200ml + 700ml).- - Watertight motor system.- Ventilation system performance:- - Extraction performance in ducted extraction (according to EN 61591): min. normal setting 330 m3/h , max. normal setting 500m3/h , max. Boost-/Intensive setting 622 m3/h .- - Extraction performance in recirculated extraction (according to EN 61591): min. normal setting 252 m3/h , max. normal setting 441m3/h , max. Boost-/Intensive setting 595 m3/h.- - Noise level in ducted extraction (Sound power level according to EN 60704-3): min. normal setting 61 dB re 1 pW, max. normal setting 69 dB re 1 pW, max. Boost-/Intensive setting 74 dB re 1 pW.- - Noise level in recirculated extraction (Sound power level according to EN 60704-3. ): min. normal setting 55 dB re 1 pW, max. normal setting 66 dB re 1 pW, max. Boost-/Intensive setting 72 dB re 1 pW.- - Grease filter efficiency (according to EN 61591) 94 %.- Consumption data and energy efficiency (according to Regulation (EU) No 65/2014):- - Energy Efficiency Class: B (at a range of energy efficiency classes from A+++ to D).- - Fluid Dynamic Efficiency: A .- - Average energy consumption: 57 .- - Grease filtration effciency class: B .- - Noise min. normal setting & max. normal setting: 61 dB & 69 dB . - For recirculation configuration: 2 x 2 battery of directly integrated, high-performance cleanAir odor filters.- - Optimised odour reduction performance for cooking applications with complex odour molecules (e.g. fish).- - Large scale filter surface with high odour reduction capabilities.- - Lifetime of 360 hours of cooking (non-regenerative).- - Low-noise filters with optimised psycho-acoustics.- - Easy-to-access and easy-to-remove from above.- - Replenishment cleanAir filter set HEZ9VRCR0.- For ducted extraction configuration: 2 x 2 sets of directly integrated, high-performance low-noise acoustic filters for significantly lower noise and improved psycho-acoustics.Planning & installation notes- Planning suggestions:- - Installation is possible in island as well as wall oriented configurations.- The product and its accessories comply with the Needle Flame Test (according to IEC 60695-11-5) and the V2 flammability class (according to UL94).- - The max. immersion depth is 223 mm below worktop surface.- - The appliance must be freely accessible from below (i.e. for accessing the lower liquid safety collector).- - No false floor is necessary below the cooktop with integrated downdraft ventilation system. The drawers and/or shelves in the floor unit must be removable. The backpanel of the floor unit can be kept - only a cut-out for the air outlet is needed (position and size can be taken from the installation instructions).- - The "Plug 'n Play" starter kit HEZ9VRUD0 for unducted recirculation requires a vertical aperture of min. 25mm behind thebackpanel of the furniture. Suggested for ideal performance are 50mm.- - The minimum worktop thickness is 16mm for top mounted and flush installed appliances with the standard installation system. Installation in even thinner worktops is also possible with the spare part: content 626792.- - The overall appliance weight is 26kg - the bearing capacity and stability, in the case of very thin worktops in particular, must be supported using suitable substructures. The overall appliance weight and the worktop manufacturer's structural integrity specifications are to be taken into account.- - For partly ducted and unducted recirculation extraction installations, a return-flow aperture of ≥400cm² is to be respected in the plinth area. The aperture can be realized via outlet grids, lamella grids or subtly shortened plinths depending on the assortment of the kitchen furniture manufacturer.- - The air outlet on the backside of the appliance can directly be accessed with a male flat duct element (DN 150).- - The pressuredrop resistant blower allows longer and more complex ductings up to 8m with three 90° elbows while keeping sufficient performance.- - When installing a ventilation hood with ducted extraction and a chimney-vented fireplace, the power supply line of the appliance needs a suitable safety switch. This is not required for configurations in recirculated extraction.- - In ducted extraction configuration a one-way flap (or backflow trap) with a maximum opening pressure of 65Pa should be installed.Series 4, Induction hob with integrated ventilation system, 80 cm, surface mount without framePIE811B15E。
AndroidN7.0中报错:a...
AndroidN7.0中报错:a...发现问题最近在Android N 上安装Apk时报错:android.os.FileUriExposedException: file:///storage/emulated/0/Download/appName-2.3.0.apk exposed beyond app through Intent.getData(),通过查找相关的资料终于找到了解决的⽅法,下⾯分享给⼤家,话不多说了,来⼀起看看详细的介绍吧。
解决⽅法1、在AndroidManifest.xml中添加如下代码<provider android:name="android.support.v4.content.FileProvider"android:authorities="app的包名.fileProvider"android:grantUriPermissions="true"android:exported="false"><meta-dataandroid:name="android.support.FILE_PROVIDER_PATHS"android:resource="@xml/file_paths" /></provider>注意:authorities:app的包名.fileProvidergrantUriPermissions:必须是true,表⽰授予 URI 临时访问权限exported:必须是falseresource:中的@xml/file_paths是我们接下来要添加的⽂件2、在res⽬录下新建⼀个xml⽂件夹,并且新建⼀个file_paths的xml⽂件(如下图)3、打开file_paths.xml⽂件添加如下内容<?xml version="1.0" encoding="utf-8"?><paths><external-path path="Android/data/app的包名/" name="files_root" /><external-path path="." name="external_storage_root" /></paths>path:需要临时授权访问的路径(.代表所有路径)name:就是你给这个访问路径起个名字4、修改代码适配Android NIntent intent = new Intent(Intent.ACTION_VIEW);//判断是否是AndroidN以及更⾼的版本if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);Uri contentUri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID + ".fileProvider", apkFile);intent.setDataAndType(contentUri, "application/vnd.android.package-archive");} else {intent.setDataAndType(Uri.fromFile(apkFile), "application/vnd.android.package-archive");intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);}startActivity(intent);1、⾸先我们对Android N及以上做判断;2、然后添加flags,表明我们要被授予什么样的临时权限3、以前我们直接 Uri.fromFile(apkFile)构建出⼀个Uri,现在我们使⽤FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID + ".fileProvider", apkFile);4、BuildConfig.APPLICATION_ID直接是应⽤的包名总结以上就是这篇⽂章的全部内容了,希望本⽂的内容对⼤家的学习或者⼯作具有⼀定的参考学习价值,如果有疑问⼤家可以留⾔交流,谢谢⼤家对的⽀持。
HP Color LaserJet Enterprise MFP M776用户指南说明书
Legal informationCopyright and License© Copyright 2019 HP Development Company, L.P.Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowedunder the copyright laws.The information contained herein is subject to change without notice.The only warranties for HP products and services are set forth in the express warranty statementsaccompanying such products and services. Nothing herein should be construed as constituting anadditional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.Edition 1, 10/2019Trademark CreditsAdobe®, Adobe Photoshop®, Acrobat®, and PostScript® are trademarks of Adobe Systems Incorporated.Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries.macOS is a trademark of Apple Inc., registered in the U.S. and other countries.AirPrint is a trademark of Apple Inc., registered in the U.S. and other countries.Google™ is a trademark of Google Inc.Microsoft®, Windows®, Windows® XP, and Windows Vista® are U.S. registered trademarks of MicrosoftCorporation.UNIX® is a registered trademark of The Open Group.iiiT able of contents1 Printer overview (1)Warning icons (1)Potential shock hazard (2)Printer views (2)Printer front view (2)Printer back view (4)Interface ports (4)Control-panel view (5)How to use the touchscreen control panel (7)Printer specifications (8)T echnical specifications (8)Supported operating systems (11)Mobile printing solutions (12)Printer dimensions (13)Power consumption, electrical specifications, and acoustic emissions (15)Operating-environment range (15)Printer hardware setup and software installation (16)2 Paper trays (17)Introduction (17)Load paper to Tray 1 (multipurpose tray) (17)Load Tray 1 (multipurpose tray) (18)Tray 1 paper orientation (19)Use alternative letterhead mode (24)Enable Alternative Letterhead Mode by using the printer control-panel menus (24)Load paper to Tray 2 (24)Load Tray 2 (24)Tray 2 paper orientation (26)Use alternative letterhead mode (29)Enable Alternative Letterhead Mode by using the printer control-panel menus (29)Load paper to the 550-sheet paper tray (30)Load paper to the 550-sheet paper tray (30)550-sheet paper tray paper orientation (32)Use alternative letterhead mode (35)Enable Alternative Letterhead Mode by using the printer control-panel menus (35)ivLoad paper to the 2 x 550-sheet paper trays (36)Load paper to the 2 x 550-sheet paper trays (36)2 x 550-sheet paper tray paper orientation (38)Use alternative letterhead mode (41)Enable Alternative Letterhead Mode by using the printer control-panel menus (41)Load paper to the 2,700-sheet high-capacity input paper trays (41)Load paper to the 2,700-sheet high-capacity input paper trays (41)2,700-sheet HCI paper tray paper orientation (43)Use alternative letterhead mode (45)Enable Alternative Letterhead Mode by using the printer control-panel menus (45)Load and print envelopes (46)Print envelopes (46)Envelope orientation (46)Load and print labels (47)Manually feed labels (47)Label orientation (48)3 Supplies, accessories, and parts (49)Order supplies, accessories, and parts (49)Ordering (49)Supplies and accessories (50)Maintenance/long-life consumables (51)Customer self-repair parts (51)Dynamic security (52)Configure the HP toner-cartridge-protection supply settings (53)Introduction (53)Enable or disable the Cartridge Policy feature (53)Use the printer control panel to enable the Cartridge Policy feature (54)Use the printer control panel to disable the Cartridge Policy feature (54)Use the HP Embedded Web Server (EWS) to enable the Cartridge Policy feature (54)Use the HP Embedded Web Server (EWS) to disable the Cartridge Policy feature (55)Troubleshoot Cartridge Policy control panel error messages (55)Enable or disable the Cartridge Protection feature (55)Use the printer control panel to enable the Cartridge Protection feature (56)Use the printer control panel to disable the Cartridge Protection feature (56)Use the HP Embedded Web Server (EWS) to enable the Cartridge Protection feature (56)Use the HP Embedded Web Server (EWS) to disable the Cartridge Protection feature (57)Troubleshoot Cartridge Protection control panel error messages (57)Replace the toner cartridges (58)T oner-cartridge information (58)Remove and replace the cartridges (59)Replace the imaging drums (62)Imaging drum information (62)Remove and replace the imaging drums (63)Replace the toner-collection unit (66)T oner-collection unit information (66)vRemove and replace the toner-collection unit (67)Replace the staple cartridge (M776zs model only) (70)Staple cartridge information (70)Remove and replace the staple cartridge (71)4 Print (73)Print tasks (Windows) (73)How to print (Windows) (73)Automatically print on both sides (Windows) (74)Manually print on both sides (Windows) (74)Print multiple pages per sheet (Windows) (75)Select the paper type (Windows) (75)Additional print tasks (76)Print tasks (macOS) (77)How to print (macOS) (77)Automatically print on both sides (macOS) (77)Manually print on both sides (macOS) (77)Print multiple pages per sheet (macOS) (78)Select the paper type (macOS) (78)Additional print tasks (79)Store print jobs on the printer to print later or print privately (79)Introduction (79)Create a stored job (Windows) (79)Create a stored job (macOS) (80)Print a stored job (81)Delete a stored job (81)Delete a job that is stored on the printer (81)Change the job storage limit (82)Information sent to printer for Job Accounting purposes (82)Mobile printing (82)Introduction (82)Wi-Fi, Wi-Fi Direct Print, NFC, and BLE printing (82)Enable wireless printing (83)Change the Wi-Fi Direct name (83)HP ePrint via email (83)AirPrint (84)Android embedded printing (85)Print from a USB flash drive (85)Enable the USB port for printing (85)Method one: Enable the USB port from the printer control panel (85)Method two: Enable the USB port from the HP Embedded Web Server (network-connectedprinters only) (85)Print USB documents (86)Print using high-speed USB 2.0 port (wired) (86)Method one: Enable the high-speed USB 2.0 port from the printer control panel menus (86)Method two: Enable the high-speed USB 2.0 port from the HP Embedded Web Server (network-connected printers only) (87)vi5 Copy (88)Make a copy (88)Copy on both sides (duplex) (90)Additional copy tasks (92)6 Scan (93)Set up Scan to Email (93)Introduction (93)Before you begin (93)Step one: Access the HP Embedded Web Server (EWS) (94)Step two: Configure the Network Identification settings (95)Step three: Configure the Send to Email feature (96)Method one: Basic configuration using the Email Setup Wizard (96)Method two: Advanced configuration using the Email Setup (100)Step four: Configure the Quick Sets (optional) (104)Step five: Set up Send to Email to use Office 365 Outlook (optional) (105)Introduction (105)Configure the outgoing email server (SMTP) to send an email from an Office 365 Outlookaccount (105)Set up Scan to Network Folder (108)Introduction (108)Before you begin (108)Step one: Access the HP Embedded Web Server (EWS) (108)Step two: Set up Scan to Network Folder (109)Method one: Use the Scan to Network Folder Wizard (109)Method two: Use Scan to Network Folder Setup (110)Step one: Begin the configuration (110)Step two: Configure the Scan to Network Folder settings (111)Step three: Complete the configuration (118)Set up Scan to SharePoint (118)Introduction (118)Before you begin (118)Step one: Access the HP Embedded Web Server (EWS) (118)Step two: Enable Scan to SharePoint and create a Scan to SharePoint Quick Set (119)Scan a file directly to a SharePoint site (121)Quick Set scan settings and options for Scan to SharePoint (122)Set up Scan to USB Drive (123)Introduction (124)Step one: Access the HP Embedded Web Server (EWS) (124)Step two: Enable Scan to USB Drive (124)Step three: Configure the Quick Sets (optional) (125)Default scan settings for Scan to USB Drive setup (126)Default file settings for Save to USB setup (126)Scan to email (127)Introduction (127)Scan to email (127)Scan to job storage (129)viiIntroduction (129)Scan to job storage on the printer (130)Print from job storage on the printer (132)Scan to network folder (132)Introduction (132)Scan to network folder (132)Scan to SharePoint (134)Introduction (134)Scan to SharePoint (134)Scan to USB drive (136)Introduction (136)Scan to USB drive (136)Use HP JetAdvantage business solutions (138)Additional scan tasks (138)7 Fax (140)Set up fax (140)Introduction (140)Set up fax by using the printer control panel (140)Change fax configurations (141)Fax dialing settings (141)General fax send settings (142)Fax receive settings (143)Send a fax (144)Additional fax tasks (146)8 Manage the printer (147)Advanced configuration with the HP Embedded Web Server (EWS) (147)Introduction (147)How to access the HP Embedded Web Server (EWS) (148)HP Embedded Web Server features (149)Information tab (149)General tab (149)Copy/Print tab (150)Scan/Digital Send tab (151)Fax tab (152)Supplies tab (153)Troubleshooting tab (153)Security tab (153)HP Web Services tab (154)Networking tab (154)Other Links list (156)Configure IP network settings (157)Printer sharing disclaimer (157)View or change network settings (157)Rename the printer on a network (157)viiiManually configure IPv4 TCP/IP parameters from the control panel (158)Manually configure IPv6 TCP/IP parameters from the control panel (158)Link speed and duplex settings (159)Printer security features (160)Introduction (160)Security statements (160)Assign an administrator password (160)Use the HP Embedded Web Server (EWS) to set the password (160)Provide user access credentials at the printer control panel (161)IP Security (161)Encryption support: HP High Performance Secure Hard Disks (161)Lock the formatter (161)Energy-conservation settings (161)Set the sleep timer and configure the printer to use 1 watt or less of power (161)Set the sleep schedule (162)Set the idle settings (162)HP Web Jetadmin (163)Software and firmware updates (163)9 Solve problems (164)Customer support (164)Control panel help system (165)Reset factory settings (165)Introduction (165)Method one: Reset factory settings from the printer control panel (165)Method two: Reset factory settings from the HP Embedded Web Server (network-connectedprinters only) (166)A “Cartridge is low” or “Cartridge is very low” message displays on the printer control panel (166)Change the “Very Low” settings (166)Change the “Very Low” settings at the control panel (166)For printers with fax capability (167)Order supplies (167)Printer does not pick up paper or misfeeds (167)Introduction (167)The printer does not pick up paper (167)The printer picks up multiple sheets of paper (171)The document feeder jams, skews, or picks up multiple sheets of paper (174)Clear paper jams (174)Introduction (174)Paper jam locations (174)Auto-navigation for clearing paper jams (175)Experiencing frequent or recurring paper jams? (175)Clear paper jams in the document feeder - 31.13.yz (176)Clear paper jams in Tray 1 (13.A1) (177)Clear paper jams in Tray 2 (13.A2) (182)Clear paper jams in the fuser (13.B9, 13.B2, 13.FF) (188)ixClear paper jams in the duplex area (13.D3) (194)Clear paper jams in the 550-sheet trays (13.A3, 13.A4) (199)Clear paper jams in the 2 x 550 paper trays (13.A4, 13.A5) (206)Clear paper jams in the 2,700-sheet high-capacity input paper trays (13.A3, 13.A4, 13.A5, 13.A7) (213)Resolving color print quality problems (220)Introduction (220)Troubleshoot print quality (221)Update the printer firmware (221)Print from a different software program (221)Check the paper-type setting for the print job (221)Check the paper type setting on the printer (221)Check the paper type setting (Windows) (221)Check the paper type setting (macOS) (222)Check toner-cartridge status (222)Step one: Print the Supplies Status Page (222)Step two: Check supplies status (222)Print a cleaning page (222)Visually inspect the toner cartridge or cartridges (223)Check paper and the printing environment (223)Step one: Use paper that meets HP specifications (223)Step two: Check the environment (223)Step three: Set the individual tray alignment (224)Try a different print driver (224)Troubleshoot color quality (225)Calibrate the printer to align the colors (225)Troubleshoot image defects (225)Improve copy image quality (233)Check the scanner glass for dirt and smudges (233)Calibrate the scanner (234)Check the paper settings (235)Check the paper selection options (235)Check the image-adjustment settings (235)Optimize copy quality for text or pictures (236)Edge-to-edge copying (236)Improve scan image quality (236)Check the scanner glass for dirt and smudges (237)Check the resolution settings (238)Check the color settings (238)Check the image-adjustment settings (239)Optimize scan quality for text or pictures (239)Check the output-quality settings (240)Improve fax image quality (240)Check the scanner glass for dirt and smudges (240)Check the send-fax resolution settings (242)Check the image-adjustment settings (242)Optimize fax quality for text or pictures (242)Check the error-correction setting (243)xSend to a different fax machine (243)Check the sender's fax machine (243)Solve wired network problems (244)Introduction (244)Poor physical connection (244)The computer is unable to communicate with the printer (244)The printer is using incorrect link and duplex settings for the network (245)New software programs might be causing compatibility problems (245)The computer or workstation might be set up incorrectly (245)The printer is disabled, or other network settings are incorrect (245)Solve wireless network problems (245)Introduction (245)Wireless connectivity checklist (245)The printer does not print after the wireless configuration completes (246)The printer does not print, and the computer has a third-party firewall installed (246)The wireless connection does not work after moving the wireless router or printer (247)Cannot connect more computers to the wireless printer (247)The wireless printer loses communication when connected to a VPN (247)The network does not appear in the wireless networks list (247)The wireless network is not functioning (247)Reduce interference on a wireless network (248)Solve fax problems (248)Checklist for solving fax problems (248)What type of phone line are you using? (249)Are you using a surge-protection device? (249)Are you using a phone company voice-messaging service or an answering machine? (249)Does your phone line have a call-waiting feature? (249)Check fax accessory status (249)General fax problems (250)The fax failed to send (250)No fax address book button displays (250)Not able to locate the Fax settings in HP Web Jetadmin (250)The header is appended to the top of the page when the overlay option is enabled (251)A mix of names and numbers is in the recipients box (251)A one-page fax prints as two pages (251)A document stops in the document feeder in the middle of faxing (251)The volume for sounds coming from the fax accessory is too high or too low (251)Index (252)xiPrinter overview1Review the location of features on the printer, the physical and technical specifications of the printer,and where to locate setup information.For video assistance, see /videos/LaserJet.The following information is correct at the time of publication. For current information, see /support/colorljM776MFP.For more information:HP's all-inclusive help for the printer includes the following information:●Install and configure●Learn and use●Solve problems●Download software and firmware updates●Join support forums●Find warranty and regulatory informationWarning iconsUse caution if you see a warning icon on your HP printer, as indicated in the icon definitions.●Caution: Electric shock●Caution: Hot surface●Caution: Keep body parts away from moving partsPrinter overview1●Caution: Sharp edge in close proximity●WarningPotential shock hazardReview this important safety information.●Read and understand these safety statements to avoid an electrical shock hazard.●Always follow basic safety precautions when using this product to reduce risk of injury from fire orelectric shock.●Read and understand all instructions in the user guide.●Observe all warnings and instructions marked on the product.●Use only a grounded electrical outlet when connecting the product to a power source. If you do notknow whether the outlet is grounded, check with a qualified electrician.●Do not touch the contacts on any of the sockets on the product. Replace damaged cordsimmediately.●Unplug this product from wall outlets before cleaning.●Do not install or use this product near water or when you are wet.●Install the product securely on a stable surface.●Install the product in a protected location where no one can step on or trip over the power cord.Printer viewsIdentify certain parts of the printer and the control panel.Printer front viewLocate features on the front of the printer.2Chapter 1 Printer overviewPrinter front view3Printer back viewLocate features on the back of the printer.Interface portsLocate the interface ports on the printer formatter. 4Chapter 1 Printer overviewControl-panel viewThe control panel provides access to the printer features and indicates the current status of the printer.NOTE:Tilt the control panel for easier viewing.The Home screen provides access to the printer features and indicates the current status of the printer.screens.NOTE:The features that appear on the Home screen can vary, depending on the printerconfiguration.Control-panel view5Figure 1-1Control-panel view?i 12:42 PM6Chapter 1 Printer overviewHow to use the touchscreen control panelPerform the following actions to use the printer touchscreen control panel.T ouchT ouch an item on the screen to select that item or open that menu. Also, when scrolling T ouch the Settings icon to open the Settings app.How to use the touchscreen control panel 7SwipeT ouch the screen and then move your finger horizontally to scroll the screen sideways.Swipe until the Settings app displays.Printer specificationsDetermine the specifications for your printer model.IMPORTANT:The following specifications are correct at the time of publication, but they are subject to change. For current information, see /support/colorljM776MFP .T echnical specificationsReview the printer technical specifications.Product numbers for each model ●M776dn - #T3U55A ●Flow M776z - #3WT91A ●Flow M776zs - #T3U56APaper handling specificationsPaper handling features Tray 1 (100-sheet capacity)Included Included Included Tray 2 (550-sheet capacity)IncludedIncludedIncluded8Chapter 1 Printer overview550-sheet paper trayOptional Included Not included NOTE:The M776dn models accept one optional550-sheet tray.Optional Included Included2 x 550-sheet paper tray and standNOTE:The M776dn models accept one optional550-sheet tray that may be installed on top of thestand.Optional Not included Not included2,700-sheet high-capacity input (HCI) paper trayand standNOTE:The M776dn models accept one optional550-sheet tray that may be installed on top of theoptional printer stand.Printer standOptional Not included Not included NOTE:The M776dn models accept one optional550-sheet tray that may be installed on top of theoptional printer stand.Inner finisher accessory Not included Not included Included Automatic duplex printing Included IncludedIncludedIncluded Included Included10/100/1000 Ethernet LAN connection with IPv4and IPv6Hi-Speed USB 2.0Included Included IncludedIncluded Included IncludedEasy-access USB port for printing from a USBflash drive or upgrading the firmwareIncluded Included Included Hardware Integration Pocket for connectingaccessory and third-party devicesHP Internal USB Ports Optional Optional OptionalOptional Optional OptionalHP Jetdirect 2900nw Print Server accessory forWi-Fi connectivity and an additional Ethernet portOptional IncludedIncludedHP Jetdirect 3100w accessory for Wi-Fi, BLE, NFC,and proximity badge readingPrints 45 pages per minute (ppm) on Letter-sizepaper and 46 ppm on A4-size paperEasy-access USB printing for printing from a USBIncluded Included Includedflash driveT echnical specifications9Included Included Included Store jobs in the printer memory to print later orprint privatelyScans 100 pages per minute (ppm) on A4 andIncluded Included Included letter-size paper one-sidedIncluded Included Included 200-page document feeder with dual-headscanning for single-pass duplex copying andscanningNot included Included Included HP EveryPage T echnologies including ultrasonicmulti-feed detectionNot included Included Included Embedded optical character recognition (OCR)provides the ability to convert printed pages intotext that can be edited or searched using acomputerIncluded Included Included SMART Label feature provides paper-edgedetection for automatic page croppingIncluded Included Included Automatic page orientation for pages that haveat least 100 characters of textIncluded Automatic tone adjustment sets contrast,Included Includedbrightness, and background removal for eachpageIncluded Included Includedfolders on a networkIncludedSend documents to SharePoint®Included IncludedIncluded Included Included NOTE:Memory reported on the configurationpage will change from 2.5 GB to 3 GB with theoptional 1 GB SODIMM installed.Mass storage: 500 GB hard disk drive Included Included IncludedSecurity: HP Trusted Platform Module (TPM)Included Included IncludedT ouchscreen control panel Included Included IncludedRetractable keyboard Not included Included Included 10Chapter 1 Printer overviewFax Optional Included IncludedSupported operating systemsUse the following information to ensure printer compatibility with your computer operating system.Linux: For information and print drivers for Linux, go to /go/linuxprinting.UNIX: For information and print drivers for UNIX®, go to /go/unixmodelscripts.The following information applies to the printer-specific Windows HP PCL 6 print drivers, HP print driversfor macOS, and to the software installer.Windows: Download HP Easy Start from /LaserJet to install the HP print driver. Or, go tothe printer-support website for this printer: /support/colorljM776MFP to download the printdriver or the software installer to install the HP print driver.macOS: Mac computers are supported with this printer. Download HP Easy Start either from /LaserJet or from the Printer Support page, and then use HP Easy Start to install the HP print driver.1.Go to /LaserJet.2.Follow the steps provided to download the printer software.Windows 7, 32-bit and 64-bit The “HP PCL 6” printer-specific print driver is installed for this operating system aspart of the software installation.Windows 8.1, 32-bit and 64-bit The “HP PCL-6” V4 printer-specific print driver is installed for this operating systemas part of the software installation.Windows 10, 32-bit and 64-bit The “HP PCL-6” V4 printer-specific print driver is installed for this operating systemas part of the software installation.Windows Server 2008 R2, SP 1, 64-bit The PCL 6 printer-specific print driver is available for download from the printer-support website. Download the driver, and then use the Microsoft Add Printer tool toinstall it.Windows Server 2012, 64-bit The PCL 6 printer-specific print driver is available for download from the printer-support website. Download the driver, and then use the Microsoft Add Printer tool toinstall it.Windows Server 2012 R2, 64-bit The PCL 6 printer-specific print driver is available for download from the printer-support website. Download the driver, and then use the Microsoft Add Printer tool toinstall it.Windows Server 2016, 64-bit The PCL 6 printer-specific print driver is available for download from the printer-support website. Download the driver, and then use the Microsoft Add Printer tool toinstall it.Windows Server 2019, 64-bit The PCL 6 printer-specific print driver is available for download from the printer-support website. Download the driver, and then use the Microsoft Add Printer tool toinstall it.Supported operating systems11macOS 10.13 High Sierra, macOS 10.14 MojaveDownload HP Easy Start from /LaserJet , and then use it to install the print driver.NOTE:Supported operating systems can change.NOTE:For a current list of supported operating systems and HP’s all-inclusive help for the printer, go to /support/colorljM776MFP .NOTE:For details on client and server operating systems and for HP UPD driver support for this printer, go to /go/upd . Under Additional information , click Specifications .●Internet connection●Dedicated USB 1.1 or 2.0 connection or a network connection● 2 GB of available hard-disk space ●1 GB RAM (32-bit) or2 GB RAM (64-bit)●Internet connection●Dedicated USB 1.1 or 2.0 connection or a network connection●1.5 GB of available hard-disk spaceNOTE:The Windows software installer installs the HP Smart Device Agent Base service. The file size is less than 100 kb. Its only function is to check for printers connected via USB hourly. No data is collected. If a USB printer is found, it then tries to locate a JetAdvantage Management Connector (JAMc) instance on the network. If a JAMc is found, the HP Smart Device Agent Base is securelyupgraded to a full Smart Device Agent from JAMc, which will then allow printed pages to be accounted for in a Managed Print Services (MPS) account. The driver-only web packs downloaded from for the printer and installed through the Add Printer wizard do not install this service.T o uninstall the service, open the Control Panel , select Programs or Programs and Features , and then select Add/Remove Programs or Uninstall a Programto remove the service. The file name isHPSmartDeviceAgentBase.Mobile printing solutionsHP offers multiple mobile printing solutions to enable easy printing to an HP printer from a laptop, tablet, smartphone, or other mobile device.T o see the full list and to determine the best choice, go to /go/MobilePrinting .NOTE:Update the printer firmware to ensure all mobile printing capabilities are supported.●Wi-Fi Direct (wireless models only, with HP Jetdirect 3100w BLE/NFC/Wireless accessory installed)●HP ePrint via email (Requires HP Web Services to be enabled and the printer to be registered with HP Connected)●HP Smart app ●Google Cloud Print12Chapter 1 Printer overview。
NetKeeper拨号连接或VPN连接的错误代码列表
NetKeeper拨号连接或VPN连接的错误代码列表600某操作处于挂起状态。
601端口句柄无效。
602端口已打开。
603呼叫方缓冲区太小。
604指定了错误的信息。
605无法设置端口信息。
606无法连接端口。
607事件无效。
608设备不存在。
609设备类型不存在。
610缓冲区无效。
611路由不可用。
612没有分配路由。
613指定了无效的压缩。
614缓冲区溢出。
615找不到端口。
616某异步请求处于挂起状态。
617端口或设备已断开连接。
618端口尚未打开。
619端口已断开连接。
620没有终结点。
621无法打开电话簿文件。
622无法加载电话簿文件。
623找不到电话簿条目。
624无法写入电话簿文件。
625在电话簿中发现无效信息。
626无法加载字符串。
627找不到密钥。
628端口已断开连接。
629端口已由远程机器断开连接。
630端口由于硬件故障已断开连接。
631端口已由用户断开连接。
632结构大小不正确。
633端口已被使用或不是为远程访问拨出配置的。
634无法在远程网络上注册您的计算机。
635未知错误。
636端口连接了错误的设备。
637无法转换字符串。
638请求已超时。
639没有可用的异步网络。
640出现NetBIOS错误。
641服务器无法分配需要用来支持客户端的NetBIOS资源。
642您的一个NetBIOS名称已在远程网络上注册。
643服务器上的网卡失败。
644您将无法接收弹出的网络信息。
645内部身份验证错误。
646不允许本帐户在此时间登录。
647帐户已禁用。
648密码已过期。
649帐户没有远程访问权限。
650远程访问服务器没有响应。
651您的调制解调器(或其它连接设备)报告了一个错误。
652无法识别来自该设备的响应。
653在设备.INF文件段中找不到设备所需的宏。
654在设备.INF文件段中的命令或响应引用了未定义的宏655在设备.INF文件段中找不到<message>宏。
656在设备.INF文件段的<defaultoff>宏中包含未定义的宏657无法打开设备.INF文件。
AVFoundationPG
AV Foundation Programming Guide Audio&Video2010-11-15Apple Inc.©2010Apple Inc.All rights reserved.No part of this publication may be reproduced, stored in a retrieval system,or transmitted,in any form or by any means,mechanical, electronic,photocopying,recording,or otherwise,without prior written permission of Apple Inc.,with the following exceptions:Any person is hereby authorized to store documentation on a single computer for personal use only and to print copies of documentation for personal use provided that the documentation contains Apple’s copyright notice.The Apple logo is a trademark of Apple Inc. No licenses,express or implied,are granted with respect to any of the technology described in this document.Apple retains all intellectual property rights associated with the technology described in this document.This document is intended to assist application developers to develop applications only for Apple-labeled computers.Apple Inc.1Infinite LoopCupertino,CA95014408-996-1010Apple,the Apple logo,Cocoa,iPhone,iPod, iPod touch,Objective-C,Quartz,and QuickTime are trademarks of Apple Inc.,registered in the United States and other countries.IOS is a trademark or registered trademark of Cisco in the U.S.and other countries and is used under license.OpenGL is a registered trademark of Silicon Graphics,Inc.Times is a registered trademark of Heidelberger Druckmaschinen AG,available from Linotype Library GmbH.Even though Apple has reviewed this document, APPLE MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED,WITH RESPECT TO THIS DOCUMENT,ITS QUALITY,ACCURACY, MERCHANTABILITY,OR FITNESS FOR A PARTICULAR PURPOSE.AS A RESULT,THIS DOCUMENT IS PROVIDED“AS IS,”AND YOU,THE READER,ARE ASSUMING THE ENTIRE RISK AS TO ITS QUALITY AND ACCURACY.IN NO EVENT WILL APPLE BE LIABLE FOR DIRECT, INDIRECT,SPECIAL,INCIDENTAL,OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY DEFECT OR INACCURACY IN THIS DOCUMENT,even if advised of the possibility of such damages. THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND IN LIEU OF ALL OTHERS,ORAL OR WRITTEN,EXPRESS OR IMPLIED.No Apple dealer,agent,or employee is authorized to make any modification,extension,or addition to this warranty.Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages,so the above limitation or exclusion may not apply to you.This warranty gives you specific legal rights,and you may also have other rights which vary from state to state.ContentsIntroduction About the AV Foundation Framework7Representing and Using Media with AV Foundation8Playback8Reading,Writing,and Reencoding Assets9Thumbnails9Media Capture and Access to Camera9Editing9AV Foundation’s Audio-Related Classes10Concurrent Programming with AV Foundation10Chapter1Using Assets11Creating an Asset Object11Options for Initializing an Asset11Accessing the User’s Assets12Preparing an Asset for Use13Getting Still Images From a Video13Generating a Single Image14Generating a Sequence of Images14Reading and Writing Assets16Using an Export Session16Using Asset Reader and Writer17Chapter2Playback19Playing Assets19Handling Different Types of Asset20Playing an Item21Changing the Playback Rate21Seeking—Repositioning the Playhead22Playing Multiple Items22Monitoring Playback23Responding to a Change in Status23Tracking Readiness for Visual Display24Tracking Time24Reaching the End of an Item25Putting it all Together:Playing a Video File Using AVPlayerLayer25The Player View26A Simple View Controller26Creating the Asset27Responding to the Player Item’s Status Change283CONTENTSPlaying the Item28Chapter3Media Capture29Use a Capture Session to Coordinate Data Flow30Configuring a Session30Monitoring Capture Session State31An AVCaptureDevice Object Represents an Input Device32Device Characteristics32Device Capture Settings33Configuring a Device35Switching Between Devices36Use Capture Inputs to Add a Capture Device to a Session36Use Capture Outputs to Get Output from a Session37Saving to a Movie File37Processing Frames of Video40Capturing Still Images40Showing the User What’s Being Recorded42Video Preview42Showing Audio Levels43Putting it all Together:Capturing Video Frames as UIImage Objects43Create and Configure a Capture Session44Create and Configure the Device and Device Input44Create and Configure the Data Output44Implement the Sample Buffer Delegate Method45Starting and Stopping Recording45Chapter4Creating New Assets47Use a Composition to Combine Existing Assets into a new Asset47Creating a File from a Composition49Chapter5Time and Media Representations51Representation of Assets51Representations of Time52CMTime Represents a Length of Time52CMTimeRange Represents a Time Range53Representations of Media54Converting a CMSampleBuffer to a UIImage55Document Revision History574FiguresChapter4Creating New Assets47Figure4-1Inheritance hierarchy for composition objects475FIGURES 6About the AV Foundation FrameworkAV Foundation is one of several frameworks that you can use to play and create time-based audiovisual media.It provides an Objective-C interface you use to work on a detailed level with time-based audiovisual data.For example,you can use it to examine,create,edit,or reencode media files.You can also get input streams from devices and manipulate video during realtime capture and playback.You should typically use the highest-level abstraction available that allows you to perform the tasks you want.For example:●If you simply want to play movies,you can use the Media Player Framework(MPMoviePlayerControlleror MPMoviePlayerViewController),or for web-based media you could use a UIWebView object.●To record video when you need only minimal control over format,use the UIKit framework(UIImagePickerController).Note, however, that some of the primitive data structures that you use in AV Foundation—includingtime-related data structures and opaque objects to carry and describe media data—are declared in the Core Media framework.AV Foundation is an advanced Cocoa framework. To use it effectively, you must have:●A solid understanding of fundamental Cocoa development tools and techniques●A basic grasp of blocks●A basic understanding of key-value coding and key-value observing●For playback,a basic understanding of Core Animation(see Core Animation Programming Guide)7Relevant Chapters: “Time and Media Representations” (page 51)Representing and Using Media with AV FoundationThe primary class that the AV Foundation framework uses to represent media is AVAsset.The design of theframework is largely guided by this representation.Understanding its structure will help you to understandhow the framework works.An AVAsset instance is an aggregated representation of a collection of one ormore pieces of media data(audio and video tracks).It provides information about the collection as a whole,such as its title,duration,natural presentation size,and so on.AVAsset is not tied to particular data format.AVAsset is the superclass of other classes used to create asset instances from media at a URL(see“UsingAssets” (page 11))and to create new compositions(see“Editing” (page 9)).Each of the individual pieces of media data in the asset is of a uniform type and called a track.In a typicalsimple case,one track represents the audio component,and another represents the video component;in acomplex composition,however,there may be multiple overlapping tracks of audio and video.Assets mayalso have metadata.A vital concept in AV Foundation is that initializing an asset or a track does not necessarily mean that it isready for use. It may require some time to calculate even the duration of an item (an MP3 file, for example,may not contain summary information). Rather than blocking the current thread while a value is beingcalculated, you ask for values and get an answer back asynchronously through a callback that you defineusing a block.Relevant Chapters: “Using Assets” (page 11)“Time and Media Representations” (page 51)PlaybackAVFoundation allows you to manage the playback of asset in sophisticated ways.To support this,it separatesthe presentation state of an asset from the asset itself.This allows you to,for example,play two differentsegments of the same asset at the same time rendered at different resolutions.The presentation state for anasset is managed by a player item object;the presentation state for each track within an asset is managedby a player item track ing the player item and player item tracks you can,for example,set thesize at which the visual portion of the item is presented by the player,set the audio mix parameters andvideo composition settings to be applied during playback,or disable components of the asset during playback.You play player items using a player object, and direct the output of a player to Core Animation layer. OniOS 4.1 and later, you can use a queue player to schedule playback of a collection of player items in sequence. 8Representing and Using Media with AV FoundationRelevant Chapters: “Playback” (page 19)Reading,Writing,and Reencoding AssetsAV Foundation allows you to create new representations of an asset in several ways. You can simply reencode an existing asset, or—on iOS 4.1 and later—you can perform operations on the contents of an asset and save the result as a new asset.You use an export session to reencode an existing asset into a format defined by one of a small number of commonly-used presets. If you need more control over the transformation, on iOS 4.1 and later you can use an asset reader and asset writer object in tandem to convert an asset from one representation to another. Using these objects you can,for example,choose which of the tracks you want to be represented in the output file,specify your own output format,or modify the asset during the conversion process.To produce a visual representation of the waveform,you use an asset reader to read the audio track of an asset.Relevant Chapters: “Using Assets” (page 11)ThumbnailsTo create thumbnail images of video presentations,you initialize an instance of AVAssetImageGenerator using the asset from which you want to generate thumbnails.AVAssetImageGenerator uses the default enabled video track(s)to generate images.Relevant Chapters: “Using Assets” (page 11)Media Capture and Access to CameraRecording input from cameras and microphones is managed by a capture session.A capture session coordinates the flow of data from input devices to outputs such as a movie file.You can configure multiple inputs and outputs for a single session,even when the session is running.You send messages to the session to start and stop data flow.In addition,you can use an instance of preview layer to show the user what a camera is recording. Relevant Chapters: “Media Capture” (page 29)EditingAV Foundation uses compositions to create new assets from existing pieces of media(typically,one or more video and audio tracks).You use a mutable composition to add and remove tracks,and adjust their temporal orderings.You can also set the relative volumes and ramping of audio tracks;and set the opacity,and opacity Representing and Using Media with AV Foundation9ramps,of video tracks.A composition is an assemblage of pieces of media held in memory.When you exporta composition using an export session, it's collapsed to a file. On iOS 4.1 and later, you can also create anasset from media such as sample buffers or still images using an asset writer.AV Foundation’s Audio-Related ClassesThere are two facets to the AV Foundation framework—API related just to audio, which was available priorto iOS 4; and API introduced in iOS 4 and later. The older audio-related classes provide easy ways to dealwith audio. They are described in Multimedia Programming Guide,not in this document.●To play sound files,you can use AVAudioPlayer.●To record audio,you can use AVAudioRecorder.You can also configure the audio behavior of your application using AVAudioSession;this is described inAudio Session Programming Guide.Concurrent Programming with AV FoundationCallouts from AV Foundation—invocations of blocks,key-value observers,or notification handlers—are notguaranteed to be made on any particular thread or queue.Instead,AV Foundation invokes these handlerson threads or queues on which it performs its internal tasks.You are responsible for testing whether thethread or queue on which a handler is invoked is appropriate for the tasks you want to perform.If it’s not(for example,if you want to update the user interface and the callout is not on the main thread),you mustredirect the execution of your tasks to a safe thread or queue that you recognize,or that you create for thepurpose.If you’re writing a multithreaded application,you can use the NSThread method isMainThread or[[NSThread currentThread] isEqual:<#A stored thread reference#>]to test whether theinvocation thread is a thread you expect to perform your work on.You can redirect messages to appropriatethreads using methods such as performSelectorOnMainThread:withObject:waitUntilDone:andperformSelector:onThread:withObject:waitUntilDone:modes:.You could also use dispatch_asyncto“bounce”to your blocks on an appropriate queue,either the main queue for UI tasks or a queue you haveup for concurrent operations.For more about concurrent operations,see Concurrency Programming Guide;for more about blocks,see Blocks Programming Topics.10AV Foundation’s Audio-Related ClassesUsing AssetsAsset can come from a file or from media in the user’s iPod Library or Photo library.Simply creating an assetobject,though,does not necessarily mean that all the information that you might want to retrieve for thatitem is immediately available.Once you have a movie asset,you can extract still images from it,transcodeit to another format,or trim the contents.Creating an Asset ObjectTo create an asset to represent any resource that you can identify using a URL,you use AVURLAsset.Thesimplest case is creating an asset from a file:NSURL *url = <#A URL that identifies an audiovisual asset such as a movie file#>;AVURLAsset *anAsset = [[AVURLAsset alloc] initWithURL:url options:nil];Options for Initializing an AssetAVURLAsset’s initialization methods take as their second argument an options dictionary.The only key usedin the dictionary is AVURLAssetPreferPreciseDurationAndTimingKey.The corresponding value is aboolean(contained in an NSNumber object)that indicates whether the asset should be prepared to indicatea precise duration and provide precise random access by time.(Strictly,this and other dictionaries mentionedin this section can use an NSValue object to represent a boolean,however they’re typically represented byan NSNumber object.Recall that NSNumber inherits from NSValue.)Getting the exact duration of an asset may require significant processing ing an approximateduration is typically a cheaper operation and sufficient for playback.Thus:●If you only intend to play the asset,either pass nil instead of a dictionary,or pass a dictionary thatcontains the AVURLAssetPreferPreciseDurationAndTimingKey key and a corresponding value ofNO(contained in an NSNumber object).●If you want to add the asset to a composition(AVMutableComposition),you typically need preciserandom access.Pass a dictionary that contains the AVURLAssetPreferPreciseDurationAndTimingKeykey and a corresponding value of YES(contained in an NSNumber object):NSURL *url = <#A URL that identifies an audiovisual asset such as a movie file#>;NSDictionary *options = [NSDictionary dictionaryWithObject:[NSNumbernumberWithBool:YES]forKey:AVURLAssetPreferPreciseDurationAndTimingKey];AVURLAsset *anAssetToUseInAComposition = [[AVURLAsset alloc] initWithURL:urloptions:nil];Creating an Asset Object112010-11-15 | © 2010 Apple Inc. All Rights Reserved.Accessing the User’s AssetsTo access the assets managed the iPod Library or by the Photos application,you need to get a URL of theasset you want.●To access the iPod Library,you create an MPMediaQuery instance to find the item you want,then getits URL using MPMediaItemPropertyAssetURL.For more about the Media Library,see Multimedia Programming Guide.●To access the assets managed by the Photos application,you use ALAssetsLibrary.The following example shows how you can get an asset to represent the first video in the Saved PhotosAlbum.ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];// Enumerate just the photos and videos group by using ALAssetsGroupSavedPhotos.[library enumerateGroupsWithTypes:ALAssetsGroupSavedPhotosusingBlock:^(ALAssetsGroup *group, BOOL *stop) {// Within the group enumeration block, filter to enumerate just videos.[group setAssetsFilter:[ALAssetsFilter allVideos]];// For this example, we're only interested in the first item.[group enumerateAssetsAtIndexes:[NSIndexSet indexSetWithIndex:0]options:0usingBlock:^(ALAsset *alAsset, NSUInteger index, BOOL*innerStop) {// The end of the enumeration is signaled by asset ==nil.if (alAsset) {ALAssetRepresentation *representation = [alAssetdefaultRepresentation];NSURL *url = [representation url];AVAsset *avAsset = [AVURLAsset URLAssetWithURL:urloptions:nil];// Do something interesting with the AV asset.}}];}failureBlock: ^(NSError *error) {// Typically you should handle an error more gracefullythan this.NSLog(@"No groups");}];[library release];12Creating an Asset Object2010-11-15 | © 2010 Apple Inc. All Rights Reserved.Preparing an Asset for UseInitializing an asset(or track)does not necessarily mean that all the information that you might want toretrieve for that item is immediately available.It may require some time to calculate even the duration of anitem(an MP3file,for example,may not contain summary information).Rather than blocking the currentthread while a value is being calculated,you should use the AVAsynchronousKeyValueLoading protocolto ask for values and get an answer back later through a completion handler you define using a block.(AVAsset and AVAssetTrack conform to the AVAsynchronousKeyValueLoading protocol.)You test whether a value is loaded for a property using statusOfValueForKey:error:.When an asset isfirst loaded,the value of most or all of its properties is AVKeyValueStatusUnknown.To load a value for oneor more properties,you invoke loadValuesAsynchronouslyForKeys:completionHandler:.In thecompletion handler,you take whatever action is appropriate depending on the property’s status.You shouldalways be prepared for loading to not complete successfully,either because it failed for some reason suchas a network-based URL being inaccessible,or because the load was canceled..NSURL *url = <#A URL that identifies an audiovisual asset such as a movie file#>;AVURLAsset *anAsset = [[AVURLAsset alloc] initWithURL:url options:nil];NSArray *keys = [NSArray arrayWithObject:@"duration"];[asset loadValuesAsynchronouslyForKeys:keys completionHandler:^() {NSError *error = nil;AVKeyValueStatus durationStatus = [asset statusOfValueForKey:@"duration"error:&error];switch (durationStatus) {case AVKeyValueStatusLoaded:[self updateUserInterfaceForDuration];break;case AVKeyValueStatusFailed:[self reportError:error forAsset:asset];break;case AVKeyValueStatusCancelled:// Do whatever is appropriate for cancelation.break;}}];If you want to prepare an asset for playback,you should load its tracks property.For more about playingassets,see“Playback” (page 19).Getting Still Images From a VideoTo get still images such as thumbnails from an asset for playback,you use an AVAssetImageGeneratorobject.You initialize an image generator with your asset.Initialization may succeed,though,even if the assetpossesses no visual tracks at the time of initialization,so if necessary you should test whether the asset hasany tracks with the visual characteristic using tracksWithMediaCharacteristic:.AVAsset anAsset = <#Get an asset#>;if ([[anAsset tracksWithMediaCharacteristic:AVMediaTypeVideo] count] > 0) {AVAssetImageGenerator *imageGenerator =[AVAssetImageGenerator assetImageGeneratorWithAsset:anAsset];Preparing an Asset for Use132010-11-15 | © 2010 Apple Inc. All Rights Reserved.// Implementation continues...You can configure several aspects of the image generator,for example,you can specify the maximumdimensions for the images it generates and the aperture mode using maximumSize and apertureModerespectively.You can then generate a single image at a given time,or a series of images.You must ensurethat you retain the image generator until it has generated all the images.Generating a Single ImageYou use copyCGImageAtTime:actualTime:error:to generate a single image at a specific time.AVFoundation may not be able to produce an image at exactly the time you request,so you can pass as thesecond argument a pointer to a CMTime that upon return contains the time at which the image was actuallygenerated.AVAsset *myAsset = <#An asset#>];AVAssetImageGenerator *imageGenerator = [[AVAssetImageGenerator alloc]initWithAsset:myAsset];Float64 durationSeconds = CMTimeGetSeconds([myAsset duration]);CMTime midpoint = CMTimeMakeWithSeconds(durationSeconds/2.0, 600);NSError *error = nil;CMTime actualTime;CGImageRef halfWayImage = [imageGenerator copyCGImageAtTime:midpointactualTime:&actualTime error:&error];if (halfWayImage != NULL) {NSString *actualTimeString = (NSString *)CMTimeCopyDescription(NULL,actualTime);NSString *requestedTimeString = (NSString *)CMTimeCopyDescription(NULL,midpoint);NSLog(@"got halfWayImage: Asked for %@, got %@", requestedTimeString,actualTimeString);[actualTimeString release];[requestedTimeString release];// Do something interesting with the image.CGImageRelease(halfWayImage);}[imageGenerator release];Generating a Sequence of ImagesTo generate a series of images,you send the image generator agenerateCGImagesAsynchronouslyForTimes:completionHandler:message.The first argument isan array of NSValue objects,each containing a CMTime,specifying the asset times for which you want imagesto be generated.The second argument is a block that serves as a callback invoked for each image that isgenerated.The block arguments provide a result constant that tells you whether the image was createdsuccessfully or if the operation was canceled,and,as appropriate:●The image.14Getting Still Images From a Video2010-11-15 | © 2010 Apple Inc. All Rights Reserved.●The time for which you requested the image and the actual time for which the image was generated.●An error object that describes the reason generation failed.In your implementation of the block,you should check the result constant to determine whether the image was created.In addition,you must ensure that you retain the image generator until it has finished creating the images.AVAsset *myAsset = <#An asset#>];// Assume: @property (retain) AVAssetImageGenerator *imageGenerator;self.imageGenerator = [AVAssetImageGeneratorassetImageGeneratorWithAsset:myAsset];Float64 durationSeconds = CMTimeGetSeconds([myAsset duration]);CMTime firstThird = CMTimeMakeWithSeconds(durationSeconds/3.0, 600);CMTime secondThird = CMTimeMakeWithSeconds(durationSeconds*2.0/3.0, 600);CMTime end = CMTimeMakeWithSeconds(durationSeconds, 600);NSArray *times = [NSArray arrayWithObjects:[NSValue valueWithCMTime:kCMTimeZero],[NSValue valueWithCMTime:firstThird], [NSValuevalueWithCMTime:secondThird],[NSValue valueWithCMTime:end], nil];[imageGenerator generateCGImagesAsynchronouslyForTimes:timescompletionHandler:^(CMTime requestedTime, CGImageRef image,CMTime actualTime,AVAssetImageGeneratorResult result, NSError*error) {NSString *requestedTimeString = (NSString*)CMTimeCopyDescription(NULL, requestedTime);NSString *actualTimeString = (NSString*)CMTimeCopyDescription(NULL, actualTime);NSLog(@"Requested: %@; actual %@", requestedTimeString, actualTimeString);[requestedTimeString release];[actualTimeString release];if (result == AVAssetImageGeneratorSucceeded) {// Do something interesting with the image.}if (result == AVAssetImageGeneratorFailed) {NSLog(@"Failed with error: %@", [error localizedDescription]);}if (result == AVAssetImageGeneratorCancelled) {NSLog(@"Canceled");}}];You can cancel the generation of the image sequence by sending the image generator a cancelAllCGImageGeneration message.Getting Still Images From a Video15 2010-11-15 | © 2010 Apple Inc. All Rights Reserved.Reading and Writing AssetsYou can easily transcode a movie from one format to another,and trim a movie,using anAVAssetExportSession object. On iOS 4.1 and later, you can also use asset reader and writer objects ifyou need more control over the reading and writing operations.●You use an AVAssetReader object when you want to perform an operation on the contents of an asset.For example,you might read the audio track of an asset to produce a visual representation of thewaveform.●You use an AVAssetWriter object to produce an asset from media such as sample buffers or still images.●You can use an asset reader and asset writer object in tandem to convert an asset from one representationto another with more control over the conversion than you do with AVExportSession.Using an Export SessionAn export session is a controller object that manages asynchronous export of an asset.You initialize thesession using the asset you want to export and the name of a export preset that indicates the export optionsyou want to apply(see allExportPresets).You then configure the export session to specify the outputURL and file type,and optionally other settings such as the metadata and whether the output should beoptimized for network use.You can check whether you can export a given asset using a given preset usingexportPresetsCompatibleWithAsset:as illustrated in this example:AVAsset *anAsset = <#Get an asset#>;NSArray *compatiblePresets = [AVAssetExportSessionexportPresetsCompatibleWithAsset:anAsset];if ([compatiblePresets containsObject:AVAssetExportPresetLowQuality]) {AVAssetExportSession *exportSession = [[AVAssetExportSession alloc]initWithAsset:anAsset presetName:AVAssetExportPresetLowQuality];// Implementation continues.}You complete configuration of the session by providing the output URL(the URL must be a file URL)andsetting the the output file type using outputFileType..You can also specify additional properties such asthe time range,a limit for the output file length,whether the exported file should be optimized for networkuse,and a video composition.The following example illustrates how to use the timeRange property to trimthe movie:exportSession.outputURL = <#A file URL#>;exportSession.outputFileType = AVFileTypeQuickTimeMovie;CMTime start = CMTimeMakeWithSeconds(1.0, 600);16Reading and Writing Assets2010-11-15 | © 2010 Apple Inc. All Rights Reserved.。
索尼手机系统自带可卸载软件详情
索尼手机系统自带可卸载软件详情Initial-boot-setup.apk 不知道是什么,暂时保留 JapaneseIME.apk 日语输入法应用程序可放心删除 LearningClient.apk 这程序和系统自带输入法有关联,不用自带输入法的可以删除 livewallpaperearth.apk 自带的地球动态壁纸,可删除LiveWallpapers.apk 自带的一些动态壁纸,可删除LiveWallpapersPicker.apk 动态壁纸选择器,可删除,删除后无法选择动态壁纸,喜欢用动态壁纸的话不建议删除这个程序LivewareManager.apkLiveware应用程序可删除删除后无法使用LivewareLocalContacts.apk 本地联系人★切勿删除★MagicSmokeWallpapers.apk 自带的魔幻烟雾动态壁纸,可删除Maps.apk 可删除MarketUpdater.apk 更新服务可删除删除后无法进行程序更新MediaProvider.apk 媒体储存★切勿删除★删除后音乐和视频出现问题MediaUploader.apk 媒体更新★切勿删除★删除后音乐和视频出现问题MtpAppGB.apkMTP支持,即媒体传输模式,★切勿删除★MusicWidget.apk 自带音乐桌面小插件可删除 NetworkLocation.apk 网络服务★切勿删除★删除后可能地图软件无法进行定位NewSoftwareChecker.apk 没搜索到,看字面意思是新软件检测的?暂时保留 OMAClientProvisioning.apk 索爱同步同步客户端设定可删除,删除后无法使用索爱的同步服务OmaDatasyncService.apk 索爱同步同步客户端设定可删除,删除后无法使用索爱的同步服务OmaDownload.apk 索爱同步下载可删除,删除后无法使用索爱的同步服务OmaV1AgentDownloadServices.apk 索爱同步信息可删除,删除后无法使用索爱的同步服务 OnOffTools.apk 桌面各种开关的快捷插件,可删除,个人建议保留 PackageInstaller.apk 程序安装★切勿删除★Phonebook.apk 通讯录(含拨号)可用第三方通讯代替但不建议删除Phonesky.apkPlay商店,即电子市场,可删除PhotoWidget.apk 照片与视频的桌面插件可删除删除后桌面无法添加照片与视频小工具PicoTts.apk 文字转语音,不用可删,删除后无法使用“设置-->语音输入与输出-->文字转语音设定”、谷歌语音导航、语音拨号等需求TTS服务的程序PlusOne.apkGoogle+社区软件,可删除PMSservice.apk 资源管理系统服务不建议删除POBoxSknMono.apk 日语输入主题可删除 POBoxSknPink.apk 日语输入主题可删除POBoxSknWood.apk 日语输入主题可删除 POBoxSknSelector.apk 日语输入主题可删除 PostViewer.apk 邮件检测可删除 Protips.apk 主屏提示可删除 Radio.apk 自带收音机可删ReadyToRun.apk 开机引导程序,可删除RemoteControlService.apk 远程控制服务?暂时保留Retaildemo.apk 演示程序,可删除 ScreenCapture.apk 屏幕截图功能,不建议删除SecureClockJava.apk 有关时间的★切勿删除★ SemcCalculator.apk 自带计算器,可删除用第三方替代SemcCalendar.apk 自带日历,可删除用第三方替代SemcCamera3D.apk 自带3D全景相机用不到这功能的可删除SemcCameraUI.apk 自带相机SemcClock.apk 时间和闹钟,要闹钟就不要删 SemcCnapProvider.apk 主叫名字显示,不建议删除 SemcContactsProvider.apk 联系人存储★切勿删除★ SemcCrashMonitor.apk 监测,可删除SemcDlna.apk 媒体服务,连接索尼电视和PS3的程序,可删 SemcEmail.apk 电子邮件可删SEMCFacebookProxy.apkFacebook 服务可删 SemcGallery3D.apk 自带媒体库(图库),可删,删除后可安装第三方软件替代SemcIllumination.apk 功能未知,暂且保留SemcMetadataCleanup.apk 功能未知,暂且保留SemcMusic.apk 自带音乐播放器,删除后可用第三方替代SemcPhone.apk 通话★切勿删除★SemcPowerSaveModule.apk 功能未知,暂且保留Semcservice.apk 功能未知,暂且保留SemcSettings.apk 设置★切勿删除★ SEMCSetupWizard.apk 设置向导,可删但据说有问题,不建议删除SemcSimDetection.apkSIM卡检测,★切勿删除★SemcSnpPlatformUtil.apk 不知道是个啥,可删SemcSnpVideoPlayer.apk 自带视频播放器,可删,删掉后用第三方视频播放器即可SemcTelephonyProvider.apk 电话储存★切勿删除★ SemcVideoEdit.apk 视频编辑,可删 ServiceMenu.apk 工程模式,删掉后不能使用工程模式 Settings.apk 设置★切勿删除★ SettingsProvider.apk 设置相关★切勿删除★SimContacts.apkSim卡的不需要可删除SmartSearch.apk 智能拨号★切勿删除★ SocialPane-Apps.apk 就是TimescapeSocialPane-FeedWidget.apkTimescape插件之一SocialPane-FriendsWidget.apkTimescape插件之一SocialPane-StatusWidget.apkTimescape插件之一(不用Timescape的可删除) SoundEnhancement.apk 声音相关程序,不建议删除SoundLevelAlert.apk 声音警报可删SoundPicker.apk 声音服务★切勿删除★删除后无法使用SD卡文件进行铃声设置SoundRecorder.apk 录音机可删Stk.apkSIM卡服务不用可删除Sync.apk 同步,可删SystemUI.apk 状态栏★切勿删除★ Talk2.apkGoogleTalk程序可删除TetherEntitlementCheck.apk 不知道是什么,可删除TetheringWall.apk 同上,可删Textinput-chn.apk 自带国际输入法,可删Textinput-tng.apk 自带国际输入法,可删ThemeManager.apk 主题管理★切勿删除★删除后不能进入主题TimescapeRssPlugin.apkRss订阅TS服务可删TimescapeSpline.apkTS服务可删除TStrackid.apk 音乐雷达可删TtsService.apkTTS语音服务可删TwitterPostViewer.apk 不知道是什么,可删 UnsupportedHeadsetNotifier.apk 非支持头戴式耳机通知可删除UpdateCenter.apk 更新中心可删除,删除后无法使用官方更新Usb-mtp-backup-transport.apkMTP服务★切勿删除★ usb-mtp-marlin-wrapper.apkMTP服务★切勿删除★ usb-mtp-update-wrapper.apkMTP服务★切勿删除★ usb-mtp-vendor-extension-service.apkMTP服务★切勿删除★Usbotg.apkOtg服务,可删UseragentProvider.apk 用户储存可删 UserDictionaryProvider.apk 用户词典可删 UxpNxtLockScreen.apk 锁屏界面,包括时钟解锁音乐按钮短信未接等,★切勿删除★Usersupport.apk 用户支持应用程序可删除 VerifyCertificatesDummyAppApplication.apk 程序虚拟认证程序V erifyCertificatesDummyAppMedia.apk 多媒体虚拟认证程序VerifyCertificatesDummyAppPlatform.apk 平台虚拟认证程序VerifyCertificatesDummyAppShared.apk 共享虚拟认证程序虚拟认证程序,用途未知,可删 VisualizationWallpapers.apk 自带的动态壁纸,可删除V oiceDialer.apk 语音拨号可删V oiceSearch.apk 语音搜索可删V oipCallLogProvider.apkIP电话提供,不建议删V*p*nServices.apk 虚拟专用网络服务,不建议删除 WallpaperPicker.apkXperia自带壁纸选择器,可删除WapiCustomization.apkWIFI设置★切勿删除★ WapPush.apk 信息推。
索尼手机系统自带可卸载软件详情
在删除系统软件之前,手机是必须是已经获取root权限了,如果你的手机还没有获取root权限的话#App简单说明ActiveClipper.apk截图,建议不删,可删AntHalService.apk ANT+的服务,可与同样支援ANT protocol的第三方监测沟通,可删ApplicationsProvider.apk搜索应用程序供应商,可删AptxNotifier.apk未知,删了,没啥影响ArtFilterCamera.apk图片效果,不需要的,可删Backup-Restore.apk备份和还原组件,可删BackupRestoreConfirmation.apk备份和还原组件,可删Backup-wizard.apk备份和还原组件,可删BlackTheme.apk 主题,可根据需要留下相应颜色主题,可删BlackThemeBlueAccent.apk 主题,删了“设定“等等里面设置无颜色了,可删BlueTheme.apk 主题,可根据需要留下相应颜色主题,可删Bluetooth.apk蓝牙,勿删Books.apk Google Play图书,可删bootinfo.apk启动资料,删了没啥影响,可删BrowserProviderProxy.apk浏览器代理?可删Calculator.apk 计算器,删了不影响小部件计算器,可删CalendarProvider.apk日历存储,可删CameraCommon.apk相机相关?勿删CameraExtensionPermission.apk相机相关?勿删CdfInfoAccessor.apk Cdf信息访问器,可删CertInstaller.apk 证书安装器(对应WIFI服务,中国一般不会遇到证书加密的WIFI,所以鸡肋服务),可删Chrome.apk Chrome浏览器,可删ClockWidgets.apk 时钟桌面插件,建议不删,可删,删了锁屏时间会靠右上,即使恢复,也不会在居中Conversations.apk 短信,用类似go短信替代,自带短信无法接收校信通长短信,被删,可删CredentialManagerService.apk 证书管理服务,删除后设置里证书出错,勿删CustomizationPresetContacts.apk 定制客户才用到的,可删,设定-更多-互联网设定,设置好后删CustomizedSettings.apk 系统预设?建议不删,可删//定制设置可删,设定-更多-互联网设定,设置好后删DefaultCapabilities.apk 会在SD卡根目录生成两个capability.xml文件,其中存储了该手机支持的多媒体编码格式/图片尺寸等信息,当将此SD卡以MTP方式连接到其他设备时,这些设备便可以使用此信息。
LS-dyna接触设置
Copyright © 2003 by LIVERMORE SOFTWARE TECHNOLOGY CORPORATION
1
Introduction
Purpose of Contact
Allows unmerged Lagrangian elements to interact with each other
Surface_to_Surface Contacts
Utilize two-way (symmetric) treatment
master/slave distinction not important
Master
Slave
=
+
+
Copyright © 2003 by LIVERMORE SOFTWARE TECHNOLOGY CORPORATION
3
Search Methods
‘Old’ Node-based search (Sect. 23.6 in Theory Manual)
Used by non-automatic contacts Not good for disjoint or irregular meshes Requires correct orientation of segments
Controlled by SHLTHK in *control_contact or in *contact
Contact thickness Shell midplane Physical gap
Copyright © 2003 by LIVERMORE SOFTWARE TECHNOLOGY CORPORATION
Android13_IPC方式之ContentProvider
Android13_IPC⽅式之ContentProviderContentProvider是安卓提供的专门⽤于不同应⽤间进⾏数据共享的⽅式;它天⽣适合进程间通信;和Messenger⼀样,ContentProvider的底层实现同样也是Binder;ContentProvider还是四⼤组件之⼀;其实ContentProvider的使⽤涉及的细节还是很多的;⼀般来讲ContentProvider⽤于对应⽤的数据库进⾏增删改查;我们可以访问跨应⽤地其他应⽤提供的ContentProvider,也可以⾃定义⼀个ContentProvider;⾃⼰实现ContentProvider要⾃定义⼀个类继承⾃ContentProvider并实现六个抽象⽅法:onCreate、query、update、insert、delete、getType;1、⾸先在Manifest中注册ContentProvider组件:android:autorities 是作为标识,⼀般⽤完整包名加类名android:permission 表⽰权限,其他应⽤想要⽤这个ContentProvider时,继续声明该权限才可以,否则外界应⽤会异常终⽌;android:process 这⾥为了演⽰⽅便,直接在同⼀个应⽤中开启多进程模式,MainActivity⼀个进程,ContentProvider⼀个进程;2、编写DbOpenHelper类这个类⽤于管理数据的创建、升级、降级package com.example.learncontentprovider;import android.content.Context;import android.database.sqlite.SQLiteDatabase;import android.database.sqlite.SQLiteOpenHelper;import android.util.Log;//利⽤SQLiteHelper来管理数据库的创建、升级、降级public class DbOpenHelper extends SQLiteOpenHelper {private static final String TAG = "DbOpenHelper";private static final String DB_NAME = "book_provider.db";public static final String BOOK_TABLE_NAME="book";public static final String USER_TABLE_NAME="user";private static final int DB_VERSION = 1;//建表语句图书和⽤户信息表private String CREATE_BOOK_TABLE = "CREATE TABLE IF NOT EXISTS "+BOOK_TABLE_NAME+"(_id INTEGER PRIMARY KEY,"+"name TEXT)";private String CREATE_USER_TABLE="CREATE TABLE IF NOT EXISTS "+USER_TABLE_NAME+"(_id INTEGER PRIMARY KEY,"+"name TEXT,"+"sex INT)";public DbOpenHelper(Context context){super(context,DB_NAME,null,DB_VERSION);}@Overridepublic void onCreate(SQLiteDatabase db) {Log.d(TAG,"onCreate");db.execSQL(CREATE_BOOK_TABLE);db.execSQL(CREATE_USER_TABLE);}//⽤于对数据库进⾏升级的,是否执⾏该⽅法要看DbOpenHelper构造函数传⼊的version是否⽐之前更⼤。
Chroma8000问题搜集
Chroma8000问题搜集Chroma8000问题搜集在台湾电源论坛上看到关于Chroma 8000的问题讨论,觉得对我们熟悉Chroma 8020有较大的帮助,故整理如下。
1 关于CHROMA 8000的问题提问(1)8000软件打不开,屏幕显示“Unrecognized database format d://….// Usermanage .mdb”.对此,我每次在其它ATE上COPY其文档.有时可以打开8000,但有时却不能,仍显示上述出错信息.这样只能重装软件,造成大量资料丢失吗?(2) 6011抓取时间不良,测量Turn on &Sequence Test 与Hold up & Sequence Test 时抓取不到时间值,但产品起机正常.(3)6011测量Noise 时常出现警报信息,如“Error On Calling Test Command “Get All 6011_Noise ”! Read All 6011_Noise (Vpp_Nosie_temp=0.000000,0.000000)Device Message: Time out expired before operation completed!” 附图如下:比较模糊,呵呵…(4)8000自检时,出现“ NO Listeners condition is detected (bo th NRFD and NDAC are deasserted .”与“Identification query failed.”这两个是什么意思呢?为什么出现这种情况呢?(5)测量Nosie时,采用TI: Nosie Test 时可以通过,但采用TI: Total Regulation With Nosie Test 时却不能通过,它们的NOISE读值往往相差几十个mv.难道是后者测量NOISE 时不稳定造成的吗?这两个TI从效率、准确度、稳定性等方面来讲,用那一个好一些呢?(6)针对同一产品,若OLP测试OK,则Short Circuit Test 一定可以通过吗?主要是以节省时间而言!即同时存在两项测试,可以删掉后者吗?(7)若编写的TI 要求同时测试两个产品, 其Short Circuit Test 中其Pin读值准确吗?因其PA只有一个Channel ,当其中一颗UUT短路时,其另一颗却正常输出.这种测量方式合理吗?(8)Short Circuit Test 中,设定有时是空载,有时是吃载(轻载与满载).它们的区别是什么呢?8000中应当设定为那种呢?其Trigger点呢?如果采用手动测试短路时的输入功率其吃载量呢?而且实际测量时功率分析仪显示示值不太稳定,且跳动较大.(9)同一产品,其空载时电压跳动,为什么在8000中测量不出来呢?附产品规格:5V 5当264V, 0A时,其输出为4.3V左右,明显FAIL!!!(手测时)(10)在一个程式中,当short ,olp, ovp测试时,其电压均不能回复,不能进行下一步测试,但每一个TI单独测试时OK!调整其TIME OUT & DELAY TIME 后情况还是一样!( UUT 为200w)(11)在测试5W系列小产品时,设定为115V,100% LOAD,但有时6334只出现电压示值显示,而无电流显示.DOWN机处理后出现同样问题!(12)用两台ATE在测试Total Regulation With Nosie Test时,其NOISE读值为什么相差有10mv左右,(同一产品,同一程式)从而造成不能判断该产品是否存在杂讯不良.(13)测量Hold up 时间,其Compare Point 一般设定为百分之多少呢?如95%,97%;但针对240W产品时,其输出为24V,10A要求关机时间大于60ms,设定为99%可以吗?但实际测试时,往往不能通过.(14)用6334组合平台单独进行开机测试时,为什么输出端反接(如DC 线材焊反)时,6334不报警呢?(15)63030其额定功率为300W,但测试240W产品时,为什么其会出现OPP呢?这样就只好并联电子负载了!(规格:24V,10A)(16)有一句英文,没看明白!呵呵,客户问我的!V1 is protected on hiccup mode. The SCP(Short Circuit Protected) is auto recovery. Hiccup 不懂啊……(17)TI的测试顺序有严格规定吗?怎样调整才最有效呢?2 针对Chroma8000的问题回答1:很有可能是中毒了,或�t8000安�b的有���}.8000修�桶惭b可以解�Q此���},也能保存原�淼�����.2:抓�r�g不良你首先�z查程序�O置(�_始�c,�Y束�c)是否正�_,再�z查�B接��是否OK,�z查Trig信����平等.3:可能是6011的通�����},可以��6011重新�_�C,更新GPIB��等.4:Download���},����後面��有提示了,更��後面的提示�e�`找到硬件配置的���}或���C���}.5:���z查是否在相同的�l件下得到?如Delay�r�g,��入����?6:OLP保�o��路�cSHort保�o��路不是同一����路,不能合�K�y��.7:如果�b有1��PA作�商��y��需要遇到�x功率均需要切�Q��比�r麻��,建�h增加功率表,如66200系列功率表�滋óa品同�r�y��就使用�滋üβ时�.8:根���a品��格�O置就可以了,一般在�a品��格上有具�w要求.9:�a品��出���禾��釉谪��d端肯定可以反��出��,�b是���d取的是一�����c的����,�@��8000�y��空�d�r��不��定.10:你首先�_�J你�a品的保�o後重新�_�C�l件,�����x�癫煌�的Recover方式.11:你�a品��出���河卸啻�?是否Von�c�O置正�_等,再�z查LOAD及sense���B接是否OK.12:�z查�y��治具,注意�K����容.重���y��比�^.13:Hold up�r�g��格��有�栏褚�定,如果�]有按掉出���赫�常范��.14:load端接反後肯定��保�o,���阂�大於0.2V.15:可能Peak超�^了,最好有些余量.16:打嗝的意思.17:TI�]有�栏竦捻�序,主要考量���s�r�g.3 Chroma8000使用中的问题提问:(1)UUT Type 类型有两种:I Single UUT / Multi Outputs(单颗待测物,多组输出) II Multi UUT / Single Output(多颗待测物,单组输出)目前我们通过治具,一次性同时测试3PCS产品,但采用的是第I种测试类型.请问这样做是否合理?就效率而言,那一种测量方式较好?(2)TEST PROGRAM >Setting>Test Infro>Customer name中,在输入有些中文字符时会产生乱码现象.如输入“鸿”,会出现“?”字符.所采用的版本为WINDOWS XP 繁体版!(3)在REPROT GENERGRATOR 中下载测试报告时,不知为何出现部分测试报告丢失现象?且下载的报告中混有不良品报告?如SN 为001―100,下载后不见“003”,“046”等10PCS. 注:测试前已点击 Auto-increment only for pass uut选项.(4) CHROMA 8000中6334组合平台配有4台电子负载,其Front panel 的CHANNEL有8个,同时测试两pcs产品时,为何其指示灯为CHANNEL 7?Channel 1---8如何划分?(5)8000中电子负载的档位有两种:6A/60A ,16V/80V.其系统设定为60A,80V MAX.但有时测试输出为24VDC产品时,其电子负载会显示OVP警示.好象是电子负载档位发生跳变造成.(6) 在Total Regulation Test 中,有时会出现输出电压不稳定现象.通过调节Delay time(1500ms) 与Delay time after turn on(2500ms) 后正常.但其是否可随意调整?调整“幅度”如何掌握?是UUT本身电气特性造成的吗?(7) Total regulation with noise test 与noise test在测量noise时差别较大,是由其在前者条件下涟波造成的吗?(8) 在OLP测试中,有时偶尔会出现由于Recovery Time Out(如3500ms)过短而造成OLP NOT WORKING,通过延长时间后OK.是否随意调整?(9) 最头疼的问题了,6011在测试noise过程中发生报警现象,大概意思是测试完成前,时间已超出设定值.且读取的杂讯数值大多为0.(10)在进行效率测试时,一次性同时测试3PCS产品,但PA通道只有1个,这样做的话其读取的数值是否准确?能否通过 LOAD VECTOR来设定如:LOAD1(100%LOAD,0%LOAD,0%LOAD);LOAD2(0%LOAD,100%LOAD,0%LOAD);LOAD3(0%LOAD,0% LOAD,100%LOAD)来进行改善呢?(11)用CHROMA 19053 进行耐压测试时,其显示为“UUUUUU”符号,不知是何意思?耐压测试时,一次测试时NG,再次测试时OK,折开产品分析后无任何异常.不知是何原由? 注:测试参数为:AC 3KV,10毫安,电弧10毫安.4 Chroma8000使用中的问题回答1:多�w�a品用MultiUUT�@���y���蟾娌趴梢苑蛛x,你�@�N�y��方式�y��效率�r����切�Q了AC,�y��哪一台,AC�为�供��,使用PA�y����入���颠@�硬趴梢缘玫��蚀_的效率值.如果多台同�r�y����是需要3台功率表,Power Meter就很好.2:不支持中文.3:提取�蟾婵梢赃x�袼�有的,pass的或�tfail的.4:指示�糁甘镜氖亲钺嵋淮��呙杌蛟O置的通道,一般最後落到底七通道.一��模�K����������通道,如果一��模�K�b有一路如63303就�b有一��通道,如�子�3,4通道,其channel��3.�子�7,8通道其channel��7.5:�z查以下�����n位是否正�_,�_��有�O置到���焊��n位.6:Delay�r�g就是�a品的��定�r�g,�@些量�b有在�a品��定後�y��才有意�x.其由�a品�Q定,��定�r�g短就可以�m���p小此Delay�r�g.7:同上.8:Recover time OUT����是�a品在OLP保�o後�]有自�踊���,可以看看你的恢���l件,如是需要重新送AC或�t打PS_ON等等,��有Timeout�r�g必��大於�a品的恢���r�g.9:可能是�x器���},需要看到�F象才比�^好�_�J,可以考�]��系售後服��.10:切�Q��入端,先�y第一台,再�y第二台......11:最後一�����}我就�o能�榱α�,但���δ阌兴��椭�.5 关于安规方面的(CHROMA 19053&19073) 的提问,暂无回答(1) 漏电流下限值如何设定?(LOW) 是根据Y电容的容量吗?(2)ARC 值如何设置呢?要根据输入电压值吗?(3)打直流与打交流有何区别?它们可以通过 (直流电压 =交流电压*1.414)来换算吗?可以随意替代吗?(4)在进行耐压测试过程中,为什么其电压数值跳变较大呢?如设定为3KVAC,测试中显示值约为2.95KV左右或3.05KV左右.(5)HI-POT 与IR 的区别是什么呢?是不是HI-POT 通过,则IR就一定可以能通过呢?当测试IR时,显示示值“UUUUUU”是无穷大的意思吗?(6)耐压测试时,3KVAC,3S 为什么有时第一次测试时不良,第二次测试又可以通过呢?拆开产品后又无异常.(治具上并无问题)(7)19073的8通道怎么利用好呢?怎么使用才最安全呢?因为我们现在还只是用主通道!在治具上可以改善成同时测试4台或8台产品!那怎么利用才最安全呢?(8)耐压测试时,如设定3KVAC,测试时到1.4KVAC时,显示FAIL,是说明该测试产品的耐压就是1.4KVAC吗?(9)耐压测试时,一般在什么情况下需要设定RAMP时间呢?数值大概多少呢?(10) 对于直流高压时,如何点检仪器是否运转正常呢?感谢您的阅读,祝您生活愉快。
adobe content certificate 删除
adobe content certificate 删除
我不清楚您的具体情况,请让我进一步了解。
但是,如果您要删除Adobe内容证书,请按照以下步骤操作:
1. 打开Adobe Acrobat或Adobe Reader应用程序。
2. 单击“编辑”菜单并选择“首选项”选项。
3. 在“安全”选项卡中,单击“更改设置”按钮。
4. 在“安全设置”对话框中,单击“高级”按钮。
5. 在“高级安全设置”对话框中,单击“信任”选项卡。
6. 在“信任”的下拉列表中,选择“内容证书”选项。
7. 选择您要删除的证书并单击“删除”按钮。
8. 点击“是”确认删除操作。
9. 重复步骤7和8,直到您删除所有需要删除的证书。
10. 单击“确定”关闭所有对话框并保存更改。
请注意,删除证书可能会导致某些功能无法正常使用。
如果您不确定操作的影响,请咨询Adobe技术支持。
Mobile应用开发中给自己的应用程序签名
Mobile应用开发中给自己的应用程序签名王永辉Windows Mobile 5开始,Pocket PC和Smartphone上都使用数字签名的方法对应用程序进行验证,减少系统被不明来源的程序危害的可能。
这样就给应用程序开发带来一些不便,如果不进行签名,在运行的时候将出现提示,或者一些驱动无法加载。
Windows Mobile 5 SDK中包含了一个能够安装到移动设备的证书以及对应这个证书的一系列签名,供开发者在调试程序的时候使用。
相关的文件都在?:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Tools这个目录下。
安装了Windows Mobile 5 SDK的用户可以很容易找到这个目录。
具体步骤:1.在设备上安装sdk certificates。
将该目录下的SdkCerts.cab复制到设备,并安装。
2.在开发过程中,设置工程的Authenticode Signing,将程序签名:(1)Project->...Properties或者其他方式(Alt+F7等等)打开工程属性设置页面。
(2)在Configuration Properties中选择Authenticode Signing,设置Authenticode Signature = YES;按下Certificate栏目右边的...,出现"Select Certificate"窗口,如果第一次使用,需要导入证书,按下"manage certificates",然后按下"Import",在Certificate Import Wizard"中,选择pfx类型的文件,Browse到?:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Tools目录,依据权限需求从3个证书种选择一个,然后导入到Personal下,这样退出Wizard后就可以看到刚才导入的证书,直接选择,Close,Certificate栏目就有了证书;Provision Device依据权限选择就可以。
contentprovider 使用实例
一、什么是contentproviderContentProvider是Android中的四大组件之一,用于管理应用程序的私有数据并提供对这些数据的访问权限。
通过ContentProvider,应用程序之间可以共享数据,并且可以实现数据的增删改查等操作。
二、ContentProvider的基本使用1. 创建ContentProvider要创建一个ContentProvider,需要继承自android.content.ContentProvider类,并实现其中的一些方法,包括onCreate(), query(), insert(), update(), delete()等方法。
在AndroidManifest.xml文件中需要注册ContentProvider,声明该Provider所管理的数据的URI。
2. 数据库操作在ContentProvider中,一般会使用SQLite数据库来存储数据。
在实现query(), insert(), update(), delete()等方法时,需要使用SQLiteOpenHelper来创建、打开、关闭数据库,并使用SQLiteDatabase对象进行数据的增删改查操作。
3. ContentResolver的使用在应用程序中,通过ContentResolver来访问ContentProvider提供的数据。
ContentResolver是一个用于访问ContentProvider的核心类,它可以通过ContentProvider所提供的URI来操作相应的数据。
4. 权限控制在ContentProvider中,可以通过权限控制来限制其他应用程序对数据的访问。
可以在AndroidManifest.xml中声明ContentProvider所需要的权限,并在ContentProvider的实现中对权限进行验证。
三、ContentProvider的使用示例下面以一个简单的学生信息管理系统为例,演示ContentProvider的基本使用。
iPhone、iPad 或 iPod touch升级固件错误代码大全
iPhone、iPad 或iPod touch升级固件和恢复过程中发生未知错误代码大全查询及解决方法问题的表现当您尝试使用iTunes 更新或恢复iPhone、iPad 或iPod touch 时,更新或恢复过程可能会停止,iTunes 中可能会显示警告信息。
设备上还可能会显示“连接iTunes”屏幕tinyumbrella-4.21.11.exe下载地址:/file/t67a788630附:其他故障代码解决方法。
如果您在iPhone、iPad 或iPod 更新程序日志文件中发现ASR 错误1000,则是解压和传输在恢复期间下载的IPSW 文件时发生了错误。
此错误通常是由以下原因导致的:第三方安全软件干扰、导致IPSW 下载不全的低质Internet 连接或USB 总线上存在冲突。
错误18(或-18):当设备上的媒体资料库已损坏且无法修改或更新时会出现此错误。
更新到最新版本的iTunes 然后进行恢复应可解决此问题。
错误-19:此错误的全文为:“iTunes 无法同步到iPhone…[iPhone 名称]‟,因为发生了未知错误(-19)”。
当您尝试将iPhone 3G 更新到最新版本的软件,且iTunes 尝试在同步过程中备份iPhone 时会出现此错误。
要解决此问题,请执行以下操作:从iTunes 的“摘要”标签中取消选中“连接此iPhone 时自动同步”。
推出iPhone。
重新连接iPhone。
选择“更新”。
错误20、21、34、37、40:当安全软件干扰恢复和更新过程时通常会发生这些错误。
如果使用的是PC,请按照此文章中的步骤来解决问题。
错误40 也可能表明存在硬件问题。
错误23、28、29、40、1002、1011、1012、1014、1611:这些错误可能表示您的设备出现硬件问题。
按照本文中的步骤执行操作,同时在连接到已知良好的30 针基座接口电缆、电脑和网络时尝试恢复,以确认该问题是否与设备相关。
高级程序员修炼之道-Android培训系列课程之ContentProvider4
ContentProviderAndroid ContentResolver<!-- --><uses-permission android:name="android.permission.READ_CONTACTS" /><uses-permission android:name="android.permission.WRITE_CONTACTS" /><!-- uri -->content://com.android.contacts/contacts Uricontent://com.android.contacts/data/phones Uricontent://com.android.contacts/data/emails Email Uri<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="/apk/res/android"package="com.ljq.contact" android:versionCode="1"android:versionName="1.0"><application android:icon="@drawable/icon"android:label="@string/app_name"><uses-library android:name="android.test.runner"/><activity android:name=".ContactActivity"android:label="@string/app_name"><intent-filter><action android:name="android.intent.action.MAIN"/><categoryandroid:name="UNCHER"/></intent-filter></activity></application><uses-sdk android:minSdkVersion="7"/><instrumentationandroid:name="android.test.InstrumentationTestRunner"android:targetPackage="com.ljq.contact"android:label="Tests for My App"/><!-- --><uses-permission android:name="android.permission.READ_CONTACTS"/><uses-permission android:name="android.permission.WRITE_CONTACTS"/></manifest>package com.ljq.contact;import java.util.ArrayList;import android.content.ContentProviderOperation;import android.content.ContentProviderResult;import android.content.ContentResolver;import android.content.ContentUris;import android.content.ContentValues;import android.database.Cursor;import .Uri;import android.provider.ContactsContract;import android.provider.ContactsContract.Data;import android.provider.ContactsContract.RawContacts;import monDataKinds.Email;import monDataKinds.Phone;import monDataKinds.StructuredName;import android.test.AndroidTestCase;import android.util.Log;public class ContactTest extends AndroidTestCase{private static final String TAG = "ContactTest";/****/public void testGetContact(){ContentResolver contentResolver = this.getContext().getContentResolver();Uri uri = Uri.parse("content://com.android.contacts/contacts");Cursor cursor = contentResolver.query(uri, null, null, null, null);while(cursor.moveToNext()){//StringBuilder sb = new StringBuilder();String contactId =cursor.getString(cursor.getColumnIndex(ContactsContract.Contacts._ID));String name =cursor.getString(cursor.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME));sb.append("contactId=").append(contactId).append(",name=").append(name);//Cursor phones =contentResolver.query(monDataKinds.Phone.CONTENT_URI,null,monDataKinds.Phone.CONTACT_ID +" = "+ contactId,null, null);while(phones.moveToNext()){String phone = phones.getString(phones.getColumnIndex("data1"));sb.append(",phone=").append(phone);}// emailCursor emails =contentResolver.query(monDataKinds.Email.CONTENT_URI,null,C monDataKinds.Email.CONTACT_ID + " = " + contactId,null, null);while(emails.moveToNext()){String email = emails.getString(emails.getColumnIndex("data1"));sb.append(",email=").append(email);}Log.i(TAG, sb.toString());}}/*** RawContacts.CONTENT_URI rawContactId** data*/public void testInsert(){ContentValues values = new ContentValues();// RawContacts.CONTENT_URI rawContactIdUri rawContactUri =this.getContext().getContentResolver().insert(RawContacts.CONTENT_URI, values);long rawContactId = ContentUris.parseId(rawContactUri);// datavalues.clear();values.put(Data.RAW_CONTACT_ID, rawContactId);values.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);values.put(StructuredName.GIVEN_NAME, "zhangsan");this.getContext().getContentResolver().insert(android.provider.ContactsContract.Data.CONTENT_URI, values);// datavalues.clear();values.put(android.provider.ContactsContract.Contacts.Data.RAW_CONTACT_ID, rawContactId);values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);values.put(Phone.NUMBER, "5554");values.put(Phone.TYPE, Phone.TYPE_MOBILE);this.getContext().getContentResolver().insert(android.provider.ContactsContract.Data.CONTENT_URI, values);// data Emailvalues.clear();values.put(android.provider.ContactsContract.Contacts.Data.RAW_CONTACT_ID, rawContactId);values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE);values.put(Email.DATA, "ljq218@");values.put(Email.TYPE, Email.TYPE_WORK);this.getContext().getContentResolver().insert(android.provider.ContactsContract.Data.CONTENT_URI, values);}/****/public void testSave() throws Throwable{// reference\android\provider\ContactsContract.RawContacts.htmlArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>();int rawContactInsertIndex = 0;ops.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI).withValue(RawContacts.ACCOUNT_TYPE, null).withValue(RawContacts.ACCOUNT_NAME, null).build());// reference\android\provider\ContactsContract.Data.htmlops.add(ContentProviderOperation.newInsert(android.provider.ContactsContract.Data.CONTENT_U RI).withValueBackReference(Data.RAW_CONTACT_ID, rawContactInsertIndex).withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE).withValue(StructuredName.GIVEN_NAME, "lisi").build());ops.add(ContentProviderOperation.newInsert(android.provider.ContactsContract.Data.CONTENT_U RI).withValueBackReference(Data.RAW_CONTACT_ID, rawContactInsertIndex).withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE).withValue(Phone.NUMBER, "5556").withValue(Phone.TYPE, Phone.TYPE_MOBILE).withValue(BEL, "").build());ops.add(ContentProviderOperation.newInsert(android.provider.ContactsContract.Data.CONTENT_U RI).withValueBackReference(Data.RAW_CONTACT_ID, rawContactInsertIndex).withValue(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE).withValue(Email.DATA, "lisi@").withValue(Email.TYPE, Email.TYPE_WORK).build());ContentProviderResult[] results = this.getContext().getContentResolver().applyBatch(ContactsContract.AUTHORITY,ops);for (ContentProviderResult result : results) {Log.i(TAG, result.uri.toString());}}}。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
ContentProvider的使用
知识解析
ContentProvider
什么是Content provider?它是Android应用程序的四大组成部分之一,是Android中的跨应用访问数据机制。
为何需要content provider? Android中每一个app的资源是私有的,其他app不可访问它的数据,但可以通过content
provider和其他app共享私有数据。
ContentProvider通过URI来向其他的app提供访问路径。
URI的组成如下图所示。
A:标准前缀,用来说明一个Content
Provider控制这些数据,对于自定义ContentProvider来说,就是“content:/ /”,我们无法改变;
B:URI的标识,它定义了是哪个Content
Provider提供这些数据。
对于第三方应用程序,为了保证URI标识的唯一性,它必须是一个完整的、小写的包名+类名。
这个标识在<provider> 元素的authorities属性中说明:
<provider name=”.TransportationProvider”
authorities=”com.example.myproject.transportationprovi
der” . . . >
C:路径,Content
Provider使用这些路径来确定当前需要的是什么类型的数据,URI中可能不包括路径,也可能包括多层;通常这里对应的是某个表或者视图的名字
D:如果URI中包含,表示需要获取的记录的ID;如果没有ID,就表示返回全部;
由于URI通常比较长,而且有时候容易出错,且难以理解。
所以,对于Android 的内置App如通讯录等,定义了一些辅助类,并且定义了一些常量来代替这些长字符串,例如:ContactsContract.Contacts.CONTENT_URI
ContentResolver
ContentProvider可将Content分享至不同的应用程序之中,而ContentRes olver则是一个标准的方式来取得ContentProvider所提供的数据,也是用来修改数据的方法,但若牵涉到写入或修改数据的话,则要看目标的ContentProvi der是否允许用户对数据做存取的操作,若无此权限,则ContentResolver方法会失败。
ContentProvider通常会使用URI的方式来当作分享数据的依据,故在ContentR esolver要读取某一ContentProvider数据时则必须将要读取的URI当成参数来使用。
ContentResolver使用query()来对指定URI的ContentProvider进行查询,它的参数包括下表中列出的各项。
和SQLiteDatabase的query()基本类似,除了这里提供的是一个uri而不是表名。
它也包括对数据进行其他增、删、改的操作方法,如下表。
可以通过Context上的getContentResolver()来获得一个ContentResolver 对象。
Android自带的应用例如通讯录,也通过ContentProvider向外提供了数据访问接口,我们可以通过ContentREsolver访问它。
下面我们看一下和通讯录相关的ContentProvider信息:
联系人信息URI: ContactsContract.Contacts.CONTENT_URI
电话信息:
monDataKinds.Phone.CONTENT_URI:其中,ContactsC monDataKinds.Phone.CONTACT_ID是ContactsContract.Contacts. _ID的外键
邮件信息: monDataKinds.Email
聊天工具信息: monDataKinds.Im
网站: monDataKinds.Website
职业素质
ContentProvider:为存储和获取数据提供统一的接口。
可以在不同的应用程序之间共享数据。
Android已经为常见的一些数据提供了默认的ContentPr ovider。