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
=============================================================================== | |
For Adding Any Appllication in Android Source | |
=============================================================================== | |
For : TestApp | |
Create TestApp directory into below path | |
vendor/<vendor>/proprietary/prebuilt/target/product/<device>/system/app/ | |
cd vendor/<vendor>/proprietary/prebuilt/target/product/<device>/system/app/ |
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
AES-128-CBC | |
AES-128-CFB | |
AES-128-CFB1 | |
AES-128-CFB8 | |
AES-128-CTR | |
AES-128-ECB | |
AES-128-OFB | |
AES-128-XTS | |
AES-192-CBC | |
AES-192-CFB |
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
have a nice tee! | |
gst-launch --gst-debug=*:5 --gst-debug-no-color filesrc location=111.pcma ! audio/x-alaw,rate=8000,channels=1 ! alawdec ! audio/x-raw-int,rate=8000,channels=1,width=16 ! audioresample ! audio/x-raw-int,rate=16000,channels=1,width=16 ! speexenc mode=2 quality=6 ! tee name=t ! queue ! audio/x-speex ! flvmux streamable=true ! rcslabsrtmpsink url="rtmp://192.168.1.230/live/dima" librtmp-loglevel=0 t. ! queue ! filesink location=/home/ykrikun/spx/111.spx | |
speex to flash ok | |
gst-launch --gst-debug=*:2 --gst-debug-no-color filesrc location=ypp8k.wav ! wavparse ! audio/x-raw-int,rate=8000,channels=1,width=16 ! audioresample ! audio/x-raw-int,rate=16000,channels=1,width=16 ! speexenc mode=2 quality=6 ! flvmux streamable=true ! rcslabsrtmpsink url="rtmp://192.168.1.230/live/dima" librtmp-loglevel=0 | |
speex from flash ok | |
gst-launch --gst-debug=*:5 --gst-debug-no-color rcslabsrtmpsrc url="rtmp://192.168.1.230/live/dima" librtmp-loglevel=0 ! flvdemux name=demux demux.audio ! audio/x-speex,rate=16000 ! speex |
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
Go through below link | |
https://www.howtogeek.com/111859/how-to-batch-rename-files-in-windows-4-ways-to-rename-multiple-files/ |
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
Checking API: checkapi-last | |
out / target / common / obj / PACKAGING / public_api.txt: 23556: error 12: Class android.telephony.gsm.SmsMessage changed static qualifier | |
prebuilts / sdk / api / 19.txt: 23513: error 9: Removed public constructor SmsMessage () | |
prebuilts / sdk / api / 19.txt: 23514: error 9: Removed public method android.telephony.gsm.SmsMessage.calculateLength | |
prebuilts / sdk / api / 19.txt: 23515: error 9: Removed public method android.telephony.gsm.SmsMessage.calculateLength | |
prebuilts / sdk / api / 19.txt: 23516: error 9: Removed public method android.telephony.gsm.SmsMessage.createFromPdu | |
prebuilts / sdk / api / 19.txt: 23517: error 9: Removed public method android.telephony.gsm.SmsMessage.getDisplayMessageBody | |
prebuilts / sdk / api / 19.txt: 23518: error 9: Removed public method android.telephony.gsm.SmsMessage.getDisplayOriginatingAddress | |
prebuilts / sdk / api / 19.txt: 23519: error 9: Removed public method android.telephony.gsm.SmsMessage.getEmailBody | |
prebuilts / sdk / api / 19.txt: 23520: e |
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
0 = Success | |
1 = Operation not permitted | |
2 = No such file or directory | |
3 = No such process | |
4 = Interrupted system call | |
5 = Input/output error | |
6 = No such device or address | |
7 = Argument list too long | |
8 = Exec format error | |
9 = Bad file descriptor |
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
List currently running services | |
dumpsys -l | |
Print memory information | |
dumpsys meminfo | |
Print all crashed logs | |
dumpsys dropbox --print | |
Provide all netstat entries |
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
#!/bin/bash | |
sudo add-apt-repository ppa:openjdk-r/ppa | |
sudo apt-get -y update | |
sudo apt-get install -y openjdk-8-jdk | |
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
static final String AB = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; | |
static SecureRandom rnd = new SecureRandom(); | |
String randomString( int len ){ | |
StringBuilder sb = new StringBuilder( len ); | |
for( int i = 0; i < len; i++ ) | |
sb.append( AB.charAt( rnd.nextInt(AB.length()) ) ); | |
return sb.toString(); | |
} |
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
Open the following file from Android framework. | |
- /android/frameworks/base/services/java/com/android/server/wm/WindowManagerService.java | |
- Go to "computeForcedAppOrientationLocked" function. | |
- Add below code at appropriate place. | |
int req = getOrientationFromWindowsLocked(); | |
if (req == ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED) { |