How to add a hyperlink in an HTML5 application, so I can call a specific number with 3cx application for iPhone?
Try this it should work
Phone Call
Actually html link is same for all calls, how You call to it is depends on phone settings.
Related
I'm creating an app using libgdx.
In the contact page I would like, as for the email
(
Gdx.net.openURI("mailto:cippa#lippa.com");
), give the chance to made a phone call by clicking on the phone number.
Is this possible using libgdx?
Or I have to do this twice, using first Android and then iOS?
(Like in this question:
How to make a phone call programmatically?)
EDIT
How is possible to make a phone call programmatically in JAVA for iOS?
Because for Android is clear, simple and done, but for iOS, without using Objective-C?
As for the edited question (IOs phone call in Java), I haven't tested this code, but I think it should work:
UIApplication.getSharedApplication().openURL(new NSURL("telprompt://" + number));
do anybody know about how to read a SMS in iOS with Xamarin iOS ? and then I want to pass a string from that SMS to the application via link. For example when user click the link in the SMS it will pass a string value to the application and in the application a method is waiting to trigger that.
It's impossible to read incoming or storing SMS's due to iOS security restriction.
Although you can't directly intercept SMS messages, you can create a custom URL scheme so that if a user clicks a link in your message it will launch your app.
If Jason's answer of using a link to the app, there is an alternative. In my case a web service is sending down a code (two stage auth). When I know its going to be coming, I prompt the user to looks for it, and when it comes long press the message bubble, and copy the whole message to the pasteboard.
When the user switches back to my app, I've set a flag to look at the pasteboard, I see the message, extract out the code, and if it "works" the user can continue without further interruption.
Not as elegant as Jason's answer, but if you cannot control the sms content, its an option.
It is possible from iOS 12
textField.textContentType = .oneTimeCode
Please check this doc
I want to record the phone call programmatically.
I have get the help from this Link
but this code will save the multiple audio files.
You cannot record phone calls in blackberry. There is no api to do this. You can probably record if the call is put into loudspeaker as its given in the link provided by you.
Is it possible to make a call from my app without accessing the standart phone application?
The problem is that if I make a call, my app goes to the background, and I really do not need that. I need it to be always active even if I am calling.
No there is no way to do that, you can only make calls via de tel URL sheme.
You can use tel://123456789, but this will display a confirmation before opening the phone app.
There are a few apps, however, that open the phone app and make a call directly without displaying a confirmation (like Dialvetica).
To answer your question, no, you can not make calls directly from your app, unless you create your own version of Skype (the whole network, not just the app), and you probably don't have the time, money and resources to do that.
I'm trying to programmatically reject a call on a BlackBerry, with Java + JDE.
I'm intercepting the callIncoming event, and in there I need to do something to reject a call from a specific number.
Does anyone know how to do that?
I couldn't find an API for directly rejecting the call in progress. However, you could explore a hack where you inject a keypress of the Hangup/Disconnect button (see EventInjector).
As to determining the phone number, you could use Phone.getCall(callId).getDisplayPhoneNumber() or Phone.getActiveCall().getDisplayPhoneNumber().
There is no other way than the EventInjector. The "security" layout of the BlackBerry API does not allow to hang up / reject a call. We tried to find a solution for this issue for 2 years.
Using the incoming call listener, and notification APIs you can reject a call programmatically.
There is a topic discussing it on the blackberry developer forums, you can find it here
try this
How to disconnect a call in blackberry