Questions tagged as 'android'

2
answers

How do I pass parameters from the last Fragment to the previous Fragment?

I have the following situation: Fragment A is opened and it, with a click event, goes to Fragment B . When in Fragment B and pressing the back button, in order to return to Fragment A , I would like to pass some paramet...
asked by 04.04.2014 / 22:24
1
answer

How do I do the layout of an android app in Photoshop using PX if google just gives me DP?

I'm trying to draw the layout in photoshop, but I can not understand this story of DP in photoshop, in code okay, the compiler understands, but in photoshop I can only work on PX. Can anyone help me with this? Type, height of bar status or ac...
asked by 19.11.2014 / 11:56
1
answer

Layout Render Error

I used Android layout support, specifically Login Layout. When it was rendered this error appeared:    Exception raised during rendering: String In details appeared: java.lang.StringIndexOutOfBoundsException: String index out of...
asked by 24.03.2016 / 02:18
1
answer

ORM LITE problems in saving columns bytes

My user app can use the camera to take a photo and need to save it in the database. To save to the database I convert the image to an array of bytes, however I noticed a problem in this process when the camera resolution is high (4: 3 16 MB) doe...
asked by 16.09.2018 / 00:35
1
answer

How to create a new Build.gradle?

Since I imported my gitHub project, I'm trying this error:    Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate to the Gradle build system One guy already told me that I need to cr...
asked by 03.11.2015 / 17:11
2
answers

Reapping string in XML

Eg: <?xml version="1.0" encoding="utf-8"?> <resources> <string name="primeiro_nome">Bigown</string> <string name="nome_completo">{primeiro nome} Silva</string> </resources> Is it possible to r...
asked by 27.07.2015 / 04:08
1
answer

How to make the text fit into the text box on Android?

How to set a range for the font size for text to automatically adjust in the text box of Android (TextView) as you type or by entering. Is there a setting to do in Android studio or do Script ?     
asked by 10.01.2016 / 14:43
1
answer

How to use Google Glass in Android Studio

I'm trying to install Google Glass on my Android Studio, but I'm not getting it. When I create a new project, it does not give me the glass option and informs that it is not installed. ItriedtoopentheSDKtoseeifitwastheglassfordownload,butId...
asked by 26.01.2016 / 13:27
1
answer

How to convert UTF String to ANSI and Create text file in ANSI on an SSD?

I wrote an application on Android using Java, so users can answer questions, which are then saved to a file. The problem is that this file is saved in UTF8 . The end user will open this file in IBM SPSS which is a Windows applicatio...
asked by 13.02.2014 / 03:11
1
answer

How to create a crosstab view in SQLITE via Android?

I have the following tables: ┌──────────────┐ ┌──────────────┐ ┌─────────────────────────────┐ │ TABLE pessoa | | TABLE lente | | TABLE pessoa_lente | ├──────────────┤ ├──────────────┤ ├─────────────────────────────┤ │ _id,...
asked by 22.02.2014 / 06:41