The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #16  
Old 12-12-2007, 05:25 AM
Green Apple
 
Join Date: Aug 2007
Posts: 48
Thanks: 1
Thanked 7 Times in 6 Posts

Sure.. Just change the trigger to:

CREATE TRIGGER [deleteKeep]
BEFORE DELETE ON [call]
FOR EACH ROW WHEN (select count(*) from call)<1000
BEGIN
insert into call
select null,address,date,duration,flags,id from call
where call.ROWID=OLD.ROWID ;
END

Attached updated file.
Attached Files
File Type: zip call_history.zip (1.8 KB, 172 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to piranha For This Useful Post:
sserg007 (12-12-2007)
  #17  
Old 12-12-2007, 01:44 PM
Reako's Avatar
Livin the iPhone Life
 
Join Date: Sep 2007
Posts: 1,653
Thanks: 31
Thanked 158 Times in 121 Posts

I barely use the caller, and I have no idea how to help change the Triggers for the SMS. I hope you figure it out.

Reako
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #18  
Old 12-12-2007, 06:28 PM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts

Piranha, thanks a lot!!!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #19  
Old 12-14-2007, 02:22 AM
Green Apple
 
Join Date: Nov 2007
Posts: 62
Thanks: 12
Thanked 20 Times in 10 Posts

Thanks a lot, will try this out.

Cheers, Vikas.


Quote:
Originally Posted by piranha View Post
For those who want to test unlimited size of last call list, use attached file.
After unzipping replace /var/root/Library/CallHistory/call_history.db with the new one.
I recommend to keep a copy of the old one just to be safe.
Please note it will erase all your current history.
Reboot your iPhone to start the trigger.

Please note that it may slow down the "last calls" screen, depending on how big your list will be.

So far mine works fine, with 3000 records.
Remember that I take no responsibility if it blows up your phone
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #20  
Old 12-14-2007, 11:39 AM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,386
Thanks: 298
Thanked 2,630 Times in 857 Posts
Send a message via AIM to Kyle Matthews

Good work, pirahna. Very useful tweak!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #21  
Old 12-20-2007, 10:49 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

I'm sure this works, but it would be great if you could clear it once in a while, which does not work. the calld application also doesn't work, I'm sure you guys noticed this.. so I guess the next question is if there is a way to increase the call history count without (partially) loosing list functionality. thanks!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #22  
Old 12-20-2007, 11:02 AM
Green Apple
 
Join Date: Aug 2007
Posts: 48
Thanks: 1
Thanked 7 Times in 6 Posts

I am in the talks with BigBoss and his speed dial program, which may use this for intelligent creation of speed dial list based on how often we call people.

I think we'll just create separate table where we'll archive older data (as I did with SMS).
The speed dial program will be able to switch this on or off.
(by the way I have over 4000 entries in my callhistory table, and I see no slowdown).
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #23  
Old 12-20-2007, 11:23 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

yeah, that would be great. any idea when this application is due? thanks
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #24  
Old 01-08-2008, 02:04 AM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,386
Thanks: 298
Thanked 2,630 Times in 857 Posts
Send a message via AIM to Kyle Matthews

Could you also upload a file with the default settings?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #25  
Old 01-16-2008, 08:17 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Good idea!

Steven
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #26  
Old 01-24-2008, 11:37 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by recoil View Post
I'm sure this works, but it would be great if you could clear it once in a while, which does not work. the calld application also doesn't work, I'm sure you guys noticed this.. so I guess the next question is if there is a way to increase the call history count without (partially) loosing list functionality. thanks!
I want to swap out the files because id really like a 500+ history but you cant erase it? What functions does it get rid of exactly?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #27  
Old 01-24-2008, 05:54 PM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

as you have read, the trigger tampers with the deleting of lines from the .db file. that means that not only the deletion of lines from the end of the file (>100) doesn't work, deletion does not work at all. so if u swap the files, you can't clear the list and you can't use calld to erase lines one by one, the application crashes. I am personally waiting for a way to archive the list into a separate table. hope it's clear now, bye
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #28  
Old 01-31-2008, 02:44 AM
What's Jailbreak?
 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

WOW!!!! This is AWESOME!!!!!! Great work man!!!

Just one question, can you modify and limit it up to 5000, pls???



Thanks in advance!


Ka
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #29  
Old 05-18-2008, 01:47 PM
Green Apple
 
Join Date: Nov 2007
Posts: 62
Thanks: 12
Thanked 20 Times in 10 Posts

Hi.

can anyone please post the original callhistory.db file as I have misplaced mine and want to revert to the old one? Thank You.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #30  
Old 07-22-2008, 08:45 AM
What's Jailbreak?
 
Join Date: Apr 2008
Device + Firmware: iPhone 1.1.3
Operating System: Vista Business
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Call History

Quote:
Originally Posted by piranha View Post
For those who want to test unlimited size of last call list, use attached file.
After unzipping replace /var/root/Library/CallHistory/call_history.db with the new one.

I recommend to keep a copy of the old one just to be safe.
Please note it will erase all your current history.
Reboot your iPhone to start the trigger.

Please note that it may slow down the "last calls" screen, depending on how big your list will be.

So far mine works fine, with 3000 records.
Remember that I take no responsibility if it blows up your phone
Thanks Piranha, i applied this "BTW in 1.1.4 the locaqtion is: /private/var/mobile/Library/CallHistory"

I guess i need 2-3 busy days to confirm that it's working for me

do you think you can make it a bit limited? like 500 calls instead of limited

thanks again for the effort
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 04:21 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top