Android
-
Android – deletes the location icon of the default user
I use Google Maps V2 for Android to develop applications. I try to add a custom icon to the user's location, but I can…… -
Android – method maketext in toast type is not applicable to parameters
I'm using the viewpage indicator and trying to use toast when we scroll to the next fragment page I got him to follow …… -
Is it bad or rude to automatically execute contentresolver.setmastersync in Android applications?
I widely use synaptor in my application to realize its core functions. I also use the periodic refresh provided by syn…… -
Add OpenCV to native C code through cmake on Android studio
I tried to include opencv in my native C code through cmake. I did some research on the Internet, downloaded the findo…… -
Android – how to solve “error: libx264 not found”?
I need to install ffmpeg and support libx264 to enable H.264 encoding. I successfully installed libx264 using the tool…… -
Android optionsmenu problem, the background is always transparent
My options menu always shows no background (the background is transparent). Who knows how to get rid of this? My faile…… -
Android – style not applied
I made the style with the following code: <?xml version="1.0" encoding="utf-8"?> <resources> <style…… -
Android – onpause is called immediately after onresume
Edit * this problem occurs when testing on Android devices. This problem does not occur when testing emultor I am star…… -
Java – job scheduling setrequiresdeviceidle (true) and setperiodic () do not work
I'm developing an application to execute the background task and check whether the device is idle in 10 seconds, but s…… -
java – Android:Generating Elliptic Curve KeypPair
I am trying to realize key generation based on Eliptic curves Diffie Hellman. Now I want to specify my Eliptic curve m…… -
Android – get my personal data contact
I need to get my personal contact information. In Android 4.0 and later, we have a data contact. I have tried to use c…… -
How do I return root activity from Java code? (robot)
I am creating the following activities Invalid Sign When I click the button in D, I need to return to the home screen …… -
Android – how do I start services defined in different packages?
I have two applications, one running in the namespace com.gtosoft.voyager and the other com.gtosoft.dash. From com.gto…… -
Java – similar and of camera. Parameters. Gethorizontalviewangle() and camera. Parameters. Getverticalviewangle()
All this is in the title, but in the now deprecated Android camera API, there are two methods: camera. Parameters. Get…… -
Java – how to protect SQLite dB in Android from theft
I'm making an application for a 28mb sq Lite file. It was originally in the Android resource folder. When it is instal…… -
Android – EditText onchangelistener function
I have the following code: nameOfInf.setOnFocuschangelistener(new OnFocuschangelistener() { if (strTollAmount.leng…… -
Android ProgressBar: progress bar control
When the application runs in the background, you can use the progress bar to feed back the current progress informatio…… -
Java – sharing constants in multiple classes (Android Minesweeper)
I'm using the extended button to create an instance of a class and directly access integer variables for better perfor…… -
Android – how do I display alerts within an active group?
My application has a tab bar. In order to maintain it, I use an activity group. When I click these tabs, I must displa…… -
Android – i-jetty or jetty
I have a web application hosted on an Android device. I am currently using the simulator provided by Android SDK. My a…… -
React native router flux disable the Android back button to return to the login interface
Using react native router flux, after the user successfully logs in, I want to disable the back button to return to th…… -
How to increase the text size of horizontal chart value in mpadroidchart
mChart.setDrawValueAboveBar(false); resolvent: -
Android – unable to hide title bar titanium alloy
I encountered a problem in titanium appcelerator using alloy MVC. This problem includes the following (see picture) I …… -
Android – remove apps from recent apps
I'm developing an android app. If I close my app, my app will be available in the recent apps list. Now I don't want t…… -
Java – random number
I have a question: how to draw a number from 0 to 4 in Java (Android)? How to use random functions? resolvent: The fol…… -
Android – viewpager has different menus and common toolbars and does not work properly
There are labels in my application. Each label has different fragments and different menus. Here is the layout I'm usi…… -
How do I run gradle 1.9 in Android studio 0.3.6?
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.…… -
Track more than 100 synchronized GeoFences using the new Android API
I have about 3500 geographical interest points in an area of 9000 square kilometers. I want my application to run in t…… -
Android – toast appears multiple times
In my application, click on the button I create a toast as – Toast.makeText(context,"Please Enter Username",Toast.LENG…… -
Android webView shouldOverrideUrlLoading for iframes
I have a local website controlled by JavaScript and load it into WebView. The website is actually a main page with ifr…… -
Android – an activity that completes another activity
What are the ways and how to complete some activities from the stack? I have a service that will look for updates. Whe…… -
Android studio 3.0 doesn’t want to display the Huawei P10 I’m connected to
I've been trying to connect my Huawei P10 and Android 8.0.0 with my android studio 3.0 for several hours. But it doesn……