Posts by HideCode • 329 points
39 posts
-
0
votes1
answer333
viewsA: Site opens but does not load Cs, js, png files etc
I found the solution to my problem. I had to remove the following code from Web.config <staticContent> <mimeMap fileExtension=".json" mimeType="application/json" />…
-
0
votes1
answer333
viewsQ: Site opens but does not load Cs, js, png files etc
I migrated VS2012 to VS2017, and in my solution I have 3 sites, 2 of which I run and have no problem and in the other when I debug it opens but the whole part of Design is not loaded(css, js, png,…
-
0
votes1
answer86
viewsQ: How to add Resece in Visual Studio
In the company we have a problem with some of the projects, because they are in different folders on the machines of each programmer and usually when you check in and then get Latest version, we all…
-
0
votes1
answer41
viewsQ: How to copy certain Bytes of a Date type in Swift
As an example I android to do what you want to use the following: byte[] byte = ....; byte[] resultado = Arrays.copyOfRange(byte, 1,3); And I intend to do the same but on Swift being that in this…
-
0
votes1
answer164
viewsA: Azure Sotarage on Android - open failed: ENOENT (No such file or directory)
I solved my question the problem is that I was barely passing the path in this code line Cloudblockblob blob = container.getBlockBlobReference(pathFile.toString());
-
0
votes1
answer164
viewsQ: Azure Sotarage on Android - open failed: ENOENT (No such file or directory)
I’m having a problem with the AZURE STORAGE API for Android which is when I try to upload an image with the following code storageAccount = CloudStorageAccount.parse(storageConnectionString);…
-
0
votes1
answer98
viewsA: java.lang.Noclassdeffounderror: Failed Resolution of: Ljavax/xml/stream/Xmloutputfactory; Azure
I solved my problem put in Gradle dependencies { compile 'com.microsoft.azure.android:azure-storage-android:1.0.0@aar' }
-
0
votes1
answer98
viewsQ: java.lang.Noclassdeffounderror: Failed Resolution of: Ljavax/xml/stream/Xmloutputfactory; Azure
I’m taking a photo and then I want to send it to the Azure Storage however in the following line of code: CloudStorageAccount account = CloudStorageAccount.parse(storageConnectionString); I get the…
-
0
votes1
answer48
views -
0
votes1
answer48
views -
0
votes1
answer27
views -
0
votes1
answer27
viewsQ: Migration from Alamofire 2 to Alamofire 4. Extra Argument in call (Request)
When making requests to the server used the following code let URL = Foundation.URL(string: "http:....")! let mutableURLRequest = NSMutableURLRequest(url: URL) mutableURLRequest.httpMethod = "POST"…
-
1
votes1
answer587
viewsQ: Send Image to Server
When I send a byte[] converted to String to the server on the server comes empty or breaks. I don’t understand why. Bitmap photo = (Bitmap)data.getExtras().get("data"); photo =…
-
0
votes1
answer60
viewsQ: Problems with Conversion of Array to Swift 3
With the swift3 update I’m having the following error "type 'Any' has on the Members subscriber", I’ve seen a lot of questions on the subject and tested most of them but without success. The code…
-
6
votes2
answers204
viewsQ: Project Alamofire conversion to Swift 3.0
I have the following code when I want to make a call to the server: let mutableURLRequest = NSMutableURLRequest(url: URL) mutableURLRequest.httpMethod = "POST" let parameters = ["SessionID":…
-
1
votes1
answer312
viewsA: Insert range of numbers into an automatically SQL table
I’ve already found an answer: DECLARE @num INT = 100 WHILE(@num<200) begin INSERT INTO [dbo].[tableName]([row1],[row2],[row3],[row4]) VALUES (@num,value2,value3,value4) SET @num = @num + 1 end…
-
1
votes1
answer312
viewsQ: Insert range of numbers into an automatically SQL table
The point is that I want to insert in a table field a range of numbers that goes from 100 to 1,000,000 and I didn’t want to be doing 1 to 1. How can I do this automatically? In SQL Server…
-
1
votes0
answers80
viewsQ: Calling Codebehind javascript function while running a process
The idea is I have a grid where in each row there is a button. The desired is that when the user presses the button the page is fixed (Freeze) and have the request validated. And when the server…
-
0
votes0
answers56
viewsQ: Pushsharp 4.0 - Namespace not recognized "Pushbroker"
I have the following problem, recently added to my server the lib PushSharp 4.0 to send notifications to Ios. However with the code I have, I’m having the following error: the type namespace name…
-
0
votes1
answer143
viewsQ: Ios does not receive push Notifications
The problem is, in my app the server sends Notifications to users but I don’t know why the devices aren’t receiving notifications. What I’ve already tested: Server side sends notifications smoothly…
-
1
votes1
answer90
viewsQ: Nsnotificationcenter calls several times the page - Swift
Here’s what I wanna do: 1st user is in the app and decides to quit. By pressing the home button of the iphone. 2nd user enters the app and instead of continuing on the page he was on when he left,…
-
0
votes1
answer186
viewsQ: How to check if the user is connected to the internet(wifi and mobile data)- Swift
I am using the following code to check if the user is connected to the internet: if Reachability.isConnectedToNetwork() == true { } else { let alert = UIAlertView(title: "Sem ligação à Internet",…
-
2
votes1
answer154
viewsQ: Infowindow is always the same in all markers(javascript)
I’m creating the markers as follows: var contentString = '<div id="content">' + '<div id="siteNotice">' + '</div>' + '<h1 id="firstHeading"…
-
1
votes2
answers303
viewsA: How to remove Markers one by one(javascript)
I figured out what was wrong, I was deleting stitches and not markers, I created markers= [], whenever I add a Marker do markers.push(marker); and in the delete function: for (var i = 0; i <…
-
1
votes2
answers303
viewsQ: How to remove Markers one by one(javascript)
I have the following code to add my markers: function setParking(map) { var pointA = { lat: -16.113700, lng: -45.825545 }; var pointB = { lat: -15.284216, lng: -44.658747 }; var poinC = { lat:…
-
0
votes1
answer38
viewsQ: Get path using the user’s location to the predefined marker (javascript google-mapsv3)
I am using the answer that is in the question of the following link: question And I don’t understand what I need to put on the line below where the comment is: map = new google.maps.Map( /*creates…
-
0
votes1
answer592
viewsA: Customize the Google Maps infowindow
Yes it does, in the example I give has a title, a description and a button var pointA = { lat: 37.138649, lng: -82.422405 }; var contentString = '<div id="content">' + '<div…
-
1
votes0
answers123
viewsQ: Google map pops when I push markers
My function to add markers to the map is as follows:: function setMarkers(map, locations) { var i for (i = 0; i < locations.length; i++) { var loan = locations[i][0] var lat = locations[i][1] var…
-
0
votes0
answers392
viewsQ: Paint googlemaps' streets
I am doing a service that needs to paint some streets of the maps with different colors according to a certain typology. I have already done it for them, as I will demonstrate in the image below.…
-
0
votes0
answers96
viewsQ: Tableview in Uiview in Swift 2.0
I’m trying to create a table within a view. So that when the user is in view1 and presses a button open a smaller view2 inside view1 and choose one of the table data and loading transports the…
-
0
votes0
answers37
viewsQ: Cocoapods error in such file or directory: 'Opengles'
I want to add the Googlemaps library to my project. So I installed cocoapds and followed all the steps that are on the google site siteGoogle. I’ve wandered around forums and tried several of the…
-
1
votes1
answer77
viewsQ: Alamofire 3 how to pick up errors if they exist in the call to the service(Swift2)
I have the following code to call the server Alamofire.request(mutableURLRequest) .responseJSON{ request, response, result in response in if let value: AnyObject = response.result.value { let post =…
-
1
votes1
answer456
viewsQ: How to pass to Array JSON information on Swift
When the result comes from the server I use the following code snippet to receive the result: if let JSON = response.result.value { print("JSON: \(JSON)") } And the result of the print is: [{ Nome =…
-
0
votes1
answer187
viewsA: Navigation bar some no Xcode com Swift
Have you added a navigationController? You can try doing Editor->Embeb in -> Navigation Controller for me makes it easier to work this way because I get more versatility.
-
1
votes1
answer113
viewsA: Objective-c to Swift project conversion (Server call)
I managed to solve my problem and the solution is as follows: let URL = NSURL(string: "https://****.*****.com/*****.svc/rest/GetByID")! let mutableURLRequest = NSMutableURLRequest(URL: URL)…
-
0
votes1
answer146
viewsA: How to call a web service in swift2 Xcode 7
Using the Alamofire library I made the request as follows: let URL = NSURL(string: "https://****.*****.com/*****.svc/rest/GetByID")! let mutableURLRequest = NSMutableURLRequest(URL: URL)…
-
0
votes1
answer98
views -
0
votes1
answer146
viewsQ: How to call a web service in swift2 Xcode 7
I’ve tried 1000 and 1 thing and still can’t find a way to call my web service and get the desired results. Can anyone tell me the best way to connect to my web-service and call my methods in swift2…
-
2
votes1
answer113
viewsQ: Objective-c to Swift project conversion (Server call)
I have a problem that I will explain, I think I found a way to call the methods that are on the server, however when I call a method that has parameters, I get an error, and when I call a method…