Android
-
Access Android external SD card from native code
I am using NDK 5 to develop a native APK for Android My question is, how can I access the write and read of the extern…… -
Java – is this an effective way to hold static references and activity / context? Why don’t I do that?
I have an abstract basefragmentactivity class. All activities in my Android application are extended. In this class, I…… -
What exactly does Android – movetasktoback() do?
From documentation: What exactly does "move the task containing this activity behind the activity stack" mean? I know …… -
Android – change dialog button position
Can I change the position of the button on the dialog box to the outside of the dialog box itself? Something like this…… -
C# – how to change the default color when the switch is set to “on” (blue to green) in the form xamarin. In IOS, it is green by default, but in Android, it is blue
Wirth this code, when it "turns on", I'm using the blue switch. I want to turn it green using Xamarin.Forms; namespac…… -
Streaming audio from client to server to multiple clients
As shown in the title, I am creating an application to send streams audio from the client to the server where I store …… -
Basic use of Android viewpager (with title)
Invalid Sign @Override public int getCount() { return list.size(); } @Override public boolean isViewFromObject(@NonNul…… -
Android – display text ads only in AdMob
I've updated my AdMob account to a new version. I want to display only text ads in my app. How do I do this with a new…… -
Android – assign static IP to Ethernet card from OTG
I want to assign a static IP to the Ethernet card and connect to the Android device through the OTG cable. It should b…… -
Java – how to smooth the paint path when painting with variable width strokes
I created a sample drawing application. Users can draw with variable width strokes. So far, the drawing path of variab…… -
Android – Google Places autocomplete API restrictions
I have questions about the restrictions on Google's local APIs. The use restrictions section of Google doc indicates t…… -
Android – unfortunately appName has stopped the error
When I run my application according to the error message, it gives: I have the following mainactivity.java file: packa…… -
How to parse JSON array with gson in Android
See English answers > how to parse JSON array with gson 7. I'm developing Android applications. I'm using gson to p…… -
Android – use intent.action_ Pick open image
I'm trying to use intent.action_ Pick opens the image, but when I start the activity using startactivityforresoult, my…… -
Android – upload videos programmatically to Youtube
I'm trying to upload videos to YouTube programmatically. I've tried YouTubeService service = new YouTubeService(client…… -
Java – unfortunately, the app has stopped working
I'm new to Android application development. I'm doing this tutorial app. It's very simple. It adds one and subtracts o…… -
Android – back button to close two activities?
Solved! My activity stack looks like this, forgive the rough chart! A-->B-->C-->D If I press the back butto…… -
Update the eclipse Android project to the next version
I have an Android project in eclipse. I started developing in Android version 2.2. (I think). I want to update the pro…… -
Android – resource directory name of the language variant?
For example, when using custom locale in Android, the directory name is res/drawable-en-rUS res/values-fr-rCA Where …… -
Android:FLAG_ ACTIVITY_ CLEAR_ Top and Android: launchmode = “singleinstance”
I think I just found a very strange error... But it may be just some features I've never heard of On my application, i…… -
Java – dynamically add a button to LinearLayout in Android
I'm developing a project that needs to add buttons dynamically. But whenever I run my application, the application clo…… -
Talk Android together (the 132nd time: Android custom view 9)
Hello, everyone. Last time we talked about the example of custom view in Android. This time we continue to talk about …… -
Java – Android fragment conversion error of the second fragmenttransaction. Replace() call
I'm in my mainactivity.java classic_ Fragment in menu.xml_ Three types of fragments are saved in the container. I star…… -
Java – unable to load (find) j2v8_ android_ X86 Library
I have a gradle project that uses j2v8_ Android 2.2.1 Library (provides Java binding for V8 JS engine – Android port).…… -
Android – reads and retains instances of objects from SharedPreferences
scene I have a class that uses the request list set by the user. The request list is stored in SharedPreferences. The …… -
Android – scheduledthreadpoolexecutor is used for periodic tasks (using retrofit) that only need to be triggered once and will not be repeated
I have the following code to poll the unread notification count from the server every x seconds I start this process t…… -
Android – surfaceview onmeasure() does not set the measured dimension by calling setmeasureddimension()
I have a surfaceview. I just draw it manually from another thread It works well. But after an average of 10-20 minutes…… -
Android – how to prevent java.lang.illegalstateexception generated by mediacodec.dequeueinputbuffer
The following code occasionally generates a java.lang.illegalstateexception: Among them_ Mcdoder is an example of medi…… -
Android – the implicit intent of the contact group list
I want to select a group (contact group). I found the code to open contact activity, but I didn't find groups Intent i…… -
Java – application crash due to NullPointerException
I am using listview. When I click the button, a dialog box containing EditText and button will open. When I click the …… -
Java – chat application in Android so that sender and receiver messages should be on different sides
protected void onPostExecute( ArrayList<HashMap<String,String>> myArrayList)// for arraylist(ArrayList…… -
Android expandablelistview and onchildclick do not work properly
I've been reading a lot of threads with the same problem as me, but I can't figure out what happened. I have an extens……