|
POST
|
@umarani You should be able to simplify your gradle build file. Local jar files go in the libs folder at the root of your module directory. In Android Studio you need to add the jars as a gradle dependency. This should have been added to your gradle build file as follows:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
You shouldn't need to create a task to include pre-built native libs. Local pre-built native libs go in the jniLibs folder in your modules /src/main/ folder. There is no need to add a gradle dependency when using this folder. Native libs outside this folder would require a gradle dependency. [ATTACH=CONFIG]33499[/ATTACH]
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.0.3"
defaultConfig {
minSdkVersion 15
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
packagingOptions{
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:19.+'
}
... View more
04-30-2014
04:28 PM
|
1
|
0
|
1946
|
|
POST
|
No. I´m just testing a code. This feature only works after the app was licenced ? You do not need to license your app to use API in developer mode. I try to run this code with runtime 10.2.3 (using the new ExportTileCacheTask class instead TileCacheTask) but I got the error below com.esri.core.io.EsriSecurityException: Unauthorized access to a secure service - http://tiledbasemaps.arcgis.com/arcg...iles/submitJob You need to generate a token to use this service.
... View more
04-30-2014
04:05 PM
|
0
|
0
|
1331
|
|
POST
|
I know, I am not license my app at Stand level, so it's not work... You can use the entire API in developer mode. I also had a problem updating geodatabase in version 10.2.2 - because my geodatabase was created from the ArcMap Did you specifically create a Runtime Geodatabase? You have to enable ArcGIS Runtime Tools in ArcMap to share as runtime content.
... View more
04-30-2014
03:44 PM
|
0
|
0
|
1564
|
|
POST
|
Ok so you are able to get the lat/lon, you issue now is why your calculateDirection() method is throwing an exception? Both points need to be in the same projection as your RouteParameters projection. From your code it looks like your Map is in wm but your stop point representing your graphic is in egs. It does seem like your original question has been answered in so far as getting lat/lon from graphic. I agree @sgillUS that you should start a new thread about your routing code if you continue to get this exception and we will work to resolve it from there.
... View more
04-30-2014
01:19 PM
|
0
|
0
|
1936
|
|
POST
|
Looks like the original code returns projected coordinates and you used GeometryEngine to convert to lat/lon. If that is the correct position of your graphic than it sounds like your first question is solved as @sgillUS suggested. Your second issue is caused by the fact that the return of the conversion to geographic cs is not a valid stop point on the network as it is in the pacific ocean and throwing the exception.
... View more
04-30-2014
11:48 AM
|
0
|
0
|
1936
|
|
POST
|
Deprecation Update: ArcGIS 10.2.3 will be the last release of ArcGIS Runtime SDK for Android that supports Android version 2.3 API level 10. The next release of the SDK will support Android 4.0.3 API level 15 and above. Please use this thread to share any concerns or comments with this deprecation notice. More information about the deprecation Plan for ArcGIS 10.1 and ArcGIS 10.2 can be found in this knowledge base article.
... View more
04-23-2014
02:07 PM
|
0
|
0
|
527
|
|
POST
|
Is there any solution to use these functions without update the ArcGIS server? This sample demonstrates the services pattern for generating a runtime geodatabase from a feature service.
... View more
04-22-2014
08:00 AM
|
0
|
0
|
1824
|
|
POST
|
Please update to the latest release of ArcGIS Runtime SDK for Android here. View our blog post which details some of the new features and release notes for v10.2.3. Happy Coding!
... View more
04-22-2014
07:52 AM
|
0
|
1
|
576
|
|
POST
|
We have a MapRotation sample for your reference provided by the SDK. Please have a look and let us know if this sample answers your question.
... View more
04-08-2014
02:33 PM
|
0
|
0
|
714
|
|
POST
|
The reason why the app runs when you comment out the mMapView.addLayer(tileLayer) is that the MapView's basemap is set in XML. Open up the /res/layout/main.xml file and comment out all the mapoptions parameters. Your XML should look like this: <!-- MapView layout, including basemap layer, initial center point, and zoom level -->
<com.esri.android.map.MapView
android:id="@+id/map"
android:layout_width="fill_parent"
android:layout_height="fill_parent" /> I can confirm that the url you provide resolves to http://b.tile.cloudmade.com/myKey/1/256 at runtime. I responded to your GIS Stackexchange question as well.
... View more
04-08-2014
02:26 PM
|
0
|
0
|
386
|
|
POST
|
You are most likely seeing the grid because you are not zoomed into the Level of Detail you downloaded.Did you attempt to download without selecting levels in the sample? A quick look at the layer compact cache you attached shows you downloaded levels 0 - 9 and your json description is valid. Did you select those 10 levels? I noticed that the sample will start the download if you have not selected levels which I will fix and republish. You are correct in suspecting that the levels parameter are doubles representing the level of detail available in the tile service. The service provided in the sample has 10 levels of detail available as described in the service description here.
... View more
03-19-2014
09:14 AM
|
0
|
0
|
617
|
|
POST
|
In Eclipse, Right Click the Project and select ArcGIS Tools > Convert to ArcGIS Android Project. Refer here for more information about ArcGIS Feature tools in the Eclipse plugin.
... View more
03-07-2014
10:55 AM
|
0
|
0
|
551
|
|
POST
|
We have found the memory leak and it will be fixed in our next release, v10.2.2. Thanks for everyone's help and patience with this issue.
... View more
03-07-2014
10:28 AM
|
0
|
0
|
1973
|
|
POST
|
Not sure I fully understand what you are trying to do with respect to the Android SDK but in general when you update tiles in a compact cache, the entire bundle is not re-created. This post provides more detail.
... View more
02-03-2014
01:00 PM
|
0
|
0
|
604
|
|
POST
|
After updating the SDK to version 10.2 we encounter a new problem which causes the app to freeze Are you saying that an app that worked as expected prior to 10.2 and after updating the app to 10.2 the issue started? Has the source code for the app not changed only updating to 10.2 libraries? Can you share any source to reproduce this issue?
... View more
02-03-2014
10:55 AM
|
0
|
0
|
1973
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2014 11:13 AM | |
| 1 | 04-29-2015 06:36 PM | |
| 1 | 09-15-2014 12:01 PM | |
| 1 | 06-02-2017 04:43 PM | |
| 1 | 01-21-2015 07:00 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|