All Questions

1
answer

What is and how does the context in Javascript work?

Essential part of Javascript, every function in Javascript has context, how does it work, how does it manipulate it, and what changes in the strict mode ( 'use strict' )?     
asked on 11.03.2014 / 23:53
1
answer

XAML without previewer or desginer - Visual Studio

I'm using Visual Studio 2015 Community with Xamarin, and I realized that when I edit XAML in designer mode (Shift + F7) I can not see the preview of it because another window with the same font is opened. I can not even see your rendering in Xam...
asked on 07.11.2016 / 03:30
1
answer

Passport Session Authentication on Android

I have a web app running with NodeJS, Express and authentication with Passport-JS, and everything works perfectly. Now I'm developing an Android app and I need to authenticate my users using the same API. From what I understand by reading...
asked on 14.12.2016 / 13:05
1
answer

How to crop an image from the gallery or photo taken by the camera, save and load an imageView

I would like to know how to crop an image from the gallery or photo taken by the camera, save and load a imageView , as I can do this for the intent gallery option, but for the camera option it returns me a data = null below...
asked on 04.02.2016 / 23:17
0
answers

How to find where is the circular reference in GSON?

Imagine that I have these classes: public class A { private B b; } public class B { private A a; } And then I have this: A a = new A(); B b = new B(); a.b = b; b.a = a; Gson gson = new Gson(); String x = gson.toJson(a); The re...
asked on 21.03.2017 / 14:56
1
answer

Setup.msi prompts the user to install the .NET Framework 4.6.1

I have a * .msi package of software developed by me with the Visual Studio Setup Project. When a user attempts to run the installation package on their machine and the installation package does not have version 4.6.1 of the .NET Framework, a...
asked on 08.07.2016 / 09:10
2
answers

Insert into multiple input fields in different tables [closed]

I have the fields of date, CNPJ, latitude, longitude, site, facebook, on the same screen, only they are 3 different tables, how do I give insert from them from the same button ?? I use to save information but not all fields are required....
asked on 20.09.2016 / 14:05
1
answer

Problem saving a change using Entity Framework

I'm trying to persist a change I make in a registry, but I'm getting this error:    System.InvalidOperationException: 'A referential integrity constraint   violation occurred: The property value (s) of   'UnitMedida.UndMedidaId' on one end of...
asked on 31.05.2017 / 15:19
1
answer

Open map at user's current location

I'm trying to open GoogleMaps in the user's current position, I've already researched a lot and still can not make it work in my project. I'm using Fragments to manage the layout. In the current project the map already opens without problems, ho...
asked on 13.07.2017 / 18:46
1
answer

Controller returning partial view in a modal

I have a button on my screen that held call to a method in my controller (Ajax) that returns a partialView by default. $("#btn-Visualizar-Rotina").click(function() { var codUnimetPcp = '@Model.UnidadeMetalica.COD_UNIMET_PCP';...
asked on 28.07.2016 / 22:21