Installing Security Apps Using Bluestacks Android Emulator
Jonathan Caceres, Aug 08, 05:19 If you don't have and Android phone you could use an emulator like Bluestacks
1. Download this is the URL or search at Google for your safety
https://www.bluestacks.com/
2. Once you register with your Google account you are ready for the second part
3. You can see you are in a simulator so now you can download and play games
from your computer
ADB.exe is obsolete and has serious performance problems
Jonathan Caceres, Jun 27, 11:32
How to extends AppCompatActivity and extend BroadcastReceiver at the same time
Jonathan Caceres, Oct 08, 04:55
1. Leave your code as Android Studio created
public class IncomingCall extends AppCompatActivity {...
2. Create an object BroadcastReceiver
BroadcastReceiver receiver;
3. Override the method
receiver=new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
Toast.makeText(context,"Broadcast Received in Activity called ",Toast.LENGTH_SHORT).show();
//create a listener to read phone state
TelephonyManager tmgr = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
//create listener
MyPhoneStateListener PhoneListener = new MyPhoneStateListener();
//Register listener for LISTEN_CALL_STATE
tmgr.listen(PhoneListener, PhoneStateListener.LISTEN_CALL_STATE);
}
};
Assember x mobile phones
Jonathan Caceres, Oct 08, 04:56
mov al, 0
sub al,al
xor al,al
AND al,0 if you know that you know what you can do with
mobile phones
Here is Apple
The Apple A9 is a 64-bit ARM based system on a chip (SoC) designed by Apple Inc.
It first appeared in the iPhone 6S and 6S Plus, which were introduced on September
9, 2015. Apple states that it has 70% more CPU performance and 90% more graphics
performance compared to its predecessor, the Apple A8.
Here is Android
The information provided in the CPU Architecture and Instruction Sets fields
differs a bit from the requirements you'll see for an app or the Xposed
Installer, for instance. So to wrap things up, match up the information
you found in Droid Hardware Info with the list below to find the common
name for your device's CPU type:
ARM: ARMv7 or armeabi
ARM64: AArch64 or arm64
x86: x86 or x86abi
Check this link for more info: http://shervinemami.info/armAssembly.html
Open for business
Jonathan Caceres, Jun 29, 07:54
We love technology but we are like any habitad, we can change moving from
environments as any micro organism.
So we are really excited and waiting for the moves from HUAWEI that gives
a possibility of new OS, a platform
and SDK for their mobile technology.
At the moment the majority of handsets OS are owned by Apple OS and Google
Android, but still some other OS around such as Microsoft and Nokia,
they have their own OS Operative System.
However, we have knowledge that in the mobile phone industry are lots more OS.
Companies like Blackberry, Sanyo, Sony, no mention other Chinese companies
or Indian these companies have developed their own OS not as popular like
those mention before Apple OS or Android but if this new companies
decided to emulated their OS to the new devices is just question of
update the software.
What looks like a trade war, it is more like an opportunity for
software developer companies around the
world to expand in this lucrative business and right now open market.
Where to find SDK folder
Jonathan Caceres, Jun 29, 07:55
If you are installing for the first time Eclipse or Android Studio the SDK
folder by default is in
C:\Users\\AppData\Local\Android.
and the AppData folder is hidden in Windows folder. Enable show hidden files
in folder option, and give a look inside that.
Google Stone Age
Jonathan Caceres, Jun 29, 06:12
The early days of this grate solution for the world web, now call the internet.
In 1995 the internet was another fashion high-tech over costly thing that no many people could afford without
having a personal computer or PC at home.
It is was so odd hearing about personal computers at home why I need one no body has one why me?
Two PhD students of Stanford University creators of an algorithm called PageRank that is the principal of
now know as Google. Larry Page and Sergey Brin CEO's of Google with this amazing idea of ranking page with
a simple and logical algorithm.
PageRank works by counting the number and quality of links to a page to determine a rough estimate of
how important the website is. The underlying assumption is that more important websites are likely to
receive more links from other websites.
Algorithm in Python
# Parameter M adjacency matrix where M_i,j represents the link from 'j' to 'i', such that for all 'j'
# sum(i, M_i,j) = 1
# Parameter d damping factor (default value 0.85)
# Parameter eps quadratic error for v (default value 1.0e-8)
# Return v, a vector of ranks such that v_i is the i-th rank from [0, 1]
import numpy as np
def pagerank(M, eps=1.0e-8, d=0.85):
N = M.shape[1]
v = np.random.rand(N, 1)
v = v / np.linalg.norm(v, 1)
last_v = np.ones((N, 1), dtype=np.float32) * 100
M_hat = (d * M) + (((1 - d) / N) * np.ones((N, N), dtype=np.float32))
while np.linalg.norm(v - last_v, 2) > eps:
last_v = v
v = np.matmul(M_hat, v)
return v
M = np.array([[0, 0, 0, 0, 1],
[0.5, 0, 0, 0, 0],
[0.5, 0, 0, 0, 0],
[0, 1, 0.5, 0, 0],
[0, 0, 0.5, 1, 0]])
v = pagerank(M, 0.001, 0.85)
How to get users sign app your app quickly?
Jonathan Caceres, Oct 08, 06:04
Google has made an easy way to add the Sign-In request very simple. For the technical details address
yourself to https://developers.google.com/identity/sign-in/android/ then you can copy the source code e.g.
**** Source Code ****
// Configure sign-in to request the user's ID, email address, and basic
// profile. ID and basic profile are included in DEFAULT_SIGN_IN.
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestEmail()
.build();
// Build a GoogleSignInClient with the options specified by gso.
mGoogleSignInClient = GoogleSignIn.getClient(this, gso);
Then, when the sign-in button is clicked, start the sign-in intent:
private void signIn() {
Intent signInIntent = mGoogleSignInClient.getSignInIntent();
startActivityForResult(signInIntent, RC_SIGN_IN);
}
Finally, handle the activity result:
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
// Result returned from launching the Intent from GoogleSignInClient.getSignInIntent(...);
if (requestCode == RC_SIGN_IN) {
// The Task returned from this call is always completed, no need to attach
// a listener.
Task task = GoogleSignIn.getSignedInAccountFromIntent(data);
handleSignInResult(task);
}
}
private void handleSignInResult(Task completedTask) {
try {
GoogleSignInAccount account = completedTask.getResult(ApiException.class);
// Signed in successfully, show authenticated UI.
updateUI(account);
} catch (ApiException e) {
// The ApiException status code indicates the detailed failure reason.
// Please refer to the GoogleSignInStatusCodes class reference for more information.
Log.w(TAG, "signInResult:failed code=" + e.getStatusCode());
updateUI(null);
}
}
**** End Source Code ****
What about Facebook? You can find information about authentication or data
access on https://developers.facebook.com/docs/facebook-login/auth-vs-data
Publish your APK on the PlayStore
Jonathan Caceres, Oct 08, 06:45
Build and sign a release APK
1. First we have to begin by creating a personal digital key, then using it to digital sign a
special release version of the APK. Run these commands, and follow the instructions they give you.
2. Second sign up as Google Play Developer
Visit https://play.google.com.apps/publishing/signup, and follow the instructions. You'll
need to pay a one-off $25 charge, but then you can upload as many apps as you like.
3. Upload your app the store, including uploading your APK and adding description text.
When everything is ready, simply click Publish, and it should take just few hours for
your app to go live!
NOTE: No longer is the case check Google Console for more info.