Skip to content

Google Fusion Table library on iOS to support the api version 1.0

Notifications You must be signed in to change notification settings

ngoccuong291/AKFusionTables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AKFusionTables

Google Fusion Table library on iOS to support the api version 1.0

I took the old libray from Pavel Aksonov. Improved it to support the new version api of google fusion because the old google fusion table is deprecated.

Just download the source code, include them into your project and you are good to go

Example:


AKFusionTables *fusionTables = [[AKFusionTables alloc] initWithUsername:kGoogleUser password:kGooglePass apiKey:kApiKey];
    
NSString *sql = [NSString stringWithFormat:@"INSERT INTO %@ (Text,Number,Date) VALUES('TEST2', 321, '1/1/2013')"
        , kTableId];
[fusionTables modifySql:sql completionHandler:^(NSData *data, NSError *completeError) {
    if (completeError != nil){
        NSInteger code = [completeError code];
        NSLog(@"Error code %d", code);
    } else {
        NSString *content = [[NSString alloc]
                initWithBytes:[data bytes] length:[data length] encoding:NSUTF8StringEncoding];
        NSLog(@"Content: %@", content);
        [content release];

    }
}];
[fusionTables release];

About

Google Fusion Table library on iOS to support the api version 1.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published