text tag

62 questions


1 answers
116 views
0
I want to use the Android Arraylist to put the data in, enter the Edittext window, and show it as a list, but I have no idea.

Add button on main screen (A) On the next screen (B) Enter Email (Edit Text)Enter name (edit text) Confirmation (Button) In this screen configuration, press the Email, Name, and OK button in the Edit ...

2 years ago

1 answers
68 views
0
How to write context in Fragment

I'd like to get a context from Fragment. I tried getApplicationContext() and FragmentClass.this to get a context from the database creator, but it didn't work. What should I do?public Database(Context...


1 answers
102 views
0
Can I limit the text length of EditText on Android?

What is the best way to limit the text length of EditText on Android? Is it possible by writing XML?


1 answers
101 views
0
Can I process it separately when I enter "Enter" in EditText?

If you type Enter while typing in EditText, I want to process it like an onSubmit event in HTML.Well, I'm trying to make it work like a move or an on-Submit when I click on the Done button on the virt...


2 answers
62 views
0
[Android] When you click the button, save the value of EditText to DB and import it into ListView

button_insert.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { input_name = (EditText) findViewById(R.id.input_Name); input_phoneno = (EditText) findViewB...


1 answers
110 views
0
I'm Python New B. How do I write str type in a file?

apples = 'Hello World!'text_file = open(Output.txt, w)text_file.write(message :, mystr)text_file.close()In the print function, print(message:, mystr) was separated by commas, but it didn't work in wri...


1 answers
62 views
0
I want to enter the next EditText when I press the Enter key in EditText, what should I do?

We are currently creating a membership activity. But it's so cumbersome to click on each form one by oneI want to enter the next EditText when I press the Enter key in EditText, what should I do?

2 years ago

1 answers
44 views
0
How do I do OR operations with | characters in Python regular expressions?

import rekor_txt = 나다 ㄴㅐ| | fdㅑ ㅒ# fd|jkaFSA 498130$#@!*&^ %)(-_=+ []{}<>,./?'`')# # kor_txt = kor_txt.replace(|,)print(re.sub('[^--h|a-zA-Z|0-9|`!@#$%^&*()\[\]{}\-\_\'\><\/\?]'...

2 years ago

1 answers
40 views
0
Read the figures from the Python text file to find the sum and the mean.

inFp = NoneoutFp = NoneinFp = open('data.txt', 'r')outFp = open('output.txt', 'w')score = inFp.readlines()score = list(map(float, score))scoresum = 0for i in score : scoresum = scoresum + iaverage = s...

2 years ago

1 answers
71 views
0
Check for non-overlapping values with Python tea sets.

Hi, everyone.I am a beginner among beginners who have only started studying Python by myself for about a month.I was making a program because I thought of oneEnter the values in the first and second t...

2 years ago
« - 6 - »

© 2024 OneMinuteCode. All rights reserved.