text
stringlengths
3
1.18M
package com.nullwire.trace; import java.lang.ref.WeakReference; import vn.com.vega.music.utils.Const; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.util.Log; public class ExceptionClickListener implements OnC...
package com.nullwire.trace; public class G { public static String FILES_PATH = null; public static String APP_PACKAGE = "unknown"; public static String APP_VERSION = "unknown"; public static String APP_DESCRIPTION = "unknown"; public static String PHONE_MODEL = "unknown"; public static String ANDROID_VER...
package com.nullwire.trace; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.lang.Thread.UncaughtExceptionHandler; import vn.com.vega.music.utils.Const; import android.os.SystemClock; import android.util....
package com.nullwire.trace; import java.io.File; import java.io.FilenameFilter; import vn.com.vega.chacha.R; import vn.com.vega.music.utils.Const; import android.app.AlertDialog; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android....
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package com.androidhive.jsonparsing; import java.util.ArrayList; import java.util.HashMap; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View;...
package com.androidhive.jsonparsing; /** * Created with IntelliJ IDEA. * User: Shahab * Date: 8/22/12 * Time: 11:38 AM * To change this template use File | Settings | File Templates. */ public class DataModel { private String name; private int anInt; private double aDouble; private Str...
package com.androidhive.jsonparsing; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.Cli...
package com.androidhive.jsonparsing; import android.app.Activity; import java.util.ArrayList; import java.util.HashMap; import java.util.logging.LoggingPermission; import javax.security.auth.login.LoginException; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; impo...
package com.androidhive.jsonparsing; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.TextView; public class SingleMenuItemActivity extends Activity { // JSON node keys private static final String TAG_NAME = "name"; private static final Strin...
/** Automatically generated file. DO NOT MODIFY */ package com.androidhive.jsonparsing; public final class BuildConfig { public final static boolean DEBUG = true; }
package hanhns.test.broadcastReceiver; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.widget.Toast; import ...
package hanhns.test.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DBAdapter {...
package hanhns.test; import android.app.TabActivity; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.widget.TabHost; import hanhns.test.R; public class HelloTabWidgetActivity extends TabActivity { /** Called when the activity is first created. */ ...
package hanhns.test.addNote; import android.app.Activity; import android.app.AlertDialog; import android.app.NotificationManager; import android.app.Service; import android.content.ComponentName; import android.content.ContentValues; import android.content.DialogInterface; import android.content.Intent; import androi...
package hanhns.test.addNote; import hanhns.test.R; import hanhns.test.database.DBAdapter; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.Button; import an...
package hanhns.test; import hanhns.test.R; import hanhns.test.listview.ListNote; import hanhns.test.listview.ListNoteUseSimpleCursorAdapter; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.B...
package hanhns.test.listview; import android.app.ListActivity; import android.content.ContentUris; import android.content.ContentValues; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.content.res.Configuration; import androi...
package hanhns.test.listview; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android....
package hanhns.test.listview; import hanhns.test.R; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Image...
package hanhns.test.listview; public class Row { private String noteTitle; private String noteContent; private int resource; private int _id; // private Boolean check; public void setNoteTitle(String noteTitle) { this.noteTitle = noteTitle; } public String getNoteTitle() { return noteTitle; } public void ...
package hanhns.test.listview; import hanhns.test.R; import hanhns.test.addNote.NewNote; import hanhns.test.database.DBAdapter; import constant.*; import java.util.ArrayList; import android.app.ListActivity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.util.L...
package hanhns.test; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import android.webkit.WebView; import android.widget.TextView; import hanhns.test.R; public class Introduct extends Activity { /** Called when the activity is first created. */ @Override public void...
package hanhns.test.provider_database; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.UriMatcher; import android.database.Cursor; import android.database.SQLException; import android.database.sqli...
package constant; public class Constant { public static final String add_new_note = "insert"; public static final String update_note = "update"; public static final String type = "type"; public static final String title = "title"; public static final String content = "content"; public static final String _id = "...
/** Automatically generated file. DO NOT MODIFY */ package hanhns.test; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.androidhive.loginandregister; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.TextView; public class RegisterActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstance...
package com.androidhive.loginandregister; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; public class LoginActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCr...
/** Automatically generated file. DO NOT MODIFY */ package com.androidhive.loginandregister; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.framentos.list; public class City { public City(String name, String urlWiki, String image) { super(); this.name = name; this.urlWiki = urlWiki; this.image = image; } private String name; private String urlWiki; private String image; public String getName() { return name; } public void...
package com.framentos.list; import java.util.List; import android.content.Context; import android.graphics.drawable.Drawable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.R...
package com.framentos.list; import java.util.List; import android.content.Context; import android.graphics.drawable.Drawable; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Im...
package com.framentos.list; import android.view.View; import android.widget.ImageView; import android.widget.TextView; class CityListViewCache { private View baseView; private TextView textNameCity; private TextView textWikiCity; private ImageView imageCity; public CityListViewCache ( View baseView ) {...
package com.framentos.list; import java.util.ArrayList; import java.util.List; import com.framentos.list.R; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import android.widget.Adapter...
package com.example.mangareaderexe; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.GridView; import androi...
package com.example.mangareaderexe; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.GridView; import android.widget.ImageView; public class ImageAdapter extends BaseAdapter{ private Context mContext; priv...
/** Automatically generated file. DO NOT MODIFY */ package com.caverock.androidsvg; public final class BuildConfig { public final static boolean DEBUG = true; }
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
/* Copyright 2013 Paul LeBeau, Cave Rock Software Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
package pl.myszon.wifimap; class Config { private static Config singleton = null; private Config() { } public static Config getInstance() { if(singleton == null) singleton = new Config(); return singleton; } //TODO jakieś wczytywanie z pliku albo konfigurację zrobić;) public final int locationUpd...
package pl.myszon.wifimap; import com.google.android.maps.GeoPoint; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; class LocationProvider implements LocationListener{ private Location curr...
package pl.myszon.wifimap; import android.app.Service; import android.content.Intent; import android.os.IBinder; public class WiFiDetection extends Service { private IWiFiLocationUpdater wifiLocation = null; @Override public IBinder onBind(Intent arg0) { return null; } public void addWiFiLocationListener...
package pl.myszon.wifimap; import com.google.android.maps.GeoPoint; public interface IUserLocationUpdater { public void updateMyLocation(GeoPoint location); }
package pl.myszon.wifimap; import com.google.android.maps.GeoPoint; public interface IWiFiLocationUpdater { public void markNetworkOnMap(GeoPoint location, NetworkProtection protection); }
package pl.myszon.wifimap; import com.google.android.maps.GeoPoint; public interface IMapUpdater { public void updateMyLocation(GeoPoint location); public void updateMarkers(); }
package pl.myszon.wifimap; public enum NetworkProtection { NONE, WEP, WPA, WPA2, HOTSPOT; }
package pl.myszon.wifimap; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapController; import com.google.android.maps.MapView; import android.os.Bundle; import android.view.MenuInflater; public class MainActivity extends MapActivity { private...
package pl.myszon.wifimap; class ApplicationException extends Exception { private static final long serialVersionUID = 6846380885266213198L; }
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/** * Copyright (C) 2010-2011 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/** * */ package com.xorcode.andtweet.data; import android.content.SearchRecentSuggestionsProvider; /** * @author torgny.bjers * */ public class TimelineSearchSuggestionProvider extends SearchRecentSuggestionsProvider { public final static String AUTHORITY = "com.xorcode.andtweet.TimelineSuggestionProvider"; ...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
/* * Copyright (C) 2010-2011 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
/* * Copyright (C) 2008 Torgny Bjers * Copyright (c) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/** * */ package com.xorcode.andtweet.net; /** * @author Yuri * */ public class ConnectionCredentialsOfOtherUserException extends Exception { /** * @param newName - Name of the User whose credentials were actually verified */ public ConnectionCredentialsOfOtherUserException(String ...
package com.xorcode.andtweet.net; /** * In order to compile the application you either: * 1. Create your own MyOAuthKeys class with your application's * TWITTER_CONSUMER_KEY and TWITTER_CONSUMER_SECRET * 2. Or remove "extends MyOAuthKeys" below and un-comment the values here * replacing values with...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/** * Copyright (C) 2010-2011 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2008 Torgny Bjers * Copyright (C) 2010 Brion N. Emde, "BLOA" example, http://github.com/brione/Brion-Learns-OAuth * Copyright (C) 2010-2011 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package com.xorcode.andtweet.util; /** * <p>Encodes and decodes to and from Base64 notation.</p> * <p>Homepage: <a href="http://iharder.net/base64">http://iharder.net/base64</a>.</p> * * <p>The <tt>options</tt> parameter, which appears in a few places, is used to pass * several pieces of information to the encod...
package com.xorcode.andtweet.util; import java.lang.reflect.*; /** * The class is for compatibility with v.1.5 of Android * * @author yvolk */ public class Build { /** Various version strings. */ public static class VERSION { /** * The user-visible SDK version of the fra...
/** * Copyright (C) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
/* * Copyright (C) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Un...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package com.xorcode.andtweet.util; import android.app.ActivityManager; import android.app.ActivityManager.RunningAppProcessInfo; import android.content.Context; import android.os.AsyncTask; import android.util.Log; import java.util.List; /** * Is your application is running in foreground? * * @see <...
/* * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/** * Copyright (C) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * Copyright (C) 2008 Torgny Bjers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...