×

Discussion Board

Results 1 to 15 of 15

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Regarding caching of images from server for reload

    Hi,

    My application in AS 2.0 (FL 3.0) takes a lot of time to load images from the server and if any other operation is performed while the loading, i get the error:"Unable to load data". Is it possible to cache the images when loaded once and then use from the local cache? Also, if caching is possible, how should i make sure that all that is cached is emptied while application uninstallation from the phone.

    Regards,
    Supriya Tenany

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: Regarding caching of images from server for reload

    The only way to store local data (or cache) in pure flash app is by using sharedObjects which are quite limited in size i.e 4 KB. Second way , is by using Widgets which automatically cache some stuff for u (tested it with XML). Third way, is by using KuneriLite Download Plugin .Fourth way, is to create ur own server or a plugin for API Bridge.

    Best Regards,
    SajiSoft

  3. #3
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: Regarding caching of images from server for reload

    Hi SajiSoft,

    Amongst the possible methods you have suggested, using sharedObjects is not possible due to size. Kuneri doesnt work on my machine and above all, since I have the free version I do not think I can use KuneriLite Download Plugin either.

    Also do you mean widgets using Carbide C++? If any other, please explain. How can I create my own server or a plugin for API Bridge? Does creating a server involve expenses?

    Regards,
    Supriya Tenany
    Last edited by supriyaakg; 2010-04-09 at 05:16.

  4. #4
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: Regarding caching of images from server for reload

    Also do you mean widgets using Carbide C++?
    By widgets i mean WRTs .
    How can I create my own server or a plugin for API Bridge? Does creating a server involve expenses?
    Creating your own local server can be hard if u r not good in Symbian C++ .However, creating API Bridge Plugin is somewhat less time consuming than a whole local server. For details , read here :
    APIBridge_Plug-in_API

    Best Regards,
    SajiSoft

  5. #5
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: Regarding caching of images from server for reload

    Hi SajiSoft,

    How shall I package this plugin along with my SWF using the Helisso Packager? I am unable to use the Kunerilite, Carbide C++ or any other for creating an SIS. Above all, I have also read a discusstion thread stating that only textual data can be stored. How is it then possible to save images that take a long time loading from the server?

    Regards,
    Supriya Tenany
    Last edited by supriyaakg; 2010-04-12 at 10:34.

  6. #6
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Karachi, Pakistan
    Posts
    277

    Re: Regarding caching of images from server for reload

    Hello,

    Maybe you could try Python for S60. Sample with source code here http://www.swf2go.com/wiki/PyS60Sample_BeMyLips.ashx

    Best,

    // chall3ng3r //
    Faisal Iqbal (skype: chall3ng3r)
    Flash Mobile Specialist | Orison Technologies
    _____________________________________
    blog: F·L·A·S·H·I·S·M
    swf2go: www.swf2go.com

  7. #7
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: Regarding caching of images from server for reload

    I am sorry for late reply, i just missed your question. You can pack the Api bridge and plugin in the sis file generated by Helisso after reading the blog about API bridge on my blog site. However, it is not true that u can save only textual data in case of a local server because u can code the local server to download images from the site and than load them in ur flash lite content using loadMovie APi.Now, come to the point , that why Challenger give u a link to an app which interlinks Python (local server)and Flash Lite , because python is quite easy than Symbian C++, therefore, i also suggest u to follow his link if u r a beginner to Symbian C++.

    Best Regards,
    SajiSoft

Similar Threads

  1. Working on emulator but not on the phone!!!
    By bravvve in forum Symbian
    Replies: 7
    Last Post: 2009-09-23, 06:01
  2. Connecting Mail For Exchange to an Exchange 2007 Server
    By OliverCTS in forum General Messaging
    Replies: 1
    Last Post: 2009-09-16, 01:19
  3. retrive a images from the server and i want to store
    By narendrachinni in forum Symbian User Interface
    Replies: 3
    Last Post: 2009-09-02, 08:21
  4. Voice mail services for VoIP with SIP server
    By pawan_G in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-08-28, 13:53
  5. TCP server packet receiving problem
    By raj_rr7 in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2007-07-12, 12:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×