• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

My first Android app: Alert user when about to reach Railway station

krishnandu.sarkar

Simply a DIGITian
Staff member
Nice..!! Usefull for people whose destination station arrival timing is at midnight or early morning.

Just a technical query, you mentioned that you are not using Internet and GPS. In that case how to do determine the distance threshold (Say 15KM) from destination station?
 
OP
T

tspshikari

Right off the assembly line
Using Google location api which determine the location through GPS/Internet/Wifi/Network. Iam using the network part.
 

lywyre

Cyborg Agent
Using GPS would be accurate. You need not turn on GPS until 20 minutes before the scheduled time.
 
OP
T

tspshikari

Right off the assembly line
In the initial beta version, I've done that. Designed the algorithm so that for max part it uses network and for the first and last part of journey to use GPS. But it was consuming battery very much because the train mostly consume more time in the outer. From the inputs of the beta users, I went for network. Also for this application precise location is not important becuase the threshold Trigger Distance is always in the range of 15km.
 

sling-shot

Wise Old Owl
Buddy you have done the right thing. Generally one would expect the battery power remaining to be on the lower side towards the end of a journey hence going for the low power option is sensible. But if location is already enabled will Google give a more accurate one automatically? If not may be provide it as an option for the user.

Thanks a ton. I am going to check it out now :)
 

tkin

Back to school!!
Nice job, will try your app in future but I have one doubt. Your app uses internet. When travelling on express train 70% or more of the time I do not get internet, whatever I get near some big towns is very low quality 2g, I can barely check whatsapp let alone load apps. So how much internet bandwidth does your app consume?

BTW irctc have launched this: https://www.services.irctc.co.in/betaDoc/DAlert.pdf
 

sling-shot

Wise Old Owl
Location can be triangulated approximately using cell signal I think. It will be rough like within 3 km or something but would be good enough for the purpose.
 

tkin

Back to school!!
Location can be triangulated approximately using cell signal I think. It will be rough like within 3 km or something but would be good enough for the purpose.
But I haven't seen this in any android app, ever. Is it even possible? Every app requires internet or GPS.
 
Top Bottom