Posts with the tag 'Symbian'

Problem fix for SDK/IDE installation

I changed my laptop to IBM T400, and during my installation of the SDK/IDEs, I encountered several small problems, I posted here hope that would help if you encounter the same problem.

I installed S60 3rd FP1, S60 5th SDK, Carbide.c++ v1.3, and the problems are listed here:

1, “Call to RegDBQueryKey failed” when installing the SDK — you can ignore it

2, Add the following path to the Environment path Variable:
C:\Program Files\CSL Arm Toolchain\libexec\gcc\arm-none-symbianelf\3.4.3;C:\Program Files\CSL Arm Toolchain\arm-none-symbianelf\bin;C:\Program Files\CSL Arm Toolchain\bin;

3, The S60 5th SDK project template won’t appear when creating a new symbian project in Carbide.C++ v1.3, download TouchUI-Project Template , and copy the S60-TouchUIApplication directory to the following directory on your hard driver:
” C:\Program Files\Nokia\Carbide.c++ v1.3\plugins\com.nokia.cdt.templates_1.3.0.023\templates\com\nokia\cdt\templates\projecttemplates”
And replace the “plugin.properties” and “plugin.xml” at: “C:\Program Files\Nokia\Carbide.c++ v1.3\plugins\com.nokia.cdt.templates_1.3.0.023″

Popularity: 17% [?]

Add comment 12月 3rd, 2008

How to detect a device has internal GPS hardware

Using the following code you can detect that if a phone device has an internal GPS hardware.

You have to #include <lbs.h> and link against lbs.lib.
————————————————————
   RPositionServer server;
   TPositionModuleInfo modInfo;

   User::LeaveIfError(server.Connect());
   CleanupClosePushL(server);

   TUint numModules;
   User::LeaveIfError(server.GetNumModules(numModules));

   for (TInt i = 0; i < numModules; i++)
    {
    User::LeaveIfError(server.GetModuleInfoByIndex(i, modInfo));
    if ((modInfo.TechnologyType()
      == TPositionModuleInfo::ETechnologyTerminal )
      && (modInfo.DeviceLocation()
        == TPositionModuleInfo::EDeviceInternal ))
     {
     User::InfoPrint(_L(”Internal GPS Detected!”));
     }
    }
   CleanupStack::PopAndDestroy(&server);
—————————————————————————

Popularity: 17% [?]

Add comment 11月 12th, 2008

AutoSisInstaller V1.01 Released!

Update:
1, Support installation to memory card.
2, Add Simplified Chinese language
3, Interface improvement
4, Serveral small bug fix.

Files copied to E:\ThinkChange\C\ will be installed to phone memory.
Files copied to E:\ThinkChange\E\ will be installed to memory card.

Enjoy and have fun playing with S60 phones!

Popularity: 19% [?]

3 comments 08月 23rd, 2008

AutoSisInstaller - A must have app for your phone!

AutoSisInstaller can help install your favourite applications silently and automatically when you bought a new phone or have a firmware update — just copy everything you need to install to E:\ThinkChange\!

AutoInstaller autoinstallerFail

 Why to use AutoSisInstaller ?
1, Have many favourite applications to install after a firmware update?
2, Want to try many innovative apps after bought a new phone?
3, Get bored to press many keys to install an applicaton?

How to use:
1, copy all the applications to “E:\ThinkChange\”
2, press “StartInstall” in the AutoInstaller application.

3, there will be a summary after the process is finished.

Another cool usage:
Share with your friend your favourite applications.
Install AutoSisInstaller  to the memory card, and  just plug your memory card into your friend’s device, all your favourite applications in the E:\ThinkChange\ folder will be automatically installed to his device!

Popularity: 20% [?]

1 comment 07月 14th, 2008

FlipSilent V1.06 Get Symbian Signed!

From the very first version of FlipSilent on Jan,20, 2008, it has attracted users from 177 countries and got 330K page views, today , it finally get SIGNED!

FlipSilent Google Analytics

The main functionality of FlipSilent is to mute the call or alarm when you flip your phone over (by utilizing the accrocelemeters to detect the movement), also it can change the profile based on the position of the phone.The idea of FlipSilent comes from a Video on the S60 site (http://cn.s60.com/main/experience_touchUI_video.html). And Nokia high end phones such as Arte 8800 has preinstalled the same functionality, called “TurnToMute”, also, to the most recent news, Nokia 6210 will also have the same functionality.

Currently, it supports N95, N95 8GB and N82. Welcome to comments on how to improve, a thank you would be good motivation for my future work ;-)

The signed version will be available on my new site soon: http://thinkchange.cn !

Popularity: 23% [?]

3 comments 07月 13th, 2008

small font problem for the setting list

When using a setting list, if you change to small font, the text will be displayed incorrectly! (Menu -> Tools -> Settings -> General -> Personalization -> Display -> Font size ).

This problem appears only on the Numbered Style Setting list, (EAknSettingItemNumberedStyle). The only way to make it look right should be not using this style…

font bad    font good

Popularity: 21% [?]

Add comment 06月 25th, 2008

How to hide app icon from the main menu

Normally you should write a server to run in the background.

Anyway, with a normal app, you can do this by adding one line to your <appname>_reg.rss file.

RESOURCE APP_REGISTRATION_INFO
 {
 app_file=”hello_0xE67432E1″;
 localisable_resource_file =  qtn_loc_resource_file_1;
 localisable_resource_id = R_LOCALISABLE_APP_INFO;

 embeddability=KAppNotEmbeddable;
 newfile=KAppDoesNotSupportNewFile;
 hidden=KAppIsHidden;
 }

Popularity: 21% [?]

1 comment 06月 15th, 2008

How to Invoke the browser from your app

Got the following code snippet from forum nokia wiki ,  one thing to take care of is that you need the SwEvent capability when there is a browser already running!

void CBrowserAppUi::LaunchBrowserL(const TDesC& aUrl)
{
const TInt KBrowserUid = 0×10008D39;
TUid id( TUid::Uid( KBrowserUid ) );
TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
TApaTask task = taskList.FindApp( id );
if ( task.Exists() )
{
HBufC8* param = HBufC8::NewLC( aUrl.Length() + 2);
param->Des().Append(_L(“4 “));
param->Des().Append(aUrl);
//Need the WsEvent Capability
 task.SendMessage( TUid::Uid( 0 ), *param ); // Uid is not used
CleanupStack::PopAndDestroy(param);
}
else
{
HBufC16* param = HBufC16::NewLC( aUrl.Length() + 2);
param->Des().Append(_L(“4 “));
param->Des().Append(aUrl);
RApaLsSession appArcSession;
User::LeaveIfError(appArcSession.Connect());
TThreadId id;
appArcSession.StartDocument( *param, TUid::Uid( KBrowserUid), id );
appArcSession.Close();
CleanupStack::PopAndDestroy(param);
}
}

Popularity: 19% [?]

Add comment 06月 14th, 2008

About Viewsrv 11 panic

They occur when the Viewsrv active object in your, or any other, application does not respond to the view server in time. Typically 10-20 seconds is the maximum allowed response time.

Guidelines for avoiding common causes of this problem:

1, Do not have long running synchronous operations.  e.g. “while (1) { GameStep(); }”.

2, Ensure that your active objects don’t swamp the scheduler. The active scheduler processes active objects strictly in priority order, and for those of the same priority, active objects added first have priority. Active objects that run often and use a lot of processing time should run at low priority. The Viewsrv active object runs at CActive::EPriorityStandard, so busy active objects should run at a lower priority. One note of warning: if you use EPriorityLow, ensure it is scoped as CActive::EPriorityLow, otherwise you may get thread priority EPriorityLow, which is actually a very high priority value for an active object!

3) Allow some CPU time for other applications.

4) Do not use User::WaitForRequest();

5) On some platforms, be aware that launching waiting dialogs (or performing other blocking actions) from ViewActivatedL(); or ViewDeactivatedL(); can also cause Viewsrv 11 panics.

Assesmbled from here: http://www3.symbian.com/faq.nsf/0/894657c7845917a380256d98005baff7?OpenDocument

Popularity: 20% [?]

Add comment 04月 23rd, 2008

Tips for Symbian Express Signed!

Today, I got my new application VibrateCall Symbian Express Signed!
Here are some tips to be careful with when you do it the first time!

1, You need to get a publisherID (200$) and a Content ID (20$)
2, Login to www.symbiansigned.com
3, The file you submit must be in ZIP format
4, The ZIP file must contain three files: pkg, readme.txt, sis (Can’t be sisx)
5, The sis file must be signed with the TCT Publisher ID (Not the cer file generated with the DevCert Tool)
6, The sis file in the zip can’t contain Manufacture proved capabilities, I suggest that you use the minimal set of capabilities used by your program — when you are coding, you had better write down what capabilities you used, for which API and the reason for it.

I tried four times before finally succeed, hope my experience can help you when you are Express sign your sis files the first time ;-)

Popularity: 17% [?]

2 comments 04月 1st, 2008

Newer Posts Older Posts


标签

Calendar

05月 2012
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

Posts by Month

Posts by Category