Share with NFC, Qr Code sharing refactored, Receiving NFC is not ready yet

This commit is contained in:
Dominik Schürmann
2013-01-08 12:58:21 +01:00
parent 9758cb673f
commit 6cc7156fbd
18 changed files with 459 additions and 59 deletions

View File

@@ -16,7 +16,6 @@
package org.thialfihar.android.apg.helper;
import java.io.InputStream;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Iterator;
@@ -30,27 +29,12 @@ import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockFragmentActivity;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.widget.Toast;
public class OtherHelper {
/**
* Gets input stream of raw resource
*
* @param context
* current context
* @param resourceID
* of html file to read
* @return input stream of resource
*/
public static InputStream getInputStreamFromResource(Context context, int resourceID) {
InputStream raw = context.getResources().openRawResource(resourceID);
return raw;
}
/**
* Return the number if days between two dates
*