Android Webview Vulnerability

Exploiting Android WebViews

Overview Webview in Android is a system component that runs on chromium engine that allows Android apps to display web view content. There are plenty of apps out there that simply wraps web pages or web content which is stored in app. Most of the cross-platform apps uses Webview to provide easy to use interface for their users. Now coming to more technical side of the things, being a developer you can debug your Webview with ADB....

October 30, 2021 · 3 min · SlothieSmooth
Naming things in codebase image

Naming things in codebase

Naming your methods and fields while programming can be hard at times, But not impossible and since, there is no concrete guideline about the naming, I made up my own. You can use these guidelines in your codebase to make the code more readable and avoid mental breakdowns for a maintenance programmer. Avoid misleading words Avoid naming your variables data, process, run, do. These words do not mean anything. Literally, any variable in your codebase can be called data, since you are ultimately doing something with data....

June 27, 2021 · 4 min · SlothieSmooth
Intent extractor for lazies cover image

Intent extractor for lazies in Kotlin

While developing Nyx, I stumbled upon a custom delegate that would get me the extras using an inner class. Similar to safeArgs. I found it a very intriguing thing for a lazy ass like me. I implemented the same for my other app Ip-Scanner but immediately realized it contains a boilerplate code. For each fragment and activity. Being a lazy person, I hate writing boilerplate, I made few extensions that would get the extras for me with Kotlin lazy....

June 20, 2021 · 3 min · SlothieSmooth
Dependency Injection and Code Smell cover image

Dependency Injection and Code Smell

In a Wonderland, Developers get more intellectual continuously. The code we wrote today ought to be superior to the code we wrote a year or two ago. Now-a-days we have better tools, more mature and modern programming language. Moreover, We possess better code style and practices than we had before. However, We realize this often in life that we are not in Wonderland. We have probably made our own Dependency Injection or used a tool like Dagger or Koin....

March 19, 2021 · 4 min · SlothieSmooth