Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User freakazoa's Avatar
    Join Date
    Aug 2005
    Posts
    4
    Hi,
    I'm receving an unhandled exception when i try to load an m3g file using
    Loader.Load(url) even though the function is envelope in a try cacth statement, i tested the code in k800i and it worked fine. I dunno what could be the problem. Pls Help. Thanks.

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Have you tried with a really simple m3g file? Does it create the same exception?

    Hartti

  3. #3
    Registered User freakazoa's Avatar
    Join Date
    Aug 2005
    Posts
    4
    yeah , ive tried to load just a box and a light, but still there's error when i call Loader.load(URL), I've also tested it on n6680 and n70, there no exception but the application hangs up. but when i try Loader.load(localPath) meaning the m3g file is included in the jar file all works well.

  4. #4
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Do you use any m3g 1.1 features? That support is added in S60 3rd Edition FP1.

    Hartti

  5. #5
    Registered User freakazoa's Avatar
    Join Date
    Aug 2005
    Posts
    4
    what do you mean by m3g 1.1 features? I can load an m3g file if it's included on the jar but why cant i do it if i use a URL as a parameter in
    Loader.load()? :-(

  6. #6
    Registered User taarnio's Avatar
    Join Date
    Mar 2003
    Posts
    18
    What exception is it? If it's a SecurityException then it means that your midlet doesn't have sufficient permissions to open a network connection.

    As for the M3G file format, that's the same on both M3G 1.0 and 1.1.

    --tomi

  7. #7
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Thanks Tomi, I guess I should reread the JSR-184 spec too :-)

    Hartti

  8. #8
    Registered User freakazoa's Avatar
    Join Date
    Aug 2005
    Posts
    4
    That's the problem, I dont even know what the exception is. I have a try and catch and still say "Unhandled exception"

  9. #9
    Super Contributor peterblazejewicz's Avatar
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,699
    hi freak*

    try widening your try/catch block, it seems that exception happens prior your current try/catch block,
    for start invoke that block which causes exception on user event (like menu item handler),

    regards,
    Peter

Similar Threads

  1. Compilation series 60 3rd edition
    By asmobease in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2006-09-13, 09:46
  2. Compilation series 60 3rd edition
    By asmobease in forum Symbian C++
    Replies: 3
    Last Post: 2006-09-10, 14:08
  3. Loading JPEG file in CFbsBitmap object
    By dotcdotc in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2005-01-12, 05:13
  4. Help !about .mbm的形成
    By wangguoshui in forum Symbian
    Replies: 4
    Last Post: 2004-12-23, 03:37
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved