hi, I'm working on a tweak that will let the user open up the phone app. I'm using the Open command from cydia installed on the phone. in the code i have this:
when i run it on the phone and tap the button my phone freezes and i have to wait about a minute for it to respiring on its own. but when i run the same command over ssh it opens it perfectly.
any ideas on why its freezing and how i could fix it?
thanks, Will
Code:
-(void)phoneButtonPressed {
system("su root | open com.apple.mobilephone");
}
when i run it on the phone and tap the button my phone freezes and i have to wait about a minute for it to respiring on its own. but when i run the same command over ssh it opens it perfectly.
any ideas on why its freezing and how i could fix it?
thanks, Will