In this course you will learn how you can build your first professional application in Android
This file contains hidden or 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
package mx.reservamos.reservamos.presentation.Utils; | |
import android.app.Application; | |
import android.content.Context; | |
import android.content.res.AssetManager; | |
import android.util.Log; | |
import java.io.IOException; | |
import java.io.InputStream; |
This file contains hidden or 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
var SPREADSHEET_ID="1mqiEdi6kba5eVVpAubUBcPjOPPUkoD_xGdbVm55Cktc"; | |
function myFunction() { | |
var HEADER_SIZE=3; | |
var FOOTER_SIZE=0; | |
var sheet = SpreadsheetApp.openById(SPREADSHEET_ID); | |
var data = sheet.getDataRange().getValues(); |
This file contains hidden or 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
var SPREADSHEET_ID="1mqiEdi6kba5eVVpAubUBcPjOPPUkoD_xGdbVm55Cktc"; | |
function myFunction() { | |
var HEADER_SIZE=3; | |
var FOOTER_SIZE=0; | |
var sheet1 = SpreadsheetApp.openById(SPREADSHEET_ID); | |
var sheet = sheet1.getSheets()[3]; |
This file contains hidden or 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
[ { | |
"title": "", | |
"url_image": "", | |
"body": "", | |
"origin_id": "[tw,fb,rd]", | |
"date": "", | |
} | |
] |
This file contains hidden or 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
package crackingcodeinterview; | |
public class Exercise { | |
static String textString = "this is a random text of example"; | |
public static void main(String[] args) { | |
filterLetters(0, ""); | |
} |
This file contains hidden or 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
package hackro.tutorials.com.salesfacebook.widget | |
import android.content.Context | |
import android.graphics.Canvas | |
import android.graphics.drawable.BitmapDrawable | |
import android.os.Handler | |
import android.support.v7.app.AppCompatActivity | |
import android.util.AttributeSet | |
import hackro.tutorials.com.salesfacebook.R |
This file contains hidden or 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
public class MainActivity extends AppCompatActivity { | |
private int count; | |
private int last=0; | |
private int current = 1; | |
int value; |
This file contains hidden or 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
import android.app.Application; | |
import android.content.Context; | |
import android.content.res.AssetManager; | |
import android.util.Log; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.Properties; |
This file contains hidden or 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
public static Map<String,String> getPropertiesUri(Uri uri){ | |
String[] params = uri.getQuery().split("&"); | |
Map<String, String> map = new HashMap<>(); | |
for (String param : params) { | |
String name = param.split("=")[0]; | |
String value = param.split("=")[1]; | |
map.put(name, value); | |
} | |
return map; |