More 3rd edition Answers

Drawing on top of the Phone/Active Idle app works without TrustedUi. We’ll have to check the different 3rd edition phones to make sure we are not drawing on top of anything, but it seems that this should still work. Have to also check whether it may require TrustedUi on some devices (testing only on an N80 so far).

There is no better inactivity detection on 3rd ed. (this from Nokia support). Capturing keys works if you have SwEvent. We’ll at least try to do that, let’s see how it goes in testing.

We are no longer over-riding UIDs. Changing active idle shortcuts requires a non-public API (which might be available, if we manage to convince the powers that be). We are directing the user to change the shortcuts on their own for now.

CPbkSingleEntryFetchDlg was a false alarm, it still exists and works. It was actually only ever missing from the 1st edition SDK.

I haven’t yet found how to get the phone’s own Bluetooth address. I assume it’s something obvious that I’ve just missed.

Stay tuned for 3rd edition versions of Jaiku and Merkitys-Meaning within the next two months.

This entry was posted in Symbian. Bookmark the permalink.

2 Responses to More 3rd edition Answers

  1. Riho says:

    TInt GetLocalBluetoothAddressL(TBTDevAddr& adress)
    {
    TPckgBuf addr;
    TInt ret=0;
    #if defined(__SERIES60_3X__) || defined(__SYMBIAN8__)
    ret=RProperty::Get(KPropertyUidBluetoothCategory, KPropertyKeyBluetoothLocalDeviceAddress, addr);
    #else
    RSocketServ socketserver;
    RSocket ioctrlsocket;
    User::LeaveIfError(socketserver.Connect());
    User::LeaveIfError(ioctrlsocket.Open(socketserver, KServerIoCtrl));

    TRequestStatus status;
    ioctrlsocket.Ioctl(KHCILocalAddressIoctl, status, &addr, KSolBtHCI);
    User::WaitForRequest(status);
    ioctrlsocket.Close();
    socketserver.Close();
    #endif
    adress = addr();
    return ret;
    }

  2. Mika says:

    you beat me to it :-). I had the RProperty code in there, but it didn’t get executed on 3rd ed, only 2nd, so I thought it didn’t work until I had the time to debug through it.

    So yes, RProperty works.