Instantly share code, notes, and snippets.

package com.nextstagesearch;
import android.Manifest;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.DialogInterface;

GSoC 2016 Work Product, Manan Wason - FOSSASIA

This summers, I worked on FOSSASIA's Open Event Android apk Generator as well as enhanced the Open Event Android app

The apk generator can be used for generating a customized android app for any event just by adding your email and api endpoint/json for the data. The android app was made generic and customisable this year. It is cloned by the apk-generator on each run. We customise the app according to the user's preference and then generate the apk which is then sent to the user via email or downloaded on the same webpage
The app-generator server is hosted on a VPS server and runs on ubuntu

User can either upload an API endpoint or a zip containing json files on the generator where the data to be displayed in the app will be fetched from

We have a live version of the apk generator

View .travis.yml
language: android
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-22.0.0

Android REST Controller with Cache-Control

Android REST Controller with Simple Cache Control Headers using Retrofit 1.9.0 + OkHttp 2.2.0


Simple RecyclerView Divider

Simple Horizontal Divider Item Decoration for RecyclerView

    mRecyclerView.addItemDecoration(new SimpleDividerItemDecoration(

NOTE: Add item decoration prior to setting the adapter

View sample
{"markers": [
            "point":new GLatLng(40.266044,-74.718479),
            "homeTeam":"Lawrence Library",
            "information": "Linux users group meets second Wednesday of each month.",
            "fixture":"Wednesday 7pm",