This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.net.URI; | |
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; | |
/** | |
* http://stackoverflow.com/questions/3773338/httpdelete-with-body | |
* @author fbouwens | |
*/ | |
class HttpDeleteWithBody extends HttpEntityEnclosingRequestBase { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nl.frankkie.randomapp; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.content.res.Resources; | |
import android.graphics.Bitmap; | |
import android.graphics.BitmapFactory; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nl.frankkie.web; | |
import java.io.File; | |
import java.util.Map; | |
import fi.iki.elonen.NanoHTTPD; | |
/** | |
* Created by FrankkieNL on 11-8-13. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is how we can start OldDiscoverActivity | |
* This is possible because OldDiscoverActivity has an Intent-Filter in the AndroidManifest.XML | |
*/ | |
Intent i = new Intent(); | |
//i.setClassName("tv.ouya.console", "tv.ouya.console.launcher.store.adapter.DiscoverActivity"); | |
i.setClassName("tv.ouya.console", "tv.ouya.console.launcher.store.OldDiscoverActivity"); | |
try { | |
startActivity(i); | |
} catch (Exception e) { |
NewerOlder