Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added transparent support for CDMA iPhones #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wclarkso
Copy link

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]

@NorthIsUp
Copy link

I can confirm this works on CDMA

+1 to pull

@wclarkso
Copy link
Author

I've done just this in the slightly modified version I submitted
yesterday. Take a look here:
wclarkso@f9e402c

-- 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:
#2 (comment)

@dustMason
Copy link

+1, works on my CDMA phone

@stoner
Copy link

stoner commented Apr 21, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants