d tag

2228 questions


1 answers
131 views
0
Question about the difference between Android viewPager.addOnPageChangeListener and tabLayout.addOnTabSelectedListener.

In ViewPager, addOnPageChangeListener and What's the difference between addOnTabSelectedListener in TabLayout? Both seem like listeners to tap changes, but I don't know the difference. TabPagerAdapter...


1 answers
34 views
0
'open failed: EACCES (Permission denied)' exception occurs on Android.

OutputStream myOutput = newFileOutputStream(outFileName); The following error occurs:open failed: `EACCES (Permission denied)Android. Permission.I also tried WRITE_EXTERNAL_STORAGE.How do we solve thi...

2 years ago

2 answers
101 views
0
Question when passing the value from the main to the fragment.

The main sent a String value to the second screen through the int. On the second screen, three tabs and a viewfager are used, and each tab is made up of fragments.However, when you click a button on t...


1 answers
44 views
0
Meaning of static libraries and shared libraries in Android NDK.

Hello, I have a question because of the part I write in the Android.mk file when I port the library using NDK.There are times when I write include $(BUILD_SHARED_LIBRARY)Sometimes I write include $(BU...

2 years ago

1 answers
29 views
0
This is a question about starting the service when installing/updating the Android app.

I'm asking you this question because there's a blockage during Android development.<uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED /><uses-permission android:name=andr...

2 years ago

2 answers
47 views
0
This issue occurred after the Android Studio 2.2 upgrade.

I upgraded to Android Studio 2.2, and then upgraded to gradele.After the upgrade, the package name changed, but was it because the setting changed or did Google make it look like this? I don't know. e...

2 years ago

1 answers
138 views
0
Applications that use Android earphones

We are currently producing an application using earphones in Android Studio.By the way, I found related materials that use earphones and coded themRecognize the HEADSETHOOK button and float it on toas...


1 answers
33 views
0
I'm studying Android service and I have a question.

public class MainActivity extends AppCompatActivity { Intent intent; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activi...

2 years ago

2 answers
28 views
0
I'm going to bring up the music on my Android phone in a list format. How can I retrieve the music title, album, and singer information on the device and present it in a list format?

I'm going to bring up the music on my Android phone in a list format. How can I retrieve the music title, album, and singer information on the device and present it in a list format?

2 years ago

1 answers
69 views
0
This is a very basic question for web development!

Leave the local server openI ran a simple front-end codeIt works well on Idle, but it doesn't work properly on Chrome.There's a simple icon in the composition of the screen, and you click on itIn othe...

« - 119 - »

© 2024 OneMinuteCode. All rights reserved.