adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db “”INSERT INTO system VALUES(99,’http_proxy’,’192.168.10.200:808′);”"
adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db “INSERT INTO system VALUES(99,’http_proxy’,’127.0.0.1:8083′)”;
adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db “”INSERT INTO system VALUES(99,’http_proxy’,’192.168.10.200:808′);”"
http://blog.mugunthkumar.com/coding/iphone-tutorial-how-to-send-in-app-sms/
adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db “INSERT INTO system VALUES(99,’http_proxy’,’127.0.0.1:8083′)”;
https://www.x.com/community/ppx/xspaces/mobile/mep
for ipad and ihphone paypal library
http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices
steps to test applicaion on iphone
http://amanpages.com/sample-iphone-example-project/facebookagent-easy-way-to-integrate-facebook-connect-in-iphone-apps-and-write-minimum-code-to-publish-feed-change-status/
twitter
http://github.com/jaanus/PlainOAuth
- (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event {
// Retrieve the touch point
CGPoint pt = [[touches anyObject] locationInView:self.view];
if (CGRectContainsPoint(imgPicture.frame, pt)){
NSLog(@”in image”);
BigImageView * aBigImageView = [[BigImageView alloc]initWithNibName:@”BigImageView” bundle:nil];
[aBigImageView setImageURL:objStory.imageurl];
[self.navigationController pushViewController:aBigImageView animated:YES];
}
//startLocation = pt;
//[[self superview] bringSubviewToFront:self];
}
how to submit application on apple store
http://www.edumobile.org/iphone/iphone-programming-tutorials/submitting-iphone-apps-to-the-apple-app-store-a-step-by-step-guide/
http://www.theiphonedev.com/SourceCode/tabid/143/Default.aspx
android tutorial
http://cis.csuohio.edu/~matos/notes/cis-493/2009-fall/Android-Syllabus-2009.pdf
(CGPoint)getPointForImage:(UIImage*)img
{
int iCount=0;
CGImageRef inImage = [UIImage imageWithData:UIImageJPEGRepresentation(img, 1.0)].CGImage;//
CFDataRef m_DataRef;
m_DataRef = CGDataProviderCopyData(CGImageGetDataProvider(inImage));
UInt8 * m_PixelBuf = (UInt8 *) CFDataGetBytePtr(m_DataRef);
int length = CGImageGetHeight(inImage)*CGImageGetWidth(inImage)*4;//CFDataGetLength(m_DataRef);
//DLog(“Actual len: %d-%d cfdata len: %d — %d”,CGImageGetHeight(inImage)*CGImageGetWidth(inImage),length,CGImageGetBytesPerRow(inImage)/32);
for (int index = 0; index < length; index += 4)
{
iCount++;
if (iCount==img.size.width) {
iCount=1;
}
//if(indexlength-20)
// if((m_PixelBuf[index]==255&&m_PixelBuf[index+1]==255&&m_PixelBuf[index+2]==255&&m_PixelBuf[index+3]==255))
// {
// }else
// printf(“%d:%d:%d:%d~”,m_PixelBuf[index],m_PixelBuf[index+1],m_PixelBuf[index+2],m_PixelBuf[index+3]);
//if(m_PixelBuf[index+1]>200&&m_PixelBuf[index+2]==0&&m_PixelBuf[index+3]==0)
if(m_PixelBuf[index]!=255||m_PixelBuf[index+1]!=255||m_PixelBuf[index+2]!=255||m_PixelBuf[index+3]!=255){
DLog(@”%d”,iCount);
return CGPointMake((iCount), index/((int)img.size.width*4));
}
//printf(“\n”);
}
return CGPointZero;
}
http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app
http://sqlitebrowser.sourceforge.net/
iphone and ipad
#if __IPHONE_3_2 >= __IPHONE_OS_VERSION_MAX_ALLOWED
if ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad) {
// iPad XIB Name
introVCNibName = @”MatrixMultipleChoiceVC-iPad”;
}
else
#endif
{
// iPhone/iPode XIB name
introVCNibName = @”MatrixMultipleChoiceVC”;
}
// Create View Controller with XIB name
mxmVC = [[MatrixMultipleChoiceVC alloc] initWithNibName:introVCNibName bundle:nil];
https://github.com/zoul/Finch/tree/master/Demo
Zxing and zbar
https://github.com/epatel/ac3dreader
NSCharacterSet *alphaNums = [NSCharacterSet decimalDigitCharacterSet];
NSCharacterSet *inStringSet = [NSCharacterSet characterSetWithCharactersInString:textField.text];
BOOL valid = [alphaNums isSupersetOfSet:inStringSet];
http://stackoverflow.com/questions/1372561/problem-sending-apple-push-notification-using-java-and-rest
https://github.com/facebook/facebook-ios-sdk
- (BOOL) validateEmail: (NSString *) candidate {
NSString *emailRegex = @”[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}”;
NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", emailRegex];
return [emailTest evaluateWithObject:candidate];
}
http://esramkumar.wordpress.com/tutorial-projects/
Give Full Access Permission to ‘EveryOne’ User to “C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys” this folder.
guide for sorting
http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/Collections/Articles/Arrays.html#//apple_ref/doc/uid/20000132-BBCCJBIF
http://stackoverflow.com/questions/805547/how-to-sort-an-nsmutablearray-with-custom-objects-in-it
CGFloat deltaCoord = [[SurveyParameter instance] range] / 69.0 * 1.33; // if Kilometer
http://www.theappcodeblog.com/2011/02/27/keyboard-tutorial-part-3-add-a-toolbar-to-the-keyboard/