This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": [ | |
{ | |
"phone": "+4476XXXXX345", | |
"name": "Jim Smith" | |
}, | |
{ | |
"phone": "+2345XXXX66", | |
"name": "Kelly Anderson" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connecting to Multiple Databases in the same Codeigniter framework is easy. To use multiple database connections you have to create multiple Configurations Arrays in database.php file. | |
So you’ll need to set up your database.php file under config folder as below: | |
$active_group = ‘default’; | |
$active_record = TRUE; | |
// First database configuration | |
$db[‘default’][‘hostname’] = ‘localhost’; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To import the external project or library in Android Studio using Gradle, there is one easy method that can save your time. | |
Steps to do this: | |
To import the project, just create a folder named, lets say “libraries” folder and then paste the external project or library into this folder. | |
Then go to Android Studio and on the root of your project directory create/modify the settings.gradle file. Then refer the project as | |
include ‘SampleApp’, ‘:libraries:SampleExternalLibrary’. | |
Then edit your main app’s build.gradle to add this as followed: | |
dependencies { | |
//... |