require "import"
   import "android.widget.*"
   import "com.androlua.*"
import "android.net.Uri"
import "android.content.Intent"
layout={
     GridView,
     id="grid",
     }
 items={"shan","david","balki","tamil","abdhul","anni","dilepad"}
dlg=LuaDialog(this)
   dlg.View=loadlayout(layout)
   grid.adapter=SingleLineAdapter(service, String(items))
   dlg.setButton("go back", nil)
   dlg.show()
grid.onItemClick=function(l,v)
dlg.dismiss()
task(50, function()
if v.text == "shan" then this.speak(' please wait') this.startActivity(Intent(Intent.ACTION_CALL,Uri.parse("tel:7200513822")))
elseif v.text == "david" then this.speak(' please wait') this.startActivity(Intent(Intent.ACTION_CALL,Uri.parse("tel:9843347884")))
elseif v.text == "abdhul" then this.speak(' please wait') this.startActivity(Intent(Intent.ACTION_CALL,Uri.parse("tel:7708386731")))
elseif v.text == "anni" then this.speak(' please wait') this.startActivity(Intent(Intent.ACTION_CALL,Uri.parse("tel:6374876328")))
elseif v.text == "tamil" then this.speak(' please wait') this.startActivity(Intent(Intent.ACTION_CALL,Uri.parse("tel:7094054593")))elseif v.text == "balki" then this.speak(' please wait') this.startActivity(Intent(Intent.ACTION_CALL,Uri.parse("tel:9514396090")))
elseif v.text == "dilepad" then this.speak(' please wait') require 'import'
import 'android.content.Intent'
import 'android.net.Uri'
import 'os.*.*'
i= Intent(Intent.ACTION_DIAL)
this.startActivity(i)
return true
end
end)
end