Questions tagged as 'android'

1
answer

Unique device identifier android

I have the following problem in my application. On the first boot I get androidID using the following method: Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID) This code is being used to validate in a webs...
asked by 28.06.2016 / 17:01
1
answer

ExpandableListView using RecyclerView?

Hello, I sometimes needed to create a recyclerview that had the same principle as expandablelistview for this, I have always used this lib It solves the problem. But is this a good solution?     
asked by 01.07.2016 / 16:19
1
answer

SlideShow of images with android

Does anyone know how to do a slide show of images in a HorizontalScroolView in android? Or do you know of any library that does this? I need to make a slideshow within a fragment     
asked by 28.06.2016 / 21:27
2
answers

Check current smartphone time

I always want to check the current time on my device and display a notification. But using this code, I can only get the time I open the app How can I do this background check, and when it arrives at the specified time the app sends me the no...
asked by 31.05.2016 / 01:57
1
answer

Problem trying to consume webservice on android

I'm trying to do a query through the android in a firebird database, the webservice is working perfectly however when trying to query through the application it generates the following error: 05-31 13:55:52.339 4062-4062/br.com.realsysten.rest...
asked by 31.05.2016 / 16:02
1
answer

How to change the title of WebView

I'm making an app where I use a WebView. The question is how can I change the text that appears "WebViewApp" when I open the app.     
asked by 14.04.2016 / 20:22
1
answer

How to create an android app using only c ++ in Android Studio?

Just for learning purposes, is it possible to create an app using only c ++ (without JNI)? And if it is possible, what are the steps, do you have any 'Helloword' examples somewhere? So I know some things in xml will be unavoidable. (Am I righ...
asked by 14.04.2016 / 13:44
1
answer

I can not change the layout on android

Hello everyone, I'm doing an old game app for android, when the app starts I want this call the test layout, and when I click the test layout button I want to go to the layout that has the old game , so when I put: setContentView (R.layout.te...
asked by 17.04.2016 / 18:10
2
answers

Camera Orientation with SurfaceView

I have a problem using SurfaceView for a custom camera on Android, I can not work the camera orientation with SurfaceView , no matter how I rotate the Smartphone it always behaves strangely, in the if I made two layouts for the two...
asked by 04.08.2016 / 23:15
1
answer

How do I activate LogCat?

Hello, I'm making an app where I use AlarmManager, I need to use LogCat but I do not know how to make it appear in Android Studio.     
asked by 05.06.2016 / 23:05