+ 6

Android Programming Thread

Hello SL Community, I'm a beginner in Android programming and would like to get helpful information from members good at Android Development in this amazing community. Anyone is free to ask anything about Android programming with hope to get feedback from the Pros. Thank you!

21st Jun 2017, 1:01 PM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar
5 Answers
+ 9
Thank you 💖
17th Aug 2018, 8:01 PM
NimWing Yuan
NimWing Yuan - avatar
+ 5
I'm a novice at Android programming but have some fair knowledge of Java. I must say that the two are just cousins rather than roommates. Been struggling to implement my Raffle Drawer Java code to work in an Android App with no progress until today, thanks to the numerous forums on the web. Java code👇 https://code.sololearn.com/c4K09JxS7ZF1/?ref=app Android Code👇 public class MainActivity extends Activity { String memberNames[] = {"Tusiime Anitah", "Tusiime Boub", "Allen Pressy", "Kwesiga Apollo", "Kobusingye Nazra", "Katongole Tadeo" }; Button main2; int RandomNumber2; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); main2 = (Button) findViewById(R.id.button2); main2.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // Perform action on click Random rand2 = new Random(); RandomNumber2 = rand2.nextInt(memberNames.length); } } Need help: I now need to modify the code to allow user input for the memberNames array.
21st Jun 2017, 1:02 PM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar
+ 1
Still waiting for assistance for user inputs.
19th Aug 2018, 11:14 PM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar
+ 1
hi, i'm begginer in Android too.i learned java to some intermediate degree.i hope to get professional in Android coding soon! but i have little information in Android just like you!
28th Aug 2018, 7:44 PM
yasin mohammadi
yasin mohammadi - avatar
+ 1
Nice to hear from you Yasin!
23rd Oct 2018, 10:37 PM
Tusiime Innocent Boub
Tusiime Innocent Boub - avatar