Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Registered User silent smile's Avatar
    Join Date
    Jul 2008
    Posts
    27
    Here comes some very big and serious problems on the SilentSMS Application (ref: http://wiki.forum.nokia.com/index.ph...:SilentSMS.zip).

    I installed the .sisx on my phone-6120c(S60 3.1), and comes some problems:
    1. The app just can notify THE FIRST SMS it received;
    2. When ELEVEN messages sent, the phone says there's not enough space and request to delete some messages (which make me think about the "SMS Gate Event" not long ago);
    3. The most disappointing problem is that, when I reboot my phone, the messages which should have been filtered come all-together in a very short time.

    So, how to solve these problems? Can anybody help me?
    I'm expecting further discussion... Thanks ahead!

  2. #2
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    looks like there are some memory is not freed but allocated again and again in that code. So it eats out all the memory available.

  3. #3
    Registered User silent smile's Avatar
    Join Date
    Jul 2008
    Posts
    27
    Quote Originally Posted by skumar_rao View Post
    looks like there are some memory is not freed but allocated again and again in that code. So it eats out all the memory available.
    It's a little bit like the bug that recently found by a German Corp--Sending 11 SMSs which including an Email address with over 32 characters to an S60 3.1 cell phone may lead the messaging function corrupted...

    But what I concerned more is the problems. I just found out that the following codes cause iStatus=-46, I'm totally confused:

    Code:
    iSocket.Ioctl(KIoctlReadMessageSucceeded, iStatus, &iPckgBuf, KSolSmsProv);
    However, I'm expecting for your further concerning.
    Thanks!

  4. #4
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    KErrPermissionDenied is -46 so you might be missing some capability.
    Refer this post http://discussion.forum.nokia.com/fo...ad.php?t=92122

  5. #5
    Registered User silent smile's Avatar
    Join Date
    Jul 2008
    Posts
    27
    But what potential capabilities do you think i missed?
    Could you plz give some clues..?

  6. #6
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by silent smile View Post
    But what potential capabilities do you think i missed?
    Could you plz give some clues..?
    ReadUserData. You might consider adding NetworkServices also.
    Nokia Developer Wiki Moderation team

  7. #7
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    on the above link it has been discussed in detail.

  8. #8
    Registered User silent smile's Avatar
    Join Date
    Jul 2008
    Posts
    27
    What link, excuse me?

  9. #9
    Registered User silent smile's Avatar
    Join Date
    Jul 2008
    Posts
    27
    ReadUserData. You might consider adding NetworkServices also.
    Excuse me?

  10. #10

  11. #11
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by silent smile View Post
    Excuse me?
    You need to include those capabilities in your .mmp file. Open your .mmp file and search for the CAPABILITY keyword and then add those capabilities.
    Nokia Developer Wiki Moderation team

  12. #12
    Registered User silent smile's Avatar
    Join Date
    Jul 2008
    Posts
    27
    Quote Originally Posted by kiran10182 View Post
    You need to include those capabilities in your .mmp file. Open your .mmp file and search for the CAPABILITY keyword and then add those capabilities.
    It works!! Thanks Kiran, and all of you!

    The solution is definitely add ReadUserData CAPIBILITY, and further more, the Ioctl sentence should be:

    Code:
    iSocket.Ioctl(KIoctlReadMessageSucceeded, iStatus, &iPckgBuf, KSolSmsProv);
    rather than:

    Code:
    iSocket.Ioctl(KIoctlReadMessageSucceeded, iStatus, NULL, KSolSmsProv);
    But can you make a further explanation to the CAPIBILITies, if you please?

    Thanks again...

  13. #13
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Quote Originally Posted by silent smile View Post
    But can you make a further explanation to the CAPIBILITies, if you please?

    Thanks again...
    We have Wiki for generally everything. :-) Check this: http://wiki.forum.nokia.com/index.php/Capabilities
    Nokia Developer Wiki Moderation team

  14. #14
    Registered User silent smile's Avatar
    Join Date
    Jul 2008
    Posts
    27
    Quote Originally Posted by kiran10182 View Post
    We have Wiki for generally everything. :-) Check this: http://wiki.forum.nokia.com/index.php/Capabilities
    I got it! Thank you so much....

    But there comes another problem.
    Now, I can successfully silent some SMSs without any notification, and I can let the rest pass through by creating an SMS Entry in the Inbox manually.
    But the field "Recipient" turns out to be the naked NUMBER, even though I stored the number in the Contact Book with a specific NAME.

    I want to know whether the system can automatically translate the number or not?
    If not, do I need to manually refer to the Contact Book?

    Thanks!

  15. #15
    Super Contributor mayankkedia's Avatar
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146
    Misunderstood the earlier requirement, sorry about that.

    Cheers,
    Mayank
    Last edited by mayankkedia; 2009-02-04 at 10:37.

Page 1 of 2 12 LastLast

Similar Threads

  1. Browser prob
    By Dearjee in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2008-07-13, 17:03

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