Connecting PIC32 through FT312D to Android tablet
The picture that you provided and the datasheet shows that the tablet can be powered / charged from the module where the FTDI312 is, not charged from FTDI312 IC itself (BTW, FTDI312 uses 3.3V).
The image is an &quot;application example&quot;, the FTDI312 is only the green box; other components (resistors, ferrite bead, capacitors) will be added to circuit by the user.

Be sure that the 5V power supply meets the requirements for charging the tablet (when charging from micro-USB, all three generic Android tablets that I've had drawed about 1000 mA; check yours). The supply has to power FT312D and probably PIC32, too.
This is not the situation where an OTG cable is needed. An OTG would be needed only if you wanted to power FTDI312 module FROM the tablet.