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
public class Dlog { | |
static final String TAG = "TedPark"; | |
/** Log Level Error **/ | |
public static final void e(String message) { | |
if (BaseApplication.DEBUG)Log.e(TAG, buildLogMsg(message)); | |
} | |
/** Log Level Warning **/ |
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
public class MarketVersionChecker { | |
public static String getMarketVersion(String packageName) { | |
try { | |
Document doc = Jsoup.connect( | |
"https://play.google.com/store/apps/details?id=" | |
+ packageName).get(); | |
Elements Version = doc.select(".content"); | |
for (Element mElement : Version) { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="#f00" | |
android:gravity="center_vertical" | |
android:orientation="horizontal" | |
android:padding="16dp"> |
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
public class CallingService extends Service { | |
public static final String EXTRA_CALL_NUMBER = "call_number"; | |
protected View rootView; | |
@InjectView(R.id.tv_call_number) | |
TextView tv_call_number; | |
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
var request = require('request'); | |
var testJandi = function () { | |
var formData = { | |
body: '[[PizzaHouse]](http://url_to_text) You have a new Pizza order.', //Body text (Required) | |
connectColor: '#FAC11B', //Hex code color of attachment bar | |
connectInfo: [{ |
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
public class MarkerItem { | |
double lat; | |
double lon; | |
int price; | |
public MarkerItem(double lat, double lon, int price) { | |
this.lat = lat; | |
this.lon = lon; |
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 com.gun0912.googlemapcustommarker; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.os.Bundle; | |
import android.support.v4.app.FragmentActivity; | |
import android.util.DisplayMetrics; |
OlderNewer