0

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

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...

Is it possible?

Arunkumar
  • 111
  • 1
  • 13
  • Possible duplicate: http://stackoverflow.com/questions/4085313/how-to-create-your-own-library-for-android-development-to-be-used-in-every-progr – display name Apr 02 '14 at 14:28

1 Answers1

2

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

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.

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:

  • 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
Bryan Herbst
  • 66,602
  • 10
  • 133
  • 120
  • I am going to create a customized clipboard.can i use this clipboard to all applications. – Arunkumar Apr 02 '14 at 14:46
  • There is a [`ClipboardManager`](http://developer.android.com/reference/android/content/ClipboardManager.html) that may suit your needs. – Bryan Herbst Apr 02 '14 at 14:47
  • The [Copy and Paste](http://developer.android.com/guide/topics/text/copy-paste.html) guide in the documentation that I linked to should have plenty to get you started. – Bryan Herbst Apr 02 '14 at 14:53