如何开发可以被所有其他应用程序所使用的Andr​​oid应用程序? [英] How to develop android application that can be used by all other application?

查看:86
本文介绍了如何开发可以被所有其他应用程序所使用的Andr​​oid应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以开发必须由所有其他应用程序所使用的Andr​​oid应用程序...

Can i develop an android application that must be used by all other application...

例如:
            我开发的应用程序更改字体样式...这个程序应该由如SMS sending.whenever我开型手机短信等应用程序中使用,我可以改变字体样式
使用我的字体风格的应用程序...

For Example : I develop app for changing font style...this app should be used by other application like sms sending.whenever i open and type sms, i can change font style by using my font style app...

这可能吗?

推荐答案

这取决于你真正想做的事,和其他应用程序是否不支持它。

It depends on what you actually want to do, and whether or not the other apps support it.

您更改字体全系统的例子是不可能的。任何应用程序可以定义哪些字体使用,并且你不能覆盖。强制应用程序使用不同的字体可能会降低该应用的用户体验,让我pretty高兴与此限制。

Your example of changing the fonts system-wide is not possible. Any application can define what fonts to use, and you cannot override that. Forcing an application to use a different font could degrade that app's user experience, so I am pretty happy with this limitation.

这听起来像你希望能够覆盖或控制其他应用程序(无论是他们的行为或他们的UI)。一般地,这是不可能的,除非其他应用程序的开发是为了明确地允许本

It sounds like you want to be able to override or control other applications (either their behavior or their UI). In general this is not possible unless the other application was developed to explicitly allow this.

但是,您可以连接到在其他方面的应用。举几个例子:

You can however hook into apps in other ways. A few examples:


  • 您的应用程序可以使用 的AccountManager 以及相关的类提供了全系统的帐户,其他应用程序可以使用。

  • 您的应用程序可以允许其他应用程序启动意图与你的应用程序进行通信

  • 您的应用程序可以注册意图过滤器处理某些行动,例如用户试图打开一个特定的文件类型,打开一个URL,或发送短信。

  • 应用程序,如 DashClock 允许其他开发人员创建插件应用程序提供新的功能

  • Your application can use the AccountManager and associated classes to provide a system-wide account that other applications can use.
  • Your application can allow other applications to launch Intents to communicate with your application
  • Your application can register intent filters to handle certain actions such as the user trying to open a specific file type, opening a URL, or sending a text message.
  • Apps such as DashClock allow other developers to create plugin applications to provide new functionality

这篇关于如何开发可以被所有其他应用程序所使用的Andr​​oid应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆