id tag

1618 questions


1 answers
102 views
0
To change the output position of Toast on Android

When you put Toast on the screen, it's usually printed a little above the screen. I want to put Toast in the center of the screen where I want it, what should I do?

2 years ago

1 answers
16 views
0
Question about getting an Android hashie

PackageInfo info = ctx.getPackageManager().getPackageInfo(getAppPackageName(ctx), PackageManager.GET_SIGNATURES);Doesn't the above statement mean to get the app's unique sign value? Is it wrong that I...

2 years ago

1 answers
60 views
0
I want to end the activity when I double click the back button, what should I do?

If you look at the games or applications on the Google Play Store, they don't end right away when you press Back, they float toastYou end the activity only when you press the dialog twice in a row. I ...

2 years ago

1 answers
83 views
0
I'm writing because I'm curious about one-to-one communication.

Hello. :) I have a question about 1:N communication. The platform used as a client is iPhone and Android. I also want to do a device that becomes 1 on the client. (Assume that you do not need a separa...

2 years ago

1 answers
55 views
0
How do I insert and receive String data as putExtra() and getExtra()?

Please tell me how to write getExtra() and putExtra(). How I'm going to use it is There is a string variable called str, and I want to save this value. I want to save it and send the data from this ac...

2 years ago

1 answers
106 views
0
How to add a button to the Android Alert Dialog

I made AlertDialog using a builder for the activity, but I want to put a button in itOkay, or whatever, you do something when the button is pressed Not the yes or no button by default. How can we do t...


1 answers
28 views
0
To convert String->long

long lroomtime = Long.parseLong(roomtime);Because of this code, when you run the app, roomtime gets a number like 321351531232 from the Firebase I want to change 321351531232 to long format 3213515312...

2 years ago

1 answers
100 views
0
What do I do if I run it with an Android studio emulator and the lock screen doesn't appear?

When driven, the home screen appears from the beginning without a lock screen.The emulator is NEXUS X5 NOUGAT.

2 years ago

1 answers
24 views
0

1 answers
116 views
0
Time delay when switching Android screens

Loading the main screen (1.5 seconds) when running the app or switching the screen feels a little slow.Put the image in the layout background as shown in the code below There are also two images in th...

2 years ago
« - 142 - »

© 2024 OneMinuteCode. All rights reserved.