android's questions - English 1answer

1.105.232 android questions.

I've a few projects in mind but actually don't know where to start researching. I'm planning a website and mobile app which uses same database. It'll be a common example but I can say like facebook. I ...

I have a spinner that allows me to not show the first item in the list, but i can set my custom prompt. However whenever the prompt text spans more than one line it is cut off at the view bounds. How ...

Dot't even imagen what the problem is, i found some SimpleBlog app on github, copy almost all into new project, try to run on my tablet and here what is says 05-23 17:20:45.289 14731-14731/com....

I am developing application in cordova, using plugin for scanning with point mobile. Device android version: 5.0.2 My cordova version is 7.1.0, Android platform is 5.2.0 : I have added point ...

I know that there are a lot of similar questions, but no one helped me. I am getting IllegalMonitorStateException: object not locked by thread before wait() when I try to pause the thread. Here is my ...

I am developing the application for Android devices. I want to generate QR code with logo inside it. With ZXing I know how to generate simple QR codes like this one: But I want to generate QR code ...

I have a very serious problem. I am using a RecyclerView to populate data(a list of users) from Firebase into my application. Now the problem is that how to reference their respective userIds when a ...

I am trying to fetch all the photos of my android device. I have an onCreate function: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R....

I have write a code to find if SD card path if available which is like this File[] paths = ContextCompat.getExternalFilesDirs(context, null); if (paths.length > 1) { if (paths[1] != ...

I have a JobScheduler service triggering to update the widget UI. @Override public boolean onStartJob(final JobParameters params) { //Offloading work to a new thread. new Thread(()...

I can not get product flavours working. I have this gradle apply plugin: 'com.android.application' android { defaultConfig { minSdkVersion 14 targetSdkVersion 24 ...

I cannot build my app with the following error: Task :app:kaptDebugKotlin debug/AppComponent.java:7: error: [ComponentProcessor:MiscError] dagger.internal.codegen.ComponentProcessor was ...

I'm trying to save an arraylist of objects into a SharedPreferences file, by storing all of the object variables in the file. Here is some of the code exhibiting that. SharedPreferences.Editor ...

I'm having a bit of a struggle using CameraPosition because I can't have a proper zoom. For me, a proper zoom would be the distance between a Marker and my current position. However, I managed to get ...

So according to android developers: "Architecture Components provides ViewModel helper class for the UI controller that is responsible for preparing data for the UI. ViewModel objects are ...

I checked and updated my android SDK (also react-native-image-crop-picker), but I couldn't find the version of support 27.+ all the time. below are more information FAILURE: Build failed with an ...

I am interested in developing trusted applications using TEE. I have a Nexus 5 that has Android 5.1.1 (LMY48M) on it. I want to create a very basic hello world app to understand TEE logic running on ...

Executing tasks: [:app:assembleDebug] WARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore. Use 'android.enableAapt2=true' to remove this warning. It will be ...

Some features of my Android app are depending on a TEE (Trusted Execution Environment / ARM TrustZone) being present on the phone. How from my Java app can I detect if this phone has a TEE installed, ...

Error:Could not create an instance of Tooling API implementation using the specified Gradle distribution 'https://services.gradle.org/distributions/gradle-2.4-all.zip'. Tried everything, Android ...

On mobile web views (iOS UIIWebview, Android WebView) and mobile safari, the following oauth method is failing to progress to the redirect after successful login: https://api.instagram.com/oauth/...

I got navigation bar on my left side of my MainActivity page, and then the action inside the navigation bar is all in fragment. When i click on any action, fragment overlapping my MainActivity page. ...

After following the example given at the developer guide, i'm getting the following: 05-23 16:25:22.002 11893-11942/com.app.videotest E/ExoPlayerImplInternal: Source error. Setup: // 1. Create ...

I am new to the TEE(Trusted execution environment). Can some one help me with few basic doubts AFAIK, every android mobile device have a separate TEE OS installed along with some predefined TA(...

Error:- java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference Where:- new Handler().postDelayed(new ...

I am trying to get the data from local db by each content asyncrounous,but the issue is that I want to get the data by the order that I retrieve,at first the data for the first conent,than the second ...

When I add the core-ktx dependency to my app's build.gradle file, my gradle builds fail with the error message AAPT2 error: check logs for details It furthermore tells that there are two attributes ...

when I get disconnected from the wifi while the youtube app is still open a bar at the bottom appears (like a mini snackbar) that says No connection, it is also used in the messenger app when someone ...

Im making a 2d game and I want enemies go right to the left and when one enemy goes out of the screen (on the left), instantly appears at the beggining again (on the right). How can I do this? I can ...

I'm trying to execute the "Hello World" example from Android Studio but I get this error Android Studio: 1.5.1 Gradle: 2.12 Apache Ant: 1.10.3 I have no admin privileges and I'm under a proxy (I got ...

I am developing an application in android studio. The application allows users to create their account. I am able to allow users to sign up and log into their account by using shared preference. In ...

I'm trying to add two extension function to Calendar Class in Android to convert specific date pattern to Calendar and vise versa fun Calendar.fromIsoString(date: String): Calendar = this.apply { ...

I am using GraphView to plot a data from firebase database. What i want to achieve is display tmpHr as y value, with Timestamp as the label in x axis. I have retrieved the data from firebase, and I ...

I am using ConstraintLayout for my layout. I am creating a BottomSheetDialog and setting the layout to it which uses the ConstraintLayout at top. Note: If i use LinearLayout everything works fine ...

I am using Picasso library for images in my android library, and if i run app for API 26 it compiles okay it runs and everything is perfect, if i run for API 21 (5.0) i always receive duplicate entry: ...

I have a recyclerview which is just a horizontal list of buttons. I am trying to create the following behavior: If the total width of all of the buttons combined is less than the total width of the ...

This the receiver public class Alarm extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { PowerManager pm = (PowerManager) ...

I have a Hudson build job that's failing with the error Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details and ...

I have String variable like String android1="TextInputLayout"; String android1var = "customTextInputLayoutemail" String android2="TextInputEditText"; String android2var = "textInputEditTextemail" I ...

Firebase Hosting running my Website build with Angular and Firebase Messaging. If I sent a FCM to the browser via CURL it is working and the message will be shown (see curl example at the bottom). ...

Why do I get this error: "sonuc cannot be resolved"? public class MainActivity extends Activity { public void onCreate(Bundle ben) { super.onCreate(ben); setContentView(R....

I've only been writing code for a couple months and I'm still fairly newbie to a lot of techniques, but I'm working on a math training quiz for my 5 year old son. I've been trying to a few different "...

When i look on specifications in xcover 3 they write this model have Gyroscope. I tried write code(i use android studio) to see how its work but it didnt show me this sensor on this model or android ...

I have the following code but it changes the button text to empty. I'm basically trying to change the the button's text when it clicked to whatever the user types into the edit text field I have. ...

I cant fetch the card info from the firebase database. It's like a tinder based app . It doesn't even show any errors. final DatabaseReference userdb; userdb=FirebaseDatabase.getInstance()....

I'm developing a mute camera app using GLSulfaceView, and the app captures a picture from the preview. For capturing a picture, I use GLES20.glReadPixels(0, 0, surfaceWidth, surfaceHeight, GLES20....

I got the following problem, I have an unity Game which I would like to run. During running the Game, it always lowers screen lighting and switch of after about 2,5 minutes. I already tried: ...

it will stop seconds after running on my emulator on android studio...?what should I do?? --------- beginning of crash E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example....

I created an empty project and added appcompat-v7-26.1.0 support. I'm getting many errors like that: C:\Users\username.gradle\caches\transforms-1\files-1.1\appcompat-v7-26.1.0.aar\...

"Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable." Facing this issue while building the Cordova Project through ...

Related tags

Hot questions

Language

Popular Tags