How to load data from sqlite to image switcher
<p>I get some trouble in Android coding. I want to load my data from sqlite to Array. My data in sqlite are include path image n path voice. And I want to show it one by one on image switcher.</p>

<p>I realy need that. Can anyone help me please to give me solution ?</p>

<p>I have some code:</p>

<pre><code>public class Main extends Activity implements OnTouchListener { 
private static int[] pictureIds = { R.drawable.bear, R.drawable.cat,R.drawable.chicken}; 

private static int[] soundIds = { R.raw.bear, R.raw.cat, R.raw.chicken}; 
</code></pre>

<p>Can anyone help me how to change code from R.drawable n R. raw to sqlite db? </p>
