Questions tagged as 'android'

2
answers

How to crop random images in ImageButton

I'm trying to make every 0.5s a random image of the drawable folder set to my ImageButton but I'm having problems the way I did. I tried to do this: put the following names in the images of the drawable folder:    butt...
asked by 17.04.2015 / 04:26
2
answers

How to put a subtitle under the application name in the bar menu

Iwanttoputtwothingsinthemenubar,butIhavenoideahowyoudoit.WhatsApphastwothingsinthebarmenu,thenameofthecontactandthetimeyouviewedWhatsApp.HowcanIdothis?Havetwonamesonthebarmenu?MyMainActivityclassprotectedvoidonCreate(BundlesavedInstanceState){su...
asked by 05.02.2015 / 17:35
2
answers

Report on Smart Device

I would like to generate and print a PDF in a Smart Device Off application, has anyone already made this feature and could you give an example?     
asked by 06.02.2015 / 12:33
1
answer

Save images from the server in my application

I'm developing an application that once installed, the first time it is initialized it goes to the server to fetch all the images necessary for the user to use the application. I chose the Picasso library to manipulate my images but I do no...
asked by 19.01.2015 / 14:35
1
answer

Add AndEngine as a library for my project in Android Studio

I'm trying to import the AndEngine project by Github and then add the AndEngine Physics Box2D extension. I'm doing the steps: I created my project I installed Git and added the path C: \ Program Files \ Git \ bin \ git.exe...
asked by 20.01.2015 / 16:19
2
answers

Create button menu at the bottom in Google maps v2 android

How to create the Menu button equal the Maps App. Here is an example in the red square. Could someone pass an example?     
asked by 14.04.2015 / 04:04
1
answer

How do I know if the user clicked outside AlertDialog?

My question is quite simple, but I'm not finding something I can use. In my android project, I check the GPS connection of the user's device, and if it is not active, I ask for a dialog box to be activated, with two buttons, cancel and settin...
asked by 10.04.2015 / 15:08
1
answer

Help to migrate from Actionbar.Tabs to ViewPager because of API 21

As I understand it lightly, the hosting of tabs in the actionbar was obsolete in API 21. I still do not understand very well because (if someone explains it better I thank) but what I can do is adapt. I did a search and found some alternatives l...
asked by 11.04.2015 / 19:05
1
answer

Run another application (maps) in my menu

Hello, I'm new to the android world, I'd like to know how do I run the google maps app just by clicking on my button? I want to implement my coordinates and get to the other registered point.     
asked by 28.12.2014 / 15:55
1
answer

Invisible RadioButton with spinner

I would like to know how to make a spinner's event change a radiobutton visible or invisible. I have the following code. But it is not working. <RadioGroup android:id="@+id/radioGrupo" androi...
asked by 02.01.2015 / 23:31