How to use NSTIMER in IOS Programatically ?
////sample.h #import <UIKit/UIKit.h> @interface sample : UIViewController { NSTimer *timer_time_taken; } @property (nonatomic, retain) NSTimer *timer_time_taken; @end ///sample.m #import “sample.h” @implementation sample –…
How to move UP the UIVIEW when keyboard is display or typing in UITEXTFIELD in IOS !!!
UIVIEW when keyboard is display In my recent project i have faced a small problem when i have to provide data through UITEXTFIELD , but the problem is that after 4 UITEXTFIELD rest of the UITEXTFIELD’s are hide behind the keyboards, so the simple…
The best Android apps for boosting battery life
1. DU Battery Saver DU Battery Saver is a free app that can be used to increase the battery life of your device by up to 50%. It provides pre-set power management modes such as Long Standby, General Mode and Sleep Mode. You can also set a customized mode…
How to use Pickerview with Uitextfield for input data in IOS
At work recently I faced with the task of creating an interface were a two uipickerview would control the value input for different field .I decided that the interface would be better if for those fields that used a uipickerview it would appear when the…
SQLite3 database connection functions and commands !
database connection sqlite3_open() – will result in a database with the default UTF-8 encoding. sqlite3_open_v2() – will result in a database with the default UTF-8 encoding. sqlite3_open_16() – is used to create a database, the default string encoding…
What is Save-Points in SQLite !!!
SQLite also support save-point. Savepoints allow you to mark specific points in the transaction. You can then accept or rollback to individual save-points without having to commit or rollback an entire transaction. Unlike transactions, you can have more…
Datatype supports in Sqlite !!!
SQLite support only five concrete datatypes.i.e NULL,Integer,Float,Text,BLOB. 1) NULL – A NULL is considered its own distinct type. A NULL type does not hold a value. Literal NULLs are represented by the keyword NULL. 2)Integer – size is 8 bytes. range…
What are the SQLite standerd return codes.
SQLITE_OK Operation successful SQLITE_ERROR Generic error SQLITE_INTERNAL Internal SQLite library error SQLITE_PERM Access permission denied SQLITE_ABORT User code or SQL requested an abort SQLITE_BUSY A database file is locked (usually recoverable)…
How to create SQLite mac Terminal?
SQLite mac Terminal 1. Using spolight(press the cmd+space) search the terminal, Terminal its a default editor avilable in mac. or in the Menu go on Application -> Terminal. 2.First select the location where you want save your database file. i choose…
What is SQLite.?
SQLite is a public-domain software package that provides RDBMS(Relational Database Management System) Relational database systems are used to store user-defined records in large tables. Features of SQLite. Serverless. SQLite is a serverless does not…