In order to build vibrate pattern, I tried to define the array of data, in XML.
<string-array name="tab_bip_1">
<item>0</item>
<item>100</item>
<item>100</item>
</string-array>
Resources r = getResources();
long[]tab_vibrate = r.getIntArray(R.array.tab_bip_1); // Not correct...
Vib.vibrate(tab_vibrate, 0);
But to get array of values, it seems to be only possible to use getIntArray() which give an Int array, when vibrate needs a long array. Is there a kind of "getLongArray()" method? Or do I have to get data in string then loop to perform a long.parseLong() against each value?
Thanks
