Questions tagged as 'android-studio'

0
answers

Create Class with Android Studio 3.0.1

I'm using android studio 3.0.1 and I'm trying to create a new class in my App-> project. java-> com.valhondo.delgado.mibasedatos. Here I try to create a new java class. Name: DBHelper Kind: Class superclass: Interface: Package: com.valhondo.de...
asked by 21.03.2018 / 12:13
1
answer

Because clicking on a polygon always performs the same action - Google maps API android app

I have 3 polygons within the same map created in the android application Polygon nordOption = mMap.addPolygon(new PolygonOptions() .add(p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,p15,p16,p17,p18,p19,p20,p21,p22,p23,p24,p25,p26,p27,...
asked by 17.03.2018 / 19:19
0
answers

Error in sending data to web server

I have a big problem, I made an application that obtains data of latitude and longitude and every minute this data is sent to a server (it is not local), when running the application only 1 device is the one that registers the data, the second,...
asked by 14.03.2018 / 17:18
2
answers

Read JSON by OpenHttpConnection in a Public IP

I have a problem trying to read a JSON by OpenHttpConnection on a Public IP. I tried the JSON link and it is perfect, but when I try to read the JSON I have the following message by Log: D / NetWorkSecurityConfig: No NetWork Security Confi...
asked by 13.03.2018 / 16:58
0
answers

Error: The fragment is visible when I return to the previous fragment

I have 3 fragments 1 fragmentListArticles ...  in this fragment I obtain data from a webservice and fill a Recycler View .. when clicking on an item it takes me to the second fragment fragmentDynamicPurchase in this I confirm an order and fill a...
asked by 28.03.2018 / 18:36
0
answers

startActivityForResult does not work

I have the following problem on Android, I have an activity A that launches an Activity B, from activity B I want to add a contact through: Intent contactIntent = new Intent(ContactsContract.Intents.Insert.ACTION); contactIntent.set...
asked by 28.03.2018 / 21:46
0
answers

Zoom Android Studio screen

I would like to know how to zoom with your fingers in Android Studio, that is, to do all the layout.xml (or as you call it), since on the internet I have only seen how to zoom in on a image, and I would be interested in zooming the whole screen,...
asked by 19.03.2018 / 15:48
1
answer

Error when using a Sevice, when the Activity that I call it is closed

I have a service that runs fine, until I close the Activity that called it or destroyed it in this case: Activity_Calls. In the service I call this method: public void TactivarBroucast(int a,int b) { int t=b*3600000+a*1000; D...
asked by 09.03.2018 / 23:39
0
answers

finish a PolyLine and open another activity in kotlin and google maps

My question is from my location and when I reach the goal I finish the polylinea and launch another activity I share my code private fun cargarURL(url:String){ val queue = Volley.newRequestQueue(this) val solictud = StringRequest(Reque...
asked by 10.03.2018 / 01:55
0
answers

Problem Simulator / Smartphone in Android Studio

I am developing an app for my final degree project and I have a particular problem; in the simulator of Android Studio the app runs without problems, however, when I try the same app on my phone it does not run well, I've tried it on several mod...
asked by 14.03.2018 / 19:56