Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actionbar, Device Class rewrite, Notification and more #14

Merged
merged 3 commits into from
Apr 6, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,21 @@
<activity
android:name=".MapViewer"
android:label="@string/app_name"
android:parentActivityName=".AIMSICD"
android:exported="true">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".AIMSICD"/>
</activity>
<activity
android:name=".ATRilHook"
android:label="@string/testing_RIL_OEMHook"
android:label="@string/at_ril_injection"
android:parentActivityName=".AIMSICD"
android:process="com.android.phone"
android:exported="true">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".AIMSICD"/>
</activity>

</application>
Expand Down
Binary file removed libs/RootTools.jar
Binary file not shown.
Binary file added libs/android-support-v7-appcompat.jar
Binary file not shown.
Binary file added res/drawable-hdpi/ic_action_computer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/ic_action_import_export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/ic_action_location_found.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/ic_action_location_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/ic_action_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/ic_action_network_cell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/ic_action_remove.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/track_cell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/untrack_cell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion res/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
android:id="@+id/view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello"
android:text="@string/app_name"
android:typeface="monospace"
android:textColor="#00FF00"/>
</LinearLayout>
32 changes: 32 additions & 0 deletions res/menu/main_menu.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>

<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/track_cell"
android:icon="@drawable/track_cell"
android:title="@string/track_cell"
android:showAsAction="ifRoom"/>
<item android:id="@+id/track_location"
android:icon="@drawable/ic_action_location_off"
android:title="@string/track_location"
android:showAsAction="ifRoom" />
<item android:id="@+id/track_signal"
android:icon="@drawable/ic_action_network_cell"
android:title="@string/track_signal"
android:showAsAction="ifRoom" />
<item android:id="@+id/show_map"
android:icon="@drawable/ic_action_map"
android:title="@string/show_map"
android:showAsAction="ifRoom" />
<item android:id="@+id/export_database"
android:icon="@drawable/ic_action_import_export"
android:title="@string/export_database"
android:showAsAction="ifRoom" />
<item android:id="@+id/at_injector"
android:icon="@drawable/ic_action_computer"
android:title="@string/at_ril_injection"
android:showAsAction="ifRoom" />
<item android:id="@+id/app_exit"
android:icon="@drawable/ic_action_remove"
android:title="@string/quit"
android:showAsAction="ifRoom" />
</menu>
37 changes: 22 additions & 15 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">no content</string>
<string name="app_name">Android IMSI-Catcher Detector</string>

<string name="app_name_short">AIMSICD</string>
<string name="app_name">Android IMSI Catcher Detector</string>
<string name="strength">Signal strength</string>
<string name="quit">Quit</string>
<string name="text_ok">OK</string>
<string name="text_cancel">Cancel</string>

<string name="device_info_title">Device Information</string>
<string name="oemrilhook_title">OEM RIL Hook</string>

<string name="text_no_busybox">Busybox was not detected on your device, would you like to install it now?</string>
<string name="text_busybox_not_installed">Busybox install failed, please confirm your phone has been rooted and su
binary installed.
</string>
<string name="text_no_microcom">The Microcom applet was not detected on your device, would you like to install it
now?
</string>
<string name="text_no_atinout">The ATinout applet was not detected on your device, would you like to install it
now?
</string>
<!-- Mobile Network Types -->
<string name="gprs"># GPRS</string>
<string name="edge"># EDGE</string>
<string name="umts"># UMTS</string>
Expand All @@ -30,10 +21,26 @@
<string name="evo0"># EVO-0</string>
<string name="evoA"># EVO-A</string>

<!--For RIL OEM HOOK testing-->
<!-- MENU -->
<string name="track_cell">Track Cell Details</string>
<string name="untrack_cell">Untrack Cell Details</string>
<string name="track_location">Track Location</string>
<string name="untrack_location">Untrack Location</string>
<string name="track_signal">Track Signal</string>
<string name="untrack_signal">Untrack Signal</string>
<string name="show_map">Show Map</string>
<string name="export_database">Export Database tables</string>
<string name="at_ril_injection">AT Command Injection</string>
<string name="press_once_again_to_exit">Press again to exit</string>

<!-- Location Helper -->
<string name="location_error_title">Location Services Disabled</string>
<string name="location_error_message">Would you like to enable Location Services to track GPS Data?</string>

<!-- AT Injection Activity -->
<string name="testing_RIL_OEMHook">RIL OEM Hook Test</string>
<string name="ril_oem_choose">Choose a RIL OEM Hook API to test:</string>
<string name="radio_api1">API 1 (datalen=0)</string>
<string name="radio_api1">CRSM - RilStrings</string>
<string name="radio_api2">API 2 (datalen=1)</string>
<string name="radio_api3">API 3 (datalen=6)</string>
<string name="radio_api4">API 4 Type command :</string>
Expand Down
Loading