|
POST
|
This sample may be of help as well: developer-support/runtime-android/add-shapefile-as-featurelayer at master · Esri/developer-support · GitHub
... View more
01-14-2016
09:49 AM
|
1
|
2
|
1723
|
|
POST
|
Haven't researched it too much but based upon the information listed here in the API, it looks like you can work with shapefiles that exist in storage if you use the following class: ShapefileFeatureTable | ArcGIS Android 10.2.7 API You would need to know the file path on disk to where they are stored.
... View more
01-14-2016
09:36 AM
|
1
|
0
|
1723
|
|
POST
|
Upon even further testing, I think I have some evidence that helps show the difference between loading the image in as a drawable image asset and just as an asset. Using the code snippet above, the difference is noticable for the red shell icon. What do you think? Loading as a drawable, the shell looks blurry: Loading as an asset, the shell looks clear:
... View more
01-13-2016
08:03 AM
|
1
|
1
|
2444
|
|
POST
|
Hey Jeff, After testing this offline for a little bit, I believe that this might be a suitable workaround for you. I believe that if you store the image as an asset and then create it as a drawable at Runtime, you will get better results with the display of the image. new PictureMarkerSymbol(Drawable.createFromStream(getAssets().open("Shell-Red-Icon.png"), null)) I look forward to seeing how this works for you.
... View more
01-13-2016
07:39 AM
|
1
|
3
|
2444
|
|
POST
|
Since picture marker symbol inherits from marker symbol, I would believe that the setAngle(float angle) method from the markerSymbol would work. Here is the documentation that I used: MarkerSymbol | ArcGIS Android 10.2.7 API
... View more
01-13-2016
05:13 AM
|
1
|
2
|
1370
|
|
POST
|
Do you have the picture that you are trying to use available for us to test with?
... View more
01-13-2016
05:03 AM
|
1
|
5
|
2444
|
|
POST
|
I wrote something like this: public class MainActivity extends AppCompatActivity {
MapView mMapView;
GraphicsLayer mGraphicsLayer;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mMapView = (MapView) findViewById(R.id.map_view);
mMapView.setOnSingleTapListener(new OnSingleTapListener() {
@Override
public void onSingleTap(float v, float v1) {
Point point = mMapView.toMapPoint(v, v1);
int[] graphicIDs = mGraphicsLayer.getGraphicIDs(v, v1, 1, 1);
for (int i = 0; i < graphicIDs.length; i++) {
Log.d("NOHE", "GRAPHIC: " + graphicIDs);
}
mGraphicsLayer.setSelectedGraphics(graphicIDs, true);
}
});
mGraphicsLayer = new GraphicsLayer(mMapView.getSpatialReference(), mMapView.getMaxExtent(), GraphicsLayer.RenderingMode.DYNAMIC);
mGraphicsLayer.addGraphic(new Graphic(new Point(-8416452.130, 4628356.957), new PictureMarkerSymbol(ContextCompat.getDrawable(getApplicationContext(), R.drawable.ic_marker))));
mGraphicsLayer.setSelectionColorWidth(3);
mGraphicsLayer.setSelectionColor(R.color.selectionColor);
mMapView.addLayer(mGraphicsLayer);
}
} More logic is required for you to get it working exactly the way you want. The important portion here is the onSingleTap listener. You could modify this code to remove and add selections.
... View more
01-12-2016
06:59 AM
|
1
|
0
|
1453
|
|
POST
|
Hello, I believe that you would want to create your own search bar and when you press the search button you would want to populate the find parameters(FindParameters | ArcGIS Android 10.2.7 API ) with the text that was entered. Then you would want to fire off the FindTask(FindTask | ArcGIS Android 10.2.7 API ) Asynchronously and when it has completed, use the FindResult to display the results ( FindResult | ArcGIS Android 10.2.7 API ) Hope this helps!
... View more
01-07-2016
10:44 AM
|
1
|
1
|
970
|
|
POST
|
I believe this will be coming with the Quartz release: Quartz Beta 1 is Now Available! | ArcGIS Blog Based upon the comments in the blog, it looks as though 3D is slated for a later preview release as well, so it will not be featured in release 1 on the Beta.
... View more
01-04-2016
07:09 AM
|
0
|
0
|
897
|
|
POST
|
Hello, I believe that you would need to register your app with their developers site for the respective provider: Facebook Developers - Facebook for Developers Try Sign-In for Android | Google Sign-In for Android | Google Developers Twitter Developers Then I would believe that you would want to follow the guide located here (Designed for google): Integrating Google Sign-In into Your Android App | Google Sign-In for Android | Google Developers Once you get the sign in result after logging in, you could then allow the Map activity to start. This is noted in step 2 of the documentation. You could then plug into your field some identifying feature that describes the user. For google, you could use GoogleeSignInAccount.getDisplayName(); More samples are found in the documentation located here: Getting Profile Information | Google Sign-In for Android | Google Developers I hope this helps!
... View more
12-28-2015
05:19 AM
|
1
|
0
|
586
|
|
POST
|
Considering that this was awhile ago, it is a little fuzzy for me. I remember following a guide from Microsoft on how to go about repairing the framework. This might be of some help: How to repair an existing installation of the .NET framework https://support.microsoft.com/en-us/kb/306160 In addition, you may find this useful: Download Microsoft .NET Framework Repair Tool from Official Microsoft Download Center
... View more
12-23-2015
12:42 PM
|
0
|
1
|
8713
|
|
POST
|
I believe this to be a result of your application zooming in past zoom level 19. Recently, Esri updated our zoom levels to exceed zoom level 19. This will be more meaningful in future releases of data services from Esri. Hope this helps!
... View more
12-18-2015
09:31 AM
|
1
|
1
|
1086
|
|
POST
|
Hello, I believe that you are missing a compile in your dependencies here. My dependencies have this line in it: compile 'com.esri.arcgis.android:arcgis-android:10.2.7'
... View more
12-18-2015
09:19 AM
|
3
|
0
|
681
|
|
POST
|
Based upon your first error: "Error:(27, 30) error: package android.support.v7.app does not exist" You will probably need to configure your Gradle file to find support library 7. Information on how to do this can be found here: Support Library Setup | Android Developers
... View more
12-16-2015
06:52 AM
|
2
|
1
|
1772
|
|
POST
|
As a general overview of ArcObjects, I thought it was wonderful. It is really great at getting most of the common workflows and patterns understood.
... View more
11-30-2015
12:52 PM
|
2
|
0
|
2163
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-15-2014 03:16 PM | |
| 1 | 01-06-2015 03:33 PM | |
| 1 | 12-02-2014 10:47 AM | |
| 1 | 07-15-2014 03:31 PM | |
| 1 | 09-23-2014 03:59 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|