Sending RF signals and receiving them back using mobile application - javascript

I am trying to make an app which constantly makes the transmitter of the mobile phone send out RF signals and receive the same signals when they are reflected back and detected by the receiver of the mobile phone.
I tried using my brain and searching on web to see how this is possible but i am not able to find an answer, so is it possible to make such kind of mobile application which can control the transmitter and receiver of mobile phone or even Bluetooth and WiFi because those are also RF signals!
if yes, please guide me briefly or share a tutorial link!

In my experience with iOS there is no device with RF chipset. So for iOS the answer is NO. I checked google too (several searches).
You can see the official specs of iPhone X. Nothing that related to RF.
If you really want to go far, check for external hardware (I hardly believe you’re going to find any)
You also have to be careful and make sure that you won’t breaking the iOS AppStore guidelines or your app will get rejected.
Good luck!

Related

Recovering bluetooth device address

I need to write a code to get the address of the device, CONNECTING to my site
So, for an instance, I visit my website with my phone. On button click, I need to get the Bluetooth address of it.
I've seen some examples showing how to get addresses of nearby devices. That's not what I need.
I don't have time for a proper research now, so if you have examples, please, share them with me.
I'd really appreciate your help.
There is this experimental API, but it’s not enabled by default
https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice
Normally a website can not access such private device information, but apps that a user chooses to install can, such as an app written with ReactNative.

How to interact with iPhone browser without touching it?

So, I am developing this VR website online with JavaScript.
I have a function that instantiates an object in the 3D room, at the given location that the user is "watching".
However, I don't see how I can execute that function when my iPhone is locked away in the VR headset. I have been thinking about volumeup-button on my headset that is connected to it or something, but haven't found anyone that has done that before.
Do you guys have any advice? Could there be a way of connecting a BlueTooth remote to it? Or is it simply impossible?
TLDR; How to execute a function in the browser on your phone, when you can't touch your phone.
It is possible to connect Bluetooth keyboard to iOS devices, as you suggested in your post.
You might also leverage the other sensors in the phone (such as accelerometer, gyroscope, microphone), but I'm not certain if Safari has access to those. You would have more options if you developed a standalone application rather than trying to go through a browser.

Monitor Asterisk Extensions On a Web Page

I've been looking around for a way to monitor asterisk extensions, just like a BLF, using a web page.
I'm building an ASP.NET web app to integrate with the users phones,
and I want 300 users having the extensions field on their web page updating in real time.
I know FOP2 does that pretty neatly.
I'm not expecting anyone to lay down a perfect solution for me,
just a general directaion.
Thank You!
Use AMI to read a list of SIP devices, then use that list to query the device status of each SIP device. Then show the icon status of each SIP device.
Without knowing more of your use-case, that's about as exact as I can get.
https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=4817239
https://wiki.asterisk.org/wiki/display/AST/Device+State

PhoneGap dial function on android Tablet

I make an app...But I found a problem.
I Use telephony hardware for make a call for smartphone..
in my source i use
ng-click="openDial(tel)">
I need to detect SMARTPHONE or TABLET for show or hide DIAL DIV
How can i do it?
You'll have to make some guesses based on userAgent, perhaps on phoneGap's device info API, maybe some other things. It may be possible that there is some native API for figuring out if a dialer app is available .. but considering that it's entirely possible that a tablet could have something registered to dial numbers (at least in Android .. such as Skype or other VOIP dialers), perhaps you should just let it be.

Get a tablets(iPad or Droid) mac address?

Synopsis: I am developing a HTML5 web app that will allow tablets(iPad or Droid) to login to a server and perform various functions. The client would like a way to check the devices mac address when logging in. From what I have read, most solutions use activex objects that will not work for webkit browsers.
Question: Does anyone know a solution that would hook into a HTML5 web app seamlessly(Idealy update a hidden form element with the value upon logging in)?
Thanks!
I don't think there's going to be a straightforward way to do this. The web server won't be exposed to a client's MAC address unless they're on the same physical segment...you'll only see the MAC from the most recent router hop in general.
If anything exists, it's going to be a browser plugin (show-stopper on iOS). And it would probably need more than the default permissions available (I don't suspect you can enumerate network interfaces in Java, for example, without asking for elevated permissions).
If you're looking for HTML/JS only then I don't think that this is possible. It won't be exposed.
The problem is that the packets you recieve back will only contain the MAC address of the node on the last hop.
This may be possible via a plugin, but then this limits you on iOS, and possibly also Android as you'd need to provide them a way of getting the plugin first (unless you used a plugin that was installed by default).
Edit: Not that I support an app for every little thing, but it shows that easy to press app buttons sometimes tend to do better than web apps (regardless of being able to make browser shortcuts to home screens). If it is suitable, you could consider loading this within a web view on the target device from within an app, from which you can then of course access MAC addresses and whatever else you may need.
MobiThinking: Mobile applications: native v Web apps – what are the pros and cons?
Forbes: Mobile Web App vs. Native App? It's Complicated

Categories