×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    27

    Question A VERY head-ache prob on SilentSMS

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: A VERY head-ache prob on SilentSMS

    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
    Join Date
    Jul 2008
    Posts
    27

    Re: A VERY head-ache prob on SilentSMS

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: A VERY head-ache prob on SilentSMS

    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
    Join Date
    Jul 2008
    Posts
    27

    Re: A VERY head-ache prob on SilentSMS

    But what potential capabilities do you think i missed?
    Could you plz give some clues..?

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: A VERY head-ache prob on SilentSMS

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: A VERY head-ache prob on SilentSMS

    on the above link it has been discussed in detail.

  8. #8
    Registered User
    Join Date
    Jul 2008
    Posts
    27

    Re: A VERY head-ache prob on SilentSMS

    What link, excuse me?

  9. #9
    Registered User
    Join Date
    Jul 2008
    Posts
    27

    Re: A VERY head-ache prob on SilentSMS

    ReadUserData. You might consider adding NetworkServices also.
    Excuse me?

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: A VERY head-ache prob on SilentSMS


  11. #11
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: A VERY head-ache prob on SilentSMS

    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
    Join Date
    Jul 2008
    Posts
    27

    Re: A VERY head-ache prob on SilentSMS

    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
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: A VERY head-ache prob on SilentSMS

    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
    Join Date
    Jul 2008
    Posts
    27

    Re: A VERY head-ache prob on SilentSMS

    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
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: A VERY head-ache prob on SilentSMS

    Misunderstood the earlier requirement, sorry about that.

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

Posting Permissions

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