<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - S60 3rd (N73) - image loading, CActiveScheduler - Comments</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler</link>
 <description>Comments for &quot;S60 3rd (N73) - image loading, CActiveScheduler&quot;</description>
 <language>en</language>
<item>
 <title>Re: S60 3rd (N73) - image loading, CActiveScheduler</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler#comment-41350</link>
 <description>&lt;p&gt;the phones firmware is updated, everything is working. Other Active objects and ActiveSchedulers in this application are working on this phone. I thing I have bug somewhere, but the code is to simple to be wrong. Are there some other limitations of ActiveScheduling ? I&#039;ll try it on other phones ... thank you for hints&lt;/p&gt;

&lt;p&gt;But now I changed CMdaImageFileToBitmapUtility to CImageDecoder - and there is NEW bug &lt;img src=&quot;/sites/all/modules/smileys/packs/example/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; /&gt; (not working even on emulator) ( &lt;a href=&quot;http://newlc.com/forum/cimagedecoder-convert-never-finishes-s60-3rd&quot; class=&quot;bb-url&quot;&gt;CImageDecoder::Convert never finishes (S60 3rd)&lt;/a&gt; )&lt;/p&gt;</description>
 <pubDate>Mon, 10 Sep 2007 18:34:03 +0200</pubDate>
 <dc:creator>jakubmisek</dc:creator>
 <guid isPermaLink="false">comment 41350 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: S60 3rd (N73) - image loading, CActiveScheduler</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler#comment-41348</link>
 <description>&lt;p&gt;Then I think it is a problem with that specific phone, see if you can get a firmware update on that phone, can you view bitmaps in the phone&#039;s gallery? If you can get your hands on another n73, or ohter 3rd edition phone, that would show if it&#039;s a problem with the phone or your application. If you like you could send a copy of your sis file to me, and I&#039;ll check if it works on my E60(S60 3rd MR). Just send me a private msg. and I&#039;ll give you my e-mail details.&lt;/p&gt;</description>
 <pubDate>Mon, 10 Sep 2007 16:51:24 +0200</pubDate>
 <dc:creator>Werries</dc:creator>
 <guid isPermaLink="false">comment 41348 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: S60 3rd (N73) - image loading, CActiveScheduler</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler#comment-41323</link>
 <description>&lt;p&gt;its quite strange&lt;br /&gt;
iWait-&gt;Start(), CActiveScheduler::Start(), SetActive() /* i&#039;ve switched to CImageDecoder and i&#039;m using CActive object */ ... every of these methods are closing the application ... on another phones and on emulator its working fine.&lt;/p&gt;</description>
 <pubDate>Fri, 07 Sep 2007 22:15:01 +0200</pubDate>
 <dc:creator>jakubmisek</dc:creator>
 <guid isPermaLink="false">comment 41323 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: S60 3rd (N73) - image loading, CActiveScheduler</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler#comment-41313</link>
 <description>&lt;p&gt;That is some depricated code, but as you used it on Symbian 6 thats understandable. You should use CActiveSchedulerWait to start and stop specific sheduling loops.&lt;br /&gt;
Add code like this.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;class CPictureLoader&lt;br /&gt;{&lt;br /&gt;// This will be compiled for Symbian 8.1 and up&lt;br /&gt;#ifdef EKA2&lt;br /&gt;private:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CActiveSchedulerWait *iWait;&lt;br /&gt;#endif&lt;br /&gt;};&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Change CActiveScheduler::Start(); with &lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#ifdef EKA2&lt;br /&gt;iWait-&amp;gt;Start();&lt;br /&gt;#else&lt;br /&gt;CActiveScheduler::Start();&lt;br /&gt;#endif&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
and CActiveScheduler::Stop(); with &lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#ifdef EKA2&lt;br /&gt;iWait-&amp;gt;AsyncStop();&lt;br /&gt;#else&lt;br /&gt;CActiveScheduler::Stop();&lt;br /&gt;#endif&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;I&#039;m not sure if this will work, but it&#039;s the way starting and stopping the ActiveScheduler should be done. You might try to switch to CImageDecoder, instead of CMdaImageFileToBitmapUtility.&lt;/p&gt;</description>
 <pubDate>Fri, 07 Sep 2007 08:16:00 +0200</pubDate>
 <dc:creator>Werries</dc:creator>
 <guid isPermaLink="false">comment 41313 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: S60 3rd (N73) - image loading, CActiveScheduler</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler#comment-41309</link>
 <description>&lt;p&gt;I didn&#039;t say anything about not waiting for finished calls, I said you shouldn&#039;t be starting and stopping the active scheuduler if your program is an application*. &lt;/p&gt;

&lt;p&gt;From that link you gave the files only include basic header files so its not an application so that means it has to install and start an active scheduler if it wants to use active objects. If you&#039;re an application then an active scheduler is already installed and has been started for you by the framework. &lt;br /&gt;
The code in that link is a mess, it and your code is confused about when/when not to use active objects and how to incorporate callbacks into them and the the code.&lt;/p&gt;

&lt;p&gt;Read the stuff about active objects and the scheduler in here&lt;br /&gt;
&lt;a href=&quot;http://www.newlc.com/topic-13580&quot;&gt;http://www.newlc.com/topic-13580&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;* You say its view based so I&#039;m assuming its an app i.e. its a graphical UI using apparc and cone and eikon (or avkon etc.). &lt;br /&gt;
You say the scheduler is installed, if you are an app then you shouldn&#039;t install one if you are doing so explicitly.&lt;/p&gt;</description>
 <pubDate>Fri, 07 Sep 2007 00:13:10 +0200</pubDate>
 <dc:creator>Mr. Buttington F. Phucque Lewis</dc:creator>
 <guid isPermaLink="false">comment 41309 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: S60 3rd (N73) - image loading, CActiveScheduler</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler#comment-41308</link>
 <description>&lt;p&gt;util-&gt;OpenL();  and   util-&gt;ConvertL();  are doing asynchronous calls, so there must be some waiting for finished call. This procedure was posted even here on &lt;a href=&quot;http://newlc.com/Image-loading-and-color-reduction.html&quot; class=&quot;bb-url&quot;&gt;newLC/Image-loading-and-color-reduction&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Thu, 06 Sep 2007 22:50:32 +0200</pubDate>
 <dc:creator>jakubmisek</dc:creator>
 <guid isPermaLink="false">comment 41308 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: S60 3rd (N73) - image loading, CActiveScheduler</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler#comment-41306</link>
 <description>&lt;p&gt;If you&#039;re using the applciation/eikon framework to write an application as you imply then there&#039;s no need to start and stop the active scheduler. I&#039;m surprised it works on those over platforms/devices.&lt;/p&gt;</description>
 <pubDate>Thu, 06 Sep 2007 21:58:40 +0200</pubDate>
 <dc:creator>Mr. Buttington F. Phucque Lewis</dc:creator>
 <guid isPermaLink="false">comment 41306 at http://www.newlc.com</guid>
</item>
<item>
 <title>S60 3rd (N73) - image loading, CActiveScheduler</title>
 <link>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler</link>
 <description>&lt;p&gt;hi,&lt;br /&gt;
I&#039;m loading image from file to CFbsBitmap (and converting to 24bit) using the code below. It works on Symbian 6 (S60 1.2), 7 (UIQ 2) - on emulator even on the real phone, BUT it works on Symbian 9.2(S60 3) on emulator only AND on Nokia N73 it crashes while starting CActiveScheduler. Its view-based application, so active scheduler is installed. Do you know where could be the problem ?&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/s60-3rd-n73-image-loading-cactivescheduler#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Thu, 06 Sep 2007 21:32:10 +0200</pubDate>
 <dc:creator>jakubmisek</dc:creator>
 <guid isPermaLink="false">18885 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
