Questions tagged as 'android'

1
answer

How to get the url for this Json (java android)

{ "success":[ { "url":"http:\/\/stream.vagalume.fm\/stream" } ], "format":"mp3", "remaining":0 } how to get url, format and remaining separately     
asked by 27.11.2015 / 18:57
1
answer

How to reconstruct the XML of a Fragment layout, when it is expanded?

I have a screen with a fragment, which without being expanded, it just shows the username and password field and the button to register, and I wanted it when I expanded it, fields like name, date of birth, municipality, state, were inserted betw...
asked by 09.11.2015 / 19:22
1
answer

Method onCreateContextMenu of a Fragment calls the onContextItemSelected method of another Fragment

I have a FragmentActivity that calls its Fragments tabbed (ViewPager). In both of these fragments the onCreateContextMenu and onContextItemSelected methods were implemented. In the case, it happens that when I call the context menu fro...
asked by 29.10.2015 / 20:15
1
answer

Sugar ORM ANDROID

Good morning Is there any way to change tables and fields in the Sugar ORM database, so that when performing the app update, it does not crash? I have a registration and I have the PRODUCTS table and it contains name, code, location, etc ....
asked by 29.10.2015 / 13:10
1
answer

How to open a Dialog without darkening the Android background screen [closed]

I have an Activity, and in this I call a Dialog, but when I open this 'popup' the Background Activity screen that called it darkens, but I wish it did not happen. Can you do that?     
asked by 30.10.2015 / 13:38
1
answer

How to create a PDF using iText for Android

I was trying to create a pdf file in my Android application, as I did not find anything that worked, today I was able to solve the problem on my own. Follow the code to whoever interests. Here are the imports corresponding to iText.jar impo...
asked by 28.10.2015 / 02:58
2
answers

Json + webview, basic doubt!

Good morning! I have a WebView, where I get a JSON and want to mount the WebView according to the data received. In this part of the code html += "<h1>" + nmTitle + "</h1>"; I put the variable that receives the JSON content...
asked by 05.11.2015 / 14:46
1
answer

There are no compatible devices when posting to Google Play

I have a problem when it comes to publishing my App on google play. No compatible devices appear when sending the APK, and in development it worked normal on several phones (Galaxy star, Galaxy grand dual, Motorola moto g2) AndroidManifest.xm...
asked by 04.11.2015 / 12:52
3
answers

How to put hint in a spinner?

I have a Spinner, where the user should select their gender: So far everything works fine, however I need to leave a hint spelled the word sex in the spinner component, as in the image below: CodethatIhavesofar:<Spinnerandroid:id="@+id/sp...
asked by 16.04.2016 / 22:44
1
answer

How to adjust the screen according to the Android virtual keyboard?

I would like to know how to resize the screen according to the display of the Android Virtual keyboard, style the Evernote home screen, that when the keyboard appears the image decreases and when the keyboard turns off, the upper image expands a...
asked by 06.11.2015 / 15:48