Most of the VCSs think of the information they store as a set of files and the changes made to each file over time (delta based version control).
Mobile Development Group, IIT Roorkee, founded in 2010, is an active student group directing its efforts towards creating useful mobile applications and promoting tech-based learning for the same. We have people who are in various fields related to tech (primarily related to computer science and tech). These fields include Android/iOS/cross-platform App Development, Web Development, Machine Learning and Artificial Intelligence, we also have people who are into Computer Systems and Security.
There are many open source projects in our GitHub organisation (http://github.com/mdg-iitr/), anyone can start contributing by solving current issues or by working on the ideas in the Project Section.
A Fragment represents a behavior or a portion of user interface in an Activity. You can think of a fragment as a modular section of an activity, which has its own lifecycle, receives its own input events, and which you can add or remove while the activity is running (sort of like a “sub activity” that you can reuse in different activities).
Static fragmentsare placed within an activity layout and never change.
<?xml version="1.0" encoding="utf-8"?>
android:id="@+id/fragment" />1 </LinearLayout>
Dynamic fragmentsare almost reconfigurable puzzle pieces. They have their own lifecycle, anatomy, classes…
This lecture introduces you to Retrofit, a REST Client for Android and Java by Square. It makes it relatively easy to retrieve and upload JSON (or other structured data) via a REST based webservice.
In Retrofit you configure which converter is used for the data serialization. Typically for JSON you use GSon, but you can add custom converters to process XML, or other protocols like Protocol Buffers. Retrofit uses the OkHttp library for HTTP requests.
In order to use retrofit in android, add the following dependency in your
Also, add the following permission in your
After successful recruitment drives for the past five years, we are back with Droid Wars for 2018. Droid Wars is a gateway for first yearites to be a part of an amazing learning and fun experience with MDG. Being a part of the group you will be in touch with like-minded people, who are mobile development enthusiasts as well as pursue other software development practices. For the last two years, we are conducting Droid Wars alongside Winter of Code to give you people a greater chance to be a part of MDG.
It is a hackathon specially organized for first…
This class explains the basic tasks involved in connecting to the network, monitoring the network connection (including connection changes), and giving users control over an app’s network usage. It also describes how to parse and consume XML data.
In order to perform network operations in your application, your manifest must include the following permissions:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
To avoid creating an unresponsive UI, don’t perform network operations on the UI thread. By default, Android 3.0 …
A viewgroup is a parent class of all the views. It holds all the children views (and viewgroups) within, as depicted by the structure above.
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <Button android:layout_width="100dp" android:layout_height="wrap_content"…
Made up of three parts kernel, shell and programs.
The kernel of UNIX is the hub of the operating system: it allocates time and memory to programs and handles the filestore and communications in response to system calls.
As an illustration of the way that the shell and the kernel work together, suppose a user types
rm myfile (which has the effect of removing the file myfile). The shell searches the filestore for the file containing the program
rm, and then requests the kernel, through system calls, to execute the program rm and passes the file name as a parameter…
With over 1 billion Android devices already activated, Android represents an incredible opportunity for developers. Android Studio is a latest and most widely accepted IDE designed by Google itself. If you want to develop apps in android then it is highly recommended to use Android Studio.
A typical native android application is written using XML for the frontend (the User Interface) and JAVA for the backend.
JAVA All the programming part in android development is done using JAVA. Although it’s a great advantage, if you know a thing or two about programming in Java, but even if you know any…
Participating in 108 Emergency Services Hackathon was a very nice experience for us and winning the competition makes it even better. So we decided to share our experience with everyone.
It was a hackathon specially organized by TNHSP and IIT Madras. The aim of this hackathon was to come up with solutions that leverage the capabilities of a smart phone and integrate them with 108 emergency call center to decrease the response times. It was held at IIT Madras on 17th and 18th December, 2016. You can further read about it at 108 Hackathon’s Website
We made two android apps…