The program was announced this week by acting Corrections Commissioner Anthony Annucci, who said it will “improve operations and interactions with family and friends,” while not costing taxpayers a cent.

But some law enforcement personnel scoffed at what they saw as another instance of crime does pay.

“Little is done for the homeless, mentally ill, and hard-working people who can’t afford tablets in New York State,” said Ed Mullins, head of the NYPD sergeants union.

“With all the elected officials who keep getting arrested, one has to wonder if these perks may be self-motivated,” Mullins cracked.

Not to mention the potential of hacked tablets.

In one case last year at the Manhattan Detention Center — a city facility — an inmate got hold of a tablet and broke into a female guard’s Facebook account. He was caught masturbating to her photos, an NYPD source recalled.

“These guys are smart and they have nothing but time on their hands,” said the source.