Questions tagged as 'android'

1
answer

Calendar.MONTH returns incorrect month

I'm developing a method where I can get the date, month, and year to create a security key to connect to the server. But I have already verified the date of my emulator and my cell phone is correct, but the month comes with the previous month....
asked by 21.10.2016 / 23:56
2
answers

Android applications, what are the advantages and disadvantages of the tools? [closed]

Between creating native apps, using HTML, CSS and JavaScript together with Phonegap, or even C # with the help of Mono, what are the advantages and disadvantages and which context best suits? Considering the following items: Performace...
asked by 19.01.2016 / 14:23
1
answer

Check if android is in energy saving

I wonder if I can check if the android device is energy-saving. I've looked everywhere, including the official documentation, and nothing.     
asked by 08.10.2016 / 16:48
2
answers

How to get a value from a sentence in String

example I have a return of that WebService mode    "Success! User saved Id: 257" All right, I'm getting the phrase like: Success! User saved. Id: 257 I just need to get the number or get the 257 the sentence is only used to confirm if...
asked by 06.10.2014 / 16:42
1
answer

What is the difference of a toolbar for an action bar?

I've researched a lot and found nothing that could explain this. Is there a difference or is it the same thing?     
asked by 20.01.2017 / 15:42
2
answers

Remote reading on Android: Json or XML?

I'm starting on Android and I also do not have much Java experience. My first application will have a query to a remote server. My question is: In Java (and therefore in Java), what is more practical when it comes to getting data: in Json or...
asked by 12.04.2016 / 18:50
2
answers

What is the correct way to get the device date?

This is a relatively simple question, but it has broken my mind a lot. I need to get the date and time at a certain point in my application's execution, but I do not know which is the most recommended way to do this. In some places, I have seen...
asked by 04.06.2015 / 07:09
2
answers

Converting Int to String!

I'm trying to retrieve some information stored in the database, but when it's done an error occurs, since I'm trying to get an "integer" value and pass it to "String", there I can not do this conversion, codes: public class ProdutoAdapter exte...
asked by 04.12.2018 / 00:38
1
answer

Is Xamarin a viable option for mobile development? [closed]

I need to develop for mobile and I was thinking about Xamarin as an option, and then I went to search and found: Xamarin is paid, and the price is half salty for a single individual license. There is no way to develop the 100% C # app, mos...
asked by 06.10.2015 / 01:39
2
answers

How to call a native application?

I need to call the calculator from the click of a button, how can I do this? I'm having trouble, I'm a beginner on Android and I completely missed the implementation of this code.     
asked by 01.09.2015 / 00:15