How to read config.xml in widget package location

You can refer to this code if you need to check config.xml from widget package location and tested in Gear S2.