|
POST
|
Dear Sir the above image is the settings for debug and for release mode is setting is in below image.what can be the reason i cant debug my application.Because if i make same settings for debug mode my application. i could not create package i cant install.if i make same settings like release mode in dubug process my application not load in emulater not come to visible mobile device.please help we have already lost lot of time.
... View more
12-03-2016
10:08 PM
|
0
|
4
|
3442
|
|
POST
|
Dear Preeti i could not send the output on device if i uncheck any of above options.In release mode my app release and install successfully.But when i open the app and tap on map to zoom or identify my app .it throws the exception "unfortuneatly app stopped" and crashed.please help it have already taken take lot of times. Thanks
... View more
11-29-2016
09:26 PM
|
0
|
0
|
3442
|
|
POST
|
dear preeti maske where is image,my mobile device is samsung galaxy s7 edge.in supported architecture all options are selected.
... View more
11-29-2016
12:24 PM
|
0
|
2
|
3442
|
|
POST
|
my mobile is in debug mode.how to solve this on mobile device. System.NotSupportedException: Could not activate JNI Handle 0x7fca1a7480 (key_handle 0x2ad6405) of Java type 'Esri/ArcGISRuntime/UI/MapView' as managed type 'Esri.ArcGISRuntime.UI.MapView'. how
... View more
11-29-2016
01:19 AM
|
0
|
10
|
7082
|
|
POST
|
Dear robert , my insertion module was working fine.but from yesterday it is throwing this error.i could not find what the problem is.i just remove one domain from my one field.and it start throwing error. "apply edits failed:ESRI.config.defaults.io.proxyURL is not set.if making a request CORS enabled.Please push the domian into ESRI.config.defaults.io.CORSENABLED servers. please help. Thanks in advance.
... View more
06-01-2016
12:16 AM
|
0
|
1
|
1080
|
|
POST
|
Dear Robert i am still confused. i am adding point on the map.when i click the point.one point add on the map by using current symbology of point layer.in my alert it give me the id of new added point that is the next object id of point in feature layer.this point is permanent there.see even i refresh and rebuild the application this point always come.even i restart my computer but this point permanentally there.problem is that in which table of feature layer this point store. how to find this point in geodatabase table.please help.this attached image showing my problem. please see attached image. the point inside black circle.i add it from my tool.even reload or refresh or rebuild my application.this point is always there like the points coming from geodatabase.so where this point store in which table of geodatabase. help. my code is below var PtFeatureLayer = new FeatureLayer("http://localhost:6080/arcgis/rest/services/myService/FeatureServer/0"); esriConfig.defaults.io.alwaysUseProxy = false; var attr = { office_id: 1000, office_nam: "HELLO", no_of_peop:100, x_coordina:2.5, y_coordina:3.45, city_id:2.2, cate_id:2, gender_id:2, }; var graphic = new esri.Graphic(clickedPoint, null, attr, null); PtFeatureLayer.applyEdits([graphic], null, null, function (adds, updates, deletes) { var query = new esri.tasks.Query(); query.objectIds = [adds[0].objectId]; //featureLayerEdit.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW); dynamicMapServiceLayer.refresh(); alert("Added feature successfully, OBJECTID: " + adds[0].objectId); }, function (err) { //when an error occurs alert("Apply Edits Failed: " + err.message); });
... View more
04-20-2016
11:28 PM
|
0
|
1
|
1080
|
|
POST
|
Dear Robert i am still confused. i am adding point on the map.when i click the point.one point add on the map by using current symbology of point layer.in my alert it give me the id of new added point that is the next object id of point in feature layer.this point is permanent there.see even i refresh and rebuild the application this point always come.even i restart my computer but this point permanentally there.problem is that in which table of feature layer this point store. how to find this point in geodatabase table.please help.this attached image showing my problem. please see attached image. the point inside black circle.i add it from my tool.even reload or refresh or rebuild my application.this point is always there like the points coming from geodatabase.so where this point store in which table of geodatabase. help.
... View more
04-20-2016
11:23 PM
|
0
|
2
|
1080
|
|
POST
|
Dear all i am using google as a base ma.i find all of examples but all are in legacy modules.I am using amd dojo.how to add these it should work for me. <script type="text/javascript"> var djConfig = { parseOnLoad: true, baseUrl: './', modulePaths: { // if use local copy, make sure the path reference is relative to 'baseUrl', e.g.: //'agsjs': '../build/agsjs' // use absolute path for online version. Note sometimes googlecode.com can be slow. 'agsjs': 'http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/1.07/build/agsjs' } }; </script> require([ "esri/dijit/BasemapGallery", "dojo/_base/json", "dijit/layout/ContentPane", "dijit/TitlePane", "dojo/domReady!" ], function ( BasemapGallery, dojoJson,CP,TP ) { function createBasemapGallery() { //Manually create a list of basemaps to display basemaps.push(new esri.dijit.Basemap({ layers: [new esri.dijit.BasemapLayer({ type: 'GoogleMapsRoad' })], title: "Google Road", id: 'GoogleRoad', thumbnailUrl: "images/icons/GoogleRoads.jpg" })); basemaps.push(new esri.dijit.Basemap({ layers: [new esri.dijit.BasemapLayer({ type: 'GoogleMapsSatellite' })], title: "Google Satellite", id: 'GoogleSatellite', thumbnailUrl: "images/icons/GoogleSatelite.jpg" })); basemaps.push(new esri.dijit.Basemap({ layers: [new esri.dijit.BasemapLayer({ type: 'GoogleMapsHybrid' })], title: "Google Hybrid", id: 'GoogleHybrid', thumbnailUrl: "images/icons/GoogleHybrid.jpg" })); } var basemapGallery = new BasemapGallery({ showArcGISBasemaps: true, basemaps: basemaps, bingMapsKey: "Au4pcSZ", google: { apiOptions:{ // google api options. v: 3.6, } }, map: map }, "basemapGallery"); }); some code is not there.please help.Beacuse on my click event all other base map change even bing map com on click basemap gallery.only google map not come.please help.
... View more
04-17-2016
02:46 AM
|
0
|
0
|
2295
|
|
POST
|
Dear Robert, Always you help me.For this thanks in advance. mp=esri.geometry.webMercatorToGeographic(evt.mapPoint); the above statment i am using to get my point in geographic coordinates.my base map is bing map.thats why i want to get my point in geogaphic and want to store in geodatabase.the next below statment var myGeom = esri.geometry.geographicToWebMercator(pt) to display my point inside my extant.otherwise my point goes outside my extent.these are the reason i am using these two statments.the next thing i have nearly 15 attributes in my feature layer and in all null is allowed. var attr = {"x_coordinate":evt.mapPoint.x,"y_coordinate":evt.mapPoint.y,"office_id":"1000",office_nam:" new office"}; var addGraphic = new esri.Graphic(pt,null,attr,null); officeFeatureLayer.applyEdits([addGraphic], null, null, function (adds, updates, deletes) { dynamiclayer.refresh(); alert("Added feature successfully<br />OBJECTID: " + adds[0].objectId ); }); in my attr object i am using only 5 attributes.that can be the reason that my alert show adding record successfully,but record actully not going to geodatabase feature class.please help.
... View more
04-08-2016
09:03 AM
|
0
|
4
|
1080
|
|
POST
|
Dear All the below code is adding new record in my feature layer var officeFeatureLayer=new esri.layers.FeatureLayer("http://myserver/arcgis/rest/services/myservice/FeatureServer/0"); var mp=esri.geometry.webMercatorToGeographic(evt.mapPoint); var pt = new esri.geometry.Point(evt.mapPoint.x, evt.mapPoint.y, new esri.SpatialReference({ wkid: 4326 })); var myGeom = esri.geometry.geographicToWebMercator(pt); pt=myGeom; var attr = {"x_coordinate":evt.mapPoint.x,"y_coordinate":evt.mapPoint.y,"office_id":"1000",office_nam:" new office"}; var addGraphic = new esri.Graphic(pt,null,attr,null); officeFeatureLayer.applyEdits([addGraphic], null, null, function (adds, updates, deletes) { dynamiclayer.refresh(); alert("Added feature successfully<br />OBJECTID: " + adds[0].objectId ); }); when i execute the code my alert give me message successfully and objectID give me the exact id of total number of records in feature class plus one.but i could not find the record where it is going in geodatabase.Any idea in whice table it is stored.i am not using any attribute inspector.i have my own custom form from whict i am getting my values.please help. thanks in advance.
... View more
04-07-2016
05:23 AM
|
0
|
8
|
4122
|
|
POST
|
Dear Robert, My function defination: function getDistance (p1,p2,callback) { var distParams = new esri.tasks.DistanceParameters(); distParams.distanceUnit = esri.tasks.GeometryService.UNIT_STATUTE_MILE; distParams.geometry1 = p1; distParams.geometry2 = p2; distParams.geodesic = true; var gsvc= new esri.tasks.GeometryService("http://myserver/arcgis/rest/services/Utilities/Geometry/GeometryServer"); gsvc.distance(distParams,function(response){ callback(response); }); } function calling: var dist1; getDistance(clickedPt,gp.geometry, dojo._base.lang.hitch(this, function(dist){ dist1=dist; alert("inside"+dist1); })); alert("outside"+dist1); outside nothing show.inside alert show values.i want this outside callback block. Thanks.
... View more
04-03-2016
09:32 PM
|
0
|
0
|
1351
|
|
POST
|
Dear Robert, I call my function same like you explain above statment alert("outside"+dist1);not giving any result. alert("inside"+dist1);giving result. so i am still stuck for scope variable.
... View more
04-03-2016
12:20 AM
|
0
|
2
|
1351
|
|
POST
|
var dist1; getDistance(clickedPt,gp.geometry,function(dist){ dist1=dist; alert("inside"+dist1); }); alert("outside"+dist1); result inside block shows.but outside undefined.how to get dist outside from get distance block.dist1 undefined.Please help what can be the reason. Thanks
... View more
03-28-2016
02:47 AM
|
0
|
6
|
5025
|
|
POST
|
circle = new esri.geometry.Circle({center:clickedPt,geodesic: true,radius:parseInt($('#cmbBuffer').combobox('getText')),radiusUnit: strUnit}); query = new esri.tasks.Query(); query.returnGeometry = true; query.outFields = ["*"]; query.geometry = circle.getExtent(); //query.spatialRelationship = esri.tasks.Query.SPATIAL_REL_CONTAINS; queryTask.execute(query,selectInBuffer1); the above code i am using to draw a circle and then get the feature from inside the buffer.It returns me some points.Some are inside and some are out side.i dont want point outside from buffer.what can be the reason.i am using bing map as a base map.that can one of the reason might be.please help.the result map is attached. thanks in advance.
... View more
03-24-2016
04:14 AM
|
0
|
1
|
2244
|
|
POST
|
function showInfoWindow(resultset, mpPoint) { try { strContent = ""; var strHeader = "<tr height=40px><th align=center bgcolor=#027895><font color=#000000>رقم صافرة الإنذار</th><th align=center bgcolor=#027895><font color=#000000>المنطقة</th><th align=center bgcolor=#027895><font color=#000000>المحافظة</th><th align=center bgcolor=#027895><font color=#000000>المدينة</th><th align=center bgcolor=#027895><font color=#000000>نوع الموقع</th><th align=center bgcolor=#027895><font color=#000000>الوصف</th><th align=center bgcolor=#027895><font color=#000000>موقع الصافرة</th><th align=center bgcolor=#027895><font color=#000000>خط الطول</th><th align=center bgcolor=#027895><font color=#000000>دائرة العرض</th><th align=center bgcolor=#027895><font color=#000000>رقم النطاق</th></tr>"; strContent = strContent + "<tr>" + "<td align=center >" + "<a href=Images/images/" + resultset.features[0].attributes.SIREN_NO + ".jpg" + " target=_blank >" + resultset.features[0].attributes.SIREN_NO + "</a> " + "</td>" + "<td align=center>" + resultset.features[0].attributes.Reg_A + "</td>" + "<td align=center>" + resultset.features[0].attributes.Prov_A + "</td>" + "<td align=center>" + resultset.features[0].attributes.City_A + "</td>" + "<td align=center>" + resultset.features[0].attributes.Feature_Ty + "</td>" + "<td align=center>" + resultset.features[0].attributes.Descriptio + "</td>" + "<td align=center>" + resultset.features[0].attributes.Location + "</td>" + "<td align=center>" + resultset.features[0].attributes.POINT_X + "</td>" + "<td align=center>" + resultset.features[0].attributes.POINT_Y + "</td>" + "<td align=center>" + resultset.features[0].attributes.Zone_No + "</td>" + "</tr>"; map.infoWindow.resize(strHeader.length, strHeader.length); strHeader = "<table border='5'>" + strHeader + strContent + "</table>"; map.infoWindow.setContent(strHeader); map.infoWindow.show(map.toScreen(mpPoint), map.getInfoWindowAnchor(map.toScreen(mpPoint))); } catch (err) { txt = "There was an error on this page.\n\n"; txt += "Error description: " + err.message + "\n\n"; txt += "Click OK to continue.\n\n"; alert(txt); } } same code works for other places.pls help.
... View more
03-05-2016
01:38 AM
|
0
|
1
|
2296
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-04-2020 12:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
05-30-2023
10:23 PM
|