Skip to content

Instantly share code, notes, and snippets.

View rahul110228's full-sized avatar

Rahul Deb Mohalder rahul110228

  • CSE
  • Khulna, Bangladesh
View GitHub Profile
@rahul110228
rahul110228 / AppHelper.java
Created June 25, 2020 02:13 — forked from anggadarkprince/AppHelper.java
Upload file with Multipart Request Volley Android
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import java.io.ByteArrayOutputStream;
/**
* Sketch Project Studio
* Created by Angga on 12/04/2016 14.27.
*/
public class AppHelper {
@rahul110228
rahul110228 / MainActivity.java
Created March 8, 2019 05:18 — forked from enginebai/MainActivity.java
Get the current location and display a marker on Google Map.
package com.enginebai.sample;
import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
@rahul110228
rahul110228 / BlindSignatureExample.java
Created May 14, 2017 12:34 — forked from mjethani/BlindSignatureExample.java
An example showing Chaum's RSA blind signature scheme (aka "anonymous digital cash") in Java using the Bouncy Castle crypto library
/* ----------------------------------------------------------------------------
* Author: Manish Jethani (manish.jethani@gmail.com)
* Date: July 21, 2014
*
* This is an example showing Chaum's RSA blind signature scheme using the
* Bouncy Castle crypto library.
*
* To compile and run this, you'll need the Java SDK and the Java version of
* the Bouncy Castle APIs.
*
public class AnimatedActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
//opening transition animations
overridePendingTransition(R.anim.activity_open_translate,R.anim.activity_close_scale);
}