Questions tagged as 'android'

1
answer

Pass extra parameters via gcm (google cloud message) - Cordova

When I send a notification to gcm , I added a parameter in the url called 'appUrl'. And when I open my Cordova app, I need to pass this parameter to index.html so that I can redirect my application to your devitor instead. Howeve...
asked by 26.06.2015 / 04:30
1
answer

How to create layout similar to APP clock

Good morning, everyone. Could someone give me an help on how to create a layout similar to the Android APP clock? I would like to do something very similar to these screens. If you can help me with XML code or links from blogs and websites I'll...
asked by 29.06.2015 / 15:29
1
answer

Action Bar menu icon without dropdown

I'm trying to remove the Action Bar's Overflow drop-down menu from Action Bar. In case it would be the one that has the 3 points, one on top of the other, by default and as default option, "Settings". I would like to remove this "Settings" item,...
asked by 28.05.2015 / 16:17
1
answer

android-support-v7-appcompat Do not generate .jar

I'm importing the project android-support-v7-appcompat found at: '../Android/sdk/extras/android/support/v7/appcompat/' Set it up as reported in Android documentation , although it does not display error occurs that it is not generat...
asked by 10.06.2015 / 22:03
2
answers

How to differentiate an EditText with the same name and id?

public void criaForm(){ for (int i = 0; i < 5; i++) { EditText et = new EditText(this); linearLayout.addView(et); TextView tv = new TextView(this); linearLayout.addView(tv); } } I've created multiple...
asked by 19.08.2015 / 15:38
2
answers

How to get the coordinates (X and Y) of a click on an imageview?

I'm making an application that has an image that occupies all ImageView , and when the user clicks somewhere on that image, the X and Y coordinates corresponding to the image are drawn, and a circle with a center is drawn at that point. Si...
asked by 16.08.2015 / 06:58
1
answer

Real-time monitoring with location

I'm creating an app on "Android" where I can find moving cars on the map, what would be the correct way to send my location and monitor the moving cars, which map api should I use?     
asked by 18.08.2015 / 19:43
1
answer

Pretend that device does not have GPS

I wonder if you have any way to "trick" the device during the debug talking that it does not have GPS. I do not want to just disable, if not during development the GPS will be found. I have the purpose of verifying that the device has the GPS...
asked by 13.08.2015 / 21:08
1
answer

Does anyone know how to put "UTF-8" and "ScrollView" on Android via Java code?

I'm developing a dynamic form, so I'm doing everything via java code without using xml. Does anyone know how to add UTF-8 and ScrollView I'm not getting it.     
asked by 16.06.2015 / 16:47
1
answer

How to block an item from a listview?

I have a TextView list in a ListView , and when I click on one of the TextView I have access to a Fragment in>. How do I, when in a Fragment , the TextView responsible for opening it is blocked? Therefore, the application will not be forc...
asked by 06.06.2015 / 04:52