| Reply | « Previous Thread | Next Thread » |
|
Hello!
I want to use my mobile with the bluetooth handsfree set in my car, but don't want to leave the bluetooth switched on. So I think of activating the bluetooth at the charging, because the carholder charges the mobile if it is attached to the holder. Is it possible to realize an application which detects the charging status and activates the bluetooth (the application would have to run all the time), or is there another way to activate the BT if it is plugged to the holder? Thanks in advance! PS: sorry for my bad english ![]() |
| chrisi1002 |
| View Public Profile |
| Find all posts by chrisi1002 |
|
How you want to use your car's bluetooth handsfree set if you switch off your cell phone's bluetooth?
I haven't quite understand what you want. |
| mpierettis |
| View Public Profile |
| Find all posts by mpierettis |
|
by default the bluetooth is switched off, but if i plug the phone to the holder the bluetooth should be activated.
so i'm searching for a way to switch the bluetooth on, if the mobile is attached to the holder |
| chrisi1002 |
| View Public Profile |
| Find all posts by chrisi1002 |
|
So you want the bluetooth to be activated when you put your cell phone on your car holder.
I'm not sure if this can be happen. I haven't heard it before. Search to the manual of your car holder if it refers to something like that. Why don't you activate the bluetooth by your own? Put the bluetooth menu option on a shortcut key for an easier access. |
| mpierettis |
| View Public Profile |
| Find all posts by mpierettis |
|
you seized it (don't now if it is well translated)
![]() the holder is purchased but not shipped yet...it's a original Nokia Car-Holder of course i can activate the bluetooth manually but then i have to push a button to go to the bluetooth menu - second push to activate it - and a third to close the menu...there must be a easier way! ![]() the phone is charging while it is attached to the holder. is it possible to detect the charging status? then i would be able to switch the bluetooth on everytime the phone is charging |
| chrisi1002 |
| View Public Profile |
| Find all posts by chrisi1002 |
|
i have found some source code, but i don't know to implement it in a application (Carbide C++ and SDK 3.0):
Code:
// Charging State
include: "saclient.h"
link against: " sysagt.lib"
RSystemAgent systemAgent;
User::LeaveIfError(systemAgent.Connect());
TInt strength = systemAgent.GetState(KUidChargerStatus);
if (strength == TSAChargerStatus::ESAChargerConnected )
{
// DO SOMTHING
}
Error: "saclient.h" is not found Code:
//enable Bluetooth TPckgBuf<TBool> pckg; RNotifier iNotifier; TPckgBuf<TBool> iNotifierResult; TRequestStatus status; User::LeaveIfError(iNotifier.Connect()); iNotifier.StartNotifierAndGetResponse(status,KPowerModeSettingNotifierUid,pckg,iNotifierResult); User::WaitForRequest(status); User::LeaveIfError(status.Int()); iNotifier.CancelNotifier(KPowerModeSettingNotifierUid); iNotifier.Close(); User::LeaveIfError(iNotifierResult[0]); |
| chrisi1002 |
| View Public Profile |
| Find all posts by chrisi1002 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Bluelet - Rapid Bluetooth App Development (Free source) | huiben | Mobile Java General | 4 | 2008-07-25 16:52 |
| PC Suite not detect 6600 with Bluetooth connection | spinacle | Bluetooth Technology | 29 | 2004-03-15 00:24 |
| Nokia 7650 support Bluetooth audo? | ovjo12 | Bluetooth Technology | 5 | 2003-07-17 19:50 |
| Suggestion for resolving PC suite connection via bluetooth | Kazi | Bluetooth Technology | 0 | 2003-03-14 20:35 |
| Activating Bluetooth on 7650 | silvercom | Bluetooth Technology | 1 | 2002-11-13 11:18 |