TOKYO - The Japanese government will develop a smartphone app to easily identify forged residence cards for foreigners in an attempt to crack down on violations of visa laws, government officials said.