Small Android app instance-SD card file browser

  Finally: Implement the SD card file browser   Technical analysis: Mainly used controls: ListView How to fill in the ListView control, you need to traverse all the files under the entire SD card. If you traverse a folder, first obtain all the

Android creates folders and files and writes data

  Package elwin. fei. mobileaudio;   Import java. io. BufferedWriter; Import java. io. File; Import java. io. FileWriter; Import java. io. IOException; Import java. text. SimpleDateFormat;   Public class CreateFiles {   String filenameTemp = Info.

Summary of android bucket check

  There were few things in the past few days, so I summarized some of the things I used earlier.   The storage space on the android mobile phone mainly includes the storage space of the mobile phone itself and the storage space of the SD card.

Android system call Intent

  Android enables mp3 player to play music. Intent it = new Intent (Intent. ACTION_VIEW );   Uri uri = Uri. parse ("file: // sdcard/song.mp3 ");   It. setDataAndType (uri, "audio/mp3 "); StartActivity (it ); Uri uri = Uri. withAppendedPath

Android Animation Frame Animation listener end Method

  This problem has not been solved for a long time in Chinese. I tried to search Google in English today. Opening the first webpage solved the long-standing problem.     Problem description: Frame Animation continuous playback-android Frame

Android PopupWindow animation effect

  Some time ago, we engaged in android animation. After using the animation on the page, the effect was quite good, which greatly improved the user experience. However, by chance, to add a display and disappear animation in the popupwindow, I used

Android reads SIM card information

    Package com. zeph. android. sim;     Import java. util. ArrayList; Import java. util. HashMap; Import java. util. Iterator; Import java. util. List; Import java. util. Map;   Import android. app. ListActivity; Import android. OS. Bundle; Import

Obtain the system time in android

  1. SimpleDateFormat formatter = new SimpleDateFormat ("MM dd, yyyy HH: mm: ss "); 2. Date curDate = new Date (System. currentTimeMillis (); // obtain the current time 3. String str = formatter. format (curDate ); 4. import java. text.

Android creates a real-time folder in launcher [Android evolution 33]

I recently read about launcher. In launcher, after selecting the folder option, select "Daming Address Book" and create a real-time folder in the launcher on the main interface to bring up the contact name, then we can process it, click to enter the

Parameter transfer between activities

  This section describes parameter transfer between activities. We know that intent can achieve mutual jump between activities. We also need to pass some parameters while redirecting. The following describes how to pass parameters in an activity,

& Quot; Unable to start activity ComponentInfo & am in Android

The error "Unable to start activity ComponentInfo" or "Unable to instantiate activity ComponentInfo" in Android was recently made in a music player, this error "Unable to start activity ComponentInfo" is reported during the debugging process. It

Android + unity3D for data access (PlayerPrefs)

  Let's take a look at PlayerPrefs APIs,   Let me explain,     SetInt is to save a PlayerPrefs. SetInt ("Player Score", 10 );, GetInt is used to read a PlayerPrefs. GetInt ("Player Score") value. They are a pair and used as an integer for

Android Gesture simple Demo source code

  Today I want to learn about anddroid Gesture. I found some materials online and wrote a Demo myself.   Allows you to manually drag images.   You can drag images from left to right, right to left, top to bottom, and bottom to top.   A simple

One of the important Android components, Service Introduction and Learning (1)

  In Android, asynchronous processing requires important Service and Handler components. Today, let's first learn about the Service components, The method for inter-process communication and bindService () in Android Service is explained next time. 1

Use of the android game development framework libgdx (7)-Development Framework Overview

  The previous articles introduced the usage of some basic classes in the libgdx framework, and also included some of the source code. But if libgdx is used for actual development?   It is not enough to understand several classes. You also need to

Android XML parsing-Pull

Pull parses XML documents; First, create an android project and create a project named person_list and xml in cn. class3g. service: Tom 20 Mary 17 Tom 20 Mary 17 Encapsulate javabean, person:   Package cn. class3g. domain; Public class

Completely solve android API incompatibility issues

  For example, if an API of a higher version is discarded from an API of a lower version, the program will crash if the API of a lower version is used for development. The solution is as follows:   General structure: Assume that the SDK version

Android-Eclipse cannot find the new resource ID

I haven't logged on to ubuntu for a few days. Later, because the customer wanted to add new features, he had to modify the source code of android Mms. However, this time I found a very strange problem. After adding the string and drawable resources,

Customize gallery to avoid the problem that the selected items are always in the middle

Recently, I made a small function to achieve the effect similar to gallery. However, you need to select the first item and do not want to move it to the very beginning to have free space, if you try to use the gallery that comes with android, you

Official explanation of Activity

An Activity is a separate component focused by users. Almost all activities can interact with users. Therefore, you can use setContentView (View) to follow the creation window of an Activity) this function places its own UI in the created window.

Total Pages: 2774 1 .... 2469 2470 2471 2472 2473 .... 2774 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.