For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
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
In the terminal : | |
1> cd /usr/lib/jvm/java-7-openjdk-amd64/bin | |
2> keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android |
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
<!-- In the XML> | |
<ExpandableListView | |
android:id="@+id/nav_left_drawer" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="@color/title" | |
android:choiceMode="singleChoice" | |
android:divider="@color/title" | |
android:dividerHeight="0dp" |
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
{ | |
"success": true, | |
"inboxSecions": [ | |
{ | |
"id": "56db7e6a9b0e4dc096bc5be6ab60efda", | |
"type": "CUSTOM_SECTION", | |
"title": "Testing ", | |
"spAccountId": "b485f675e7954eaa86fd2202648be999", | |
"createdAt": "1644574368527", | |
"updatedAt": "1676616565805", |
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 get android key hash code follow these steps | |
Download the openssl for windows | |
now unzip to c drive | |
open cmd prompt | |
type cd C:\Program Files\Java\jdk1.6.0_26\bin | |
then type only | |
keytool -export -alias myAlias -keystore C:\Users\your user name\.android\myKeyStore | C:\openssl-0.9.8k_WIN32 \bin\opens sl sha1 -binary | C:\openssl-0.9.8k_WIN32\bin\openssl enc -a -e |
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
Broken pipe java.io.IOException: Broken pipe | |
at sun.nio.ch.FileDispatcherImpl.write0(Native Method) | |
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) | |
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) | |
at sun.nio.ch.IOUtil.write(IOUtil.java:65) | |
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) | |
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:524) | |
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:627) | |
at com.android.ddmlib.SplitApkInstaller.uploadApk(SplitApkInstaller.java:151) | |
at com.android.ddmlib.SplitApkInstaller.install(SplitApkInstaller.java:77) |
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 class LocationService extends Service | |
{ | |
public static final String BROADCAST_ACTION = "Hello World"; | |
private static final int TWO_MINUTES = 1000 * 60 * 2; | |
public LocationManager locationManager; | |
public MyLocationListener listener; | |
public Location previousBestLocation = null; | |
Intent intent; | |
int counter = 0; |
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
/* class InitDiskCacheTask extends AsyncTask<File, Void, Void> { | |
@Override | |
protected Void doInBackground(File... params) { | |
synchronized (mDiskCacheLock) { | |
File cacheDir = params[0]; | |
try { | |
mDiskLruCache = DiskLruCache.open(cacheDir, 1, 1, DISK_CACHE_SIZE); | |
} catch (IOException e) { | |
e.printStackTrace(); | |
} |
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
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the ART/Dalvik VM | |
*.dex | |
# Java class files | |
*.class |
NewerOlder