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
//Post it in a handler to make sure it gets called if coming back from a lifecycle method. | |
new Handler().post(new Runnable() { | |
@Override | |
public void run() | |
{ | |
Intent intent = getActivity().getIntent(); | |
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK | |
| Intent.FLAG_ACTIVITY_NO_ANIMATION); | |
getActivity().overridePendingTransition(0, 0); |
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
# built application files | |
*.apk | |
*.ap_ | |
# files for the dex VM | |
*.dex | |
# Java class files | |
*.class |
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
/** | |
* Created with Intellij with Android, BIZZBY product. | |
* See licencing for usage of this code. | |
* <p/> | |
* User: chris | |
* Date: 18/02/2013 | |
* Time: 10:43 | |
*/ | |
public class UriImageView extends ImageView | |
{ |
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
/** | |
* @project | |
* @author chris.jenkins | |
* @created Dec 28, 2011 | |
*/ | |
package com.application.android.ui.fragments; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.support.v4.app.FragmentStatePagerAdapter; |
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 android.content.Intent; | |
import com.actionbarsherlock.app.SherlockFragment; | |
import java.util.Iterator; | |
import java.util.LinkedList; | |
import java.util.List; | |
/** | |
* Created with Intellij with Android, BIZZBY product. |
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.bizzby.utils; | |
import android.util.Log; | |
import java.io.PrintWriter; | |
import java.io.StringWriter; | |
public class QLog | |
{ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
a { color: #FFFFFF; } | |
iframe[id^='twitter-widget-']{ width:100%;} | |
em {visibility: hidden;} | |
</style> | |
<script> |
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.bizzby.ui.fragments.dialogs; | |
import android.app.AlertDialog; | |
import android.app.Dialog; | |
import android.content.Context; | |
import android.content.DialogInterface; | |
import android.os.Bundle; | |
import android.support.v4.app.FragmentManager; | |
import android.text.Editable; | |
import android.text.Selection; |
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.bizzby.ui.activities; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.support.v4.app.FragmentManager; | |
import android.support.v4.app.FragmentTransaction; | |
import android.view.WindowManager; | |
import com.bizzby.ui.fragments.BaseIncludeFragment; | |
import com.bizzby.utils.QLog; |
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.bizzby.http.requests; | |
import android.text.TextUtils; | |
import com.bizzby.app.UserSession; | |
import com.bizzby.consts.Urls; | |
import com.bizzby.utils.QLog; | |
import com.google.api.client.http.*; | |
import com.google.api.client.json.JsonFactory; | |
import com.google.api.client.json.JsonObjectParser; | |
import com.google.api.client.json.jackson.JacksonFactory; |
NewerOlder