id tag

1618 questions


1 answers
111 views
0
I made a pop-up window using alertdialog at Android Studio. (This is a beginner)

When you click the button in LoginActivity, you want to display a pop-up window before moving to the main screen and then move on to the main activity screen.When you run below, a pop-up window appear...

2 years ago

1 answers
87 views
0
I want to change the hyperlink color of TextView

<TextView android:layout_width=fill_parent android:layout_height=fill_parent android:id=@+id/hyperlink android:text=@string/hyperlink android:autoLink=web/>I'm using hyperlinks like this. Th...

2 years ago

1 answers
22 views
0
This Handler class should be static or leaks might occur problem

This Handler class should be static or leaks might occur, and the habdler is not working, so I am asking you a question.There was a problem using the switch using the sm-x board.final Handler handler ...

2 years ago

1 answers
76 views
0
The Android Studio work window (bar) does not appear.

I'm currently using Android Studio 3.0, but after the update, the list of tasks tabs in the open file has disappeared, maybe something has changed. It's so hard to move from project to project because...


1 answers
117 views
0
How does the recycling mechanism in the list view work?

I had a problem that posted here before. At that time, I had no concept of optimized grid views using list views and view recycling, so I was able to modify the way Luksprog added views to grid views....


1 answers
101 views
0
Convert bitmap to byte array in Java

Bitmap bmp = intent.getExtras().get(data); int size = bmp.getRowBytes() * bmp.getHeight(); ByteBuffer b = ByteBuffer.allocate(size); bmp.copyPixelsToBuffer(b); byte[] bytes = new byte[size]; try { b...


1 answers
22 views
0
AnimationDrawable stops in the middle

final AnimationDrawable ani = (AnimationDrawable) view.getBackground(); ani.setCallback(new AnimationDrawableCallback(ani, view) { @Override public void onAnimationAdvanced(int currentFrame, int ...

2 years ago

1 answers
109 views
0
Can you use Intent on Android to make the phone ring?

posted_by = 111-333-222-4; String uri = tel: + posted_by.trim() ; Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse(uri)); startActivity(intent);I tried to make the phone ring o...

2 years ago

1 answers
61 views
0
If you re-run Android Thread, it says it's already running thread.

Hi, everyone.I'm asking you this question because I'm trying to reuse Thread on Android./* This is a spinning operation on the main thread. */// ParserThread is the class that inherited the Thread cla...

2 years ago

1 answers
87 views
0
How to remove Android image button margin programmatically

GridLayout gameBoard = (GridLayout)findViewById(R.id.gridLayout); for (int rowCounter = 0; rowCounter < DIMENSION; rowCounter++) for (int columnCounter = 0; columnCounter < DIMENSION; columnCou...

« - 153 - »

© 2024 OneMinuteCode. All rights reserved.