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
unset LD_PRELOAD |
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
ndk-build | |
ERROR: ld.so: object '/usr/lib64/libXft-infinality/libXft.so.2' from LD_PRELOAD cannot be preloaded: ignored. | |
ERROR: ld.so: object '/usr/lib64/freetype-infinality/libfreetype.so.6' from LD_PRELOAD cannot be preloaded: ignored. | |
Install : libmain.so => libs/armeabi/libmain.so | |
ERROR: ld.so: object '/usr/lib64/libXft-infinality/libXft.so.2' from LD_PRELOAD cannot be preloaded: ignored. | |
ERROR: ld.so: object '/usr/lib64/freetype-infinality/libfreetype.so.6' from LD_PRELOAD cannot be preloaded: ignored. |
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 SomeContentProvider extends ContentProvider { | |
private HelperDatabase helper; | |
@Override | |
public boolean onCreate() { | |
helper = new HelperDatabase(getContext()); | |
return true; | |
} | |
... | |
} |
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
E/Database(234): Leak found | |
E/Database(234): Caused by: java.lang.IllegalStateException: | |
SQLiteDatabase created and never closed |
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 DatabaseHelper extends SQLiteOpenHelper { | |
private static DatabaseHelper instance = null; | |
private static final String DATABASE_NAME = "dbname.db"; | |
private static final int DATABASE_VERSION = 1; | |
public synchronized static DatabaseHelper getInstance(Context ctx) { | |
// Use the application context, which will ensure that you |
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 DatabaseHelper extends SQLiteOpenHelper { | |
private static DatabaseHelper mInstance = null; | |
private static final String DATABASE_NAME = "dbname.db"; | |
private static final int DATABASE_VERSION = 1; | |
public static DatabaseHelper getInstance(Context ctx) { | |
// Use the application context, which will ensure that you |
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 DatabaseHelper extends SQLiteOpenHelper { | |
private static DatabaseHelper mInstance = null; | |
private static final String DATABASE_NAME = "dbname.db"; | |
private static final String DATABASE_TABLE = "table_name"; | |
private static final int DATABASE_VERSION = 1; | |
public static DatabaseHelper getInstance(Context ctx) { | |
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
try { | |
String versionName = getPackageManager().getPackageInfo(getPackageName(), 0).versionName; | |
int versionCode = getPackageManager().getPackageInfo(getPackageName(), 0).versionCode; | |
... | |
} catch (NameNotFoundException e) { | |
e.printStackTrace(); | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.logitech.android" | |
android:versionCode="123" | |
android:versionName="1.2" > | |
... | |
</manifest> |
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
trickle -d 250 -u 50 google-chrome |
NewerOlder