dialler interaction

jscoulter

Member
Licensed User
Longtime User
Hi All.
I have an idea for a wee app. that I will prob. just use for myself but what I want to do is have my app. interact with the dialler.
let me explain.
I downloaded a SIP client, CSipSimple I THINK it is called.
When I go to make a call, I can choose between the actual phone, Skype or the SIP client. I want to add my app. to the list so my app. will do what I am trying to achieve.

Anyone got any idea on how to do this?

Thanks, Jeremy
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Edit AndroidManifest.xml that is located under Objects folder.
Add this line:
Change:
B4X:
<intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
To:
B4X:
<intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />

<action android:name="android.intent.action.CALL_BUTTON" />

            </intent-filter>
It should now start your activity when the user presses on the call button.
 
Upvote 0

jscoulter

Member
Licensed User
Longtime User
Thanks for that I will try it. I forgot to "subscribe" to my original post and just remembered I had asked the question...hehehe

Jeremy
 
Upvote 0

myriaddev

Active Member
Licensed User
Longtime User
Manifest file editor example needed

How do you add:

<action android:name="android.intent.action.CALL_BUTTON" />

as above using the Manifest file editor ?

Thanks, Jerry
 
Upvote 0
Top