How to provide the ability to run your own application from the home page of contact information about Android?

I am taking a link to one application from the Android market, and I want the interface to actually be the same, so the actual problem is as follows:

Step 1) We have our own contact list in the Android phone. Please see attached screenshot:

NativePhoneBook

Step2) Now I select a specific contact from this contact list. Lets say that I choose Narendra Kirusa, so we will move on to the next page

On click of a contact Page

On this page, the option “Mobile phone” is by default an Android phone, but after that a second line appears with the Walkie-Talkie option, which is configured by the application developer, when you click on this walkie-talkie it then launches a screenshot of the application by the application:

on click of the walkie talkie

Now it lands on the app. Now the point is where should I make changes, giving this walkie-talkie opportunity to start my own application. like here, they gave Talkie Walkie on the contact information page a similar opportunity that I want to give for their application, and then where should I give this option?

  • We cannot make changes to the OS files, as this is an application.
  • There must be some option in the android-manifest.xml file to give this opportunity to put a new line in order to launch our own application from the Android contact information web page. I tried to find her, but could not understand much.
  • See if there are any intentions to interact with the internal phone call or SMS, so, for example, only to send sms when you click on the phone, we can do this to transfer it to our application, for example, if you click on call Mobile, then we we can provide such parameters as see on a click on a mobile phone

If you click to dial a number, it will go to your own android phone call, and if you click "Send voice SMS messages", it will be used in my application, since they see in the android-manifest.xml file for mail activity, they put this option, I'm not sure if this can be done using a broadcast receiver or what?

So, can you suggest how can I put a new line after a subscription call android Mobile row ..... ??

enter image description here

Finally, how to add this version of Walkie Talkie?

+4
source share
1 answer

I think the same mechanism should be used here as for opening files in different applications.

You can implement a custom BroadcastReceiver that will be registered to receive this type of action (you will need to find out what actions and categories are used)

Read more about this in the docs http://developer.android.com/reference/android/content/Intent.html

0
source

Source: https://habr.com/ru/post/1413696/


All Articles