iPhoneTracker icon indicating copy to clipboard operation
iPhoneTracker copied to clipboard

Added transparent support for CDMA iPhones

Open wclarkso opened this issue 13 years ago • 4 comments

Thanks for writing this. Very interesting.

I have a CDMA iPhone (Verizon) and the CellLocation table is called CdmaCellLocation on these devices. I simply added very simple check to determine if the table exists, and if so, to use that table instead.

I would appreciate a GSM user to verify that this table does NOT exist on GSM databases.

Feel free to contact me via e-mail at: [email protected]

wclarkso avatar Apr 20 '11 16:04 wclarkso

I can confirm this works on CDMA

+1 to pull

NorthIsUp avatar Apr 21 '11 00:04 NorthIsUp

I've done just this in the slightly modified version I submitted yesterday. Take a look here: https://github.com/wclarkso/iPhoneTracker/commit/f9e402c0799d4982cc179040b768e68fe6dc03f5

-- Will

On Thu, Apr 21, 2011 at 12:41 PM, stoner [email protected] wrote:

CdmaCellLocation and CellLocation exists on my iPhone 4 GSM, but don't test for the table just query them all

 NSString* queries[] = {@"SELECT * FROM CellLocation;",@"SELECT * FROM CdmaCellLocation;", @"SELECT * FROM WifiLocation;"};

and modify the truncated for loop to skip the wifi (i.e. pass<2)

Reply to this email directly or view it on GitHub: https://github.com/petewarden/iPhoneTracker/pull/2#issuecomment-1040069

wclarkso avatar Apr 21 '11 17:04 wclarkso

+1, works on my CDMA phone

dustMason avatar Apr 21 '11 17:04 dustMason

Hi Will,

After I posted I saw that you had done as I had suggest already, so I deleted the original post.

Next time I'll read all the changes before commenting

:)

Michael

stoner avatar Apr 21 '11 17:04 stoner