- 浏览: 12413 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
hcq2659888:
没有完整的布局文件啊楼主
android自己写的类似刻度尺的东西。 -
hcq2659888:
楼主,能不能把刻度尺的工程源码给我下啊,谢谢了!1560897 ...
android自己写的类似刻度尺的东西。 -
tuomasi8588:
求源码
android中监听来电并生成悬浮窗口提示
String | ACTION_AIRPLANE_MODE_CHANGED |
Broadcast Action: The user has switched the phone into or out of Airplane Mode. |
String | ACTION_ALL_APPS | Activity Action: List all available applications
Input: Nothing. |
String | ACTION_ANSWER | Activity Action: Handle an incoming phone call. |
String | ACTION_APP_ERROR |
Activity Action: The user pressed the "Report" button in the crash/ANR dialog. |
String | ACTION_ATTACH_DATA |
Used to indicate that some piece of data should be attached to some other place. |
String | ACTION_BATTERY_CHANGED |
Broadcast Action: This is a sticky broadcast containing the charging state, level, and other information about the battery. |
String | ACTION_BATTERY_LOW |
Broadcast Action: Indicates low battery condition on the device. |
String | ACTION_BATTERY_OKAY |
Broadcast Action: Indicates the battery is now okay after being low. |
String | ACTION_BOOT_COMPLETED |
Broadcast Action: This is broadcast once, after the system has finished booting. |
String | ACTION_BUG_REPORT | Activity Action: Show activity for reporting a bug. |
String | ACTION_CALL |
Activity Action: Perform a call to someone specified by the data. |
String | ACTION_CALL_BUTTON |
Activity Action: The user pressed the "call" button to go to the dialer or other appropriate UI for placing a call. |
String | ACTION_CAMERA_BUTTON | Broadcast Action: The "Camera Button" was pressed. |
String | ACTION_CHOOSER |
Activity Action: Display an activity chooser, allowing the user to pick what they want to before proceeding. |
String | ACTION_CLOSE_SYSTEM_DIALOGS |
Broadcast Action: This is broadcast when a user action should request a temporary system dialog to dismiss. |
String | ACTION_CONFIGURATION_CHANGED |
Broadcast Action: The current device (orientation, locale, etc) has changed. |
String | ACTION_CREATE_SHORTCUT | Activity Action: Creates a shortcut. |
String | ACTION_DATE_CHANGED | Broadcast Action: The date has changed. |
String | ACTION_DEFAULT |
A synonym for performed on a piece of data. |
String | ACTION_DELETE | Activity Action: Delete the given data from its container. |
String | ACTION_DEVICE_STORAGE_LOW |
Broadcast Action: A sticky broadcast that indicates low memory condition on the device This is a protected intent that can only be sent by the system. |
String | ACTION_DEVICE_STORAGE_OK |
Broadcast Action: Indicates low memory condition on the device no longer exists This is a protected intent that can only be sent by the system. |
String | ACTION_DIAL | Activity Action: Dial a number as specified by the data. |
String | ACTION_DOCK_EVENT |
Broadcast Action: A sticky broadcast for changes in the physical docking state of the device. |
String | ACTION_EDIT | Activity Action: Provide explicit editable access to the given data. |
String | ACTION_EXTERNAL_APPLICATIONS_AVAILABLE |
Broadcast Action: Resources for a set of packages (which were previously unavailable) are currently available since the media on which they exist is available. |
String | ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE |
Broadcast Action: Resources for a set of packages are currently unavailable since the media on which they exist is unavailable. |
String | ACTION_FACTORY_TEST | Activity Action: Main entry point for factory tests. |
String | ACTION_GET_CONTENT |
Activity Action: Allow the user to select a particular kind of data and return it. |
String | ACTION_GTALK_SERVICE_CONNECTED | Broadcast Action: An GTalk connection has been established. |
String | ACTION_GTALK_SERVICE_DISCONNECTED | Broadcast Action: An GTalk connection has been disconnected. |
String | ACTION_HEADSET_PLUG | Broadcast Action: Wired Headset plugged in or unplugged. |
String | ACTION_INPUT_METHOD_CHANGED | Broadcast Action: An input method has been changed. |
String | ACTION_INSERT | Activity Action: Insert an empty item into the given container. |
String | ACTION_INSERT_OR_EDIT |
Activity Action: Pick an existing item, or insert a new item, and then edit it. |
String | ACTION_INSTALL_PACKAGE | Activity Action: Launch application installer. |
String | ACTION_LOCALE_CHANGED | Broadcast Action: The current device's locale has changed. |
String | ACTION_MAIN |
Activity Action: Start as a main entry point, does not expect to receive data. |
String | ACTION_MANAGE_NETWORK_USAGE |
Activity Action: Show settings for managing network data usage of a specific application. |
String | ACTION_MANAGE_PACKAGE_STORAGE |
Broadcast Action: Indicates low memory condition notification acknowledged by user and package management should be started. |
String | ACTION_MEDIA_BAD_REMOVAL |
Broadcast Action: External media was removed from SD card slot, but mount point was not unmounted. |
String | ACTION_MEDIA_BUTTON | Broadcast Action: The "Media Button" was pressed. |
String | ACTION_MEDIA_CHECKING |
Broadcast Action: External media is present, and being disk-checked The path to the mount point for the checking media is contained in the Intent.mData field. |
String | ACTION_MEDIA_EJECT |
Broadcast Action: User has expressed the desire to remove the external storage media. |
String | ACTION_MEDIA_MOUNTED |
Broadcast Action: External media is present and mounted at its mount point. |
String | ACTION_MEDIA_NOFS |
Broadcast Action: External media is present, but is using an incompatible fs (or is blank) The path to the mount point for the checking media is contained in the Intent.mData field. |
String | ACTION_MEDIA_REMOVED | Broadcast Action: External media has been removed. |
String | ACTION_MEDIA_SCANNER_FINISHED | Broadcast Action: The media scanner has finished scanning a directory. |
String | ACTION_MEDIA_SCANNER_SCAN_FILE |
Broadcast Action: Request the media scanner to scan a file and add it to the media database. |
String | ACTION_MEDIA_SCANNER_STARTED | Broadcast Action: The media scanner has started scanning a directory. |
String | ACTION_MEDIA_SHARED |
Broadcast Action: External media is unmounted because it is being shared via USB mass storage. |
String | ACTION_MEDIA_UNMOUNTABLE | Broadcast Action: External media is present but cannot be mounted. |
String | ACTION_MEDIA_UNMOUNTED |
Broadcast Action: External media is present, but not mounted at its mount point. |
String | ACTION_MY_PACKAGE_REPLACED |
Broadcast Action: A new version of your application has been installed over an existing one. |
String | ACTION_NEW_OUTGOING_CALL | Broadcast Action: An outgoing call is about to be placed. |
String | ACTION_PACKAGE_ADDED | Broadcast Action: A new application package has been installed on the device. |
String | ACTION_PACKAGE_CHANGED | Broadcast Action: An existing application package has been changed (e.g. |
String | ACTION_PACKAGE_DATA_CLEARED | Broadcast Action: The user has cleared the data of a package. |
String | ACTION_PACKAGE_FIRST_LAUNCH |
Broadcast Action: Sent to the installer package of an application when that application is first launched (that is the first time it is moved out of the stopped state). |
String | ACTION_PACKAGE_FULLY_REMOVED |
Broadcast Action: An existing application package has been completely removed from the device. |
String | ACTION_PACKAGE_INSTALL | This constant is deprecated. This constant has never been used. |
String | ACTION_PACKAGE_NEEDS_VERIFICATION |
Broadcast Action: Sent to the system package verifier when a package needs to be verified. |
String | ACTION_PACKAGE_REMOVED |
Broadcast Action: An existing application package has been removed from the device. |
String | ACTION_PACKAGE_REPLACED |
Broadcast Action: A new version of an application package has been installed, replacing an existing version that was previously installed. |
String | ACTION_PACKAGE_RESTARTED |
Broadcast Action: The user has restarted a package, and all of its processes have been killed. |
String | ACTION_PASTE |
Activity Action: Create a new item in the given container, initializing it from the current contents of the clipboard. |
String | ACTION_PICK | Activity Action: Pick an item from the data, returning what was selected. |
String | ACTION_PICK_ACTIVITY | Activity Action: Pick an activity given an intent, returning the class selected. |
String | ACTION_POWER_CONNECTED | Broadcast Action: External power has been connected to the device. |
String | ACTION_POWER_DISCONNECTED | Broadcast Action: External power has been removed from the device. |
String | ACTION_POWER_USAGE_SUMMARY | Activity Action: Show power usage information to the user. |
String | ACTION_PROVIDER_CHANGED |
Broadcast Action: Some content providers have parts of their namespace where they publish new events or items that the user may be especially interested in. |
String | ACTION_REBOOT | Broadcast Action: Have the device reboot. |
String | ACTION_RUN | Activity Action: Run the data, whatever that means. |
String | ACTION_SCREEN_OFF | Broadcast Action: Sent after the screen turns off. |
String | ACTION_SCREEN_ON | Broadcast Action: Sent after the screen turns on. |
String | ACTION_SEARCH | Activity Action: Perform a search. |
String | ACTION_SEARCH_LONG_PRESS | Activity Action: Start action associated with long pressing on the search key. |
String | ACTION_SEND | Activity Action: Deliver some data to someone else. |
String | ACTION_SENDTO | Activity Action: Send a message to someone specified by the data. |
String | ACTION_SEND_MULTIPLE | Activity Action: Deliver multiple data to someone else. |
String | ACTION_SET_WALLPAPER | Activity Action: Show settings for choosing wallpaper
Input: Nothing. |
String | ACTION_SHUTDOWN | Broadcast Action: Device is shutting down. |
String | ACTION_SYNC | Activity Action: Perform a data synchronization. |
String | ACTION_SYSTEM_TUTORIAL | Activity Action: Start the platform-defined tutorial
Input: |
String | ACTION_TIMEZONE_CHANGED | Broadcast Action: The timezone has changed. |
String | ACTION_TIME_CHANGED | Broadcast Action: The time was set. |
String | ACTION_TIME_TICK | Broadcast Action: The current time has changed. |
String | ACTION_UID_REMOVED | Broadcast Action: A user ID has been removed from the system. |
String | ACTION_UMS_CONNECTED | This constant is deprecated. replaced by android.os.storage.StorageEventListener |
String | ACTION_UMS_DISCONNECTED | This constant is deprecated. replaced by android.os.storage.StorageEventListener |
String | ACTION_UNINSTALL_PACKAGE | Activity Action: Launch application uninstaller. |
String | ACTION_USER_PRESENT |
Broadcast Action: Sent when the user is present after device wakes up (e.g when the keyguard is gone). |
String | ACTION_VIEW | Activity Action: Display the data to the user. |
String | ACTION_VOICE_COMMAND | Activity Action: Start Voice Command. |
String | ACTION_WALLPAPER_CHANGED | Broadcast Action: The current system wallpaper has changed. |
String | ACTION_WEB_SEARCH | Activity Action: Perform a web search. |
发表评论
-
【转】免费的Android UI库及组件推荐
2011-12-09 18:22 1335短短数年时间Android平台就已经形成了一个庞大而活跃的开发 ... -
android中监听来电并生成悬浮窗口提示
2011-12-07 16:08 3095最近因为项目的原因需要实现一个来电监听,且生成一个悬浮窗口提示 ... -
android permission 访问权限大全
2011-12-06 09:56 887Android permission 访问权限大全 ... -
使用系统样式的自定义图片加文字的Toast
2011-08-29 09:19 929使用系统样式的自定义图片加文字的Toast。废话不多说,直接上 ... -
android自己写的类似刻度尺的东西。
2011-08-24 09:43 3381刚学android不久,因为公司项目要求,写了个类似刻度尺的东 ...
相关推荐
3. 注册IntentFilter:为IntentFilter添加对应的ACTION,如"android.intent.action.TIME_TICK"、"android.intent.action.SCREEN_ON"和"android.intent.action.BATTERY_CHANGED"。 4. 不再需要时,记得在合适的位置...
Intent在Android中则是一个包含意图信息的对象,它用于启动活动(Activity)、服务(Service)或者传递数据。Intent有两种主要类型:显式Intent和隐式Intent。显式Intent明确了要启动的目标组件,通过组件的类名进行...
- 在AndroidManifest.xml中,为Activity或BroadcastReceiver添加过滤器,定义能响应的Action、Data和Category。 - 示例: ```xml <activity android:name=".MyActivity"> <intent-filter> <action android:...
在Android开发中,Intent是一种非常重要的组件,它用于在应用程序的不同组件之间传递消息,实现活动(Activity)、服务(Service)、广播接收器(Broadcast Receiver)以及内容提供者(Content Provider)之间的交互...
Intent不仅可以启动活动(Activity)、服务(Service),还能广播(Broadcast)消息。在这个文档中,我们主要关注Intent与ACTION相关的使用场景。 1. **从Google搜索内容** 使用`ACTION_WEB_SEARCH`可以启动系统...
在Android应用开发中,Intent是连接各个组件的重要桥梁,它用于启动Activity、Service,传递数据以及触发Broadcast Receiver。本文将深入解析Intent的生命周期,并结合源码进行详细讲解。 首先,理解Intent的基本...
本文将详细介绍Android中的Intent Action及其用途。 #### 二、Intent Action详解 1. **ADD_SHORTCUT_ACTION** - **描述**:此Action用于在系统中添加一个快捷方式。 - **Action**:"android.intent.action.ADD_...
本文将深入浅出地介绍如何定义多个Activity、Intent的数据结构及作用、以及Android中的backstack和Activity的生命周期函数。 首先,定义一个Activity的基本步骤包括创建一个类继承自Activity,重写onCreate方法来...
Action定义了Intent想要执行的操作类型,如启动一个新的活动(Activity)、发送广播(Broadcast)或者启动服务(Service)。`Android Intent Action`是Intent的行动标识,它是Intent的元数据,指示系统或特定组件...
BroadcastReceiver是Android中用于接收Broadcast的组件,它可以监听并响应系统或应用程序发出的各种广播事件。在我们的场景中,Service将作为广播的发送者,Activity作为接收者。 创建BroadcastReceiver通常有两种...
Android Intent 是 Android 组件之间的信使,负责在 Android 三大核心组件(Activity、Service、Broadcast Receiver)之间传递信息。Intent 是一个将要执行的动作的抽象描述,通常作为参数来使用,由 Intent 来协助...
标题"android----intent"暗示了我们将深入探讨Android中的Intent系统。Intent主要有两种类型:显式Intent和隐式Intent。显式Intent通过指定组件的完整类名来直接启动特定的Activity或Service。而隐式Intent则是通过...
Android Intent 是Android应用程序之间通信的重要桥梁,用于启动其他Activity、Service或者Broadcast Receiver。它承载了应用程序执行特定操作的意图和所需的数据。以下是Android Intent的几种常见用法的详细解释: ...
在Android应用开发中,Intent是一种强大的机制,它用于在组件之间传递消息,是应用程序中不同组件(如Activity、Service、BroadcastReceiver)之间交互的核心工具。Intent不仅能够启动其他组件,还可以用于在组件间...
总结来说,Intent是Android系统中组件间交互的关键工具,而Broadcast Receiver则用于监听和响应系统或自定义的广播事件。理解并熟练掌握这两者,对于开发高效、灵活的Android应用至关重要。通过显式和隐式Intent的...
在Android应用开发中,Intent是一种重要的组件间通信(IPC)机制,主要用于启动其他应用程序组件,如Activity、Service等。本文将深入探讨“Android Intent”在页面跳转和数据传递中的应用,结合“Chapter06_Intent_...
- Android系统根据Intent中的Action、Data和Category等信息,通过IntentFilter匹配最合适的组件进行调用。 7. **Intent的生命周期**: - 创建Intent对象,设置属性。 - 使用Intent启动目标组件。 - 目标组件...
Intent是Android系统中至关重要的组件通信工具,它扮演着消息传递者的角色,使得应用程序的不同组件(如Activity、Service、BroadcastReceiver)能够相互通信。Intent不仅可以启动新的Activity,还能启动或绑定...