android

java.io.FileNotFoundException error in Apache poi, android

I need to open an xlsx file in Android, I use apache poi, but I get an error "java.io.FileNotFoundException: /file/sdcard/Dow ... the manifest, the write/read permission is there, and the check for PERMISSION_GRANTED is also there. Apache poi version 3.17

Android Studio. Change the size of the image added to the TextView

Added an image to TextView using android:drawableBottom. I am interested in whether I can change the size of the image without changing its source and without splitting TextView separately into TextView and ImageView

Calculator for Android

People tell me, please, the source code of the calculator for Android. And then it is not possible to do addition, subtractio ... } } This is an ordinary button that displays the number 1 in the input field. And how do I make the add or subtract button?

Change the app author in Play Marker

Published the application on behalf of the customer. The author of the app in the Play Market specified the client profile. He asked to change the author. Specify, for example, ArtCompany. Can this be done?

Traffic monitoring in Android

Sap hashcode, you need to somehow see what post/get requests a certain application sends for android. Can I look at this in android studio? Or in genymotion? Generally interested in any options, the main thing that would be able to see it all.

How do I find out my coordinates?

Good evening, the problem is this. How to find out your coordinates Google map api v2 android. And how do I put another marker instead of the standard marker indicating my location?

Get json, recognize Russian characters

The code below accepts json from the server and outputs it to a text window, if I write the returned content in Russian lette ... тип стринг для парсинга String json = extras.getString(JsonURL); //передаем в метод парсинга JSONURL(json); } }

Draw a three-dimensional, multi-colored, moving cube

Hello! I'm trying to draw a three-dimensional, multi-colored, moving cube. But it turns out that (GL_TRIANGLES_FAN): (GL_ ... dexBuffer); gl.glDrawArrays(GL10.GL_TRIANGLE_FAN, 0, cube.length); gl.glRotatef(1, 0.0f, 1.0f, 0.0f); }

Alarm Service does not work on android versions higher than 7.1.2

I'm trying to make it so that after closing the application with a swipe from the list of applications, notifications appear ... ify(NOTIFICATION_ID, notification); } } I would be grateful for any help, I've been racking my brain for a whole week

How to replace GPS on Android without switching to Mock mode?

There is such an application on android as Zelle. It does not allow you to perform an action if the GPS is in MOCK mode. Writ ... ss to the device and its shell. Maybe there are some ways to replace GPS at a lower level ? Android 5.0.1 Samsung S4 GT-I9500

SVG to JPEG on Android

Do you know a way to convert SVG (vector image) to JPG/JPEG/PNG (any bitmap format) in an offline application execution mode on android?

Is it possible to call the front camera flashlight in Android?

The Samsung galaxy a6 phone has a front-facing camera with its own flash. That is, there are flashlights on both sides. Is it ... it so that when you press the button, the flashlights turn on from both sides of the phone, that is, both the rear and front?

Scaling android images

I need to place a picture on the screen, and on top of it more pictures (and text). For this I use FrameLayout. The problem o ... XY" android:scaleX="1" app:srcCompat="@drawable/back1" /> </FrameLayout> `

Google Disk as an image storage server for your app

I am interested in the following question: can I use the Google Disk service to host images for my application? There will be ... ctly and will Google have any complaints about me as a user of them services? I hope for your answers. Thanks for attention.

Get a contact's avatar from the phone book

Good evening. The following question arose. I get a list of all the device user calls, i.e. the log (CallLog) as follows: Cur ... umentation, to get an autarky, you need a CONTACT_ID. How do I get it or just the contact's avatar? Thank you all in advance!

How do I embed a 3D model inside an Android app?

In my application for Android (I develop in Android Studio), you need to add a room model. I'll draw this room, say, in Blender. And what to do next? How do I add it via Android Studio?

Convert char to string

Guys here is such a problem, I pick out the first character from a variable of type string like this: char came_buffer; ... aracter from char to string, Google does not give a sensible answer, only some self-written functions that do not really work

How do I determine my current location?

How can I find out my coordinates without maps? This is how I get my coordinates with the map. myMap.setMyLocationEnabled(tru ... (); myPosition = new LatLng(latitude, longitude);} How can I get my location without creating a myMap object (GoogleMap)?

I don't understand how to find exceptions using the debugger in Android Studio

There is a code that is guaranteed to throw an exception: Exception: I am trying to make such exceptions tracked by the ... rt debugging: As a result, I get this: However, I don't I understand how to use this window to find the thrown exception

MIME for ttf and otf fonts

Until the tenth version of android, through the request SAF entered the type "application/octet-stream" and in principle ever ... intent.setType("application/*"); But nothing helps. In general, I ask for advice on how to be. Can who faced with such?