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
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v4.widget.DrawerLayout | |
android:id="@+id/drawer_layout" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:fitsSystemWindows="true"> | |
<!-- The main content view --> | |
<include layout="@layout/main" /> |
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
{ | |
"fields": [ | |
{ | |
"name": "ACCOUNT", | |
"type": "String", | |
"isKey": true, | |
}, | |
{ | |
"name": "DOMAIN", | |
"type": "String", |
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
public static void setUILanguage(Context context, String uiLang) { | |
if (!TextUtils.isEmpty(uiLang) && context!=null) { | |
int sep = uiLang.indexOf("-r"); | |
final Locale setLocale; | |
if (sep==-1) | |
setLocale = new Locale(uiLang); | |
else | |
setLocale = new Locale(uiLang.substring(0,sep), uiLang.substring(sep+2)); | |
final Resources res = context.getResources(); |
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
C:\temp\with space\work>gradlew aR | |
Using local InMemoryDB library in : | |
Building RELEASE | |
:preBuild UP-TO-DATE | |
:preReleaseBuild UP-TO-DATE | |
:checkReleaseManifest | |
:preDebugBuild UP-TO-DATE | |
:InMemoryDb:compileLint | |
:InMemoryDb:copyReleaseLint UP-TO-DATE | |
:InMemoryDb:preBuild UP-TO-DATE |
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
/** | |
* This method is used to enable streaming of a HTTP request body | |
* without internal buffering, when the content length is known in | |
* advance. | |
* | |
* <P> An exception will be thrown if the application attempts to write | |
* more data than the indicated content-length, or if the application | |
* closes the OutputStream before writing the indicated amount. | |
* |
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
mColumns = {java.lang.String[4]@831729442344} | |
[0] = {java.lang.String@831729442376}"HOST" | |
[1] = {java.lang.String@831729442408}"COUNT(date)" | |
[2] = {java.lang.String@831729442480}"PORT" | |
[3] = {java.lang.String@831729442512}"_id" |
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
import org.gawst.proxy.ui.SwipeListFragment; | |
import android.content.Context; | |
import android.database.Cursor; | |
import android.os.Bundle; | |
import android.support.v4.app.LoaderManager.LoaderCallbacks; | |
import android.support.v4.content.Loader; | |
import android.support.v4.widget.CursorAdapter; | |
import android.support.v4.widget.SwipeRefreshLayout; | |
import android.view.View; |
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
import java.io.IOException; | |
import android.widget.ImageView; | |
public interface PictureCache<L, R extends RunningLoad, AUTH_COOKIE, AUTH_LOADER, VIEW_TYPE extends ImageView> { | |
R load(VIEW_TYPE view, String imageUrl, PictureLoader loader, SizeConstraint sizeConstraint, AUTH_LOADER networkLoader, AUTH_COOKIE cookie, long freshness); | |
void loadFromAnyThread(String imageUrl, PictureLoader loader, SizeConstraint sizeConstraint, AUTH_LOADER withAuth, AUTH_COOKIE cookie); |
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
Error:java.lang.NullPointerException | |
at com.android.dx.cf.code.ConcreteMethod.<init>(ConcreteMethod.java:87) | |
at com.android.dx.cf.code.ConcreteMethod.<init>(ConcreteMethod.java:75) | |
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:271) | |
... 24 more | |
...while processing <init> (Lcom/levelup/touiteur/pictures/AvatarCache;Landroid/content/Context;Ljava/lang/String;D)V | |
...while processing com/levelup/touiteur/pictures/AvatarCache$1.class |
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
Error:Execution failed for task ':Plume:dexDebug'. | |
> com.android.ide.common.internal.LoggedErrorException: Failed to run command: | |
C:\android-sdk\build-tools\21.1.1\dx.bat --dex --no-optimize --multi-dex --main-dex-list C:\Users\Dell990MT\Documents\Program\LevelUp\Plume\work\Plume\build\intermediates\multi-dex\debug\maindexlist.txt --output C:\Users\Dell990MT\Documents\Program\LevelUp\Plume\work\Plume\build\intermediates\dex\debug --input-list=C:\Users\Dell990MT\Documents\Program\LevelUp\Plume\work\Plume\build\intermediates\tmp\dex\debug\inputList.txt | |
Error Code: | |
3 | |
Output: | |
UNEXPECTED TOP-LEVEL ERROR: | |
java.lang.OutOfMemoryError: GC overhead limit exceeded | |
at com.android.dx.cf.code.Ropper.processBlock(Ropper.java:1048) | |
at com.android.dx.cf.code.Ropper.doit(Ropper.java:742) |