2007年10月1日
The code example below presents how to launch the built-in brower application to access the link you give.
2007年7月31日
If you can answer the following questions, you can skip this article, because you are a Symbian programmer with strong curiosity. If you are not sure about some answers, I recommend you to read this ariticle, because CBase class is essential in Symbian OS and it's interesting to know some features of this class. The questions are:
1. Why does cleanup stack has 3 versions of PushL() including PushL( CBase *aPtr )?
2. Why does CBase have a public virtual destructor?
3. How is CBase derived object initialized to binary zeroes?
4. Why is CBase derived object initialized to binary zeroes?
5. Why use new[] to initialize CBase derived object is not recommended?
6. Why does CBase has a private copy constructor and a private operator = function?
Tags:
2007年7月3日
In Symbian, sometimes you don't want the user of your class to create the object of it on stack, because the stack resource is rare. Is there any way to do this? Yes.
What you should do is to make your destructor private, rather than public or protected. You can do like this:
class CTest : public CBase
{
private:
~CTest ();
}
2007年6月20日
Whether you are a Symbian C++ guru or simply a C guru $10,000 could be yours in the Nokia Open C challenge, which is due to launch in early July.
2007年6月19日
As we know, active object is widely used in Symbian C++ to take care of running multitask in the same thread. Here I will not explain much about the Active Object mechanism, because there're tons of ariticles about this. Just google it and you will get them. Here I would like to talk about something interesting.
2007年6月18日
I remember when I did bluetooth debugging on S60 2nd SDK emulators, it was full of frustrations. Since PCIMA bluetooth equipment is expensive, like many other developers, I use USB bluetooth dongle instead. I have to use Nokia connectivity Framework to support my lovely dongle and several S60 SDKs.
2007年5月31日
For me, develop applications for Symbian was always like ideas->SDK helper->forums->R&D->forums->R&D->...->implementation. This time I thought the problem would be easier, but it did not.
I tried to port Nokia's audio streaming example to UIQ3. Since the code for S60 was already done and there's another output streaming example in sonyericsson website, it couldn't be easier, right? Well, we'll see.
I attached the example code because in developer.sonyericsson.com, there is only an example of outputstream while inputstream is actually more tricky to use.
2007年5月23日
If you want to know the free space in C drive, just enter the following code:
RFs iFs;
iFs.Connect();
TInt err = iFs.Volume( volinfo, EDriveC );
TInt64 space = volinfo.iFree;
iFs.Close();
"iFree" is the amount of free space on the disk in bytes.
You know how to get the D drive's free space :P
Remember, Volume() will return KErrNotReady if the drive contains no media.
2007年5月23日
Symbian Signed was created in response to the mobile market’s requests for a certification program to promote best practise in application design for Symbian OS phones and to establish a formal link between an application and its origin. Increa...
2007年5月15日
Sometimes, we want our application appears in the control panel in phone. For example when we develop applications for phone manufacturers, it looks more integrated if the icon of the application appears in the control panel. There're some articles to indroduce how to do it in Symbian pre-V9.0, you can refer to this link to know more http://developer.symbian.com/main/downloads/papers/controlpanelapp/writeControlPanelApp_v1.0.pdf. This article introduce how to do it in UIQ3(Symbian 9.0 onwards).