Click here to Skip to main content
15,899,313 members
Home / Discussions / Mobile
   

Mobile

 
Questionhow to prevent the touch screen in windows-CE ? Pin
Gali197813-Jan-11 9:57
Gali197813-Jan-11 9:57 
AnswerRe: how to prevent the touch screen in windows-CE ? Pin
Madhu Nair13-Jan-11 17:02
Madhu Nair13-Jan-11 17:02 
QuestionAndroid Phone Problem Pin
MsmVc9-Jan-11 20:26
MsmVc9-Jan-11 20:26 
AnswerRe: Android Phone Problem Pin
Madhu Nair13-Jan-11 17:05
Madhu Nair13-Jan-11 17:05 
AnswerRe: Android Phone Problem Pin
jk chan14-Jan-11 4:49
jk chan14-Jan-11 4:49 
GeneralRe: Android Phone Problem Pin
MsmVc15-Jan-11 1:20
MsmVc15-Jan-11 1:20 
QuestionSet an arbitrary memory limit for Compact Framework application? Pin
carbon_golem7-Jan-11 8:46
carbon_golem7-Jan-11 8:46 
QuestionGetting call history....problem Pin
AmbiguousName4-Jan-11 8:02
AmbiguousName4-Jan-11 8:02 
hello guys... I was trying to write a program in which we can get the call history info and display it in the list box. Well this builds successfully and shows me no error but neither it shows the output. Here is the small code im using....
HANDLE hPhoneLog = NULL;
HRESULT hr = S_OK;

CALLLOGENTRY PhoneEntry;
TCHAR tchPhoneEntry[1024] = TEXT("\0");
TCHAR tchIOM[64] = TEXT("\0");
TCHAR tchFrom[128] = TEXT("\0");

//Get the entry
hr = PhoneGetCallLogEntry(hPhoneLog, &PhoneEntry);
if(FAILED(hr))
{
    MessageBox(L"PhoneGetCallLogEntry() Failed . . .",L"",MB_OK);
}

//Have we reached the end of the file log
if(hr == S_FALSE)
    break;
//Look at the phone book data
switch(PhoneEntry.iom)
{
case IOM_MISSED:
    wsprintf(tchIOM,L"Missed Call");
    break;
case IOM_INCOMING:
    wsprintf(tchIOM, L"Incoming Call");
    break;
case IOM_OUTGOING:
    wsprintf(tchIOM, L"Outgoing Call");
    break;
}

if(PhoneEntry.pszName != NULL)
    _tcsncpy(tchFrom, PhoneEntry.pszName, 128);
else if(PhoneEntry.pszNumber != NULL)
    _tcsncpy(tchFrom, PhoneEntry.pszNumber, 128);
else
    _tcsncpy(tchFrom, L"Unknown", 128);
//Display it on the listbox
SYSTEMTIME sysTime;
wsprintf(tchPhoneEntry, L"%s From %s on %d - %d - %d", tchIOM, tchFrom, sysTime.wDay, sysTime.wMonth, sysTime.wYear);
LPCTSTR msg = tchPhoneEntry;
m_listHistory.AddString(tchPhoneEntry);

// Clean up any allocated strings
if(PhoneEntry.pszNumber)
   LocalFree(PhoneEntry.pszNumber);
if(PhoneEntry.pszName)
   LocalFree(PhoneEntry.pszName);
if(PhoneEntry.pszNameType)
   LocalFree(PhoneEntry.pszNameType);
if(PhoneEntry.pszNote)
   LocalFree(PhoneEntry.pszNote);

whats the problemConfused | :confused: ...thnx
Questionconvert C to C# Pin
mathy3-Jan-11 2:29
mathy3-Jan-11 2:29 
AnswerRe: convert C to C# Pin
Madhu Nair13-Jan-11 18:04
Madhu Nair13-Jan-11 18:04 
Questionsmart device C# 3.5 ,MENU shortcut problem Pin
Amr M. K.2-Jan-11 0:22
Amr M. K.2-Jan-11 0:22 
AnswerRe: smart device C# 3.5 ,MENU shortcut problem Pin
Richard MacCutchan2-Jan-11 1:20
mveRichard MacCutchan2-Jan-11 1:20 
GeneralRe: smart device C# 3.5 ,MENU shortcut problem Pin
Amr M. K.2-Jan-11 23:22
Amr M. K.2-Jan-11 23:22 
AnswerRe: smart device C# 3.5 ,MENU shortcut problem Pin
Joel Ivory Johnson26-Jan-11 14:58
professionalJoel Ivory Johnson26-Jan-11 14:58 
Questioncall forwarding / diversion Pin
springtime5430-Dec-10 10:18
springtime5430-Dec-10 10:18 
QuestionStarter on nokia Pin
JR21229-Dec-10 21:12
JR21229-Dec-10 21:12 
AnswerRe: Starter on nokia Pin
Richard MacCutchan29-Dec-10 22:45
mveRichard MacCutchan29-Dec-10 22:45 
AnswerRe: Starter on nokia Pin
parths30-Dec-10 1:45
parths30-Dec-10 1:45 
Questionfind Duplicate record in listView using C# Pin
mathy29-Dec-10 2:54
mathy29-Dec-10 2:54 
AnswerRe: find Duplicate record in listView using C# Pin
jk chan29-Dec-10 23:26
jk chan29-Dec-10 23:26 
GeneralRe: find Duplicate record in listView using C# Pin
mathy30-Dec-10 1:28
mathy30-Dec-10 1:28 
GeneralRe: find Duplicate record in listView using C# Pin
jk chan14-Jan-11 4:53
jk chan14-Jan-11 4:53 
QuestionHow can I capture the image of finger print on the touch screen of a PDA? Pin
JUNEYT27-Dec-10 5:59
JUNEYT27-Dec-10 5:59 
AnswerRe: How can I capture the image of finger print on the touch screen of a PDA? Pin
jk chan28-Dec-10 22:25
jk chan28-Dec-10 22:25 
QuestionCompare Audio file Pin
Member 310720422-Dec-10 3:15
Member 310720422-Dec-10 3:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.