Saturday, August 22, 2015

IOS SOAP BOX - How to create multiple views in XCODE - The easiest way

Hello all,

    Today I would like to share with you the easiest way to create a multiple views using your Xcode. Don't need any coding for that.


 

  Link: https://www.youtube.com/watch?v=SSmdG2WdXic&feature=youtu.be



Happy coding,
Thiago

---------------------------------------
Other great IOS articles:

IOS Exceptions:
http://thiagoleoncio.blogspot.com/2016/03/ios-exceptions.html

IOS - 3 big reasons why start coding in swift instead of Objective-C
http://thiagoleoncio.blogspot.com/2015/11/3-big-reasons-why-start-coding-in-swift.html

IOS - IOS App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.
http://thiagoleoncio.blogspot.com/2016/01/ios-app-transport-security-has-blocked.html

IOS - Video using 3D framework
http://thiagoleoncio.blogspot.com/2015/11/ios-application-using-3d-framework.html

IOS - Video Application with Json and Mysql connection
http://thiagoleoncio.blogspot.com/2015/09/ios-application-with-mysql-database.html

IOS SOAP BOX Series- How to populate UITableView with NSArray
http://thiagoleoncio.blogspot.com/2014/11/ios-soap-box-how-to-populate.html









Sunday, July 12, 2015

Using SQLLite for Android

What is SQLite for Android?

It is an implementation of SQL language that is presented in all devices. It is a very simple version, but it also have a lot of features to be used.

·      First of all, you will need to add on your code the android.database.sqllite package.
·      You should implement methods that create and maintain the database and tables:



·      In apps, we interact with a SQLite database using the SQLiteOpenHelper class and the SQLiteDatabase class. SQLiteOpenHelper is like a ‘Portal’ into SQLiteDatabase, it allows you to create statements into SQLiteDatabase class.
·      We use OnCreate() method to be called by the system if the database does not exist.
·      OnUpgrade() is called when the version number changes.
·      getReadlableDatabase access database in read-only mode. So, only use this method for select statements.
·      getWritableDatabase is used for Insert and Update statements.
·      Definition for column names and table names:


·      SQLiteOpenHelper creates a subclass that overrides onCreate(), onUpgrade() and onOpen() callback methods. Here it is an implementation of SQLiteOpenHelper:

·      To access your database you just need to instantiate your DB class as below:

·      Put information/ Read / Delete and Update information on database:



I hope these help you in your android implementation. Happy coding! See you next month.

Thiago Leoncio.