Friday 9 December 2011

Public Recovery Code for anti-Virus G One Anti


Public Recovery Code for anti-Virus G-One Anti

How to take video of Mac OS X Desktop.

How to record screen movement in Max OSX. Like in windows there is free tools like "CamCorder" as some tool available for Mac?

The answer is Yes, a very good tool for Mac OSX screen recorder is "Copernicus".  Search it in google and use it.
I'm loving it.

Cocos 2D - iPhone Game Docs

Cocos 2D - iPhone Game Docs. All classes reference. click here for download 3.5 MB

This docs made with the help of Doxygen. Doxygen is a powerful tool to make documentation of Classes and source code.
It supports many language like Objective C, C#, Java, C++, PHP, FORTON, VHDL, CLI..

It is a very nice tool, I love it.


Friday 18 November 2011

SQLite Query

On the terminal of Mac 10.6
(Application -> Utility -> Termincal )

sqlite3 abc.sql

CREATE TABLE IF NOT EXISTS InfoAll (sno INTEGER PRIMARY KEY AUTOINCREMENT,username TEXT, pswd TEXT, link TEXT, hint TEXT);

CREATE TABLE IF NOT EXISTS mainTable(mastersno INTEGER PRIMARY KEY AUTOINCREMENT,masterusername TEXT, masterpswd TEXT);

.quit

select 'DROP table ' || name from sqlite_master where type = 'table';
-----  =====>
DROP table sqlite_sequence
DROP table mainTable
DROP table InfoAll

Some well used codes

======= framework path as iAD game path
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/iAd.framework

Maybe you can reference it only by adding in the Build Setting -> Other Linker Flags the value -weak_framework and after that entrance add in another row iAD

=======alert view
UIAlertView    *alert = [[UIAlertView alloc] initWithTitle:@"Password Changed"
                                                        message:@"Successfully"
                                                       delegate:self
                                              cancelButtonTitle:@"Ok"
                                              otherButtonTitles:nil];
        [alert show];
        [alert release];
      
================ NAVIGATION CODE
SignInHomePage *detailViewController = [[SignInHomePage alloc] initWithNibName:@"SignInHomePage" bundle:nil];
detailViewController.name = [NSString stringWithUTF8String:(char *)sqlite3_column_text(statement,3)];
detailViewController.masterID = [NSString stringWithUTF8String:(char *)sqlite3_column_text(statement,0)];
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];
  
================DB CODE
        sqlite3 *database;
  

iAD intergration codes

http://bees4honey.com/blog/tutorial/how-to-add-iad-banner-in-iphoneipad-app/
http://www.raywenderlich.com/1371/how-to-integrate-iad-into-your-iphone-app
http://developer.apple.com/support/ios/iad-network.html

Code by GauravDS ----------

Step 1 :  Make a view based application and suppose I get name as "iADTest".
Step 2 :  Import iAD.framework from add exiting framework. If u didn't get it on list, click on add other and add it from the path
Macintosh HD/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/iAd.framework
optional if above will not find-
Maybe you can reference it only by adding in the Build Setting -> Other Linker Flags the value -weak_framework and after that entrance add in another row iAD

Step 3 : write below code in files, or if u made a new file which contain .h, .m & .xib file then in that file u have to write this code. Suppose u made a new view based file ABC (.h, .m & .xib) then make a code in


in iADTestViewController.h file (full code is here )
===================
#import <UIKit/UIKit.h>
#import <iAd/ADBannerView.h>

Monday 14 November 2011

Text Field Hides keyboard iPhone New Updated code

#pragma mark keyboard Hides code
/*
===  This code handles the scrolling when tabbing through input fields ===
 -> Should remeber that taxtField should "delegate" to "Files Owner"
             or should select "textField.delegate=self;"

 ---prototype   .h file
//add IBOutlet UITextField *textField1,*textField2;
 -(void)releaseKeyboard;
 -(IBAction)dismissKeyboard:(id)sender;        // this method is used on the UITextField event "Did End On Exit"

Monday 24 October 2011

Wednesday 19 October 2011

TextField Hides keyboard in iPhone

// add this line in .h file
IBOutlet UITextField *textField;
@property(nonatomic,retain) UITextField *textField;



//add this line in .m file
@synthesize textField;
// text field on out side touch :keyboard hidden method

Wednesday 5 October 2011

download iPhone book

download iPhone books and other documents
Site 1

Site 2

How to take screen shots in Apple Mac

For custom screen shot press shift+command(Window button) +4 For take screen shot of particular open window press shift + command +4 then space bar Note that command button is window sign button near left control and left alt. All screen shot will automatic save at desktop. to move desktop directly press F11.

If you want to record screen video use Debut software which is freeware for mac. It supports many video format like flv,3gp,wmv etc. Good freeware software.

iOS iPhone developer Guide, Submission Process, Status, References


Written by : Gaurav D. Sharma 2011 
INDEX
    1.    Code Should follow this terms, conditions and code standards. Unless Apps will be rejected.
    2.    Apps Store Review Guidelines
    ⁃    Make your code distributed (Binary for upload to apple store (itunesconnect.apple.com)) Before apply this please read both try first then apply this step.
    3.    Distribution
    ⁃    Try one
    ⁃    Try two
    4.    App Store Approve Process
    5.    There are 16 types of status of your apps in itunesconnect.apple.com
    6.    Distributing your applications Ad Hoc (Optional)

Download it as PDF click here