Questions tagged as 'android'

2
answers

Read an SMS received

An App receives an SMS and from the text performs a function. For this it is necessary to read the SMS and to make the comparison in the APP, but for this it is due read, word by word, line by line or make a comparison if it contains such a word...
asked by 07.01.2015 / 22:14
1
answer

How to increase the text size of a WebView?

My app reads from RSS. but what bothers me is the letter that is small, I want to leave it a little bigger than to be visually "right" by default. It is like this: ButIwanttomakeitbiggertogetbetterreadingoftheuser.Forexample: Code: Detai...
asked by 01.12.2014 / 00:54
4
answers

How can I replace String.isEmpty () in Java?

I have the following: data = new Json().execute(URL).get(); System.out.println(data); if (!data.isEmpty()) { //erro neste data.isEmpty I have an error:    has an error: Call requires API level 9 (current min is 8): java.lan...
asked by 13.07.2016 / 05:30
0
answers

Save multiline text in Blob field in SQLite [closed]

I would like to help with this issue of saving% multiline in a blob field in SQLite database, because when I add in EditText in the database it saves the texts in Blob Editor with dot end Text Editor of the blob, only saves the fi...
asked by 17.12.2015 / 11:52
1
answer

Printing text and image on Zebra printer

I used the "Zebra Designer" to generate a "code" for the Zebra printer to interpret, however I do not know how to add an image in the middle of that print dynamically, like ... I have a tablet that the customer can subscribe to directly on your...
asked by 04.11.2015 / 19:55
2
answers

Compile and execute project via command line

I have an Android application developed in Eclipse. I know I can compile and run a project from the console , however I do not know how to do this. The basic steps for compiling a program JAVA is to save with the same class name follo...
asked by 16.09.2016 / 21:27
1
answer

How to change the image of an ImageView dynamically [closed]

Hello, I need help to dynamically change an image Follow my code: st = (ImageView) findViewById(R.id.imageView4); int RID = this.getApplicationContext().getResources().getIdentifier(Bundle_img, "drawable", getPackageName()); st.setImageReso...
asked by 03.08.2015 / 19:07
1
answer

Problem to execute a SQLite query [closed]

Table declaration @DatabaseTable(tableName = "alarmes") public class ListenerAlarme { @DatabaseField(generatedId = true) public long id; @DatabaseField(canBeNull = true) public Date dataAlarme; @DatabaseField(canBeNull = true) public boole...
asked by 27.07.2015 / 21:28
1
answer

How to use android project in gradle in eclipse?

I'm trying to incorporate this project: link into my android application in eclipse, however I do not use gradle. Is there any way to import it without gradle?     
asked by 26.12.2014 / 19:39
2
answers

How to get AppCompat error from the application?

I had to reinstall Eclipse and when importing my app , it gives a styles error of AppCompat . I imported AppCompat and own AppCompat gives the same error. How can I resolve?     
asked by 02.12.2014 / 01:33