Questions tagged as 'android'

1
answer

Adding an EditText dynamically and modifying the layout_width, layout_height, and

I'm trying to add two EditText dynamically, so far so good. Now as I move the weight property on the screen, I can only use wrap_content or match_parent .     
asked by 08.10.2015 / 22:56
1
answer

Register product for logged in user

I'm able to pass the object by Activity's using putExtra and returning on the other screen with getSerializableExtra . I already created fk id_usuario in the products table for the id_user field of the users...
asked by 08.10.2015 / 15:02
2
answers

How to convert a date that is in string format to the database when doing a query?

I have a date that is in string format in the "dd/MM/yyyy" database and I needed to return in my query the dates from today. How can I do this query conversion to compare with today? Thank you in advance! update: I am using the minh...
asked by 07.10.2015 / 15:24
1
answer

How to read file that is inside .apk?

I'm having a small problem developing an app. I need to read the information from a file that is inside the .apk of my app, that is. This file you need to read is inside my app and not outside it. This file is inside the same package where th...
asked by 04.10.2015 / 23:38
1
answer

Screen Division using Android + Unity

People, good afternoon. I'm having a project where I need to get a view of a particular object at 4 different points and position them to look something like this: link Does anyone have any idea how I can do this? Can you do it inside Uni...
asked by 01.10.2015 / 22:37
1
answer

Android studio create directories

How can I create a folder in android studio (to save images - my project will have lots of images and would like to split into folders or packages for better organization)? If I create in the directory option it creates the actual folder, but do...
asked by 30.10.2015 / 17:20
1
answer

Value Conversion had Date in sqlite Android error The method getText () is undefined for the type String

I'm doing the insertion of a DATE type value in my project, so I had to convert it, in my corresponding class, my tribute Dt_read, it is declared as string and in the database it is as Date. For this, at the moment I'm inserting the record in th...
asked by 31.10.2015 / 19:24
1
answer

CheckBox with RadioButton look

Next team: I have a form on android which has some radiobutton's and I need these items to be unmarked when clicked. Ex: I clicked on the first one and it gets marked, if I click on the second radiobutton the first one will continue marked only...
asked by 23.09.2015 / 21:41
1
answer

How to add multiple numbers in Sharedpreferences and always keep the instance of SharedPreferences?

I needed to add a data in Sharedpreferences and it stored all data, not "zeroing" my data anymore. I'm using editor.putStringSet("data", dado); to store my data, I needed to keep this data forever. Is it possible to do that? Thank you in...
asked by 24.09.2015 / 17:19
1
answer

How do I center my location when I click on a marker?

Hi! I'm developing an application that works on Google Maps API v2 and I've already set the mMap.setMyLocationEnabed(true) method to get the user's location. My question is: how do I, by clicking on this blue dot that appears, cente...
asked by 25.08.2015 / 17:02