This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.graymind; | |
import android.content.Context; | |
import java.io.IOException; | |
import java.util.UUID; | |
public class UUIDHelper { | |
private static final String TAG = "UUIDHelper"; | |
private static final String PATH_ON_INTERNAL_STORAGE = "/Android/data/com.graymind/"; | |
private static final String FILE_NAME = ".uuid_content"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.graymind75 | |
import android.content.Context | |
import android.net.* | |
import android.os.Build | |
import androidx.annotation.RequiresApi | |
/** | |
* singleton class to check the network connection state | |
* It's use the old ConnectivityManager.activeNetworkInfo way for pre LOLLIPOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
string getStringFromInput(int length); | |
int searchForTheQuery(string totalPhrase, string queryPhrase); | |
int main() | |
{ | |
int n, m; |