Bluetooth connection with Nokia e63 in java? - mobile

I want to connect with my nokia e63 mobile using bluetooth or usb with pc but that using java application.
I want to know about how to do that ? And
my question are like :
Can I connect with using java application and if yes then how ?
I mainly want to get the calling information. I want to save the calling information like whose called on which time in database but for that i need the number whose calling ? Is this possible with using java application ?
And any references will very much helpful.
Thank You...

I developed an Bluetooth Java Applicaton 1 year ago and I 've used the Java Docs pretty much which are really helpful !
http://developers.sun.com/mobility/midp/articles/bluetooth2/ , http://developers.sun.com/mobility/apis/articles/bluetoothcore/
I don't know how to access call informations but connecting is not that difficult.

Related

Azure Kinect: how to find the windows device id

I have been developing a Win application that uses 3 Azure Kinects. Since there is no C# wrapper available yet, I made a C++ app that does what I need and the C# app just grabs its output files.
I now need to figure out which camera is which. In the C# app I can get the windows device id in a form similar to
\\.\USB#VID_045E&PID_097C#001007692912#{A5DCBF10-6530-11D2-901F-00C04FB951ED}
However the C API for the Kinect only provides ways to get the serial number of the device.
I tried to dig into the API, since I'm sure it must be somewhere in the code but, due to my limited C skills, I got lost pretty quickly.
Anybody with the same issue or can help?
Thanks,
Guido
The SDK is designed to use serial number specifically to determine which device or devices you are connected to. If you are just trying to use 2 Kinects with 2 instances of your C# then you will need to open devices until you find the serial number you are looking for. If you are trying to use multiple devices in a master/subordinate configuration then you can query for jack state to determine if you have connected to one or the other.
Also please be aware that we just released our own C# wrapper for the SDK. Checkout https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/608 and https://microsoft.github.io/Azure-Kinect-Sensor-SDK/master/namespace_microsoft_1_1_azure_1_1_kinect_1_1_sensor.html for more details.

access to phone's settings : codeName one

I would like to know if it's possible to access my phone settings using CodeNameOne. For example, if I want to get my EMEI( International Mobile Equiment Identity) or the serial number of my phone, is there a way to get it using codeNameOne?
If yes how ? if not, what alternative can I use?
thanks
We have Display.getMsisdn() & Display.getUdid() but those only work on Android and produce scary looking permission prompts.
Since this is Android specific it would make sense to code EMEI & similar calls with a native interface anyway.

Fingerprint scanner in codename one

Question: 1
I want to use fingerprint scanner in codename one. Can anybody tell me is it available in codename one or not? If yes, how to use and if no, then how can I code it in codename one ?
Question: 2
How to get the maximum device info in codename one like android version, mobile model, or other stuff ?
Thanks,
No. Fingerprint scanning isn't available at this time.
You can use native interfaces to integrate native device functionality check out this quick video and the advanced section in the developer guide.
Device information is available in Display.getProperty() as well as some other methods in that class. Notice that if you get things such as UDID you will get a permission prompt.

WebSocket client in C and win32 for Windows 7

I'm trying to figure out a way to implement a sample WebSocketClient in C using win32 APIs. I need it to communicate with a HTML+JS WebSocket server.
I see that most of the WebSocket specific APIs are supported only Windows 8 and above.
Like in WinHttpWebSocketCompleteUpgrade function
Is my understanding incorrect?
Any guidance, if the approach is feasible, would be of much help.
There is another Windows API for WebSockets called WebSocket Protocol Component API. Microsoft has also provided a sample code on Github which is a good starting point.

Proprietary USB device access via browser... possible? Silverlight maybe? (Java is excluded for now)

Probably there are a lot of similar questions around, but since I know only few solutions to this which I am not sure will work for us, I am looking for something else, maybe new technologies...
What we have is this USB device which is not so fancy (of course, it requires a driver to be loaded), and it has couple of C++ dlls to help getting certain output from it. On top, we made a C# desktop application which makes use of the device in a more attractive way (plenty of interop inside).
So far so good, but to have the application lifted up to the web in order to gain more flexibility... What options are there?
Known solutions are:
1) ActiveX - kinda old technology and not cross-browser;
2) .Net 'applet' - not so common (is this even a solution?)
3) Java applet - well known, but JVM needed (since we went for C++ C#
maybe is out of scope);
4) Web service on the usb device itself - our device is very
light, we cannot have it there.
Are there other ways? Is Silverlight 4, 5 (maybe "out of browser") a feasable solution? What about these new technologies nowadays? Html 5 or something?
EDIT1: In particular I am interested in Silverlight. Is there a way using Silverlight?
EDIT2: I found this question: Can Silverlight access a .Net library that accesses a USB port? . What shall I understand from that? Is really Silverlight not a feasable solution for my scenario?
EDIT 3: VERY IMPORTANT!
These devices need to be used on customer side! People browsing must use them locally on their PCs!
Thanks in advance.
to have the application lifted up to the web [...]
Simple solution: Let the webserver (http server) run on the PC connected to the USB device, and use one of the webserver's interfaces like CGI to talk to your USB device. This way you need to code only a USB-to-CGI wrapper program, which can be C++ or C#.
Another way is to write a browser plugin.
The issue that you're going to face is that content in a browser is often run in a sandbox, in such a way that the web app does not have access to the computer. There are good reasons for this - security, primarily. One way to have some code running in the context of the computer is to have a browser plugin that can access the computer's hardware resources, but that can interact with browser content. Unfortunately, you may end up writing a different plugin for different browsers.
There do exist frameworks out there that make writing browser plugins more manageable. A simple search should turn up some of those candidates.
You can use Silverlight 5, it can give you access to your file system and USB storage device. If you want to get control for other USB device (printer, scanner, etc), you should give a device type. I know, Silverlight 5 works fine with a file system and web-cams...)

Resources