包含标签:Android 的文章
-
Android listview onitemclicklistener does nothing
I have a listfragment used as a tab. I am trying to use onitemselectedlistener on my listview, which must start anothe…… -
Android – create a toolbar for each activity or segment?
I have an activity with 3 segments. The activity has a toolbar without menu items. Menu items are added through the se…… -
Android – update domain database version
I use the realm of version 0.79.0 in the current Android project. Now, I want to update the domain version to 0.84.0. …… -
Java – how to use callback on socket.io client?
I want to call back to the server to confirm that my client has received the call. In the opposite direction, this has…… -
During unit test, the test status in Android studio 2.0 has terminated without any failure message
Question: I upgraded from 1.5 to Android studio 2.0 on Ubuntu yesterday. When I performed unit tests in Android studio…… -
Energy efficiency: ble devices – when can I connect?
I am designing a custom ble device protocol. My device will be one of - scale, sphygmomanometer, fitness belt The prot…… -
Ion build Android: cordovalib: compiledebugjavawithjavac
I can't figure it out. I tried to install SDK tools of versions 20 to 24 in my SDK manager. I always receive this erro…… -
Android – get the sum of column values in SQLite
I have a table in SQLite with the following structure: String CREATE_TOTAL_PRICE = "CREATE TABLE " + TOTAL_PRICE + "(…… -
What is the version of the Android gradle plug-in for Android Studio 2 beta in the Canary channel?
I received a message about the Android studio 2.0 beta provided in the Canary channel in Android Studio 2 Preview 9 Bu…… -
Android – how to catch unhandled errors and pass them further
My question is how to catch unhandled errors in Android applications and pass them further to other applications so as…… -
Android – reorients the axis of the accelerometer to the axis of the car in the phonegap application
I am currently working on an application to detect potholes on the road through the accelerometer in my mobile phone. …… -
Android – how to use Picasso with recyclerview’s custom adapter
I'm filling the recyclerview with images loaded from the web. I can use asynctask to load images in the adapter. Howev…… -
Android – how do I check if a WiFi or data connection is turned on but if I can access the Internet
I want to check if my WiFi or mobile data connection is on (can check), but can I access the Internet public static…… -
Android rxjava: how to recover from errors in the flatmap operator
I have an EditText in which the user enters a search query. When the user types, I want to perform an instant search o…… -
Java – how to use onbackpressed () to see the finish () activity with the softkeyboard activity
I have an activity. The whole screen is dedicated to sending a message. The upper part is an EditText, while the lower…… -
Java libgdx: FPS low on Android devices
In my game, I created many loops and methods in render. The FPS range of my laptop is 56 to 60, which is OK. However, …… -
Analog injection constructor in dagger 2
I have a dependent activity: public class MyActivity extends AppCompatActivity { @Inject Dependency; @Overri…… -
Java – how to change the actionbar title from the fragment class in Android studio?
Please help me I use the built - in navigation drawer activity in Android studio What I want is to change the title of…… -
Android robolectric and Transformation – waiting for response
I want to test whether my code correctly downloads data from the API (using retrofit) and displays it in recyclerview.…… -
Android textview animation infinite repetition does not work
I'm trying to animate textview infinitely. I wrote sequence.xml, which defines the animation effects as follows: <s…… -
How to programmatically interact with USSD dialog box in Android
I want to use the USSD dialog box, which will appear after dialing any USSD code of * 123#. The dialog box requires th…… -
The android-okhttp3 publishing method keeps returning 404 errors
I want to use okhttp3 for post, but it always returns 404. Is there a problem with my code? The server keeps telling m…… -
Java – not a closed class
My menu option button is not in the same class as the class that gets HTTP data. It gives me the error that "photogall…… -
What is the reason that the object marked final can be modified and called non final method in Java?
I am a novice in Java. I come from C background I think final in Java works like const in C, but I don't think so Obje…… -
TimePicker without cancel button?
How do I create an Android time selector without a cancel button? I had hoped that setcancelable (false) could do this…… -
Android ImageView is very slow
My problem is that my Scrollview is very slow and slow Each time I scroll, I receive the following warning: Skipped 14…… -
Android – uninstalling the application from the device does not delete the database
I encountered some problems uninstalling the application from the device. The related database does not seem to have b…… -
Android studio gradle 2.0.0-alpha1 build error
Try the latest version of gradle 2.0.0-alpha1. It gave me errors during compilation. I don't know what's wrong at all.…… -
Material design elevation – how to operate on a solid black background
If I want to use shadows to merge the elevation of material design in the GUI with a black background, can I? I can't …… -
Dagger 2 – how to inject only basic activities / fragments
I am studying dagger 2 from many sources, such as: http://fernandocejas.com/2015/04/11/tasting-dagger-2-on-android/ Bu…… -
Java – background process that programmatically clears the cache
I have developed a simple application that can load four mobile web views side by side. After a new installation, the …… -
Android – how to get the text language in textview?
I have a textview in the Android messaging application. I receive messages from my Android phone and display them in t……