An array of strings that can be referenced from the resource class (R) in an Android application.
1
vote
1answer
202 views
onClick Listener on DrawerLayout Does Not Launch Toast
I'm attempting to implement a toast depending on the item clicked in a DrawerLayout - however I cannot seem to get the toasts to appear no matter what I do. I'm not sure exactly what I did wrong: any ...
1
vote
1answer
406 views
DatePickerDialog with custom values
I'm using the DatePickerDialog and it works like a charm. Now I would like to set my own values from 3 string arrays (array.xml) into the datepicker. The reason is that I'm changing the locale inside ...
0
votes
1answer
45 views
Getting URL from String and sending to another class
I would like to get the ImageURL from the String I have set up.
I know my String "mImageUrl" will give the correct image URL corresponding to the image in which the user is viewing.
How would I be ...
0
votes
1answer
46 views
android 2D array without using split method
I have a 2D array in string resources. I want to use it without using the java split method (I am assuming the time complexity of split is bigger). Here is my array:
<string-array ...
1
vote
0answers
19 views
Checking user choice independently of locale in android
I am checking a user input (specifically, a spinner choice) that is populated using a string-array in strings.xml. Afterwards I want to check that user input, however I want to avoid locale problems ...
1
vote
0answers
399 views
How to assign values to child of ExpandableListView
Since many hours I'm trying to assign values to child of Expandablelistview, but with any result.
I'm getting the values from SQLite database. And then I convert them to array string.
And then I'm ...
1
vote
0answers
194 views
Android: how to make string-array to be a reference to another string-array?
I can make string to be a reference to another string just like that:
<resources>
<string name="my_string">My String</string>
<string ...
1
vote
0answers
361 views
Show different String Array Toast in 3 List View Flipper
I have 3 listview on my Flipper using diffrent linear layout
ListView list;
ListView list1;
ListView list2;
and I have String Arrays that has been converted from Array list.
...
0
votes
0answers
42 views
Reading txt file, parsing into string array
I am reading in a text file and parsing it by creating a string array.
What I am trying to do right now is read in only the first array object of each line, compare to a list of already defined ...
0
votes
0answers
31 views
Unable to cast object of type to type
I'm having some issues sending an Array to a WebReference (Client´s WebService), the web reference tells me it catches a object[], but the client tells me its catching an ArrayList, so here is my ...
0
votes
0answers
26 views
How I can convert a variable String to String[] in a parcelable Object?
I have read some post on Stackoverflow, but I don't get to clear my mind!
This is my source code of my parcelable (works well), but I want to know what I need to change to convert smb_previous_path ...
0
votes
0answers
40 views
g.drawstring string from String[]
I try to draw strings from String[]. This code doesen't seem to work. It's supposed to be somekind of chatsystem.. I'm also wondering if this is good or bad way to make chat system? For example is ...
0
votes
0answers
100 views
Reference a String Array with a String
I have created multiple arrays and want to be able to to put them in a list and then have that list, when clicked, display the new list of arrays. Here is what I have come up with so far. I am tring ...
0
votes
0answers
37 views
Retrieving StringArray resource depending on the clicked button
I want to design a ListView that will be populated from a StringArray resource depending on which button was clicked. The array name will be retrieved and put into the getStringArray method like ...
0
votes
0answers
225 views
Combine Multiple string-array imported from resource file
I am trying to import multiple string-arrays defined in the resource file and then combine them all to a single string array. But I have no idea how to do it. Please help. I am trying to somethinglike ...