Questions tagged as 'android'

0
answers

Differences in jQuery in localhost and server

I have this jQuery code: (function($) { $.fn.extend({ WETotalScroll: function(opts) { var object = $(this); var position = "top"; var domHeig...
asked by 10.10.2017 / 13:53
1
answer

Error implementing PackageInstallerActivity for some versions of Android 6.0

I have the following code that is executed when the user accepts the update of the application within it. I already provide code for compatibility with versions 6.0 + and versions 6.0 -, the problem arises that some devices accept the code ex...
asked by 09.10.2017 / 17:39
1
answer

Absolute focus on android

I have problems when it comes to centering 2 elements in my android interface, the first one is an imageview, try to change the size of the image thinking it was because of its size but nothing happens, it looks like this: When what I...
asked by 13.10.2017 / 19:30
0
answers

Doubt about host [closed]

How about, I tell you, I am a junior programmer in Android and iOS systems I am developing an application and web which requires a lot of data flow and storage. To give an idea, it is intended to be an application and web similar to eBay or OLX....
asked by 13.10.2017 / 20:51
1
answer

What does the num_segments parameter mean when receiving data from the Google Fit RecordHistory API?

I'm working with the Google Fit API and I do not know exactly what the parameter that the Google Fit RecordHistory API returns "num_segments", here's an example of the data returned: Data returned for Data type: com.google.activity.summary Dat...
asked by 25.10.2017 / 15:49
1
answer

can you change between GPS_PROVIDER and NETWORK_PROVIDER at runtime?

The situation is this, every so often I send the user's location to a small test table, the location I get it through the gps, if this was not activated at the start of the service I would get the location through NETWORK_PROVIDER, all it works...
asked by 25.10.2017 / 21:30
3
answers

Error with Text View

my codigo throws an error when I define the id of TextView . package com.david.animefm2; import android.app.Activity; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent;...
asked by 05.10.2017 / 14:26
1
answer

Problem in Google Maps emulator

Could you help me with this error in the Android SDK Manager emulator, I have everything installed in Android sdk Manager (Google Play Services) I am using the marshmallow emulator Android 6.0 API 23. My application shows the geo-location in...
asked by 31.10.2017 / 20:23
1
answer

Is it necessary to initialize the ad in adMob?

I have two apps in the play store and in a non-use MobileAds.initialize(this, APP_ID); And in another if, could you explain the difference between doing it or not? Both upload the advertising perfectly and I do not have any kind of warning...
asked by 31.10.2017 / 13:48
0
answers

Android architecture [closed]

Greetings, I want to start in the world of android programming and I would like to know if you can program between layers in android, that is, if I can use the data, business and presentation layer in android, thank you very much for your collab...
asked by 11.11.2017 / 17:21