Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 28
Registered: ‎02-07-2012
My Device: 9810
My Carrier: ATT

phone logs not getting deleted on my blackberry torch.Options

Hi,

 

        I have written a java program to delete the phone logs from my blackberry torch.

        It seems like it deletes the phone logs file. But  the logs are still shown when i press

        green button on my device.

 

        is there any caching logs on blackberry device ?

        if yes, how do i clean the device using the java program.

 

        i appriciate you help.

 

Thanks,

subba

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: phone logs not getting deleted on my blackberry torch.Options

Hi subba,

 

It could be related to this logged issue:

https://www.blackberry.com/jira/browse/JAVAAPI-2277

 

Let me know if the description matches what you're seeing.

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 28
Registered: ‎02-07-2012
My Device: 9810
My Carrier: ATT

Re: phone logs not getting deleted on my blackberry torch.Options

Hi,

 

     I am not able to access this URL. Please can send me right URL ?

 

Thanks,

Subbanaidu

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: phone logs not getting deleted on my blackberry torch.Options

Sorry, it was set to private. The same URL should work now Smiley Happy

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 28
Registered: ‎02-07-2012
My Device: 9810
My Carrier: ATT

Re: phone logs not getting deleted on my blackberry torch.Options

HI,

 

    That looks like different. Let  me explain th problem this way

 

    I have issued WIPE command from my server. WIPE is triggered on the device, it performs the operation.

    After that i goto  Menu->Options->call logs  it got wiped.

    Also Messages->menu->view folder->Phone Call Logs  got wiped

 

    But when i click on the "send" button,  Call log still showing all the numbers.

    Why the numbre are still visibile ? How to remove these entries ?

    is there any API available to cleanup these logs.

 

Thanks,

Subbanaidu 

 

 

 

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: phone logs not getting deleted on my blackberry torch.Options

Hi Subbanaidu,

 

Thanks for clarifying. This appears to be a device issue rather than development related, I would suggest posting to one of the General Boards.

 

If the device wipe does not erase these logs then it is unlikely that any API would.

 

Regards,

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: phone logs not getting deleted on my blackberry torch.Options

i think with "WIPE command" he refers to a command send to his application, not wiping the device.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: phone logs not getting deleted on my blackberry torch.Options

Confirmation would be great. Based on this line "I have issued WIPE command from my server" I assumed it was sent down from the BES, which should have the equivalent  result of performing a device wipe from the Options menu or entering an incorrect password 10 times.

 

@subbanaidu, could you let us know how you are wiping?

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 28
Registered: ‎02-07-2012
My Device: 9810
My Carrier: ATT

Re: phone logs not getting deleted on my blackberry torch.Options

When i issue wipe command, i do this on the device to delete the phone logs.

 

deleteAllLogs(PhoneLogs.FOLDER_MISSED_CALLS);
deleteAllLogs(PhoneLogs.FOLDER_NORMAL_CALLS);

 

With these calls, it is wiping the logs. But only place, when i click on the "send" button it is still showing up the logs.

 

Thanks,

Subbanaidu.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: phone logs not getting deleted on my blackberry torch.Options

Where are you getting the deleteAllLogs() method from? Is this something you wrote?

Garett
@garettBeuk
--
Goodbye everybody!