Author: Zero Fold Technologies
-
Implementing Data Store in Android Project
Official Google Android Developer documentation encourages using DataStore, if you already have implemented SharedPreferences. It is recommended to not store complex data objects in SharedPreferences, for complex types, consider using Room Database. But, if you still wish to procced using DataStore for storing complex data objects, you can do it via Proto Data Store. Add…
-
Understanding JSON – Part 3, Writing
While reading from a JSON is done to bind the value to User Interface, writing is done prepare a data object that can be to an API. Here, again we’re going to write to a JSON via JavaScript, to not rely on any external dependency for now. stringify() is an in-built method in JavaScript, that…
-
Understanding JSON – Part 2, Reading
In Part 1, we understood what a JSON is and how it can be put to work to transfer data effectively. In this part, we’ll quickly understand how JSON Array or Objects can be read. For reading purposes, we’re going to use JavaScript because it doesn’t require any specific library or external code to read…
-
Understanding JSON – Part 1, Definition
While JSON does sound comically similar to the name Jason, JSON actually stands for JavaScript Object Notation. JSON is format for storing and transporting data across applications. JSON is completely language independent. That means, any language can prepare and read data in JSON format. The most popular scenario of using JSON is by making API…
-
Understanding the need of Automation in Testing
Large scale software products are written for a hundreds and millions of users and customers all over the world. You want your product to succeed, continuously thrive for it to make a brand name in the market and making sure it is exceptional in quality. And for that, best development practices are adopted and talented…
-
Implementing Room in an Android Project
Persistence being a vital part of an application as you don’t want your users local data to be lost when they close your application. It only results in poor app experience. But a library called Room, built on top of traditional SQLite provides more robust and efficient way to store and retrieve that local data…
-
Removing an App programmatically in Android
While removing an app can be useful from the point of view of memory clean up in a project the communicates with other modules, it can be used with certain malicious intent. Regardless, here is how you can remove an app with some chunk of lines of code. Another method that is also viable, but…