No. These magnets will NOT damage your tablet or phone. But don't believe us, listen to science.
Here is an article from eHOW (http://goo.gl/no8iu0) to explain magnets effect a iPhone. Really cool stuff:
"Do Magnets Harm the iPhone?
By Sasha Maggio
The Apple iPhone contains a flash drive, which, unlike the hard drives in most computers, contains no moving parts. With traditional hard drives in computers, the memory can be destroyed by contact with strong magnets. Refrigerator magnets are typically not strong enough to cause this type of damage, but an industrial strength magnet can. In comparison, the flash drives used in iPhones are not harmed by magnets.
Magnets are unlikely to harm the iPhone because of the flash storage the phone uses, but it is best not to experiment with strong magnets on the device, which could void the warranty or AppleCare Protection Plan coverage."