android's questions - Polish 1answer

0 android questions.

I am trying to make the end of text like '...'. So, what I found is using ellipsize. However, It works well when it is only one line. However, when it becomes more than one line, the last line becomes ...

On clicking the facebook share button the share dialog comes and immediately disappears. In the shareDialog.registerCallback it goes to onError method. Don't understand why is it happening. ...

I have set my statusBar color to transparent for Lollipop only with the following line in my theme : <item name="android:statusBarColor">@android:color/transparent</item> Now I need to ...

I am trying to change the image in an ImageView but I am having some trouble with it. After looking around on Stack Overflow I learned that I need to use getResource() for this but doing that results ...

I need somebody help me, need to know how to get button'id from windowPopup for the activity show the correct layout. This is the code that I use, @Override protected void onCreate(Bundle ...

Admob interstitial ad crashing on number of deivces( indepenedent of OS and device vendors) Below logs show in Google play console I have tested the following scenario: No background thread ads ...

I am working on an Android app with firebase. I want to send notification to the user when somebody likes his/her post. You can see my firebase structure. When somebody hit like, his/her userid will ...

To reproduce this - I created a new react native project with react-native init - version 0.55.4 Everything works perfectly. run-android and run-ios I add react-native-navigation - don't link it to ...

I want to implement ClusterManager class and it needs to get a model and map(view) simultaneously.also it has logic that must implement in presenter layer. how can I implement it in a right way? I ...

My question is below, in four parts. Some Background: Google decided to depreciate the UMS feature. Prior to Android 8, the solution was to re-enable the hidden feature in the kernel, via such apps ...

I am using the facebook login in my app. When I configured the fb app using their doc and I try to change the app to live mode, I couldn't. It shows "store id not found in public markets - Your app ...

I have this function in kotlin extension file to pass method but it doesn't work. Please explain me how it make correctly, I try this: fun showErrorClientScreen(context: Context, action : () -> ...

I am the Google consent SDK for android and I have followed all the steps listed in the documentation. When I load the form I get this error in the onConsentFormError : consent form can be used with ...

Can somebody explain how can we pass a TypedArray into a Bundle in Android? I'm using the TypedArray to store some images from @Drawable in the resource file and I want to pass that array to a ...

Room gives error like below: java.lang.IllegalStateException: Cannot access database on the main thread since it may potentially lock the UI for a long period of time. Even if I am creating new ...

I am using Android O and trying to insert 10 SMSs into database with below code. But I always get an execption android.content.OperationApplicationException: App op not allowed, though I have righ ...

I have two editText like first edit text we are entering some number like 12324582... In that value we are searching one number from first editText... that is second editText... And I have one button ...

I am building an app using Android Studio where a client receives an image from the server, creates a new directory in the Gallery and saves the image in it. Now, the new folder in gallery gets ...

I come to you for your help on the following: I develop an application that uses the barcode, but the problem arises when I run the activity that contains the reading of the camera : barcode....

I have two Layouts in my App the first screen ConnectActivity and the the second screen ControllerActivity. I need an object from ConnectAvtivity in ControllerActivity. How can I give this this object ...

Am Newbie Programmer in Android, am Struck Here, Achieving this, Wanted to Print Out Url Contents In an EditText With this Chunk. private class MyTask extends AsyncTask<String, Void, String> { ...

I don't know why the items added to ArrayList won't populate ListView, I tried checking if items are indeed added to ArrayList but it shows it does. You can check the image of the added items here ...

I am not sure I am using the right words for this UI feature, but I have attached a snapshot of what I am looking to achieve in my app. Its used by Go SMS, where a user types contacts in an edit text,...

I have to set a GIF image as background in a linear layout. I am using below code final LinearLayout layoutMain = (LinearLayout) findViewById(R.id.main_layout); Glide.with(this).load(R.raw....

I am trying to implement Google in app billing to my Application. I created SKU product id and implemented the billing process in code. While I am trying to test the in-app billind after I enter all ...

I've looked through the other answers and tried but failed.. I am using the latest version 3.1.3. When I run the app it works just fine. Only in my android studio it doesn't. I get this and I don't ...

I am working on android. I want my list view to wrap its content horizontally and not to fill all the width. The wrap_content properties is not working. What to do?

I'm new to Android development and hence the following question is: I need to make two REST request to get data from two different sources and then pass to my next Activity. How can I do that? ...

I'm trying to create a JSONObject as code below. But Android Studio is saying that it's null. Where is my mistake? I tried two different ways to create it. 1st String JSONString = "{" + ...

Hello I'm working on a app which is getting user location in background and sending it to firebase database. When app is on foreground everything works fine, but when I get app to the background ...

I am trying to implement the example on https://developer.android.com/jetpack/docs/guide. This explains how tan android app should be structured. When I use the same code, I get following error. ...

I want to click the country on Country code page while registering. However, I have tried every findbyElement method i can to click the element, but it always result in No Such Element Error. Can ...

I'm following this solution to use enetities in my string resource file: Is it possible to do string substitution in Android resource XML files directly? I'm using an external file in the resource ...

I am developing an app with android studio and it installs and runs well via the emulator and also when connect to a phone via USB debugging. However, when I generate a signed apk and attempt to ...

I have an app that has an activity that let's users download pdf files by selecting a pdf in a spinner and clicking the download button. The issue is I don't want to always ask users to update the app ...

Recently we added Subscription support for an app with real-time developer notifications enabled (https://developer.android.com/google/play/billing/realtime_developer_notifications) on the backend we ...

What is this component (orange colour bar with text "Waiting for Network" in Facebook messenger)called in Android?? Snackbar is in bottom. Or is it custom created layout??

I am making a notes app where a user can draw on the screen and save it as an image. I am following the following tutorial https://www.ssaurel.com/blog/learn-to-create-a-paint-application-for-android/ ...

I'm facing a problem. Not sure what to call it, or what causes it I'm learning Android SQLite and to train started making a simple note app. The problem is I have a custom dialog for category select,...

I am quite confused about the licenses topic. At the moment I am programming an Adroid application and planned to use the Apache 2 license for the application. Now I noticed that Junit is EPL licensed ...

Am encountering a strange problem I am trigerring an intent service every 20 sec: with an api hit through volley When the app is on debug mode its working fine and am getting the result. Otherwise ...

I have already seen many questions in stackoverflow but none of them able to solve my problem. Here is my code.There is no error in code but app is crashing at runtime giving this error in Logcat - ...

I started working on an 'Android Studio' project which was imported from Eclipse. In this project I have two .c files that makes me lot of problems: D:\AndroidProjects\AndroidApp\SDK\src\main\jni\ip\...

I have made a custom view through which I can draw paths, but what I have noticed is that when using setPathEffect on the Paint object, the path is drawn incorrectly, specifically, too short. For ...

I'm sending a request via Volley, it returns some json like this: {"voted_for":true} or {"voted_for":false} I want the type of button I display in the layout to offer the inverse. So if a user has ...

This is a problem that I've been faced with for quite some time now and I can't seem to find a solution (besides removing the background, which is not an option right now), I have tried the two ...

I have an Application which is published by an APK, not through the Google play store. Its takgetSdkVersion is 23. On a 23(Marshmallow) device, I installed the Application with the APK(release build ...

There is an activity which is having a bottom toolbar having four tabs. On each tap of the below tabs, a fragment is replaced with the container frame layout. In all the fragments there is an API from ...

I have this items.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width=...

Related tags

Hot questions

Language

Popular Tags