Questions tagged as 'android'

2
answers

How to list and monitor the app's that are installed and / or in use?

On an Android device, where they are running many app's, would allow an interface where the user can see what's app installed and which are running at the moment, and you can start, pause and uninstall an app. Where do I start? What classe...
asked by 27.10.2014 / 17:13
1
answer

Run shellscript on a mobile android [closed]

Does anyone know if there is a default app that reads shellscript on mobile android? Has anyone tried to do something like this?     
asked by 16.05.2014 / 19:14
2
answers

When calling supername method when overwriting a method?

In a class we have several methods overlapping with @Override , and in some, for example onPreExecute of an extended class of AsyncTask , already comes with super.onPreExecute() . @Override protected void onPreExec...
asked by 09.03.2018 / 11:49
1
answer

Method does not override method from its superclass

I'm new to Java and I'm learning app for Android and on my route, I ran into this error: Method does not override method from its superclass The word @Override is underlined in red, but I could not understand the error. Here is the code:...
asked by 06.02.2016 / 17:21
1
answer

FileUriExposedException error on Android N

Hello friends I'm facing the following error:    android.os.FileUriExposedException: file: ///storage/emulated/0/Pictures/1488344088086.jpg exposed beyond app through ClipData.Item.getUri (). The intention is to open the camera, hit a pho...
asked by 01.03.2017 / 06:04
2
answers

What is the name of the Tabs that are being used in the new apps?

It is a tab that when you slide from the content of the Tab to the side goes to the new tab. In the new update of Youtube implemented this and I wanted to know the name to implement in my app. Youtube tab link Image of the update:   ...
asked by 24.07.2015 / 15:23
1
answer

Display a message when the ListView is empty

I have a ListAdapter that extends a BaseAdapter that works perfectly. When it is empty, I want a message to appear. Where to implement this validation?     
asked by 01.02.2014 / 19:45
4
answers

Advantages of the Inner Class

Since I started programming for Android (I believe due to Google examples), I have the habit of creating internal classes for features related to Activity . Example : If Activity connects to the database (and if the request is s...
asked by 13.01.2016 / 12:43
2
answers

Block android rotation [duplicate]

I've developed an android app but I just need it to stand and can not lie down ... What's the best way to block the rotation? Thanks     
asked by 19.11.2015 / 02:49
3
answers

how to call an on-screen image on android

I have a question about displaying an image on the screen in android. example. to call a sound it uses the following code: Button button1; MediaPlyer mp; button1 = (Button)findViewById(R.id.button1); button1.setOnClickListener(new View...
asked by 25.01.2015 / 22:11