Questions tagged as 'android'

1
answer

Obtain an image of a server with GET method

Good morning, I have encountered a problem when making my android app with android studio. What I need is to take a .png image of a server (given a url) using the GET method and display it on the screen. I have seen some old tutorials but...
asked by 08.05.2017 / 09:00
1
answer

Android, AsyncTask or Runnable threads

I'm going to start chopping code referring to threads in java so that I can make a series of web requests. Stock stock = null; try { stock = YahooFinance.get("YHOO"); } catch (IOException e) { e.printStackTrace();...
asked by 05.05.2017 / 13:13
1
answer

How to increase the speed of commands in Android?

Hello everyone My problem: I am in the situation of being able to increase the speed of the commands on the android devices, because I have entered Root permissions and for this I must use the command terminal as Root to perform Root move...
asked by 06.03.2017 / 23:14
1
answer

Problem with Android Intent

You will see when I do this intent: case ImageFormat.RAW_SENSOR: { DngCreator dngCreator = new DngCreator(mCharacteristics, mCaptureResult); FileOutputStream output = null; try {...
asked by 05.03.2017 / 18:27
2
answers

How to concatenate a MySQL query with html tags to send color to text textView on Android?

The following code in php $result = mysql_query("SELECT name, concat('<div style="color:Red">',designation,'</div>') as designation FROM test.table_test;") or die(mysql_error()); if (mysql_num_rows($result) > 0) { while ($...
asked by 03.03.2017 / 21:59
2
answers

If there is space in the action bar because it does not show the icons that have showAsAction="ifRoom"?

hello I have a menu in the action bar that is as follows: <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:appcompat="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/menu_search"...
asked by 06.04.2017 / 20:07
2
answers

Android: Signature error when publishing apk

I am following the steps indicated in the following route:      link to sign my APK, but when I upload it to the PlayStore, it sends me a message that says: You uploaded an APK file without a signature. You must create a signed APK file . I...
asked by 06.04.2017 / 02:34
2
answers

JavaScript Alert does not work on webview android

I thought it was a single line but it does not activate me: Here is the code: WebView myWeb; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout...
asked by 05.04.2017 / 19:34
1
answer

How to make a button change its image when it is clicked?

How can I make a button (button) made with Swing change its image when it is pressed? Or when you mouse over the button? Example: Normal button: ========  Button being pressed: = - = - = - = It's a bit of a silly example, but I guess th...
asked by 07.04.2017 / 01:38
1
answer

Android: TabLayout in another TabLayout (Conflicts)

I have a Tablayout that has the fragments of Menu, Entry, Saucer, Dessert and Drink, which have a Recyclerview and Viewpager that is filled with the respective meals, then I put everything in an Activity that has another TabLayout an...
asked by 20.04.2017 / 17:51