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 okhttp3.OkHttpClient; | |
import okhttp3.Request; | |
import okhttp3.RequestBody; | |
import okhttp3.Response; |
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
MandyWeb mw = new MandyWeb(); | |
results = mw.sendGet("https://www.example.com/"); |
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
package com.my.newproject; | |
import java.net.*; | |
import java.io.*; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Scanner; | |
import android.os.StrictMode; | |
public class MandyWeb { | |
private static String req_url; |
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
sudo apt-get -y purge openjdk-\*; sudo apt -y install openjdk-9-jre openjdk-9-jdk |
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
#!/usr/bin/env sh | |
#Lerie Taylor 2023 | |
#scarylerie@gmail.com | |
sudo wget -O- https://download.sublimetext.com/sublimehq-pub.gpg | gpg –dearmor | sudo tee /usr/share/keyrings/sublimehq.gpg | |
echo 'deb [signed-by=/usr/share/keyrings/sublimehq.gpg] https://download.sublimetext.com/ apt/stable/' | sudo tee /etc/apt/sources.list.d/sublime-text.list | |
sudo apt update | |
sudo apt install sublime-text |
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
unzip NewProject.zip | |
Archive: NewProject.zip | |
inflating: app/src/main/res/drawable-xhdpi/app_icon.png | |
inflating: app/src/main/res/drawable-xhdpi/default_image.png | |
inflating: app/src/main/res/layout/main.xml | |
inflating: app/src/main/res/values/styles.xml | |
inflating: app/src/main/res/values/colors.xml | |
inflating: app/src/main/res/values/strings.xml | |
inflating: app/src/main/java/com/my/newproject/MainActivity.java | |
inflating: app/src/main/java/com/my/newproject/SketchwareUtil.java |
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
$ apktool b |
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
$ adb shell dumpsys activity |tee activity |grep -i textnow |
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
$ adb shell "dumpsys window windows" |grep -i text | |
Window #9 Window{412a911 u0 com.enflick.android.TextNow/com.enflick.android.TextNow.activities.MainActivity}: | |
mOwnerUid=10362 showForAllUsers=false package=com.enflick.android.TextNow appop=NONE | |
mBaseLayer=21000 mSubLayer=0 mToken=ActivityRecord{5dfce4c u0 com.enflick.android.TextNow/.activities.MainActivity t2407} | |
mActivityRecord=ActivityRecord{5dfce4c u0 com.enflick.android.TextNow/.activities.MainActivity t2407} | |
WindowStateAnimator{ffd48fa com.enflick.android.TextNow/com.enflick.android.TextNow.activities.MainActivity}: | |
mAnimationIsEntrance=true mSurface=Surface(name=com.enflick.android.TextNow/com.enflick.android.TextNow.activities.MainActivity)/@0x6706eab | |
Window #10 Window{cd54571 u0 com.enflick.android.TextNow/com.enflick.android.TextNow.activities.MainActivity}: | |
mOwnerUid=10362 showForAllUsers=false package=com.enflick.android.TextNow appop=NONE | |
mBaseLayer=21000 mSubLayer=0 mToken=ActivityRecord{5dfce4c u0 |
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
$ apktool d -f -o decompiled base.apk | |
I: Using Apktool 2.8.1 on base.apk | |
I: Loading resource table... | |
I: Decoding AndroidManifest.xml with resources... | |
I: Loading resource table from file: /home/sun/.local/share/apktool/framework/1.apk | |
I: Regular manifest package... | |
I: Decoding file-resources... | |
I: Decoding values */* XMLs... | |
I: Baksmaling classes.dex... | |
I: Baksmaling classes2.dex... |