text stringlengths 3 1.18M |
|---|
package android.androidCode.aicas;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class JamaicavmActivity extends Activity {
private Button linkbutton;
private... |
package android.androidCode.aicas;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.util.Log;
import android.view.Menu;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.wi... |
package android.androidCode.aicas;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
public class AboutUsActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activi... |
package android.androidCode.toast_Example;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;
//IS2 project - MAEESTRO 2013/2014
public class MainActivity extends Activity {
@Override
... |
package android.androidCode.sayHello;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends Activity ... |
package android.androidCode.testSwitch;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.Switch;
import android.w... |
package android.androidCode.pingpong;
public class Velocity
{
double xVelocity;
double yVelocity;
public Velocity(double xVelocity, double yVelocity)
{
this.xVelocity = xVelocity;
this.yVelocity = yVelocity;
}
public void ReverseX()
{
this.xVelocity = -this.xVe... |
package android.androidCode.pingpong;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.widget.Te... |
package android.androidCode.pingpong;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;
import android.os.SystemClock;
public class Sprite
{
protected double xPosition;
protected double yPosition;
protected DrawableResourceCollection d... |
package android.androidCode.pingpong;
import java.util.Random;
public class VelocityGenerator
{
private static final int MaxSpeed = 298;
private static final int MinimumYSpeed = 123;
private static final int MinimumXSpeed = 123;
private Random speedRandomizer;
public VelocityGenerator()
... |
package android.androidCode.pingpong;
import android.graphics.drawable.Drawable;
import java.util.LinkedList;
public class DrawableResourceCollection extends LinkedList<Drawable>
{
}
|
package android.androidCode.pingpong;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.... |
package android.androidCode.pingpong;
public class Score
{
private int player1Score;
private int player2Score;
private int scoreToWin;
public Score(int scoreToWin)
{
this.scoreToWin = scoreToWin;
}
public void Reset()
{
player1Score = 9;
player2Score = 0;
... |
package android.androidCode.pingpong;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.Window;
import android.widget.TextView;
public class MainActivity extends Activity
{
private AndrongSurfaceView pongSurfaceView;
... |
package android.androidCode.pingpong;
public class Ball extends Sprite
{
private VelocityGenerator velocityGenerator;
public Ball(DrawableResourceCollection drawableResourceCollection, int canvasWidth, int canvasHeight, VelocityGenerator velocityGenerator)
{
super(drawableResourceCollection, ca... |
package android.androidCode.pingpong;
import java.util.HashMap;
import android.content.Context;
import android.media.AudioManager;
import android.media.SoundPool;
public class SoundManager
{
static private SoundManager _instance;
private static SoundPool mSoundPool;
private static HashMap<Intege... |
package android.androidCode.testSpinner;
import android.os.Bundle;
import android.app.Activity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import android.widget.TextView;
import android.widget.Toast;
//IS2 project - MAEE... |
package android.androidCode.analogClock_Example;
import android.app.Activity;
import android.os.Bundle;
import android.widget.AnalogClock;
//IS2 project - MAEESTRO 2013/2014
public class MainActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... |
package android.androidCode.listview;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
public class DisplayMessageActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceSt... |
package android.androidCode.listview;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.wid... |
package android.androidCode.testToast;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;
//IS2 project - MAEESTRO 2013/2014
public class MainActivity extends Activity {
@Ov... |
package android;
public class R {
public static class layout
{
// public static final int simple_spinner_item = 0;
// public static final int simple_spinner_dropdown_item = 0;
// public static int simple_list_item_1;
public static final int activity_list_item = 17367040;
public stat... |
package android.widget;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
import javax.swing.... |
/*
* Copyright (C) 2006 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) 2006 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 requir... |
package android.widget;
import java.awt.Dimension;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
import javax.swing.JLabel;
import javax.swing.JPanel;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.drawable.An... |
package android.widget;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import javax.swing.AbstractButton;
import javax.swing.ButtonGroup;
import javax.swing.ButtonModel;
import javax.swing.JComponent;
public class RadioGroup extends ButtonGroup implements C... |
package android.widget;
/**
* Defines an extension for views that make them checkable.
*
*/
public interface Checkable {
/**
* Change the checked state of the view
*
* @param checked The new checked state
*/
void setChecked(boolean checked);
/**
* @return The cur... |
package android.widget;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.FlowLayout;
/**
* This class allows the use of the Switch widget... |
package android.widget;
import java.util.List;
public interface ComplexComponent extends AndroidWidget
{
public List<AndroidWidget> getChildren();
}
|
package android.widget;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.InterfaceAddress;
import javax.swing.JButton;
import android.view.View;
import android.view.View.OnClickListener;
/**... |
package android.widget;
import javax.swing.JComponent;
import android.view.View;
public class AdapterView<T extends Adapter> {
int id;
int position;
View view;
AdapterView adapter;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
... |
package android.widget;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComponent;
import javax.swing.JRadioButton;
import android.view.View;
import android.view.View.OnClickListener;
/**
*
*/
public class RadioButton extends JRadioButton implements SimpleComponent
{
... |
package android.widget;
import java.awt.Font;
public class WidgetProperties
{
//##################### Reference Dimension ################################
private static int REAL_HEIGHT = 800;
private static int REAL_WIDTH = 480;
//##################### Main Frame properties ##################... |
package android.widget;
import javax.swing.JSlider;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import android.app.Activity;
/**
*
* Android widget that allows to chose a value from a range using a slider
* @author Antonio Cesarano
*
*/
public class SeekBar extends JSlider im... |
package android.widget;
/**
* Interface used to abstract from any Widget
* @author cesarano
*
*/
public interface AndroidWidget{
/**
* Each widget in Android has an Id used to be recognized in event management system
* @return
*/
public int getId();
}
|
package android.widget;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.sql.Time;
import java.util... |
package android.widget;
import javax.swing.JCheckBox;
public class CheckBox extends JCheckBox implements SimpleComponent{
private int id;
public CheckBox(int id)
{
super();
this.id = id;
}
public CheckBox(int id, String text)
{
super(text);
this.id =... |
package android.widget;
import java.util.ArrayList;
public class Filter<T>
{
public class FilterResults
{
public ArrayList<T> values;
public int count;
public FilterResults()
{
}
}
protected FilterResults performFiltering(CharSequence ... |
package android.widget;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import javax.swing.JTextArea;
import org.w3c.dom.css.ViewCSS;
import android.app.Activity;
import android.content.Context;
import android.view... |
package android.widget;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JComboBox;
import javax.swing.JComponent;
import javax.swing.text.BadLocationException;
import android.app.Activity;
import android.content.Context;
import androi... |
package android.widget;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Point;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import android.app.GraphicDrawer;
import android.content.Context;
/**
* This class allows to Android ap... |
package android.widget;
public interface SimpleComponent extends AndroidWidget{
public int getId();
}
|
package android.widget;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.JTextField;
import android.view.View;
import android.view.View.OnClickListener;
public class EditText extends JTextField implemen... |
package android.util;
public class AttributeSet {
}
|
/*
* Copyright (C) 2006 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) 2006 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) 2006 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 android.util;
import java.util.logging.Logger;
/**
*
* @author cesarano
*
*/
public class Log
{
private static Logger logger = Logger.getLogger("global");
/**
* Send a DEBUG message to the stdout
* @param tag Used to identify the source of a log message.
* It usually identif... |
package android.graphics;
import java.awt.BasicStroke;
import java.awt.Color;
/**
* The Paint class holds the style and color information about how to draw
* geometries, text and bitmaps.
*
* @author Antonio Cesarano
*
*/
public class Paint
{
public static final String ANTI_ALIAS_FLAG = "antialias";
... |
/*
* Copyright (C) 2006 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) 2006 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 android.graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import android.content.res.Resources;
public class BitmapFactory {
public static Bitmap decodeResource(Resources resources, int imageId)
{
Image img = r... |
/*
* Copyright (C) 2010 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 android.graphics;
public class Matrix {
public void setScale(int i, int j)
{
}
}
|
package android.graphics;
import java.awt.color.ColorSpace;
/**
* The Color class defines methods for creating and converting color ints.
* This Class simply inherits the java.awt.Color behavior.
*
* @author Antonio Cesarano
*
*/
public class Color extends java.awt.Color{
/**
* Constructor that create... |
package android.graphics;
import java.awt.AlphaComposite;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.util.List;
import java.util.logging.Logger;
import javax.swing.JLabel;
import javax.swing.JPanel;
import android.widget.WidgetProperties;
/**
... |
package android.graphics;
import java.util.ArrayList;
import java.util.List;
public class Path
{
private List<Line> lines;
private Point start,end;
public Path()
{
// start = new Point(0, 0);
// end = new Point(0,0);
lines = new ArrayList<Path.Line>();
}
... |
/*
* Copyright (C) 2006 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) 2006 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 android.graphics.drawable;
import java.awt.image.BufferedImage;
import javax.swing.ImageIcon;
import android.graphics.Bitmap;
public class BitmapDrawable extends DrawableContainer
{
public BitmapDrawable(BufferedImage image)
{
super(image);
}
public BitmapDrawable(String pa... |
package android.graphics.drawable;
import java.awt.Image;
import java.util.ArrayList;
import java.util.List;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import android.widget.WidgetProperties;
/**
*
* @author Antonio Cesarano
*
*/
public class AnimationDrawable extends JLabel
{
/**
* Li... |
package com.android.internal.util;
public class XmlUtils {
}
|
/*
* Copyright (C) 2006 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 backup_old_classes;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
im... |
package backup_old_classes;
import java.awt.Component;
import java.awt.ComponentOrientation;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
impo... |
package backup_old_classes;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationExcept... |
package backup_old_classes;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JFr... |
package backup_old_classes;
public class SimpleGraphicNode
{
private String graphicElement;
private String androidId;
private String text;
private String textSize;
public SimpleGraphicNode()
{
graphicElement = "";
androidId = "";
text = "";
textSize = "";... |
package backup_old_classes;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.List;
import java.util.Set;
import java.util.logging.Logger;
i... |
/*
* Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... |
/*
* Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... |
/*
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... |
package test.android.app;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.junit.After;
import or... |
package test.android.app;
import java.awt.Component;
import java.awt.Container;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import javax.swing.JFrame;
import javax.swing.JPanel;
import junit.framework.TestCase;
import junit.framework.TestResult;
import junit.frame... |
package test.android.xml;
import java.io.FileInputStream;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import junit.framework.TestCase;
import junit.framework.TestSuite;
imp... |
package test.android.xml;
import java.io.FileInputStream;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import junit.framework.TestCase;
import junit.framework.TestSuite;
i... |
package apk.yoursms.menu;
import android.content.Context;
import android.view.Display;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.WindowManager;
import android.view.WindowManager.LayoutParams;
import android.widget.PopupWindow;
import apk.yoursms.R;
... |
package apk.yoursms.views;
import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
public class Button extends android.widget.Button {
public Button(Context context) {
super(context);
init();
}
public Button(Context context, AttributeSet attrs) {
super(cont... |
package apk.yoursms.views;
import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
public class TextView extends android.widget.TextView {
public TextView(Context context) {
super(context);
init();
}
public TextView(Context context, AttributeSet attrs) {
su... |
package apk.yoursms;
import android.content.Context;
import android.util.Log;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
//import apk.yoursms.views.TextView;
import android.widget.Toast;
impo... |
package apk.yoursms.smslist;
import java.util.ArrayList;
import android.app.ActivityManager;
import android.app.Dialog;
import android.app.ActivityManager.RunningServiceInfo;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import... |
package apk.yoursms.smslist;
import java.util.ArrayList;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import apk.yoursms.R;
import apk.yoursms.Values;
import apk.yoursms.views.TextView;
public class SmsLi... |
package apk.yoursms.download;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URI;
import java.net.URLEncoder;
import java.util.ArrayList;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.... |
package apk.yoursms.download;
import java.io.IOException;
import java.util.ArrayList;
import android.database.Cursor;
import android.net.Uri;
import android.util.Log;
import apk.yoursms.R;
import apk.yoursms.YourSmsActivity;
import apk.yoursms.database.SmsDbHelper;
public class ContentAdapter {
private final in... |
package apk.yoursms.download;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class Parse {
public static final String MAIN_URL = "http://starsapplications.org/api/";
public static String init(JSONArray json, String tableName) {
String sms = "";
for (int i = 0... |
/*
* Copyright (C) 2010 Cyril Mottier (http://www.cyrilmottier.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 req... |
/*
* Copyright (C) 2010 Cyril Mottier (http://www.cyrilmottier.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 req... |
/*
* Copyright (C) 2010 Cyril Mottier (http://www.cyrilmottier.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 req... |
package apk.yoursms;
import java.util.ArrayList;
import java.util.HashMap;
import android.content.Context;
import android.util.Log;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.... |
package apk.yoursms.ad;
import android.os.Bundle;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.Window;
import android.widget.LinearLayout;
import android.widget.Toast;
import apk.yoursms.R;
import apk.yoursms.TitleBar;
import apk.yoursms.views.TextView;
import com.google.ads.AdReques... |
package apk.yoursms.ad;
import android.widget.LinearLayout;
import apk.yoursms.settings.Statistics;
import com.google.ads.Ad;
import com.google.ads.AdListener;
import com.google.ads.AdRequest.ErrorCode;
import com.google.ads.AdView;
/**
* implements AdListener admob
*
*/
public class AdmobListener implements AdL... |
package apk.yoursms.ad;
import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Handler;
import android.util.Log;
import android.widget.LinearLayout;
import apk.yoursms.YourSmsActivity;
import apk.yoursms.settings.Statistics;
import com.google.ads.Ad;
import com.google.ads.AdListener;... |
package apk.yoursms.ad;
import com.StarsSDK.*;
import com.StarsSDK.Beans.ADResponse;
import android.content.SharedPreferences;
import android.util.Log;
public class ShowPopUpAndAd {
private int showRatingCount = 4;
private int showAdCount = 4;
private SharedPreferences prefs;
public ShowPopUpAndAd(... |
package apk.yoursms.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.provider.BaseColumns;
public class SmsDbHelper extends SQLiteOpenHelper implements BaseColumns {
public static final String TAB... |
package apk.yoursms.database;
import java.util.HashMap;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDataba... |
package apk.yoursms;
import java.util.Hashtable;
public final class Values {
public static String SMS_LOVE = "1";
public static String SMS_SKANDAL = "2";
public static String SMS_CONG = "3";
public static String SMS_HUMOR = "4";
public static String SMS_LOVE_FILE = "Sms_Love";
public static ... |
package apk.yoursms;
import java.util.Locale;
import org.acra.ACRA;
import org.acra.ErrorReporter;
import org.acra.ReportingInteractionMode;
import org.acra.annotation.ReportsCrashes;
import org.apache.http.HttpVersion;
import org.apache.http.client.HttpClient;
import org.apache.http.conn.ClientConnectionManager;
imp... |
package apk.yoursms.settings;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import... |
package apk.yoursms.settings;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import apk.yoursms.R;
public class NotificationUtils {
public static final int _ID = 1;
public static void s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.