Answer to android phone calls from PC by bluetooth [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have a PC (where a Java program is running), Bluetooth dongle and Android device (2.3. 6) and want to use PC microphone/headset/speakers to answer a call by Bluetooth. I give another question here, but seems we not understand each other. I not want to speak with PC by connected Android device, I want to answer to incoming calls by PC (use PC as Bluetooth headset or HFP headset or something like that). I find app in play.google.com that implemented such things here.

The simplest way would be to make the computer act as a Bluetooth Handsfree Kit, in fact it's already implemented in most OS with or without additional software.
In that case you don't actually need an android application since you can use the built-in HFP client.
If you want to implement the server yourself using Java then you could look at this :
http://today.java.net/pub/a/today/2004/07/27/bluetooth.html
You would also need to take a look at the Bluetooth Hands-Free Profile (HFP) protocol :
http://www.mcpc-jp.org/news/pdf/CCAP_Guideline_Ver10a.pdf

Related

How can I host a LAN server on an Android device? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I want to know if there is a way to host a LAN server on Android without using a third party library.
I want the solution to work without rooting the device.
I want to know if there is a way to host a LAN server on Android without using a third party library.
It is possible. You have to use Sockets and ServerSockets, Object[Input/Output]Stream(or a different way to send data). Basically design a server.
Here is an SO post on creating a server
Here is the Java documentation on servers
You can use third party libraries to make servers too(see the first link), and sometimes that may be easier.

Do wireless programmable remotes for PC-s exist? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm looking for a programmable remote control for a Windows or Linux host machine. By programmable i mean i have ready to use (preferably Java or .NET) API for receiving key press events from the remote control and being able to write my own custom behavior logic.
Does anybody know if something like that exists and where to obtain one ?
You can find quite a few remotes supporting LIRC/WinLIRC at their site or here.
As for Java API support for LIRC, try here.
Yes, they exist. Just put ssh on your smart phone. You can ssh from your smart phone to the host machine.

Java - Mobile OS with a Java GUI and linux kernel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm working on a OS for smart-phones and its built in Java and I know you can't (without alot of work) run a Java application without a kernel at the back-end, so would it be possible to run the GUI with a very small Linux kernel?
You can get Android source and install the JAVA emulator, then remove all the google/android/unwanted services and poof! Your GUI is on the Android Kernel/OS !
A linux kernel would be a good choice but you're going to need more than just that. You're going to need some sort of X server to display the gui (and drivers for the graphics device on the phone). You're essentially going to have to port the linux kernel and all of the drivers to support the phone hardware, X server / framebuffer, AND chose a Java VM implementation to run.
What you're described is what has taken Android and a team of talented people several YEARS to achieve. If you want to do some low-level device type hacking / Java development maybe you should consider getting in Android kernel/OS development. Get a phone, unlock the bootloader, get root, and start hacking

Data syncing application between PC and Android? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
So I wasn't exactly sure what to search for when I needed an answer to this problem, hence the crappy title, so I'm sorry of this is a repeat Q but I was hoping for some suggestions on how I should approach the following project:
An application similar to Google's Chrome to Phone but...
Much more functional
Much more scalable
Bidirectional (PC to phone and phone to PC)
Add in clipboard sync
Needs to be fast in order to be useful
Not a chrome extension but a PC application (Java?)
The way I initially wanted to go about it is creating a web service where clipboard data and other requests could be passed onto the phone or PC using polling but (and I'm not sure how accurate this is) this could seriously harm battery life on android if I'm polling every few seconds for clipboard data and if I'm conserving battery life by not polling as frequently, clipboard data becomes less available.
Any creative solutions? (or blatantly obvious ones that I'm not seeing)
Thanks in advanced!
Rather than polling, you should use Android Cloud-to-Device Messaging (C2DM).
I just launched ClipboardSync, a Android app with a PC client that matches all your requirements. Check it out at https://play.google.com/store/apps/details?id=com.ClipboardSync.
It does't poll on the Android end, uses push messaging. The PC client polls for data updates but I'm working on an upgrade to something better for it.

SMS message filter application in Java for Nokia Symbian S60 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Want to write a small message filtering application (filter incoming SMSes based on their content to a specific folder) for Nokia E51. Java seems to be the easier route.
Is it possible via Java API for Symbian series 60 phone?
If yes, what exact SDK and tools do I need?
PS: app will be for personal use.
This is not possible using Java-ME; you can't access the SMS inbox in this way.
However as your target is S60 you have the option of using native Symbian APIs, or Qt (really not too hard). Check out this link for a description of manipulating SMS with Qt.
If you want to read the inbox SMS, unfortunately it's not possible with j2me. But you can possible to read the incoming SMS. Run your application and wait for incoming SMS. Then only it's possible. If your application is not running then it means you can't read the incoming SMS.
For more info see this discussion.
Refer this Nokia forum discussion.
And see this topic also.
Basically, you have two path to choose.
Use some third party library for SMS processing (sending/receiving)
Write your own library, which will communicate with device using I/O (most GSM modems can communicate with PC via serial port of some sort - physical or virtual)
For obvious reasons, I recommend choosing the first part. If you look for recommendation, I can strongly recommend using SMSlib. I've been using it in one of my projects with great success, although some skills were needed to make it all work. After tedious process of installation was over, the rest (sending, receiving, creating callback services) was extremely simple and easy.
If you would like to try the second possible choice, than have a look at Nokia developers forum and Java Communications API.

Categories