You can have a look at the function GetbatteryInfo from the class CTelephony.
It gives you the battery status in terms of percentage and the 'beep' you are talking about will have to be handled via...
Type: Posts; User: ssn.kishore; Keyword(s):
You can have a look at the function GetbatteryInfo from the class CTelephony.
It gives you the battery status in terms of percentage and the 'beep' you are talking about will have to be handled via...
Have a look at this link.
Buttons cannot be added to a Global Note. Global notes run in a separate process and hence resources of your process are not available to that process which is the reason why you are getting CONE 14...
Don't you think you should probably include the name of the file as well? Something like "C:\\Data\\images\\image.jpg"
Your application can come to know when a key has been pressed by implementing the funtion HandleKeyEventL(). As the IAP selection dialog is global you will have to come to know when a key has been...
Okay, I somewhat understood your problem, here is the explanation.
You have something to be downloaded and you want the user to select the IAP from a list and after he presses the "OK" button you...
Would you explain what you mean by the above statement? I am not able to get what you want to convey. Only then, I can think of something to help you out.
Hi,
As you mentioned recognizers, I understand that you are working on the 2nd Edition. A team mate wrote a recognizer to find out the file extension and hence the MIME type but to tell you...
iDetails member variable of the TMsvEntry Class contains the number of the sender - if the number is not stored in the contact database or the name of the sender. You can easily filter the required...
You can simulate the RED key in order to erase the displayed dialog.
The code to do that is here,
TRawEvent lEventDown;
lEventDown.Set(TRawEvent::EKeyDown, EStdKeyNo);...
You mean, the phone isn't beeping for the new message arrival?
Only the "1 new message" window is appearing now?
Please clarify. I have the solution for the second problem as well.
You'll have to put the line in MainL();
Always remember, never modify the code that is auto-generated.
You can write your code in MainL();
YOu'll have to give a call to the function that does your...
Ah! I feel so helpless that I can't help you directly!
Could you see what is the message Id being sent to the function?
Also check the value of the entries->count()?
It should be one.
Is the function MarkMsgAsRead() atleast getting called? Put some logs and check if it is executing.
The function does the job, I am sure about it. Do one thing, simply put these lines at the start...
I hope you are using Carbide C++, in that simply create a project which says "Console Application". The application will run continuously if you block the thread using a call to ...
Look, even when a new entry is created for a new incoming message as you said, it is MOVED to the Inbox. And if you put the check of the entryId == KMsvGlobalInboxEntryId i.e. the entry moved in the...
One last time please try all the working code in EMsvEnriesMoved (The one that worked before modifying MarkMsgAsRead with two statements).
The thing is, once the phone moves the entry into the...
Try this as the change in MarkMsgAsRead();
Change the last statement to the statements below and let me know.
CleanupStack::PopAndDestroy( 1 ); // clientMtm
CleanupStack::Pop( 1 );//...
Please use the following code snippet. Sorry for the inconvenience.
case EMsvEntriesCreated:
{
TMsvId* entryId = static_cast<TMsvId*>(aArg2);
if...
Hello Santu,
The code snippet I posted will mark any message with a particular "message id" as unread. In case you want to mark the message that has just been received as unread you need the...
Well, my friend you can check the condition well before what you've mentioned.
case EMsvEntriesCreated:
{
if(msgType == KUidMsgTypeSMS) // this is when you know its an SMS
}
You can show...
You can go ahead with the simple and good old file approach as suggested by me. But, keeping the long run in mind Wizard's & Mateen's suggestion should also be considered. Go with what suits you!
If you meant other applications by referring to "other developers" then the answer is YES.
File creation in lifetime means creating a file when the application is running / executing. As you told me, you are already doing that. So, try to build a logic as I suggested.
As far as I know, files created during the lifetime of a process aren't deleted automatically during un-installation of the application. Sumit, why don't you create a file during your lifetime if the...