1

i tried to develop currency converter application in android. i get error in the ArrayAdapter,

view story
linux-howto

http://stackoverflow.com – it shows the error in following line ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource( this, R.array.name, android.R.layout.simple_spinner_item); adapter.setDropDownViewResource(android.R.layout.select_dialog_singlechoice); val = getResources().getStringArray(R.array.value); the error msg is "array cannot be resolved or is not a field". import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.ClientP (HowTos)