In my BlackBerry application, I need to enable GPS. I am using jde 5.0.0.
Refer to RIM documentation:
Location-Based Services
Class BlackBerryLocation
The user decides if some Location-Based Services app gets access to the device's current position via GPS.
Related
I have a Sapui5 application that runs on Sap Fiori Client App. This application uses user's location and on Andriod its very easy to fake your Gps. It there any way to detect mock gps usage on Sap Fiori Client App?
Best Regards.
Since your application runs in an Android app and not as a native app you are not on the right level to have access to the systems settings. When developing an Android app you have some options to accomplish the detection of fake GPS (i.e Location.isFromMockProvider()).
For more information (Android):
https://stackoverflow.com/a/41538070/8194384
In your case the devs of the SAP Fiori Client App have to implement that feature and make it available in Fiori apps.
Alternatively you can implement a custom plausibility check to validate the GPS locations. Since SAP apps are only used in business context there should be limited scenarios that are credible. I.e: A Pokemon Go player has a "valid" reason to fake his location to be New York. I doubt that your service staff or sales reps has such motivations.
And for general considerations:
Is such a check really necessary and requested from the business? If yes, it would be their task to define what is plausible/credible and what not.
An app being used for COVID-19 exposure notifications is asking for access to location services. The developers claim that location services must be enabled for BLE to work in this context. I'm not an iOS developer, but I am having trouble finding if this is accurate or not. This app does not use the Apple API for exposure notification, but it does use the same methodology. To work, the app must be able to scan for other BLE devices at all times, and there is some older discussion I found that indicates that MIGHT be the reason for requiring location services permission.
As of KitKat 4.4, the required proximity API is baked into the Nearby functionality of the Android OS. This means that Android devices no longer require an application to detect and interact with beacons.
iOS, however, still requires either an app or the chrome browser to do so with Google's beacons.
My question: With current technology, if a website is designed using Google's PWA standards, can it have the ability to detect and interact with beacons in the same fashion that an application would (regardless of the browser being used)?
Follow-up, if YES, would it be able to perform these tasks while open in the background?
The short answer is no, you generally cannot interact with beacons from web apps. This is true even on Android devices that use the Chrome browser. On Android, you can launch a web app on beacon detection using Nearby, but only if the user taps the Nearby notification.
Here's the longer explanation:
Android devices do support Google Nearby which allows you to send a notification to a user when your beacon is detected that can (a) launch a native app, (b) launch the Google Play store to install an app, or (c) launch a URL in the default browser.
When launching a URL, the URL can be to a web app and may include a URL parameter that tells it that the web app was launched by the beacon detection through Nearby. But once the launch of complete, the web app's interaction with beacons is over.
In order to have dynamic interaction with beacons, there must be web APIs that give the web app callbacks when beacons are detected. These currently do not exist. There is hope for this in the future using Web Bluetooth APIs (See: https://webbluetoothcg.github.io/web-bluetooth/), however they do not currently support scanning for arbitrary Bluetooth advertisements needed to detect beacons.
Im trying to create an app which is assigned to all staff in my company. Platform is ios. The function of this app is to detect the nearby staff indoor and data will be populated from internal DB.
Your app get the user's location using GPS and send each user's location to a central server, which would then send back map data so each user could see all the others. GPS doesn't work super well indoors though, so the other option would be low power Bluetooth, but that isn't very directional. Check out iBeacon.
Do not use GPS,it is not Accurate in door.
You may use some indoor location
Use Ibeacon- Based On BLE
There is a company called Estimote,their offer their Indoor location
SDK
Use WIFI based Indoor location
You may google more details, there are a lot details about Indoor Location
hi all i am working on Application which is bashed on Event according to current location .when my application start i am displaying Event in my ListField according to current location. Application works fine in Simulator after sending Latitude & Longitude manually from simulator.
When i test this app in my device BB storm2 9550, device cant get current location within 3 or 4 second (during Splash screen) . but after some time it get current location successfully .
how can i get my current location as fast as iphone an Android ?
is there any way to get current lat long from device GPS system which we are getting on Refresh GPS .
please suggest me if any one have any idea.
Thanks in Adavance !!!
if you are not getting lat/long quickly then it sounds like you are trying to get the locations using the GPS radio. This would mean it will take time to connect to the satellites . this would also require sky in sight of the phone, ie it will not work indoors.
The quickest way to get lat/longs are
Use cellsite technology( Blackberry supports this in some devices using triangulation)
Use a cellid provider like google location api or opencellid to get the lat/long using the current cell id.
These doesnt drain the battery as much as using the GPS radio so if you can , try using these. Although the lat/long are not accurate as GPS radio lat/longs.
Please check the following for all the info you would ever need for blackberry GPS techniques.
Simple Location API
Location API- start to finish
At a hardware level, BlackBerry devices used to mount Qualcomm's gpsOne chipset, which, in my opinion, is slower than the ones you could find in most recent Android or Apple devices (SiRFstar or Broadcom, etc). Or maybe the BlackBerry OS didn't interface with it in an efficient manner. For whatever reason, I've experienced higher TTFFs in BlackBerry devices than in Android, for a given place. I may be wrong here, it is just an opinion.
I think newer BlacBerries are mounting other chipsets now. And also, as of September 2011, WiFi geolocation service is also available in OS 6.0 and later. Before that, the only location service in BB was A-GPS and celltower (only OS 5.0 onwards).
Some useful links:
Location APIs – Start to finish
Simple Location API