Using constructor to call a method

view story

http://stackoverflow.com – I want to use a constructor that calls a method points() . This method calculates the latitude and longitude of 3 points. I need those values in another class. Hence I am trying to call the method in the constructor. Please help me with the syntax for this. This is my class FirstActivity package com.example.gpsdistance; import android.os.Bundle; import android.os.Handler; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; import andr (HowTos)