Questions tagged as 'android-studio'

1
answer

How to write the percentage symbol in a string in Java?

How to make the string accept the percent symbol ' % '?     
asked by 23.05.2015 / 17:35
2
answers

Android Studio - No accent appears

Hello, I have a very strange error in Android Studio, suddenly it stopped accepting the accentuations in the string and comments, when I try to type for example "a" it only shows "a". I've tried everything in File Encoding and nothing. can anybod...
asked by 12.01.2017 / 15:06
1
answer

Because the compiler warns me Anonymous new Runnable () can be replaced with lambda

Because this code ( Thread ) shows this message ( in the compiler ), and how do you not show it again? Code: public void onCreate(Bundle icicle) { ... mVideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {...
asked by 03.07.2015 / 01:46
1
answer

How to pass information from the listview to a new activity?

I have a schedule of events where I live I can already receive through my database in Mysql and JSON a list with the titles of the events. Now I wanted it when I clicked on the event to redirect to an activity with event info, but I do not know...
asked by 22.06.2015 / 11:02
1
answer

Installing Android Studio: Path to the JDK

A few weeks ago I installed Android Studio and was developing the project and "accidentally" deleted some folders that I should not (careless of me). I did not find a solution to repair the deleted folders so I decided to uninstall the AS and...
asked by 27.05.2016 / 13:53
3
answers

Is it possible to export the source code of an Android Studio project? As?

I've developed an application in Android Studio that is already available on Google Play. As it was a project that I used as the subject of my TCC, the university needs the source code in PDF. How do I extract the code into a single file?...
asked by 18.09.2017 / 19:17
1
answer

How to associate / open mp3 files in raw folder?

I am with probremas with songs, whenever I add some music and I will execute some code of the error, whenever I click on the music in the raw folder a text appears, in tutorials I saw the person clicks on the song and plays it I will show photos...
asked by 22.10.2017 / 23:27
1
answer

Identify the type of connection 3g, 4g and / or Wifi

Good morning! I need to check the type of connection that the device is for example 2g, 3g, 4g or Wifi. Because after checking the type of connection I need to limit the device to perform some actions. Someone could help me, thank you....
asked by 05.02.2016 / 13:57
1
answer

How to create a new Build.gradle?

Since I imported my gitHub project, I'm trying this error:    Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate to the Gradle build system One guy already told me that I need to cr...
asked by 03.11.2015 / 17:11
1
answer

How to use Google Glass in Android Studio

I'm trying to install Google Glass on my Android Studio, but I'm not getting it. When I create a new project, it does not give me the glass option and informs that it is not installed. ItriedtoopentheSDKtoseeifitwastheglassfordownload,butId...
asked by 26.01.2016 / 13:27