包含标签:Android 的文章
-
Android – calendar events in week view and day view
I want to create a calendar application with weekview and dayview functions Please give me some suggestions. I have se…… -
Java – how do I convert a string to the int value of the const class?
I have variables: String colorName = "BLUE"; I want to set this color to paint in the Android application. It should…… -
Android – change the text of the button in the program
The text on my button is set in the resource file. For example <Button android:id="@+id/up_button" andr…… -
Android – how to get the user’s location only once without tracking?
In my android app, I need to gt the user's location when I click the button. However, I don't need to receive continuo…… -
How to make Android support floatingactionbutton in the lower right corner of the screen?
I added a floatingactionbutton to the layout in relativelayout, as shown below <RelativeLayout xmlns:android="http:…… -
Android – EditText of expandablelistview child cannot maintain focus
I created an expandablelistview with a very complex sub item XML. It contains textview, Check@R_ 572_ 2419 @ and EditT…… -
Android – return without pressing the back button
In AActivity, press button1 and call BActivity.. Button b1= (Button)findViewById(R.id.button1); b1.setOnClickListener(…… -
How to set the width of radio buttons according to the screen size? (robot)
I have these radio buttons. They need Android: width = "X" and Android: height "X". However, I don't know how to set t…… -
Android wear watchface settings on the host
I currently have a developed Android wear dial. However, I now want to create a setting part on the host application t…… -
Android – repeated input error after adding Google service
I want to add firebase to my application. I integrated firebase according to the official firebase file. But when I tr…… -
When building from the CLI, Cordova adds unnecessary permissions to androidmanifest.xml
I used the CLI to build my Cordova application and added a media plug-in 'Cordova build' will automatically add androi…… -
QR code generator in Android
I'm going to develop a QR code generator application for Android devices Can someone provide some references to guide …… -
The Android application iframe is a website
How to create an application for iframes website in eclipse in Android. What is its code? Thank you in advance! resolv…… -
How to change the font of tablayout using custom font / calligraphy
I'm looking for answers on how to change the fonts of these tabs in tablayout to custom fonts I tried this, but it did…… -
Android – how to create a circular Facebook profile picture
I can't use this library to dynamically make an image of me into a circle. This is my attempt: private void drawerSetu…… -
Android – java.lang.illegalstateexception (this operation cannot be performed after onsaveinstancestate)
This error occurs when I receive the following message in different scenarios: >Activity corrupted > cannot perf…… -
Why do we use the “new” keyword with an interface in Java?
I'm new to Android. I've learned the basic object-oriented programming courses, which provide a way to enhance the fun…… -
Android. View. Inflateexception: binary XML file line when using custom view
Exceptions: > 10-13 11:47:32.151: E/AndroidRuntime(618): FATAL EXCEPTION: main > > 10-13 11:47:3…… -
Android – the startactivity in onpause() is invalid after opening a new app
When my first activity is suspended, I start my second activity FirstActivity.java @Override public void onPause(){ …… -
java – Android gms:play-services:8.1.0 DexIndexOverflowException
After I changed GMS: play services: 7.5.0 to 8.1.0, the gradle build failed with multiple DEX exceptions The error is …… -
Android plug-in getting started guide, successful offer
This article has been included in the Tencent document of the open source project, which contains self-study programmi…… -
Android – ormlite sqliteexception: there is no such table
I use the following databasehelper and ormlite on Android: public class DatabaseHelper extends OrmLitesqliteOpenHelper…… -
Android – how do I slide the button bar in from the bottom when I click a check box in the listview?
I have a custom listadapter list view, which fills the list view with check boxes and some text views. When the user s…… -
Android – showcaseview cannot run without actionbar
If the application has a theme theme.appcompat.light.noactionbar and uses android.support.v7.widget.toolbar in the app…… -
Android – how to change the default color to tab host
I use the 2.2 SDK version. I use tabhost to display activities in tag view format. When I install the application on m…… -
Android – using layout_ Height is 0dip instead of wrap_ Content for better performance… How to delete this warning
How do I delete this warning? Using layout_ Height is 0dip instead of wrap_ Content can get better performance resolve…… -
Android: how to set all permissions?
How do I use all permissions in one step? Who knows this? Thank you in advance resolvent: In androidmanifest.xml, sele…… -
Android flip picture animation
I want to flip the image in Android by translating the animation For example: – suppose I have a card. When the transl…… -
Java – expected property getter or setter in kotlin
I'm learning kotlin from the official documentation. I'm trying to create a class to perform arithmetic operations cla…… -
Android – try to call the virtual method for the null object reference of SharedPreferences in the fragment of actionbaractivity
My application needs to access the shared preferences file in the background. Since I started using the actionbar acti…… -
Android – toast in onclick method in fragment
I have the following clip: public class FragmentSocial extends Fragment implements ActionBar.TabListener, OnClickListe…… -
Android – how do I get the window width and height of an activity?
I have a listfragment, which adds two views in the onactivitycreated() method - a MapView general view (persistent tit……
