text stringlengths 3 1.18M |
|---|
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 N. Braden.
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This p... |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 N. Braden.
* Copyright (C) 2009-2010 J. Devauchelle.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This p... |
/*
* ttrss-reader-fork for Android
*
* Copyright (C) 2010 N. Braden.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it w... |
/*
* Copyright (C) 2008 Google 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 to ... |
/*
* Copyright (C) 2008 Google 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 to ... |
/*
* Copyright (C) 2008 Google 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 to ... |
/*
* Copyright (C) 2008 Google 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 to ... |
/*
* Copyright (C) 2008 Google 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 a... |
/*
* Copyright (C) 2008 Google 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 to ... |
/*
* Copyright (C) 2010 Google 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 agree... |
/*
* Copyright (C) 2010 Google 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 agree... |
/*
* Copyright (C) 2010 Google 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 agree... |
/*
* Copyright (C) 2010 Google 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 agree... |
/*
* Copyright (C) 2010 Google 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 agree... |
/*
* Copyright (C) 2008 Google 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 a... |
/**
* Do NOT use any class in this package as they are meant for internal use in Gson.
* These classes will very likely change incompatibly in future versions. You have been warned.
*
* @author Inderjeet Singh, Joel Leitch, Jesse Wilson
*/
package com.google.gson.internal; |
/**
* Copyright (C) 2008 Google 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 to... |
/*
* Copyright (C) 2007 Google 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 to ... |
/*
* Copyright (C) 2007 Google 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 to ... |
/*
* Copyright (C) 2007 Google 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 to ... |
/*
* Copyright (C) 2007 Google 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 to in writing, ... |
/*
* Copyright (C) 2007 Google 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 to in writing, ... |
/*
* Copyright (C) 2008 Google 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 ... |
/*
* Copyright (C) 2007 Google 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 to ... |
/*
* Copyright (C) 2009 Google 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 to ... |
/*
* Copyright (C) 2009 Google 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 to in writing, ... |
/*
* Copyright (C) 2007 Google 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 to in writing, ... |
/*
* Copyright (C) 2009 Google 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 to ... |
/*
* Copyright (C) 2009 Google 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 to in writing, ... |
/*
* Copyright (C) 2009 Google 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 to in writing, ... |
/*
* Copyright (C) 2009 Google 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 to ... |
import javax.swing.*;
public class Calculator {
public static void main(String[] args) {
int[] numbers = new int[]{1,2,3,4,5,6,7,8,9,10};
for(int i=0; i < numbers.length; i++){
if(numbers[i]%2 == 0)
System.out.println(numbers[i] + " is even number.");
else
System.out.println(numbers[i] + " is ... |
public class activity1 {
}
|
public class HelloWorld {
public static void main(String[] args){
int a = 1;
int b = 2;
b += a;
System.out.println(b);
}
}
|
public class reilly {
}
|
public class main {
public static void main(String[] args) {
System.out.println("Hello World....");
}
}
|
package test.vn;
public class main {
public static void main(String[] args) {
System.out.println("Hello wrold");
}
}
|
package test.vn;
public class main {
public static void main(String[] args) {
System.out.println("Hello wrold");
}
}
|
package edu.wpi.first.wpilibj.templates;
import edu.wpi.first.wpilibj.buttons.Button;
import edu.wpi.first.wpilibj.buttons.DigitalIOButton;
/**
* This class is the glue that binds the controls on the physical operator
* interface to the commands and command groups that allow control of the robot.
*/
pub... |
package edu.wpi.first.wpilibj.templates;
/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
* to a variable name. This provides flexibility changing wiring, makes checking
* the wiring easier and significantly reduces the number of magic numbers
* floating around.
*/
publi... |
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.templates.OI;
import edu.wpi.first.wpilibj.templates.subsystems.*;
/**
* The base for all commands. All atomic commands shou... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
/**
*
* @author Eric
*/
public class cycleShooter extends CommandBase ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
/**
*
* @author Eric
*/
public class shootBall extends CommandBase {
... |
package edu.wpi.first.wpilibj.templates.commands;
/**
*
* @author bradmiller
*/
public class ExampleCommand extends CommandBase {
public ExampleCommand() {
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);
}
// Called just before this Com... |
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.templates.RobotMap;
import edu.wpi.first.wpilibj.*;
/**
* @author Eric
*/
public class ShooterSystem extends Subsystem {
// Put methods for controlling this subsystem
... |
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.templates.RobotMap;
import edu.wpi.first.wpilibj.*;
/**
*
* @author Eric
*/
public class DriveSystem extends Subsystem {
Victor motorL;
Victor motorR;
bool... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory... |
package com.mobilekites.smstet.conection;
import org.json.JSONException;
import org.json.JSONObject;
import com.mobilekites.fw.connection.APIDataResponse;
import com.mobilekites.fw.connection.APIResponse;
import com.mobilekites.fw.util.LogUtils;
public class ConfigResponse extends APIResponse {
private st... |
package com.mobilekites.smstet.conection;
import com.mobilekites.fw.connection.APIDataResponse;
import com.mobilekites.fw.connection.APIParams;
import com.mobilekites.fw.connection.APIRequest;
import com.mobilekites.fw.connection.APIResponse;
public class ConfigRequest extends APIRequest {
/**
*
*/
... |
package com.mobilekites.smstet;
public class Config {
public static final String SENDER_ID = "105907080268";
public static final int APP_ID = 2300;
public static final String PRIVATEKEY = "46a558d97954d0692411c861cf78ef79";
public static String ADMOB = "a152bc61c1e6a37";
}
|
package com.mobilekites.smstet.service;
import java.io.IOException;
import android.app.Service;
import android.content.Intent;
import android.content.res.AssetFileDescriptor;
import android.media.MediaPlayer;
import android.os.Binder;
import android.os.IBinder;
public class MusicService extends Service {
... |
package com.mobilekites.smstet.entity;
import java.io.Serializable;
import java.util.List;
public class Data implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
public List<String> dataList;
public Data(List<String> list) {
dataList = list;
}
public List<... |
package com.mobilekites.smstet;
import android.app.Application;
import com.mobilekites.fw.security.Authentication;
public class SMSTet extends Application {
@Override
public void onCreate() {
super.onCreate();
Authentication.getInstance().init(Config.APP_ID, Config.PRIVATEKEY,
Config.SENDER_ID);... |
package com.mobilekites.smstet.ui;
import android.content.Intent;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.ListView;
import com.mobilekites.smstet.R;
import com.mobilekites.smstet.entity.Data;
import com.mobilekites.smstet.ui.adapter.SMSListAdapter;
import com.mobi... |
package com.mobilekites.smstet.ui;
import vn.clevernet.android.sdk.ClevernetView;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.IBinder;
import android.support.v7.app.Ac... |
package com.mobilekites.smstet.ui;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
impo... |
package com.mobilekites.smstet.ui;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.Loader;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.ImageView;
import android.widget.Lin... |
package com.mobilekites.smstet.ui.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.mobilekites.smstet.R;
import com.mobilekites.smstet.... |
package com.mobilekites.smstet.ui.adapter;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.mobilekites.smstet.R;
import com.mobilekit... |
package com.mobilekites.smstet.widget;
import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
public class TextView extends android.widget.TextView {
public TextView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
setTy... |
package com.mobilekites.smstet.widget;
import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
public class EditText extends android.widget.EditText {
public EditText(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
setType... |
package com.mobilekites.smstet.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org... |
package com.mobilekites.smstet.util;
import android.content.Context;
import android.content.SharedPreferences;
public class Preferences {
private SharedPreferences.Editor mEditor;
private SharedPreferences mPreferences;
public Preferences(Context context) {
mPreferences = context.getSharedPreferences(... |
package com.mobilekites.smstet;
import com.mobilekites.fw.gcm.GCMMobileKitesIntentService;
public class GCMIntentService extends GCMMobileKitesIntentService {
}
|
package com.mobilekites.fw;
public class Config {
public static final String API = "http://mobilekites.com/api/";
public static final String URL_MOREAPP = "http://mobilekites.com/moreapp/";
}
|
package com.mobilekites.fw.connection;
public class APIDataResponse {
private int code;
private String data;
public APIDataResponse(int code, String data) {
super();
this.code = code;
this.data = data;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.cod... |
package com.mobilekites.fw.connection;
import java.io.Serializable;
public abstract class APIRequest implements Serializable {
/**
*
*/
private static final long serialVersionUID = -1241773824713955115L;
public abstract APIParams getParams();
public abstract APIResponse parseResponse(APIDataRes... |
package com.mobilekites.fw.connection;
import android.content.Context;
import com.mobilekites.mobilekitesfw.R;
public abstract class APIResponse {
public static final int CLIENT_SUCCESS = 100;
public static final int CLIENT_ERROR_NO_NETWORK = 200;
public static final int CLIENT_ERROR_PARSE_DATA = 201;
... |
package com.mobilekites.fw.connection;
import java.io.IOException;
import java.net.URI;
import java.util.List;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.cl... |
package com.mobilekites.fw.connection;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import com.mobilekites.fw.security.Authentication;
public class APIParams {
List<NameValuePair> mLi... |
package com.mobilekites.fw.connection;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.app.LoaderManager.LoaderCallbacks;
import android.support.v4.content.Loader;
public class ServerRequest implements LoaderCallbacks<APIResponse... |
package com.mobilekites.fw.connection;
import android.content.Context;
import android.support.v4.content.AsyncTaskLoader;
/**
*
* @author tungdx
*
*/
public class DataLoader extends AsyncTaskLoader<APIResponse> {
private APIRequest request;
private APIResponse mResponse;
public DataLoader(Co... |
package com.mobilekites.fw.connection;
import android.support.v4.content.Loader;
public interface ResponseReceiver {
public void receiveResponse(Loader<APIResponse> loader, APIResponse response);
public void onBaseLoaderReset(Loader<APIResponse> loader);
public void onStartRequestServer(int loaderId);
}
... |
/*
* Copyright 2012 Google 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 to in... |
package com.mobilekites.fw.sync;
import java.util.Random;
import android.app.IntentService;
import android.content.Intent;
import android.util.Log;
import com.mobilekites.fw.location.MobileKitesLocation;
import com.mobilekites.fw.security.Authentication;
import com.mobilekites.fw.util.PreferenceUtils;
imp... |
package com.mobilekites.fw.location;
import android.content.Context;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.util.Log;
import com.mobilekites.fw.sync.SyncDataS... |
package com.mobilekites.fw.location;
import java.io.Serializable;
public class MobileKitesLocation implements Serializable {
/**
*
*/
private static final long serialVersionUID = -7925747577847195988L;
public String lon;
public String lat;
public String email;
public String ipaddress;
public ... |
package com.mobilekites.fw.ad;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.net.... |
package com.mobilekites.fw.gcm;
import java.util.List;
import java.util.Random;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Inte... |
package com.mobilekites.fw.gcm;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.google.android.gcm.GCMBaseIntentService;
import com.mobilekites.fw.security.Authentication;
import com.mobilekites.fw.sync.SyncDataService;
import com.mobilekites.fw.util.Prefere... |
package com.mobilekites.fw.gcm;
import org.json.JSONException;
import org.json.JSONObject;
import android.content.Context;
import android.util.Log;
public class GCMController {
private static final String TAG = "GCMController";
private static final int TYPE_DATA = 100;
private static final int TYPE_U... |
/*
* Copyright 2012 Google 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 to... |
package com.mobilekites.fw.gcm;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import com.google.android.gcm.GCMRegistrar;
import com.mobilekites.fw.sync.SyncDataService;
import com.mobilekites.fw.util.NetworkUltis;
import com.mobilekites.fw.util.PreferenceUtils;
p... |
package com.mobilekites.fw.gcm;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCli... |
package com.mobilekites.fw.ui;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import com.mobilekites.fw.connection.APIRequest;
import com.mobilekites.fw.connection.ResponseReceiver;
import com.mobilekites.fw.connection.ServerRequest;
public class MobileKitesFragmentActivity extend... |
package com.mobilekites.fw.ui;
import com.mobilekites.fw.connection.APIRequest;
import com.mobilekites.fw.connection.ResponseReceiver;
import com.mobilekites.fw.connection.ServerRequest;
import android.os.Bundle;
import android.support.v4.app.ListFragment;
public class MobileKitesListFragment extends ListFr... |
package com.mobilekites.fw.ui;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import com.mobilekites.fw.connection.APIRequest;
import com.mobilekites.fw.connection.ResponseReceiver;
import com.mobilekites.fw.connection.ServerRequest;
public abstract class MobileKitesFragment extends Fragm... |
package com.mobilekites.fw.ui;
import com.mobilekites.fw.connection.APIRequest;
import com.mobilekites.fw.connection.ResponseReceiver;
import com.mobilekites.fw.connection.ServerRequest;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
public class MobileKitesActionbarActivity exte... |
package com.mobilekites.fw.imageloader;
import java.io.File;
import android.content.Context;
public class FileCache {
private File cacheDir;
public FileCache(Context context){
//Find the dir to save cached images
if (android.os.Environment.getExternalStorageState().equals(... |
/*
* Copyright (C) 2012 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... |
package com.mobilekites.fw.imageloader;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
import android.graphics.Bitmap;
import android.util.Log;
public class MemoryCache {
private static final String TAG = "Mem... |
/*
* Copyright (C) 2012 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) 2012 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) 2011 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) 2012 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) 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... |
package com.mobilekites.fw.imageloader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
imp... |
/*
* Copyright (C) 2013 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... |
package com.mobilekites.fw.widget;
import android.app.ProgressDialog;
import android.content.Context;
public class MKProgressDialog {
private ProgressDialog mProgressDialog;
public MKProgressDialog(Context context, CharSequence title,
CharSequence message, boolean indeterminate, boolean cancleable) {
... |
package com.mobilekites.fw.widget;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;
import com.mobilekites.fw.connection.APIResponse;
import com.mobilekites.mobilekitesfw.R;
public c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.