Android

Invalid request. Missing the ‘origin’ parameter. Google Map directions request URL error

Posted on

Google Map Direction request API changed It seems Google Map Direction request API changed, which is used to get polyline points to draw drive path. Previously, I implemented drawing driving path on Map using below directions request. And this link worked perfectly, I used to get all the waypoints information, with it. https://maps.googleapis.com/maps/api/directions/json? waypoints=optimize:true|52.28582710000001,-1.1141665|52.2777244,-1.1581097& sensor=false but […]

Android

Display Menu items in ActionBar when using Fragment

Posted on

Display Menu items in Fragment ActionBar When Implementing Fragment screen, If it require to display Menu Items only specific to that Fragment screen. If you just write the following code… @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { // TODO Auto-generated method stub super.onCreateOptionsMenu(menu, inflater); menu.clear(); inflater.inflate(R.menu.done_actions_menu, menu); } /** * On selecting action bar icons […]

General

Heroku client internal error… Permission denied – git –version on Windows

Posted on

Heroku client toolbelt CLI Today, I installed Heroku client toolbelt CLI on my system, which installed Ruby and Git. When i run command to know version, i see following error C:Usersemployee2>heroku –version ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new Error: Permission denied – git […]