- Retrofit http://square.github.io/retrofit/
- Simple HTTP with Retrofit 2 https://realm.io/news/droidcon-jake-wharton-simple-http-retrofit-2/
- Consuming APIs with Retrofit https://github.com/codepath/android_guides/wiki/Consuming-APIs-with-Retrofit
- Retrofit - YouTube: https://www.youtube.com/watch?v=3WONuRSUHmw
- Retrofit 2.0: The biggest update yet on the best HTTP Client Library for Android http://inthecheesefactory.com/blog/retrofit-2.0/en
- Retrofit Tutorial for Android: https://www.youtube.com/watch?v=3cN6aJmwMAg
- CONSUMING REST API WITH RETROFIT 2.0 IN ANDROID http://www.iayon.com/consuming-rest-api-with-retrofit-2-0-in-android/
- Retrofit 2 — Upgrade Guide from 1.9 https://futurestud.io/blog/retrofit-2-upgrade-guide-from-1-9
- Retrofit — Getting Started and Create an Android Client https://futurestud.io/blog/retrofit-getting-started-and-android-client
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
try { | |
RequestParams rParams = new RequestParams(); //if you have parameters to POST | |
rParams.put("example", "example"); //if you have parameters to POST | |
AsyncHttpClient client = new AsyncHttpClient(); | |
client.get(pageURL, rParams, new JsonHttpResponseHandler() { | |
@Override | |
public void onSuccess(JSONArray jsonArray) { | |
super.onSuccess(jsonArray); | |
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
defaultConfig { | |
resValue "string", "app_name", "MyApp" | |
} | |
buildTypes { | |
debug { | |
applicationIdSuffix = ".debug" | |
testCoverageEnabled = "true" | |
resValue "string", "app_name", "MyApp DEBUG" | |
} |
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
copy %systemroot%\system32\drivers\etc\hosts "C:\Users\a7madev\Desktop" | |
echo >> C:\Users\a7madev\Desktop\hosts | |
copy "C:\Users\a7madev\Desktop\hosts" %systemroot%\system32\drivers\etc\ |
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
brew install ssh-copy-id | |
ssh-copy-id root@161.202.176.248 |
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
<?php | |
// Blade if statement | |
@if() | |
@elseif() | |
@else | |
@endif | |
// Text Placeholder |
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
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
<permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
<permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
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
# | |
# Build configuration for Circle CI | |
# | |
# See this thread for speeding up and caching directories: https://discuss.circleci.com/t/installing-android-build-tools-23-0-2/924 | |
# | |
general: | |
artifacts: | |
- /home/ubuntu/AndroidCI/app/build/outputs/apk/ |