How to force a meta-data value to type string?

I specified a meta-data in my manifest.xml like this: <meta-data android:value="5555555555" android:name="foo"></meta-data> When accessing the meta data like this: ActivityInfo ai = ...