Questions tagged as 'android'

1
answer

Documentation for creating files in PDF format

I have been analyzing free libraries for the creation of PDFs for use in commercial applications on Android, and so far I have not found any that meet all my expectations, features and licenses. As can be seen this and in this question right...
asked by 27.08.2015 / 16:52
1
answer

Best way to model the database of a chat [closed]

I have an application that works with webServices and the mysql database, I'm putting a chat on it, the part about how to get messages, view notifications and search for users I already have, my question is: How should I store my messages in...
asked by 15.08.2014 / 19:58
3
answers

Differences between Padding and Margin

What's the difference between using Padding and Margin in an Android view? When should I know which one to use?     
asked by 22.08.2014 / 00:31
2
answers

How do I store information when I exit an application and recover on next use?

I'd like to know how to store information, such as this variable: int t = 0; Let's say that while using the application, the user did some operation that added + 5 to this variable. How do I when the user closes the application, the valu...
asked by 01.10.2014 / 20:23
2
answers

Passing data between Activity Android

Well, I'm making an app and I have a login screen that connects to the database from a web service, but I have a problem, I want to get the user id and user name to pass these Data for another Activity and I am not getting .. For when the person...
asked by 13.05.2016 / 20:43
3
answers

Transform SetInteger into SetString

I need to store a Set<Integer> within a sharedpreferences, but it only accepts Set<String> , can you do that conversion? Set<Integer> checados = group.getCheckedIds(); prefeditor.putString...
asked by 23.11.2017 / 23:27
2
answers

What's the difference between gravity and layout_gravity on Android?

In the customization of layout properties in Android Studio, I noticed that there is gravity and layout_gravity , both have the name gravity , so I'm a little confused as to its features. That is, what are the differences b...
asked by 07.10.2016 / 22:56
3
answers

Can you access bash on Android?

I'm not a Linux expert. But if Android uses the Linux Kernel, it is understood that it must have some similarities. Would the terminal be one of them?     
asked by 25.09.2015 / 15:51
3
answers

Read array JSON on Android

I'm having trouble reading a JSON in the format: [{"RESULTADO":"SUCESSO"}] WebClient.java: //PARA LER UM JSON, USAMOS A Scanner Scanner scanner = new Scanner (connection.getInputStream()); String resposta = scanner.next();...
asked by 04.12.2018 / 02:30
2
answers

Alternatives to Google Maps

I recently learned that for applications that track users (ex: taxi apps), Google maps charges an annual license to use their API. Would you like to know if there are other map API alternatives for Android?     
asked by 15.11.2016 / 23:16