android-studio's questions - Swedish 1answer

0 android-studio questions.

i want to upload document file and then encode that file to base64 byte[] input_file = Files.readAllBytes(Paths.get("C:\user\Desktop\dir1\dir2\test3.pdf")); byte[] encodedBytes = Base64....

I want to merge files to APK using android studio so appear /data/data/'package_name'/files/ how to do this? As you know i can save and create files in "files" folder for android during run time . ...

My Activity Just like the gif of my activity, the center transition is not working smoothly because it's transition doesn't come from animation. It comes from following the constraint of another ...

My Unity project uses several plugins so I can't build APK file, too many field references: mine is over 96000; max is 65536. I google and know the android studio build, I followed all the steps and ...

I guess I am an innocent person, but in my beliefs is that if I download a full IDE, and more if it comes from the big Google, I will be able to start working from the first moment, it will be a click ...

I am new to Android development. I am not getting OTP message from Fire base but if I enter the code manually then it works. I am not sure why I am not getting text message. Your help is highly ...

In this Kotlin code for an Android app: class PlantAdapter : ListAdapter<Plant, PlantAdapter.ViewHolder>(PlantDiffCallback()) { override fun onBindViewHolder(holder: ViewHolder, position: ...

i want to support different screen sizes in my app android but I am confused do I divide the layout based on density(ldpi,mdpi,hdp....) or on sizes(small,normal ,large, xlarge) or both

Since this morning i have trouble to sync my android project in android-studio. When i try to do so, i get every time the same errors : A part of the errors All those errors are caused by the same ...

I came across a problem when i used android studio to import a project.More details below : ``` Error:Execution failed for task ':app:transformClassesWithDexForArmDebug'. > com.android.build.api....

I am new to Android Studio and want to know about shortcuts. In Eclipse we use shift-ctrl-O for importing. In Android Studio we use alt-enter. My question about importing override methods and ...

I have an about item in my options menu. When I click on about, a dialog will appear, but only it shows the text "This is a dialog". I want it to show my text which is "MYapp is a fun app that had ...

Is it possible in Android to make use of the pin-code from the smartphone for authentication inside an application? I've seen a lot of examples where the application makes use of a pincode but the ...

My previous issue was that "org.json.JSONObject cannot be converted to JSONArray" So I changed this JSONArray stationsJsonArray = newJSONArray(stationsJsonString); to this JSONObject ...

I want to show the time it toole file to upload to the host and show it in android. For example, check the time in this image. How can I show time in android? I upload this info to the host with ...

I have been encountering a problem that says unable to sync files because CMake is not installed. In that case that CMake is necessary to sync, I'm unable to find it in my Settings>System Settings>...

I configured my app level build.gradle file to pick the apk name from build parameters. Below is my build.gradle file apply plugin: 'com.android.application' android { compileSdkVersion 26 ...

I want to import Android project in Android Studio and this is where the problem begins: 1) If I set Gradle home and click OK, I get the info: 2) And secondly, if I try to run project I get the ...

I have a multi-flavored, multi-build-typed android project and I want to integrate the NewRelic plugin. But I have to apply it only for one of the customers, thus only for one product flavor. NewRelic ...

I want to enter full screen mode in Android Studio. Is there any Keyboard Shortcut for doing it. What Is the Keyboard Shortcut key for enter and exit full screen mode in Android Studio?

In Android Studio, when I open a layout file in text mode and enter in an attribute such as: android:layout_width="match_parent" It would be nice if there was a keyboard shortcut that I could use to ...

I've been trying so hard to develop an Internet radio Streaming app, but all I get it some force closes or errors. Steps I've taken, I've read the MediaPlayer Documentation here. I've also read the ...

Good day. I'm doing simple demo where i need to store current call state in DB. I'm using this code in onCreate telephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); ...

So i have this class called ShowActivity.java. In this class i get a list from a sqlite database. I have added two buttons on this ListView Show Data and Delete Data. So once i select a list Item i ...

Here is the screenshot for the tool menu: I wanted to add firebase to my project automatically with the plugin. I read some solution saying about enabling all firebase plugins. it was already enabled,...

I am getting this error in logcat while loading foodlist from menu list from firebase database. here is the file kindly help me. I am running the app in android nougat apk 24. public class FoodList ...

I am using below code to launch android driver. But I am getting error at the time of launching the driver. On line: driver = new AndroidDriver<WebElement>(new URL(appiumServiceUrl), ...

So, I'm building an app to copy all my messages (AND mms, WITH attachments) from iOS (iTunes backup) to Android Pie (OxygenOS). I went through Android's SmsManager.java file, and I noticed two ...

I am getting this error in Android Studio when I try to build my project: Cannot read packageName from ..\src\main\AndroidManifest.xml I previously migrated my project from Eclipse to Android Studio ...

I have implemented BottomNavigationView in my app. Everything going easy and perfect but there is one problem i.e. on back press I want to get the currently active tab selected but now selected tab ...

This is Screen shot I've facing this problem can anyone help me? I search everywhere, but I can't find the solution Failed to resolve: firebase-common Open File Failed to resolve: firebase-iid-...

I want find all issues saying call requires some API level in whole project. Call requires API level 21 (current min is 19): android.content.res.Resources#getDrawable I could see its issue id is ...

I'm sorry for my bad english. I'm using Exoplayer for streaming video, but when I change the video resource, it keeps playing the old video and audio. I already stopped the video, but it's not ...

1here is the full souce code.I tried but couldn't able to show the json response in logcat. how can I get the full response from ibm watson & how can I show it in my chatbot. public class ...

I want to develop an android app that can edit word document files inside of the project. I tried different libraries like Apache POI, Doc4xj, Aspose Word etc. but i find it hard to understand and ...

I am using broadcast receiver and alarm manager for creating of a peryodic notification in android. My problem is that when trigger the onreceive method for second or more times I have not the ...

Ive been searching for a while for an exact explanation that distinguishes an Android Activity from an an Android API When we create a new project, An Activity gallery pops up to select a activity ...

I do nothing, just create new project then find this error. pls help me

I am new in android , I want to upload multiple files to my Node.js server , I am using volley for generating request. I can upload a single file to server but I am not able to upload multiple files ,...

In my text I want to show first word in imageview.I will try many time with glide.But it did not work in adapter.Now how can I solved it? String name = "Masum"; Glide....

I have created a table in sqlite using an external Software and added to my project "assets" folder. So far its working, but when i try to insert a query line from my application, it shows Null ...

I am making a flash card app with SwipeCard This is my FlashCardActivity: import android.os.Bundle; import android.text.style.TtsSpan; import android.util.Log; import android.view.View; import ...

Can anyone give me some suggestion or link of all controls of Android Studio keyboard shortcuts?

when I am trying to upload an image using the multipart form with this code I am not getting the path of the file which I want to upload to the server. 1. have created an interface like this and I ...

How can I attach Android SDK sources to Android Studio? When I open one of the Android classes, the "Sources not found" window with "Attach Sources" option doesn't appear. What is the other way to ...

I have an ImageView which shows user's profile photo and I want it to have this type of frame: I searched for "rounded ImageView" and "ImageView with rounded corners" and almost looked through all ...

I attempted to add an animated submit button to one of my activities when my emulator printed "Can't open app". However, the debugging tool didn't detect an error. I'd greatly appreciate if you could ...

I am making simple on Android and it has 5 Images and 5 Audio Sounds and I created separate array for both of them. I want when I click on next button then R.drawable.anp1 image appears and produces R....

First thing first, Using Android Studio 2.3.3 Problem: My emulator screen is covering the only partial amount of screen available for emulator, i.e top left of the emulator and rest part is just a ...

I am developing an Android Application there i need to use the mobile bio-metric authentication (which is enabled in the device) for my application. I have found an API for Fingerprint authentication ...

Related tags

Hot questions

Language

Popular Tags