android - LocationManager and LOCATION_SERVICE -


are these 2 lines equivalent? behave differently in application.

locationmanager = (locationmanager) context.getsystemservice(location_service); locationmanager = (locationmanager) getsystemservice(context.location_service); 

thanks

yes same, first other activity or service while other 1 of 2.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -