Questions tagged as 'android'

1
answer

Photo taken by the camera returns inverted

Is there any way I can not invert the photo after updating it in an ImageView? For example, the application I'm developing accesses the device's camera and after taking the picture, updates the ImageView with the photo reversed. I wanted to leav...
asked by 13.01.2015 / 13:43
1
answer

Rotate adb in several docker containers

I have four phones connected via USB. I have two containers docker running on my machine and each of them has adb running. The adbs select the cell phones randomly, I'd like to map two cell phones to one docker and two cell phones...
asked by 18.07.2018 / 17:45
1
answer

How to change the value of a string in XML?

There is a way to change a value of a string in XML. I know how to get the value through getResource().getString(R.string.value); but I do not know how to change the value directly in XML. Is this allowed? Or are the values created in...
asked by 08.02.2014 / 00:15
2
answers

Database in does not reflect changes in the same activity

I'm trying to update the database in my application. Trying to simulate a possible production error intentionally I give DROP to a table, and then I make a SELECT in the same table and it works. When changing Activity the same pr...
asked by 16.12.2013 / 17:14
2
answers

Barcode scanning on a single screen

I and my friends are developing an application in which one of the functions the smartphone should scan the bar code of a product and get it in a database (ours). Since this can be done for several products, we have chosen to keep the reader on...
asked by 16.03.2015 / 22:37
1
answer

Separate content from the row in the BufferedReader loop

I have txt files with approximately 5,000 items, and these do not have a default, for example: 10 20 30 40 50 60 70 80 90 100 I need to import this to SQLite , each value being 1 register. Example: ID | VALOR 1 | 10 2 |...
asked by 26.04.2018 / 21:26
1
answer

Custom Popup

I'm trying to make a custom popup, similar to the one in the photo, by putting a close button at the top and centering it in the middle of the screen, does anyone know how I do it? I searched for some codes, but nothing very complete     
asked by 15.08.2014 / 01:30
1
answer

How to pass information from the listview to a new activity?

I have a schedule of events where I live I can already receive through my database in Mysql and JSON a list with the titles of the events. Now I wanted it when I clicked on the event to redirect to an activity with event info, but I do not know...
asked by 22.06.2015 / 11:02
1
answer

How to get a JSON, from a URL?

I'm still studying AndroidStudio and it's time to get data by URL, in json format,    To do this I created an example page:   ( link ),       with the following content:   {"content": "hello world"} THEN I took the example here...
asked by 27.01.2017 / 02:02
1
answer

How to change a menu item after it has already been created? [closed]

This is what I create a menu through the onCreateOptionsMenu method, and then I want to leave an item invisible but I can not. @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.filter_menu,...
asked by 29.12.2016 / 22:14