Like native Android File Manager and Android File Manager
Developed based on the File Manager that comes with Android native. Here is a simple demo, which can be easily implemented based on the existing code, as shown below:
. Remember to save it, but whether it is successfully imported into the simulator, you need to open the simulator to check, so start the simulator and open the ddms view, the SD card already contains the file just imported,
In this way, you can import the file with the Chinese name to the android simulator. I hope this method will be helpful to you.
I uploaded
For example, when you open a text file in the document viewer, a list of software that can be opened is displayed;How can I make my software appear in this list? You can set the androidmanifest. xml file:
The first
Note that you need to change mimetype to the type you need. The text file is of course text/plain.
Ther
Devlik Intermediate Code5. Platform-tools Directory: Development and debugging tools that contain platform dependencies for developing apps. including ADB, fastboot, etc.Including:Adb:android Debugging ToolsFastboot:boot Tools6, platforms/7. System-images Directory: Compiled system image. The simulator can be loaded directly.8. Sources directory: The source directory of the Android SDK9. Samples Directory: SDK Example10. Add-ons directory:11. Docs Di
Summary of some less commonly used XML file attributes in AndroidPreface
Some attributes that may not be frequently used in recent projects are used in XML, which may involve AndroidManifest. xml, Layout file Layout, or specific controls!AndroidManifest. xml
①Add tags in the AndroidManifest. xml file
,Xxx. xxx. xxx is the third-party library package name. If mu
Background introduction:MIME: Full name Multipurpose Internet Mail Extensions, multi-function Internet Message expansion service. It is a Multipurpose Internet Mail Expansion protocol that was first applied to the e-mail system in 1992, but was later applied to the browser. A MIME type is a type of file that sets an extension that is opened by an application, and the browser automatically opens with the specified application when the extension
Android opens a local file, which is actually very common. And now there's a mobile version of Office. It's even easier to see the whole family of office buckets.The first thing to know is that the Android open local file is opened according to the type, that is, based on the MIME type of the
ObjectiveIn recent projects, XML has used some properties that might not normally be used too often, possibly involving androidmanifest.xml, layout layouts, or to specific controls!Androidmanifest.xml① Add a tag in the Androidmanifest.xml file,The xxx.xxx.xxx is a third-party library package name, and if there are multiple libraries, separate them with commas. This is done so that the minimum version limit can be ignored for androidmanifest.xml in the
Android and IOS side is that1. Advantages:Android: Provides a rich interface that is sufficient for good user interactioniOS: Simple to call, there are roughly three implementations of the method, the simplest is to use UIWebView direct display2. Disadvantages:Android: Call trouble, Google related services can not be invoked, forcing Android to use a third-party library to load (or write your own ...) ), a
load the entire interface when it is initialized, through the viewstub can be used in the time of loading. Improved program performance.Load Code on Demand:((viewstub) Findviewbyid (R.id.stub_import)). Setvisibility (view.visible);Or:View Importpanel = ((viewstub) Findviewbyid (R.id.stub_import)). Inflate ();Before I saw many friends on the Internet, said to set the view visibility to gone. The view is also not loaded into memory. In fact, this statement is wrong. From the
Information chat, file transmission, voice call, used for LAN mobile communication tools, similar to the Flying Pigeon book. I found it online. After downloading it, I modified it.Code, Can be compiled, run! Complete comments are provided!Note: The mobile phone is connected to the LAN through WiFi (it fails to be uploaded many times, so you have to use the network disk)After a network engineer, the following knowledge points of the software design are
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.