If you're writing a console application, you can use CConsole::Printf.
If you want to get some debug output from a GUI application, you can use RDebug::Print. Both functions are described in the...
Type: Posts; User: ivanushka; Keyword(s):
If you're writing a console application, you can use CConsole::Printf.
If you want to get some debug output from a GUI application, you can use RDebug::Print. Both functions are described in the...
I'm not sure whether it is a recommended way, but I used it successfully in a couple of applications.
CDictionaryStore iIniFile = CDictionaryFileStore::OpenL(
CEikonEnv::Static()->FsSession(),...
It is not much different from displaying dialog from inside the application. If you want to construct a dilog from resources, you'll have to load resource file for the dll manually (see...
It depends on what you intention is.
You can use reinterpret cast (C style cast), but probably that's not what you want. If you want to get a C-style string pointer, use PtrZ.
TBuf8<100> buf;...
You have to obtain a certificate for your application and sign the SIS file. Read about "Nokia OK" program at Forum Nokia. You can also read this discussion:...
T9 recieves key events before CEikEdwin.
You can use CEikEdwin::SetAknEditorFlags( EAknEditorFlagNoT9
) to disable T9.
You're inheriting your class (CTakePicView) from the abstract classes MCameraObserver and MTimeOutNotify. You have to implement all pure virtual functions declared in these classes in CTakePicView:
...
Like this:
CAknNoteDialog* dialog = new( ELeave )CAknNoteDialog
( CAknNoteDialog::ENoTone, CAknNoteDialog::EShortTimeout );
dialog->PrepareLC( R_YCALC_ABOUT_DIALOG );
dialog->RunLD();
There was already an answer to this question. Just search for "IMEI" keyword in this forum.
Unfortunately, not.
See http://www.nokia.com/phones/6650/faq_availability.html
Operating system: Nokia
TTime class has FormatL method that allows you to convert it to the string. You can find detailed description and examples in Series60 SDK Help:
Symbian OS v6.1 Edition for C++ API Reference Date...
Usually you should include .app, .mbm, .rsc, .aif
If you use any other application-specific files, you should include them as well (like sounds or skins, for example).
Make sure that you're...
In the first piece of code you're trying to use uninitialized pointer to RFile. It is the same if you will write:
TInt* i;
*i = 0; // it will crash
Are you sure that you want to work with CommsDb tables directly.
You can use CApSelect class to get a list of the access points.
CCommsDatabase* db=CCommsDatabase::NewL(EDatabaseTypeIAP);...
You might check "EMame: a MAME port to EPOC Release 5 and Symbian platform v 6.0 (Quartz)" article by Peter van Sebille at
http://www.symbian.com/developer/techlib/papers/mame/mamedream.html
It...
If you can provide more details about how exactly it fails it might help.
Anyway, here are two hints:
- Check that you have resource file loaded for the DLL (it is not automatic as for...
Of course 7650 (and Series 60 in general) supports more than one timer. But you should remember that CPeriodic is an active object.
It calls the callback in its RunL function. If execution time of...
What do you mean by key code? In OfferKeyEvent you can get only information what key has been pressed/released on the keyboard, and keyboard contains 10 numeric keys plus special keys.
So, you can...
Create a new view (CLogoView) and, create and activate it in your CFooAppUi::ConstructL(). Create a container for the new view (CLogoViewContainer). In the CLogoViewContainer::ConstructL create a...
Search documentation for User::QuickSort.
Also standard array classes (like CArrayFix) have Sort method that uses quick sort.
You can use CActiveSchedulerWait class.
Instead of CIdle used in the example as an asynchronous request you can use any other asynchronous request that will end up with calling iWait.AsyncStop();
...
I'm using this kind of code:
TInt Random( TInt aMaxVal )
{
TTime time;
time.HomeTime();
TInt64 seed=time.Int64();
TInt random=Math::Rand( seed );
There's an example of Edwin creation in Nokia 9200 SDK \NokiaCPP\UITestSource\EikTest\src\TEDWin.cpp, class CSimpleControl.
Declare controls that you would like to create as a member variables in the View class. Create these contols in, for example, View::ConstructL. Set container window and rectangle for each control and...
It's definetely not a good idea to create a listbox in the Draw method. I'd suggest doing it in the CKgAppView::ConstructL.
If your CKgAppView class is inherited from CCoeControl, declare a member...