text stringlengths 3 1.18M |
|---|
/**
*
*/
package org.jinouts.ws.exception;
/**
* @author asraf
* asraf344@gmail.com
*/
public class MethodNotMatchedException extends JinosException
{
public MethodNotMatchedException( )
{
super ( ExceptionConstants.METHOD_NOT_MATCH );
}
}
|
/**
*
*/
package org.jinouts.ws.exception;
/**
* @author asraf
* asraf344@gmail.com
*/
public class JinosException extends Exception
{
protected int errorCode;
protected String errorMessage;
public JinosException ( int errorCode )
{
this.errorCode = errorCode;
}
public int getError... |
/**
*
*/
package org.jinouts.ws.exception;
/**
* @author asraf
* asraf344@gmail.com
*/
public class ExceptionConstants
{
public static final int FIELD_NOT_MATCH = 101;
public static final int METHOD_NOT_MATCH = 110;
}
|
/**
*
*/
package org.jinouts.ws.exception;
/**
* @author asraf
* asraf344@gmail.com
*/
public class FieldNotMatchedException extends JinosException
{
public FieldNotMatchedException()
{
super( ExceptionConstants.FIELD_NOT_MATCH );
}
}
|
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.transport;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
impor... |
package org.jinouts.ws.client;
import org.jinos.ws.client.R;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
public class AndProxyClientActivity extends Activity
{
/** Called when the activity is first created. */
@O... |
package org.jinouts.webservice.android;
import org.jinos.webservice.android.R;
import org.jinouts.ws.EnterResponse;
import org.jinouts.ws.Login;
import org.jinouts.ws.LoginService;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
im... |
@org.jinouts.xml.bind.annotation.XmlSchema(namespace = "http://ws.jinouts.org/")
package org.jinouts.ws;
|
package org.jinouts.ws;
import org.jinouts.xml.bind.annotation.XmlAccessType;
import org.jinouts.xml.bind.annotation.XmlAccessorType;
import org.jinouts.xml.bind.annotation.XmlElement;
import org.jinouts.xml.bind.annotation.XmlType;
/**
* <p>Java class for enterResponse complex type.
*
* <p>The foll... |
package org.jinouts.ws;
import org.jinouts.xml.bind.JAXBElement;
import org.jinouts.xml.bind.annotation.XmlElementDecl;
import org.jinouts.xml.bind.annotation.XmlRegistry;
import org.jinouts.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java elem... |
package org.jinouts.ws;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import org.jinouts.xml.namespace.QName;
import org.jinouts.jws.WebMethod;
import org.jinouts.jws.WebParam;
import... |
package org.jinouts.ws;
import org.jinouts.xml.bind.annotation.XmlAccessType;
import org.jinouts.xml.bind.annotation.XmlAccessorType;
import org.jinouts.xml.bind.annotation.XmlType;
/**
* <p>Java class for enter complex type.
*
* <p>The following schema fragment specifies the expected content contain... |
/**
* CC-LGPL 2.1
* http://creativecommons.org/licenses/LGPL/2.1/
*/
package hu.javaforum.android.androidsoap;
import hu.javaforum.commons.ReflectionHelper;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import javax.xml.datatype.DatatypeFactory;
import jav... |
/**
* CC-LGPL 2.1
* http://creativecommons.org/licenses/LGPL/2.1/
*/
package hu.javaforum.commons;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws;
import hu.javaforum.android.androidsoap.GenericHandler;
import hu.javaforum.commons.ReflectionHelper;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
/**
* @author asraf
* asraf344@gmail.com
*
*/
public class JinosConstants
{
public static final String REQUEST_WRAPPER = "RequestWrapper";
public static final String RESPO... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
/**
* @author asraf
* asraf344@gmail.com
*
*/
public class XMLConstants
{
public static final String SOAP_ENVELOPE_START_TAG = "<soap:Envelope ";
public static final String SO... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
import hu.javaforum.commons.ReflectionHelper;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.SimpleDateFormat;
... |
/**
*
*/
package org.jinouts.ws.util;
import java.lang.reflect.Field;
import org.jinouts.ws.exception.FieldNotMatchedException;
import org.jinouts.ws.exception.MethodNotMatchedException;
import org.jinouts.xml.bind.annotation.XmlElement;
import hu.javaforum.commons.ReflectionHelper;
/**
* @author ... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
import java.lang.annotation.Annotation;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.wsdl.Binding;
import javax.wsdl.BindingOperation;
imp... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
import hu.javaforum.commons.ReflectionHelper;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.SimpleDateFormat;
... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws;
import java.lang.reflect.Proxy;
import java.net.URL;
import org.jinouts.xml.namespace.QName;
import org.jinouts.xml.ws.WebServiceFeature;
/**
* @author asraf
* asraf344@gmail.com
*... |
/**
*
*/
package org.jinouts.ws.exception;
/**
* @author asraf
* asraf344@gmail.com
*/
public class MethodNotMatchedException extends JinosException
{
public MethodNotMatchedException( )
{
super ( ExceptionConstants.METHOD_NOT_MATCH );
}
}
|
/**
*
*/
package org.jinouts.ws.exception;
/**
* @author asraf
* asraf344@gmail.com
*/
public class JinosException extends Exception
{
protected int errorCode;
protected String errorMessage;
public JinosException ( int errorCode )
{
this.errorCode = errorCode;
}
public int getError... |
/**
*
*/
package org.jinouts.ws.exception;
/**
* @author asraf
* asraf344@gmail.com
*/
public class ExceptionConstants
{
public static final int FIELD_NOT_MATCH = 101;
public static final int METHOD_NOT_MATCH = 110;
}
|
/**
*
*/
package org.jinouts.ws.exception;
/**
* @author asraf
* asraf344@gmail.com
*/
public class FieldNotMatchedException extends JinosException
{
public FieldNotMatchedException()
{
super( ExceptionConstants.FIELD_NOT_MATCH );
}
}
|
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.transport;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
impor... |
package org.jinouts.ws.client;
import org.jinos.ws.client.R;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
public class AndProxyClientActivity extends Activity
{
/** Called when the activity is first created. */
@O... |
/**
*
*/
package org.jinos.ws;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.lang.annotation.Annotation;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.net.URL;
import java.util.HashMap;
import java.uti... |
/**
* CC-LGPL 2.1
* http://creativecommons.org/licenses/LGPL/2.1/
*/
package org.jinos.ws.util;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.t... |
/**
*
*/
package org.jinos.ws.util;
/**
* @author asraf
*
*/
public class XMLConstants
{
public static final String SOAP_ENVELOPE_START_TAG = "<soap:Envelope ";
public static final String SOAP_ENVELOPE_END_TAG = "</soap:Envelope>";
public static final String SOAP_ENV_NS_TAG = "xmlns:soap";
publ... |
/**
*
*/
package org.jinos.ws.util;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* @a... |
/**
*
*/
package org.jinos.ws.util;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.wsdl.Binding;
import javax.wsdl.BindingOperation;
import javax.wsdl.Definition;
import javax.wsdl.extensions.soap.SOAPBinding;
import javax.wsdl.extensions.soap12.SOAP12Binding;
im... |
/**
*
*/
package org.jinos.ws;
import java.lang.annotation.Annotation;
import java.lang.reflect.Proxy;
import java.net.URL;
import org.jinos.xml.namespace.QName;
import org.jinos.xml.ws.WebServiceFeature;
/**
* @author asraf
*
*/
public class JinosService
{
private URL wsdlLocation;
pri... |
/**
* CC-LGPL 2.1
* http://creativecommons.org/licenses/LGPL/2.1/
*/
package org.jinos.transport;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Map;
import org.apache.http.HttpResponse;
import org.apache.http.clien... |
/*
* soapUI, copyright (C) 2004-2011 smartbear.com
*
* soapUI is free software; you can redistribute it and/or modify it under the
* terms of version 2.1 of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* soapUI is distributed in the hope that it will be u... |
/*
* soapUI, copyright (C) 2004-2011 smartbear.com
*
* soapUI is free software; you can redistribute it and/or modify it under the
* terms of version 2.1 of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* soapUI is distributed in the hope that it will be u... |
/*
* soapUI, copyright (C) 2004-2011 smartbear.com
*
* soapUI is free software; you can redistribute it and/or modify it under the
* terms of version 2.1 of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* soapUI is distributed in the hope that it will be u... |
/*
* soapUI, copyright (C) 2004-2011 smartbear.com
*
* soapUI is free software; you can redistribute it and/or modify it under the
* terms of version 2.1 of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* soapUI is distributed in the hope that it will be u... |
/*
* soapUI, copyright (C) 2004-2011 smartbear.com
*
* soapUI is free software; you can redistribute it and/or modify it under the
* terms of version 2.1 of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* soapUI is distributed in the hope that it will be u... |
/*
* soapUI, copyright (C) 2004-2011 smartbear.com
*
* soapUI is free software; you can redistribute it and/or modify it under the
* terms of version 2.1 of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* soapUI is distributed in the hope that it will be u... |
/**
* CC-LGPL 2.1
* http://creativecommons.org/licenses/LGPL/2.1/
*/
package org.jinos.ws.util;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.t... |
/**
* CC-LGPL 2.1
* http://creativecommons.org/licenses/LGPL/2.1/
*/
package hu.javaforum.commons;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import jav... |
/**
* CC-LGPL 2.1
* http://creativecommons.org/licenses/LGPL/2.1/
*/
package hu.javaforum.android.androidsoap;
import hu.javaforum.commons.ReflectionHelper;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import javax.xml.datatype.DatatypeFactory;
import jav... |
/**
* CC-LGPL 2.1
* http://creativecommons.org/licenses/LGPL/2.1/
*/
package hu.javaforum.commons;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws;
import hu.javaforum.android.androidsoap.GenericHandler;
import hu.javaforum.commons.ReflectionHelper;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
/**
* @author asraf
* asraf344@gmail.com
*
*/
public class JinosConstants
{
public static final String REQUEST_WRAPPER = "RequestWrapper";
public static final String RESPO... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
/**
* @author asraf
* asraf344@gmail.com
*
*/
public class XMLConstants
{
public static final String SOAP_ENVELOPE_START_TAG = "<soap:Envelope ";
public static final String SO... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
import hu.javaforum.commons.ReflectionHelper;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.SimpleDateFormat;
... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
import java.lang.annotation.Annotation;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.wsdl.Binding;
import javax.wsdl.BindingOperation;
imp... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws.util;
import hu.javaforum.commons.ReflectionHelper;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.SimpleDateFormat;
... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.ws;
import java.lang.reflect.Proxy;
import java.net.URL;
import org.jinouts.xml.namespace.QName;
import org.jinouts.xml.ws.WebServiceFeature;
/**
* @author asraf
* asraf344@gmail.com
*... |
/**
* Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0.html *
*
*/
package org.jinouts.transport;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
impor... |
package org.jinouts.webservice.service;
import org.jinouts.xml.bind.annotation.XmlAccessType;
import org.jinouts.xml.bind.annotation.XmlAccessorType;
import org.jinouts.xml.bind.annotation.XmlType;
/**
* <p>Java class for login complex type.
*
* <p>The following schema fragment specifies the expected... |
@org.jinouts.xml.bind.annotation.XmlSchema(namespace = "http://service.webservice.jinouts.org/")
package org.jinouts.webservice.service;
|
package org.jinouts.webservice.service;
import org.jinouts.xml.bind.JAXBElement;
import org.jinouts.xml.bind.annotation.XmlElementDecl;
import org.jinouts.xml.bind.annotation.XmlRegistry;
import org.jinouts.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interfa... |
package org.jinouts.webservice.service;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import org.jinouts.xml.namespace.QName;
import org.jinouts.jws.WebMethod;
import org.jinouts.jws.W... |
package org.jinouts.webservice.service;
import org.jinouts.xml.bind.annotation.XmlAccessType;
import org.jinouts.xml.bind.annotation.XmlAccessorType;
import org.jinouts.xml.bind.annotation.XmlElement;
import org.jinouts.xml.bind.annotation.XmlType;
/**
* <p>Java class for loginResponse complex type.
* ... |
package org.jinouts.webservice.service;
import org.jinouts.xml.bind.annotation.XmlAccessType;
import org.jinouts.xml.bind.annotation.XmlAccessorType;
import org.jinouts.xml.bind.annotation.XmlType;
/**
* <p>Java class for loginServiceResponse complex type.
*
* <p>The following schema fragment specifi... |
package org.jinouts.ws.client;
import org.jinos.ws.client.R;
import org.jinouts.webservice.service.Login;
import org.jinouts.webservice.service.LoginService;
import org.jinouts.webservice.service.LoginServiceResponse;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.u... |
/**
*
*/
package org.jinouts.ui;
import org.jinouts.ui.biz.JinoutsFrameController;
/**
* @author asraf
*
*/
public class UIMain
{
static final String title = "Jinos Android WS Client Generator";
/**
* @param args
*/
public static void main ( String[] args )
{
java.awt.EventQueu... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* JinosJFrame.java
*
* Created on May 2, 2012, 5:44:28 AM
*/
package org.jinouts.ui;
import java.io.File;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
import org.jinouts.ui.biz.JinoutsFrame... |
/**
*
*/
package org.jinouts.ui.biz;
import java.io.File;
import java.util.List;
import org.apache.commons.io.FileUtils;
/**
* @author asraf
*
*/
public class CXFToJinoutsWSConverter
{
//public static final String SOURCE_DIR = "D:\\andPro\\SoapUIRND\\temp";
//public static final String DES... |
/**
*
*/
package org.jinouts.ui.biz;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import javax.swing.JOptionPane;
import org.apache.commons.io.FileUtils;
/**
* @author asraf
*
*/
public class Ji... |
package com.esfore.lanfore.exception;
public class LanForeException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
public LanForeException(Throwable throwable) {
super(throwable.getMessage());
}
public LanForeException(String message) {
super(message);
}
}
|
package com.esfore.lanfore.exception;
public class LanForeExceptionNoDataFound extends LanForeException {
private static final String NO_DATA_FOUND = "No Data Found";
/**
*
*/
private static final long serialVersionUID = 1L;
public LanForeExceptionNoDataFound(){
super(NO_DATA_FOUND);
}
}
|
package com.esfore.lanfore;
import android.app.Application;
import android.text.TextUtils;
import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.toolbox.ImageLoader;
import com.android.volley.toolbox.Volley;
import com.esfore.lanfore.net.rest.volley.LruBitmapCache;
publ... |
package com.esfore.lanfore.services.gcm;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.LocalBroadcastManager;
import android.support.v4.content.WakefulBroadcastReceiver;
impor... |
package com.esfore.lanfore.services.gcm;
import android.app.IntentService;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.Color;
im... |
package com.esfore.lanfore;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
public class LanFore extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_lan_fore);
// Button btn = (B... |
/*
* 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.esfore.lanfore.view;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
public class SquareImageView extends ImageView {
public SquareImageView(Context context) {
super(context);
}
public SquareImageView(Context context, AttributeSet at... |
/*
* 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.esfore.lanfore.utils;
import android.app.Activity;
import android.util.Log;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesUtil;
public class UtilChat {
private static final String TAG = "UtilChat";
private Activity activity;
private stati... |
package com.esfore.lanfore.utils;
/**
* Created by Niko on 14-07-2014.
*/
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import... |
package com.esfore.lanfore.utils;
public class UtilNavigation {
public static enum TabNavigation {
CHAT, SEARCH, FRIENDS, PREFERENCES;
}
public static enum FriendsNavigation {
MAIN, CHILD;
}
public static enum MessageNavigation {
MAIN, CHILD;
}
public static enum SearchNavigation {
MAIN, CHILD... |
package com.esfore.lanfore.utils;
import android.app.Activity;
import com.esfore.lanfore.AppController;
import com.esfore.lanfore.net.rest.volley.GsonRequest;
public class UtilRest {
// private Activity activity;
private static UtilRest instance;
public static UtilRest getInstance(Activity activity) {
if (ins... |
package com.esfore.lanfore.utils;
import android.app.Activity;
import com.esfore.lanfore.R;
public class UtilResource {
private Activity activity;
private static UtilResource instance;
public static UtilResource getInstance(Activity activity){
if (instance == null){
instance = new UtilResource();
}
ins... |
package com.esfore.lanfore.utils;
import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import android.graphics.Bitmap.Config;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
impo... |
package com.esfore.lanfore.utils;
import android.annotation.SuppressLint;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.os.Message;
import android.util.Base64;
import android.util.Log;
import android.widget.ImageView;
import com.esfore.lanfore.mod... |
package com.esfore.lanfore.utils;
public class Const {
public static final int NO_ERROR = 0;
public static final String EMAIL = "email";
public static final String PASSWORD = "password";
public static final String MAC_ADD = "macAddress";
public static final String IMEI = "imei";
public stati... |
package com.esfore.lanfore.utils;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;
/**
* Created by Ramon on 21-07-2014.
*/
public class UtilString {
public static String getCurrentTime(long currentTime) {
if (currentTime == 0) {
return "";
}
... |
package com.esfore.lanfore.utils;
import android.app.Activity;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import com.esfore.lanfore.R;
import java.util.Map;
public class UtilPreference {
private static UtilPreference instance;
private Activity activity;
pr... |
package com.esfore.lanfore.utils;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.app.NotificationManager;
import android.content.Context;
import android.util.Base64;
import android.view.View;
import android.view.View.OnClickListener;
import android.w... |
package com.esfore.lanfore.net.dao;
import android.app.Activity;
import com.android.volley.Request.Method;
import com.esfore.lanfore.R;
import com.esfore.lanfore.model.DummyData;
import com.esfore.lanfore.model.Filters;
import com.esfore.lanfore.model.RestResponse;
import com.esfore.lanfore.model.RestResponseAction;
... |
package com.esfore.lanfore.net.dao;
import android.app.Activity;
import com.android.volley.Request.Method;
import com.esfore.lanfore.R;
import com.esfore.lanfore.model.Gender;
import com.esfore.lanfore.model.RestResponse;
import com.esfore.lanfore.model.inter.IMasterDao;
import com.esfore.lanfore.model.inter.RequestL... |
package com.esfore.lanfore.net.dao;
import android.app.Activity;
import com.android.volley.Request.Method;
import com.esfore.lanfore.R;
import com.esfore.lanfore.model.Country;
import com.esfore.lanfore.model.RestResponse;
import com.esfore.lanfore.model.inter.IMasterDao;
import com.esfore.lanfore.model.inter.Request... |
package com.esfore.lanfore.net.dao;
import android.app.Activity;
import com.android.volley.Request.Method;
import com.esfore.lanfore.R;
import com.esfore.lanfore.model.RestResponseAction;
import com.esfore.lanfore.model.inter.RequestListener;
import com.esfore.lanfore.net.rest.volley.GsonRequest;
import com.esfore.la... |
package com.esfore.lanfore.net.dao;
import android.app.Activity;
import com.android.volley.Request.Method;
import com.esfore.lanfore.R;
import com.esfore.lanfore.model.Language;
import com.esfore.lanfore.model.RestResponse;
import com.esfore.lanfore.model.inter.IMasterDao;
import com.esfore.lanfore.model.inter.Reques... |
package com.esfore.lanfore.net.dao.iface;
import java.util.List;
public interface IRestBaseModel<E> {
List<E> getList();
E getEmpty();
}
|
package com.esfore.lanfore.net.dao;
import android.app.Activity;
import com.android.volley.Request.Method;
import com.esfore.lanfore.R;
import com.esfore.lanfore.model.RestResponse;
import com.esfore.lanfore.model.RestResponseAction;
import com.esfore.lanfore.model.UserList;
import com.esfore.lanfore.model.inter.Requ... |
package com.esfore.lanfore.net.dao;
import android.app.Activity;
import com.esfore.lanfore.model.Country;
import com.esfore.lanfore.model.Gender;
import com.esfore.lanfore.model.Language;
import com.esfore.lanfore.model.TimeZone;
import com.esfore.lanfore.model.inter.IMasterDao;
public class RestFactory {
private ... |
package com.esfore.lanfore.net.dao;
import android.app.Activity;
import com.android.volley.Request.Method;
import com.esfore.lanfore.R;
import com.esfore.lanfore.model.RestResponse;
import com.esfore.lanfore.model.TimeZone;
import com.esfore.lanfore.model.inter.IMasterDao;
import com.esfore.lanfore.model.inter.Reques... |
package com.esfore.lanfore.net.rest.volley;
import android.graphics.Bitmap;
import android.support.v4.util.LruCache;
import com.android.volley.toolbox.ImageLoader.ImageCache;
public class LruBitmapCache extends LruCache<String, Bitmap> implements
ImageCache {
public static int getDefaultLruCacheSize() {
final i... |
package com.esfore.lanfore.net.rest.volley;
import com.android.volley.AuthFailureError;
import com.android.volley.Cache;
import com.android.volley.Cache.Entry;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Request;
import com.android.volley.Response;
import ... |
package com.esfore.lanfore.net.rest;
import org.apache.http.client.methods.HttpPost;
public class HttpPatch extends HttpPost {
public static final String METHOD_PATCH = "PATCH";
public HttpPatch(final String url) {
super(url);
}
@Override
public String getMethod() {
return METHOD... |
package com.esfore.lanfore.net.rest;
import android.app.Activity;
import android.util.Log;
import com.esfore.lanfore.R;
import com.esfore.lanfore.model.RestResponse;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apa... |
package com.esfore.lanfore.task;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
i... |
package com.esfore.lanfore.task;
import android.app.Activity;
import android.app.ProgressDialog;
import android.os.AsyncTask;
import android.view.View;
import android.widget.ListView;
import com.esfore.lanfore.adapter.AdapterListMessageResult;
import com.esfore.lanfore.model.Filters;
import com.esfore.lanfore.model.R... |
package com.esfore.lanfore.task;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.