Тёмный

How to test ANY APP for PROCESS DEATH 

CodingWithMitch
Подписаться 145 тыс.
Просмотров 5 тыс.
50% 1

Android programming course: codingwithmitc...
In this video I show you how to test any app for process death. You don't have to have the code on your computer or have it running from android studio. All you need is ADB installed.
Instagram: / codingwithmitch
Twitter: / mitch_tabian
.
.

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@kharagkunchok
@kharagkunchok 4 года назад
Or you can simply type 'cmd' on file path by removing selected path at 1:54
@MerthanE
@MerthanE 4 года назад
Thank you! This will be very useful
@codingwithmitch
@codingwithmitch 4 года назад
Wow I didn't know that
@CodeSpectra
@CodeSpectra 4 года назад
Hey Mitch , thanks for this piece of effective information 😁
@dreewr
@dreewr 4 года назад
There's a plugin called ADB Idea in Android Studio that helps with that, it has functions that range from killing the app, revoking or giving permissions, clearing app data. Really helpful, I tested alongside with the video and it worked fine.
@codingwithmitch
@codingwithmitch 4 года назад
Woah nice
@sourcecode6467
@sourcecode6467 4 года назад
Quality video, very informative. Thanks Mitch 👌
@sakibsadman9872
@sakibsadman9872 4 года назад
Your lectures are grate and helping me a lot ..,keep it up sir
@VarunBarad
@VarunBarad 4 года назад
Hey Mitch, that was a helpful video. Tip: The "id" at the end of the Play Store URL for an app is its package name.
@gabriel_export
@gabriel_export 4 года назад
@Shujaat Ali why wouldn't he? Everyone is a student.
@codingwithmitch
@codingwithmitch 4 года назад
I wanted to showcase how to find processes and filter. but thank you.
@papcooffset
@papcooffset 4 года назад
I found that killing the process using adb after launching it directly from the IDE(after compiling) always restarts the app if we open it again from Recents. But closing the app, opening it from the app drawer and then killing it via adb works correctly
@ajaydeepak9739
@ajaydeepak9739 4 года назад
sure very helpful, please post more like these.
@savin1999
@savin1999 4 года назад
New profile picture everywhere The serious Mitch has gone Nice xD
@codingwithmitch
@codingwithmitch 4 года назад
I am happy now
@MerthanE
@MerthanE 4 года назад
@@codingwithmitch why? Because you discovered Koin and can finally replace Dagger now?
@azengakevin2310
@azengakevin2310 4 года назад
That was cool I love it, and yes you should do more please
@muhammadhumzakhan9888
@muhammadhumzakhan9888 3 года назад
Your tutorials are awesome. One thing that I need to ask is how your app is handling the state despite killing process?
@alitonoliveira1700
@alitonoliveira1700 4 года назад
Awesome!!
@Rassy_
@Rassy_ 4 года назад
Dumb question: 1. How do we or rather how did you handle this issue in your app? 2. In what real-life scenario would the user come across this?
@Rassy_
@Rassy_ 4 года назад
Found the video with the answers - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sLCn27DceRA.html
@branimirteodorovic2297
@branimirteodorovic2297 4 года назад
You can just enable "Don't keep activities" option in Developer options. It will destroy the activity every time it goes to the background
@on3p3301
@on3p3301 4 года назад
Thanks for the video! There are other way to stop on linux - `adb shell pm clear com.my.app.package` or `adb shell ps | grep com.myapp | awk '{print $2}' | xargs adb shell kill`
@said012341
@said012341 3 года назад
thank you very much, interesting
@riyupapa39
@riyupapa39 4 года назад
Interesting test case. Is this test means that check cache is alright about Activity( or Fragment) status which like user typing text?
@eaglepaul
@eaglepaul 4 года назад
Very helpful. Thanks 😊
@MerthanE
@MerthanE 4 года назад
Well... This was pretty fast
@HienNguyen-xn7tr
@HienNguyen-xn7tr 4 года назад
would it work if attached my computer to my phone first
@djethrak4567
@djethrak4567 4 года назад
finally thank you
@abdulkarimalbaik3873
@abdulkarimalbaik3873 4 года назад
Hey guys ! When i use recyclerview and the resolution image of each item is so high then I scroll down , the scrolling is so slow , how can I resolve that ???
@somebody2211
@somebody2211 4 года назад
use glide or picasso, if steel have problem just override the image w,h
@abdulkarimalbaik3873
@abdulkarimalbaik3873 4 года назад
@@somebody2211 Thanks bro.. I used picasso but the problem still exists , I want understanding how Instagram load high resolution images in all posters and it is fast in scrolling ????
@ViralJoshiVirus
@ViralJoshiVirus 4 года назад
Hi Mitch, Just want to know something. Can we kill the process from task Manager in windows? I think we can. I am not sure.
@codingwithmitch
@codingwithmitch 4 года назад
Not sure if that is treated as "turning the phone off". Either way, why would you want to do that as opposed to what I showed you here? Or the trick mentioned by @Zhuinden below. stackoverflow.com/questions/49046773/singleton-object-becomes-null-after-app-is-resumed/49107399#49107399
@TarekBuhdeima
@TarekBuhdeima 4 года назад
i test apps on phone by checking " Do not Keep activities"option in "Developer options"
@Zhuinden
@Zhuinden 4 года назад
Unfortunately, that is not the same. The process is not recreated in that case. Statics are not nulled out. ViewModels don't die. Parcelables are also cached until you actually kill the process and make Android recreate it. Not the same phenomenon.
@TarekBuhdeima
@TarekBuhdeima 4 года назад
@@Zhuinden Thanks , i will change to the adb then, again thanks i appreciate you clearing this for me :)
@Zhuinden
@Zhuinden 4 года назад
@@TarekBuhdeima for your own app (that you can debug), you can actually use these handy steps to reproduce the same phenomenon: stackoverflow.com/questions/49046773/singleton-object-becomes-null-after-app-is-resumed/49107399#49107399
@paininmydroid4526
@paininmydroid4526 4 года назад
"ProwCess" Death. I know what your thinking, but if Florian gets pronunciation lessons, so do you.
@codingwithmitch
@codingwithmitch 4 года назад
I don't speak gud
@paininmydroid4526
@paininmydroid4526 4 года назад
@@codingwithmitch :)
@on3p3301
@on3p3301 4 года назад
There is the fastest way to open cmd in the current directory is type `cmd` and hit Enter in the address bar - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bgSSJQolR0E.html
@gofudgeyourselves9024
@gofudgeyourselves9024 4 года назад
uncut gems
@oscarperry641
@oscarperry641 4 года назад
you look like you lift bra
@praxddesign3741
@praxddesign3741 2 года назад
How to handle process death in sessionManager class?(@Singleton SessionManager)
Далее
This will FAIL your Espresso Tests
3:54
Просмотров 3,5 тыс.
Process Death and ViewModels (My apps are BROKEN)
26:32
МАМА И КОММУНАЛКА
00:59
Просмотров 138 тыс.
Pure Comedy #ti13
00:38
Просмотров 229 тыс.
ЗАБЛУДИЛИСЬ В ТРАВЕ #shorts
00:25
Просмотров 417 тыс.
Learn Android Process Death in 6min
6:27
Просмотров 14 тыс.
DO NOT do this in a Software Engineering Interview
7:59
We Built an App in 24 Hours [No Code]
11:56
Просмотров 428 тыс.
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 635 тыс.
Modularizing Android Apps
18:16
Просмотров 20 тыс.
МАМА И КОММУНАЛКА
00:59
Просмотров 138 тыс.