Questions tagged as 'android'

1
answer

Cryptography in sqlite

I need to save some data in SQLite, but this data needs to be encrypted, and, when the user needs it, decrypted. What is the best way to do this?     
asked by 08.03.2017 / 17:52
2
answers

Layout does not fit on screen after rotation

I developed an application that works normally but when I turn the screen to the landscape orientation the app gets cut off and I can not go down and see the rest of the content and also the AdMob I implemented only works on the screen vertica...
asked by 17.08.2016 / 22:51
3
answers

Recognition of sound patterns [closed]

I would like to know if there are any Android / Java APIs for sound pattern recognition. Example: Birds singing, the sound is given as input, and the application would return to which bird this sound belongs. The application will be used f...
asked by 13.08.2016 / 08:03
2
answers

AlertDialog from another class

My problem is this, I have an Activity that calls methods from a common Java class to perform operations. Now I've come up with the need for one of these methods to be AlertDialog , I've researched in several places and can not find a...
asked by 24.08.2016 / 16:51
2
answers

How to open an image in the original size inside an ImageView?

I have some images inside imageView, and I needed to open these images at the original size when I clicked on them. Does anyone know how to do this? Thank you in advance.     
asked by 19.01.2016 / 14:43
1
answer

Show / Hide Button and TextView

I'm making my first App in Android Studio, but I'm having a hard time doing something relatively easy. I need a Click on a Button to show the TextView and another Button (which will hide the TextView when it is clicked again). But all the altern...
asked by 16.01.2016 / 04:02
1
answer

Problems with the layout of the application on various phones

I have an application that I made and emulated using my lg g2 mini phone, when I emulate it looks everything, the form the way I designed it in its proper corner. When I install the same apk on other phones, the application loses the layout by g...
asked by 30.05.2016 / 19:06
1
answer

Size occupied on disk by a table in SQLite

In Oracle, when we want to know how much a table occupies disk we can query the dba_segments dictionary. SELECT segment_name, segment_type, bytes/1024/1024 MB FROM dba_segments WHERE segment_type='TABLE' and segment_name='<nome-tabel...
asked by 10.06.2016 / 20:40
1
answer

java.lang.NullPointerException: Attempt to invoke virtual method [duplicate]

My program gave this problem when I tried to create a stack (database), to store strings in my Android app package com.project.meuapp2; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bu...
asked by 27.03.2016 / 20:39
2
answers

How do I delete a certain data from a listView?

The app has two buttons that when clicked add an item to a listView (bow and sword), but would like that if the item of each button was already present in the listView, it was deleted. package genesysgeneration.list; import android.support.v7...
asked by 17.02.2017 / 00:55