Hi guyz.
Im doin my final year project next semester.
I hav an idea to develop a Mobile app that controls PC using Bluetooth/IR.
I hav an idea of using Java as the platform.
Could someone tel me the libraries that may control the IR/Bluetooth of a mobile.(if any)
Or any other mobile programming platforms that provide the facility.
First of all i want to know if my project idea is feasible.


thz in advance...

Dani AI

Generated

The idea is workable, but success hinges on which phones are targeted and what access those phones expose. For Bluetooth the most portable route for Java-based clients on feature phones is the JSR‑82 (J2ME Bluetooth) RFCOMM/Serial Port Profile (SPP). For modern smartphones, Android’s Bluetooth API is the straightforward option and Android devices that include an IR blaster expose a ConsumerIrManager API for sending IR signals. See JSR‑82 and Android Bluetooth docs for platform details (JSR-82, Android Bluetooth guide).

A practical architecture: mobile app (J2ME with JSR‑82 or Android app) -> RFCOMM/SPP connection -> small PC server process -> translate incoming messages to OS input (keystrokes/mouse) or actions. On the PC side a Java library like BlueCove or a Python library such as PyBluez can accept RFCOMM connections and hand messages to a Java Robot/native code layer that simulates user input. BlueCove is a good starting point for desktop Java Bluetooth work (BlueCove).

Concrete next steps: pick one or two target devices, verify supported APIs/JSRs or Android API level, implement a minimal echo server on the PC and a simple client on the phone, pair devices manually, then iterate on a small, well‑documented message protocol. Test discovery/pairing first (COM port mapping on Windows, rfcomm on Linux).

Notes and cautions: as pointed out, native code can reach lower-level drivers on some platforms; as noted, many third‑party phones restrict you to Java. IR access is often vendor‑specific or unavailable to sandboxed Java apps, so Bluetooth (or Wi‑Fi) is usually the easier and more reliable path.

Recommended Answers

All 3 Replies

C/C++ might be better you might need to call low level bluetooth driver apis , you might not get a readymade solution for your project assignment .

ithelp...
Is it possible with VC++?
But does VC++ codes run on ordinary mobile phones.
The reason y i chose Java was that almost every mobile phone suppor java platform.
I donno abt VC++ being supported....does it ??

Some mobile phone code is in C++, but whether you'll be able to access the APIs depends on what kind of developer you are.

If you're an after market 3rd party developer, then it's probably going to be Java.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.