返回首页

Questions tagged [android]

Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics related to Android, use Android-specific tags such as android-intent, android-activity, android-adapter, etc. For questions other than development or programming, but related to the Android framework, use this link: http://android.stackexchange.com.

Filter by
Sorted by
Tagged with
0
votes
2answers
15 views

Alert Dialog with if statement got an error 'has leaked window DecorView that was originally added here'

I tried to show alertdialog in some condition(In codes, it's MyIfStatement). I made MyDialog in OnCreate and tried to show OnClick when press the confirm button in specific condition. I got an error ...
-1
votes
0answers
10 views

Problems with genymotion and google play services

So I installed genymotion,latest version of vbox, and the device is samsung 6 api23. I played around a little bit with DIVA which was fine. But when I wanted to install google play with open gapps it ...
-2
votes
0answers
12 views

can anyone give the link of docx,pptx,zip file viwer android dependency or library

can anyone send link of document viewer (ppt,docx,zip .etc) android library can we find the link the of this library to add it in android studio like pdf library if it is possible please help
0
votes
0answers
5 views

Unit Test - Verify Fragments inside ViewPager2

I have been struggling a lot trying to figure out how to check up the Fragments inside a ViewPager2 in my Test class... The objective of my test is to verify the ViewPager2 has the expected fragments. ...
0
votes
1answer
12 views

Distinguish OnResume invoked when starting activity for the first time vs when back button is pressed

I have an activity that opens browser. On back press of the browser, the activity is invoked which needs to perform some operation. The problem is that onResume() of the activity is invoked for the ...
-2
votes
0answers
13 views

In App Subscription 2019 'com.android.billingclient:billing:2.0.3'

I am newbie Can someone show me step by step what i need to do to implement in app subscription in Android Studio 3.5.1
0
votes
1answer
24 views

Progam Stopped while the condition running

if (TextUtils.isEmpty(value)){ Toast.makeText(this, "Silahkan Isi Jumlah", Toast.LENGTH_SHORT).show() return@setOnClickListener } ...
1
vote
0answers
33 views

FirebaseAuth.getInstance() always return null

I know I can see so many questions on this topic on stackoverflow and I have tried almost all of them and haven't worked yet so this is my only option to post a new question. My problem is ...
0
votes
0answers
15 views

when delete button press too long button point cannot be press

I am doing a calculator app and all buttons are a function but when I press delete too long the point button cannot be press. Can anyone help me? Thank you. This what I have done so far, is there any ...
0
votes
0answers
12 views

After updating openSSL on the server, is there anything you need to do in the Android app?

After updating openSSL1.0.2 on the server, is there anything you need to do in the Android app? My Android app is using okHttp3.14.0 library.
1
vote
0answers
11 views

How can I add code about token is expired in kotlin?

D/OkHttp: {"code":60200,"message":"Token is not valid"} ->Token is not valid. so I want add content about token is expired and then go to mainactivity. enter code here private fun startLoading() {...
0
votes
1answer
27 views

ViewPager fragment freezes for a second when navigating to another fragment

My viewPager has 5 fragments. The first fragment itself contains viewPager for tabview. second fragment should get data from the first, make API requests, and display results. But before navigating ...
0
votes
0answers
14 views

JNI call tries a weird function name in Android

Here's my JNI CPP function extern "C" JNIEXPORT jstring JNICALL Java_com_lucaszanella_orwell_flutter_MainActivity_stringFromJNI( JNIEnv *env, jobject /* this */) { std::string ...
0
votes
0answers
9 views

Android Push Notification Server Implementation

I am thinking one of the following technologies to use to build an Android Push Notification Server (not to use Google Cloud Messaging/GCM neither FCM): Atmosphere Framework (http://async-io.org/) ...
0
votes
0answers
10 views

How to work with FileProvider and EncryptedFile?

I want to store files in a secure way for an small period of time, to be able to share the file using FileProvider, because is a sensitive data we want to encrypt the file and just decrypt it on ...
-1
votes
0answers
12 views

Can not apply higher quota for google maps api

I can not change the places SDK for iOS & Android, limitation number for applying higher quota. when I click apply higher quota, it will link to this page and saw the warning notice on the page ...
0
votes
1answer
31 views

How do I create a recycle view row item as seen in this image?

I would like to create a layout as seen in this image (the middle one), I am close to doing this but whenever I create a new post they are displayed from the bottom of each other. I would like it to ...
0
votes
2answers
30 views

Add toolbar to Bottom Navigation

I want to add a toolbar in my bottom navigation view. I try to add a Toolbar but it doesn't add it to the top toolbar_image It might be the "android:paddingTop="?attr/actionBarSize">" I don't ...
0
votes
0answers
11 views

How do shared budgeting apps like Goodbudget and Honeydue allow different users to access the same information on one account?

I'm trying to create an app that's similar to shared budgeting apps like Homebudget or Honeydue, which allow different app users to share and access the same information on one app account or to at ...
1
vote
0answers
23 views

Android - Send/Receive Message when reconnecting to a peer network

I am using Socket to send/receive message (String) between devices that are connected to a peer network. I followed a code that I found from a tutorial to send/receive message using Wi-Fi Direct. But ...
0
votes
0answers
8 views

Android - How to communicate with Media Player created on separate class with MediaBrowserServiceCompat SuperClass

I am working on an Audio Player project. I have created MediaPlayer on a separate(Service) class which extends MediaBrowserServiceCompat. Now, I am unable to access Service class methods from ...
0
votes
2answers
23 views

Restrict firebase access to a single android app without authentication [duplicate]

I need to access read/write images from firebase storage. There is no authentication facility. How can I restrict the data management through app only. Existing rules to provide public access is ...
0
votes
0answers
7 views

How can I run an automatic robo test on Android app? like the one on Firebase Test Lab

On the Play Store and on Firebase Test Lab I can run automated tests without writing any scripts, they just go through the app and try stuff for a few minutes. How can I run this kind of test either ...
0
votes
0answers
10 views

Error get data from website in cocos2d-x 3.17.2 on my android

My web has data. I don't understand why it is not possible to get data from web. This only happens on android phones. Run debug in visulal studio 2015 ok. I use cocos2d-x 3.17.2. I has permistion: ...
0
votes
1answer
22 views

How to avoid RadioGroup checked twice in RecyclerView

I've noticed RecyclerView "recycle" the views in the adapter but i want stop RecyclerView adapter duplicate the checked action in another item of the RecyclerView. I have 10 items drawed into a ...
1
vote
0answers
21 views

How can I give a neon effect to an imageView?

I am creating a user interface and want to know how to give a neon effect as in the image. I want to know if I can do it without setting the image as the background of my layout, because in future I ...
0
votes
0answers
18 views

How can I put the Constraints on Fragments in Android Studio?

I have a Fragment with two TextViews and an ImageView and I want to put the constraints to this views. How can I do it? Because I have only margins on Fragments, but I can't see the Layout ...
0
votes
1answer
23 views

Customize the Android Seekbar

I am going to customize the Seekbar in Android and I am having one problem with it. This is what I am going to do : This is now I get : And Here is my code: <SeekBar android:id="@+id/...
0
votes
0answers
16 views

how can I transfer value from an account to another in android studio

I want to develop android delivery application using Android Studio and Firebase database it works as follows: 1. user choose a restaurant from list of restaurants. 2. new page will open, user will ...
0
votes
0answers
8 views

Are there any integration instructions for admob rewarded video with server callbacks on Android?

from this article its clear how to do rewarded video with client callback. Also there is another doc called "Validating Server-Side Verification (SSV) Callbacks".This specification is completely ...
0
votes
0answers
5 views

How to run UIAutomator2 commands from adb shell?

Probably a stupid question, but I want to verify the answer is negatory: Can one run UIAutomator2 commands from adb shell without launching an instrumented test class? So far all I can seem to do is ...
0
votes
0answers
11 views

How to force unbinding of all clients when calling stopSelf() on a service?

I am using overlays that show over other apps for my application. Similar to the active call floating widget or the Google Maps floating map. Since these views need to be visible when the application ...
0
votes
1answer
12 views

How to write files on external sdcard (physical card) with Phonegap/Cordova on Android?

Is there a way to write to an external (physical) sd card (not the emulated) on android using Phonegap/Cordova? I'm struggling with this task, but since a lot of apps I use actually do that, I don't ...
0
votes
0answers
22 views

Can't connect to Cloud SQL Database using JDBC through Android Studio

I have a Cloud Sql instance created that is running. I have been trying for a bit now to connect to it through Android Studio and Eclipse and have failed in both places. package com.example....
0
votes
0answers
19 views

Drawing a bitmap on detected face, aligning glasses to the eyes

I'm learning face detection on Android using java. I'm doing a tutorial where you draw sunglasses on a detected face. I have the faces and I'm able to draw the bitmap but the sunglasses aren't exactly ...
0
votes
0answers
10 views

Best way to display an SQLite table in a PDF File in Android?

I was thinking about using cursor to store the data but I'm not sure how to add it to a PDF File. Any ideas?
0
votes
1answer
18 views

need help to create login system for gym clientes

this is my first post so please forgive me for any rookie mistakes. I'm creating an application for my gym that I own and for my clientes through android studio, using Java. I am using Firebase for my ...
0
votes
0answers
12 views

Firebase auth.currentUser!! Error: kotlin.KotlinNullPointerException, After deleting firebase Project from site

Android app was working fine, i could login and register new user to firebase from my app. But after deleting the firebase project from site and adding it again to android studio i get ...
0
votes
0answers
14 views

Overlay footer using WindowManager

I am trying to overlay screen using WindowManager and it is working well but the overlay screen doesn't overlay the footer but overlay header. And here is my code. wm = (WindowManager) ...
0
votes
1answer
17 views

How can I get this code to execute automatically in onMapReady

I want to compare latitude and longitude from a parsed JSON GET. In order to compare the lat/lng from the GET I need to have to devices current location lat/lng before the GET happens. I have a ...
0
votes
0answers
19 views

How to disable recycling for listView in android

I have a question about the ListView in android. I have added a list of 30 items which means that I need to scroll down. I use the adapter like below: <?xml version="1.0" encoding="utf-8"?&...
0
votes
0answers
8 views

How to create multi device uiautomator tests

uiautomator tests are APKs which run internally to the device, thus I cannot write a test to support multiple devices. I have found a few options http://developer.android.com/studio/test/...
1
vote
2answers
28 views

Trying to read a number from a text view in kotlin for android, all usual methods crash the app

I'm trying to read a decimal number from a text view in Kotlin on Android Studio. Here is my code: var time1 = findViewById<TextView>(R.id.time1) var time1String: String = time1.toString() var ...
0
votes
0answers
6 views

Mic is not working getting error E/AudioRecord: start() status -38

Using Linphone SDK for video, audio communication using SIP protocol. Some time audio there is an issue with audio 'E/AudioRecord: start() status -38' issue. Below are my logs: 2019-10-22 02:39:47....
0
votes
0answers
8 views

how can you establish communication with 2 applications (android node.js)

I have two applications. One is an app developed in android and the other a web chat developed in html5, node.js, socket.io and css. Both applications should work as whtassap. But on the web part I ...
0
votes
0answers
11 views

How change Menu Item after get flag from Webview (@JavascriptInterface)?

I use Webwiew in my application and get some value (flag) through JavascriptInterface. Next, I need to make changes to the NavigationView, that is, change some Items from the Menu. How can I turn to ...
-1
votes
1answer
21 views

BREAK using Regex in JAVA

I'm new to using Regex I want to get macapp value in url just get number 12 to String how do that ? String url = "326kk.com/questions/ask:macapp=12"; Pattern pattern = ;// ? Matcher matcher ...
0
votes
2answers
20 views

How to layout a row of buttons with ConstraintLayout

I'm currently trying to layout something that I originally thought should be pretty easy with ConstraintLayout but after attempting it, I've realized I have no idea how to achieve this. The idea is ...
0
votes
0answers
8 views

“Loading leaks” on LeakCanary is really slow, what alternatives do I have?

Every time I want to look into a leak, I click on the notification of the leak and it takes a really long time to load, like enough time that I usually forget about it. Flipper never loads the leak ...
0
votes
0answers
18 views

Created object in React Native is moving on IOS but not Android

I am new to react native and I'm having a little trouble getting the created ball object to move in android. The code I have now properly moves the object by dragging it on the screen with one finger ...

返回首页
杏彩计划 杏彩官网 杏彩APP 杏彩走势图 杏彩下载 杏彩官方 杏彩网站 杏彩怎么玩 杏彩官方 杏彩靠谱吗 杏彩代理 杏彩骗局 杏彩投注 杏彩倍率 杏彩开奖 杏彩漏洞