Questions tagged as 'android'

2
answers

Android connection with MySQL [duplicate]

Well, I got a free hosting from Hostinger I've set up MySQL right now, but would you like to know if it's possible for my android application to connect to that database? and if so how would I do it? would have to use webservice? would yo...
asked by 17.02.2015 / 14:14
1
answer

Adapter in a ListView in Android Studio

I'm trying to supplement a code that controls a custom ListView, through three classes: AdapterListView , ItemListView , and MainActivity . To date, the code only manages the insertion of data and images (inserted via code)...
asked by 09.02.2015 / 17:08
1
answer

How to use ListActivity with ActionBar?

You can only access the menu of a ListView that is without ActionBar by the menu key in the emulator. How to display it? Do you need to inflate by BaseAdapter ? ActivityofListView:publicclassListDespesasActivityextendsL...
asked by 19.01.2015 / 14:50
2
answers

Android sqlite order by com case

I need to sort a query like the example below, where, the searched text is 'un', first after the items that start with 'un'. This is what I need, order the output of the query, so that the items that begin with the text are the first of the resu...
asked by 27.06.2015 / 15:25
1
answer

drawRect Android Canvas

I can not understand how canvas.drawRect works on android. canvas.drawRect (left, top, right, bottom, paint) I "come" from the HTML5 canvas that it would be. (context) .fillRect (positionX, positionY, width, height) The question...
asked by 27.06.2015 / 23:03
2
answers

android google map in my app

I'm now starting to create my first app in android I've already created apps for other platforms, so I wanted to know how I put the google or bing map in my app.     
asked by 28.06.2015 / 19:40
1
answer

Problem emulating Android app

My eclipse had problems and I reinstalled eclipse and sdk, but then when I emulate the app the following message appears in the console:    [2015-06-24 12:26:12 - SuperOffer] Android Launch!       [2015-06-24 12:26:12 - SuperOffer] adb is ru...
asked by 24.06.2015 / 17:40
2
answers

minSdkVersion error 1 can not be smaller than version 4

I am studying a script and at the time of doing the project build it accuses version problem, but only I am having this problem in my class. <uses-sdk android:minSdkVersion="1" android:targetSdkVersion="1" /> Error: (5, 5) uses-sdk:...
asked by 19.06.2015 / 02:42
1
answer

In the ActionBar Menu, how do you allow the icon of an item to always be visible, and text only when there is space?

I'm trying and researching for some time the possibility of having behavior in my ActionBar , as follows for some items: Icon ( android:icon ): always visible in ActionBar ; Text ( android:title ): only visible if...
asked by 25.03.2015 / 18:53
1
answer

Add a button inside a Textview

I have a text at the end of the text I want to put a button to see more, have to put type a hyperlink or have to create a button even on the side of Textview ?     
asked by 24.03.2015 / 13:40