Coder Social home page Coder Social logo

Comments (6)

xLaMbChOpSx avatar xLaMbChOpSx commented on June 13, 2024

@E3V3A Thanks for putting all of these together I can provide some info about them all.
Map & Location This one is really doing my head in Google does not make it easy to grab you location without GPS/Network based location enabled basically at the moment the app will try and do the following steps in order:

  1. Current GPS location if available,
  2. Last location that is contained within the location tracking database
  3. Last known location held by the location manager service from either GPS or Network based details
  4. Place you in the sea near Africa! :)

I have tried a couple of different things with this but obviously it does not work well in all cases, I will investigate more for a better solution.

Following on from that I will add some better failure detection to the OpenCellID methods as it probably failed to download due to the fact it could not calculate the bounding coordinates as this calculation uses the coordinates following the above list, but the 4th option in the sea near Africa I believe is more of a maps default so AMISICD I am guessing did not actually have any coordinates to use for the calculation.

As no download actually worked for OpenCellID based on the above information the csv file would have been empty.

I am not sure about the loss of all tracking functions when returning from the Map Viewer using the action bar as you described, I just enabled all tracking and tried it with no issues including the notification remaining green and showing tracking is enabled, one thing I have just added is to invalidate the menu once the main activity resumes as this was only available for SDK 11 and above so we can now utilise that feature which will force the app to recheck and ensure the correct icons are displayed whenever the app is displayed.

The Signal tracking icon is weird the code should function correctly like the others do so I will look into this further.

from android-imsi-catcher-detector.

SecUpwN avatar SecUpwN commented on June 13, 2024

@xLaMbChOpSx, how about using location through triangulation of cell towers? Just a thought. At least I am using NetworkLocation from the NoGAPPS-Project. Maybe @mar-v-in can help you solve this?

from android-imsi-catcher-detector.

E3V3A avatar E3V3A commented on June 13, 2024

STOP! Let's not get into any new triangulation schemes. These location problems have already been seriously thought about before. I am sorry I have not had time to catch up on all these old docs as of today, but hope to do this within next week. If you are interested in this, please have a deeper look in the various documents provided by @He3556.

from android-imsi-catcher-detector.

xLaMbChOpSx avatar xLaMbChOpSx commented on June 13, 2024

Latest release features a default mcc based location within the map viewer if the app was unable to find your location from any of the current methods. It is not perfect but will atleast place you near the capital city. The CSV file holding this info needs some further work but covers most mcc's and I will continue to improve this.

from android-imsi-catcher-detector.

mar-v-in avatar mar-v-in commented on June 13, 2024

@xLaMbChOpSx Android includes a list of country centers and desired zoom levels (code is untested)

// Array containing latitude in [0] and longitude in [1], each multiplied with 1E6
int[] latlonE6 = getResources().getIntArray(Class.forName("com.android.internal.R$array").getField("maps_starting_lat_lng").getInt(null)); 
int zoom = getResources().getIntArray(Class.forName("com.android.internal.R$array").getField("maps_starting_zoom"))[0];

You can use a resources object of another country if you want to display a country other than the current one.

from android-imsi-catcher-detector.

E3V3A avatar E3V3A commented on June 13, 2024

@xLaMbChOpSx "That" mmc trick didn't seem to work in the latest v0.1.10..

Edit:
Actually, I can't reproduce this, since I think I had corrupt data, but I'm not sure.

from android-imsi-catcher-detector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.