Questions tagged as 'android'

0
answers

Android: Different styles to the same TextView

There is some way to set different styles to a text view, for example I want to paint certain code and I would like certain words, like for example <tag></tag> labels to go green, the text I get from a http call, then I can have mor...
asked by 09.01.2018 / 17:02
1
answer

How can I read or download a pdf in react native?

I want to be able to visualize or otherwise download a pdf using react native . I was testing the react-native-pdf library but I get an error, I think it's because it asks me to do npm link and this command has presented problems, I'm...
asked by 09.01.2018 / 12:41
0
answers

bring an image from sql server to android

good afternoon people, the consultation, basically it is, I have an image in a sql server database (varbinary), and I bring it through a json with a restful service done with node, along with other data; when I bring it from the json, I treat it...
asked by 09.01.2018 / 17:23
0
answers

I try to modify a data in SQLite from a custom ListView item but they are all changed when modifying one

First question I ask in stackoverflow because I'm confused, I try to change a data in SQLite from a custom ListView and it turns out that all the data is changed and I just want to change the one of the selected item. I try to change just one da...
asked by 11.01.2018 / 02:30
0
answers

Pass fragment detail to another with click, searchview error

Hello friends, I have a problem in which I enter after implementing a searchview in my fragment. As you can see there is the list of items and if I click on each one it shows me the detail correctly. When doing a search, it shows me the co...
asked by 06.01.2018 / 01:31
1
answer

Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled (boolean)' on a null object reference

Good afternoon! I'm getting the following error, I look for other forums and I can not fix it, hopefully someone can help me. Error: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionB...
asked by 05.01.2018 / 18:33
0
answers

get the image of a signature pad and record it in different media / formats

I have a signaturepadcanvasview control that allows me to capture the stroke but now I need to record it and I can not find how. Searching the internet, I only see ten entries, and what I see is using an Async function with wait, but I can not...
asked by 14.02.2018 / 03:02
2
answers

android.widget.TextView.setText (java.lang.CharSequence) on a null object reference

I have a very strange error in android (api 25), I tried many things and still could not, help! please I try the application, calculator type to make payment calculations, in which you select year, months and situation, and with these parameters...
asked by 03.01.2018 / 05:16
2
answers

Error with splash screen in Android 8.0: Resources $ NotFoundException: Drawable ... with resource ID # 0x7f0800a5

I have an application with splash screen, it works correctly, but in Android 8.0 it gives me the following error, it says it can not find the drawable .. FATAL EXCEPTION: main Process: com.app.atsz7.scurls, PID: 11355 java.lang.RuntimeExceptio...
asked by 02.01.2018 / 01:12
0
answers

Upload an image to MYSQL from ANDROID with a PHP webservice

Android: private String convertirimagen(Bitmap bitmap){ ByteArrayOutputStream stream = new ByteArrayOutputStream(); bitmap.compress(Bitmap.CompressFormat.PNG,70,stream); byte[] bytes = stream.toByteArray(); return Base64.encode...
asked by 31.12.2017 / 17:32