mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 13:59:29 +00:00
Created account package
This commit is contained in:
parent
dca9924fc9
commit
a5c5c525db
@ -10,7 +10,7 @@ import android.widget.ScrollView;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import org.communiquons.android.comunic.client.data.Account;
|
||||
import org.communiquons.android.comunic.client.data.Account.Account;
|
||||
import org.communiquons.android.comunic.client.data.Utilities;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
@ -10,7 +10,7 @@ import android.view.MenuItem;
|
||||
import android.widget.Toast;
|
||||
|
||||
import org.communiquons.android.comunic.client.api.APIRequestTask;
|
||||
import org.communiquons.android.comunic.client.data.Account;
|
||||
import org.communiquons.android.comunic.client.data.Account.Account;
|
||||
import org.communiquons.android.comunic.client.data.DatabaseHelper;
|
||||
import org.communiquons.android.comunic.client.data.UsersInfo.GetUsersInfos;
|
||||
import org.communiquons.android.comunic.client.data.UsersInfo.UserInfo;
|
||||
|
@ -4,9 +4,8 @@ import android.content.Context;
|
||||
import android.net.ConnectivityManager;
|
||||
import android.net.NetworkInfo;
|
||||
import android.os.AsyncTask;
|
||||
import android.util.Log;
|
||||
|
||||
import org.communiquons.android.comunic.client.data.Account;
|
||||
import org.communiquons.android.comunic.client.data.Account.Account;
|
||||
import org.communiquons.android.comunic.client.BuildConfig;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
|
@ -1,8 +1,9 @@
|
||||
package org.communiquons.android.comunic.client.data;
|
||||
package org.communiquons.android.comunic.client.data.Account;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
import org.communiquons.android.comunic.client.data.Utilities;
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
|
@ -37,7 +37,7 @@ public class Utilities {
|
||||
* @param filename the name of the file to get
|
||||
* @return The content of the file
|
||||
*/
|
||||
String file_get_content(String filename){
|
||||
public String file_get_content(String filename){
|
||||
|
||||
FileInputStream fileInputStream;
|
||||
|
||||
@ -77,7 +77,7 @@ public class Utilities {
|
||||
* @param content The new content of the file
|
||||
* @return FALSE in case of failure
|
||||
*/
|
||||
boolean file_put_contents(String filename, String content){
|
||||
public boolean file_put_contents(String filename, String content){
|
||||
|
||||
FileOutputStream fileOutputStream;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user