Skip to content

Instantly share code, notes, and snippets.

Manan Wason mananwason

Block or report user

Report or block mananwason

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mananwason /
Created Oct 4, 2016 — forked from odedhb/
A simple class for Android Marshmallow. Showing a list of permissions, and allowing the user to change them. This was created to be implemented in, android's greatest search engine.
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

mananwason / .travis.yml
Created May 27, 2016 — forked from mariotaku/.travis.yml
Sign and upload compiled apk to Github releases automatically using Travis CI
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",
You can’t perform that action at this time.