In my experience this is not a thing that you can do with a midlet. Maybe on a Symbian device you could create an apps that call the midlet at the startup (I'm not really sure you can) on other device I don't think it is possible something similar.
Don't touch me. And dont' touch this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java