Questions tagged as 'android'

0
answers

SQLite and Android database

Hello, I'm making a small app and I need to fetch data from the database and display it on the screen. DatabaseHelper.java public class DatabaseHelper extends SQLiteOpenHelper { private static final String BANCO_DADOS = "Nomes"; pri...
asked by 10.02.2015 / 03:47
0
answers

TimerTask with long intervals

I intend to develop an app that, when setting a particular time, scheduling a task with the timertask to run 50 minutes later and immediately after that 50 minutes, repeat for 50 minutes periods successively. But it happens that after 50 minutes...
asked by 12.02.2015 / 23:58
0
answers

Self-resizing images with JQuery Mobile

I'm using the classic example of listview present in documentation of jquery mobile . However, when using images with different sizes, I would like the image to automatically be the size of container , how to do that?     
asked by 14.02.2015 / 00:58
0
answers

Make the application wait for the response of a BroadcastReceiver

I need to send a list of SMS messages. The problem is that when they are too many, they seem to jam the send, locking the function. So I'd like to send one at a time. I'm trying with the class below: public class EnviaSMS extends AsyncTask<...
asked by 16.12.2014 / 18:08
1
answer

Android Studio does not save project changes [closed]

Before this problem happened, I compiled and recompiled my projects without any problems. But at the moment, when I'm going to compile my project, the IDE compiles the original state of the project, that is, it compiles the code prior to the cha...
asked by 19.02.2015 / 15:09
0
answers

How to deal with ActionBar options?

Hello, in the app I'm doing all my activities (except 2) has extends of another Activity ( BaseActivity ) where I do the treatment of options available in ActionBar , with this I avoid repeating the code in all activities. It...
asked by 04.03.2015 / 23:19
1
answer

Change Background from the ActionBar menu

Hello, is there any way to change in XML the background color of the options menu that appears in ActionBar ?     
asked by 05.03.2015 / 17:52
0
answers

Insert with Inner Join and various conditions in the where clause

What is the best way to do SELECT with INNER JOIN and with various conditions using SQLite Android? I thought I'd do it this way: SQLiteQueryBuilder _QB = new SQLiteQueryBuilder(); _QB.setTables("TABELA_1 INNER JOIN TABELA_2...
asked by 30.10.2014 / 14:43
0
answers

How to put Action Mode on top?

I'm using this property in manifest.xml: android:uiOptions="splitActionBarWhenNarrow" 1- The options menu appears at the bottom, follow the figure below: 2-Andwhenanitemclicks,actionmodeappearsbelow:    I would like to keep the f...
asked by 30.10.2014 / 16:49
1
answer

Custom ListView occupying 100% of screen

I created a Custom Listview with some items but as you can see in the image below there is an "empty space" on the screen. I would like to know how to make the items occupy all the remaining space on the screen. Menu.javacode:publicclass...
asked by 31.01.2015 / 06:07