Questions tagged as 'android'

1
answer

Data not inserted in sqlite

I'm starting now on Android, I went to do a test of insertion of data in the bank, but the data is not inserted, I may be mistaken at some point, follow below the code: protected void onCreate(Bundle savedInstanceState) { super.onCreate...
asked by 22.09.2017 / 22:48
1
answer

E / SQLiteLog error: (1) no such column [duplicate]

I'm getting an error in my code and I can not solve it, could you give me a little help? I'm getting the error " E :    09-27 04: 04: 14,798 14342-14342 / com.pineapple.pineapple_mobi1   E / SQLiteLog: (1) no such column: Aline 09-27 04:...
asked by 27.09.2017 / 09:31
1
answer

Open a site using a button in the application

I'm doing an application similar to a calendar and I need to put a button to open a registered site, I already did a long click on the table and it worked, but on a button I can not use the same syntax @Override public void onCreateContext...
asked by 18.10.2017 / 15:01
0
answers

Inserting Script into Android code to search SearchView

I'm developing an Android application that works with the Maps API, and in it I have a searchView that needs to do the search of the location typed and display on the map. But I do not know how to insert a script (I gave a searched and mostly th...
asked by 30.09.2017 / 02:42
1
answer

Searching in the listview does not show the corresponding item

In the listview when I search for an item it shows the right match name, but when I click to play it plays another item instead of the searched item. MainActivity public class MainActivity extends AppCompatActivity { ListView lv;...
asked by 16.09.2017 / 04:06
1
answer

How do I retrieve versionCode and versionName from an APK?

In a given case, a certain company does not want their app to be released on Google Play. However, the idea would be to create a version control within that company's own system to upload the .apk and write some basic information to a dat...
asked by 30.09.2017 / 19:43
0
answers

When not to use Realm?

In some Benchmark tests, comparing Realm with SQLite and a few other ORMs according to link we can see a much superior performance compared to the other database. So here's my question: When not to use Realm? Why is your performance cons...
asked by 05.10.2017 / 16:12
2
answers

Doubt with firebase

How do I pass this information out of onDataChange into the same activity all within onCreate .... mDatabase.addListenerForSingleValueEvent(new ValueEventListener() { @Override public void onDataChange(Dat...
asked by 18.09.2017 / 15:46
0
answers

Refresh Controll stops working if listView exits the screen

I'm trying to get a list of Firebase items, including images, that are going to be rendered in a ListView. But the problem is that when the ListView gets larger than the screen, then RefreshControl no longer works. Running, with a full li...
asked by 14.09.2017 / 20:55
0
answers

I can not login with google in my Release app

In this excerpt from else and does not continue login, I have already taken sha1 from the Key store path through the prompt as the code -list -v -keystore "Local da chave" -alias nomealias -storepass senha -keypass senha The...
asked by 15.09.2017 / 00:05