POST
|
Hello Thanks for your reply. In that case, I'll create my own popup to show the local image. Rgds Ong CF
... View more
10-24-2015
08:22 PM
|
0
|
0
|
193
|
POST
|
Hello I've come back to this question again after a while. Still couldn't figure out how to set the correct path for an image (Logo.png - resource in local bundle) to be displayed in a popup. The code below doesn't work - keep showing "No image to display". AGSPopupInfo *info = [AGSPopupInfo popupInfoForGraphic:graphic]; NSURL *url = [[NSBundle mainBundle] URLForResource:@"Logo" withExtension:@"png"]; NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:url.path, @"sourceURL", nil]; AGSPopupMediaInfo *mediaInfo = [AGSPopupMediaInfo popupMediaInfoWithTitle:@"Title" caption:@"Caption" type:AGSPopupMediaInfoTypeImage value:dict]; info.mediaInfos = [NSArray arrayWithObject:mediaInfo]; self.popupVC = [[AGSPopupsContainerViewController alloc] initWithPopupInfo:info graphic:graphic usingNavigationControllerStack:NO]; Thanks. Rgds Ong CF
... View more
10-22-2015
11:21 PM
|
0
|
2
|
2383
|
POST
|
Hello Tested with Xcode 7.0 and the problem remains - see screenshot below. Any solution yet? Thanks. Rgds Ong CF
... View more
09-19-2015
08:54 PM
|
0
|
2
|
678
|
POST
|
Hello Sorry I've a problem to insert the screenshot as mentioned above. Thanks. Rgds Ong CF
... View more
09-12-2015
06:06 PM
|
0
|
3
|
678
|
POST
|
Hello Sorry for my late response. I'm using Xcode 6.4 with Base SDK set to 'Latest iOS (iOS 8.4)' and the ObjC version. App crashed when it tried to work out the route after I've input the second point. I've attached a screenshot of the error trace. Could it because my iPhone is running on iOS 8.4.1 that is later than the Base SDK of iOS 8.4? Thanks. Rgds Ong CF
... View more
09-12-2015
05:58 PM
|
0
|
4
|
678
|
POST
|
Hello Did further testing. OK when I deploy it to iPad running iOS 8.3. But it crashes when I deploy it to iPhone 5s running iOS 8.4.1. Could the problem be due to iOS 8.4.1? Thanks. Rgds Ong CF
... View more
09-07-2015
12:21 AM
|
0
|
8
|
678
|
POST
|
Hello I've tested the OfflineRoutingSample. It works when I run it under Simulator in Xcode. But it crashes when I run it on my iPhone 5s. Any clue as what may be the cause of such a behaviour? Thanks. Rgds Ong CF
... View more
09-06-2015
11:35 PM
|
0
|
9
|
3756
|
POST
|
Hello I've used ArcGIS Desktop 10.2.1 to generate a local geodatabase and added it to my project. Please refer to below for the code I've used to access the geodatabase. However, I've encountered an error as shown below. NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *docsPath = [paths objectAtIndex:0]; NSString *path = [docsPath stringByAppendingPathComponent:@"route_points.geodatabase"]; NSError *err = nil; AGSGDBGeodatabase *gdb = [[AGSGDBGeodatabase alloc] initWithPath:path error:&err]; NSLog(@"error %@", err.description); error Error Domain=com.Esri.ArcGIS.ErrorDomain Code=10003 "SELECT ObjectID, Definition, Type FROM GDB_Items WHERE Name = ? collate nocase AND Type = ? Any idea what maybe the cause? Any solution? Thanks. Rgds Ong CF
... View more
01-28-2014
10:12 PM
|
0
|
2
|
2351
|
POST
|
Hi Mike Thanks for your reply. In that case, I've to wait until the next version of ArcGIS Desktop that can generate .geodatabase files for use in my own offline routing app. Rgds Ong CF
... View more
11-11-2013
02:54 PM
|
0
|
0
|
214
|
POST
|
Hello I've been exploring the OfflineRoutingSample that uses the 'RuntimeSanFrancisco.geodatabase' file and files in the 'RuntimeSanFrancisco.tn' folder. Is there any help/documentation to show how these files can be generated from sources created with ArcGIS Desktop such as '.gdb' or '.mdb' that contains the network dataset and associated features? Thanks. Rgds Ong CF
... View more
11-10-2013
01:59 AM
|
0
|
2
|
1973
|
POST
|
Hello Thanks for your suggestion. I've done more testing. Error appears when I run Simulator with a wired connection but not with WiFi connection. Hence, there's something with the wired connection here that blocks network stuff and causes the authentication error. Rgds Ong CF
... View more
11-06-2013
08:02 PM
|
0
|
0
|
536
|
POST
|
Hello I've done more testing. No error when I deploy and run the Webmap Sample on an actual device. The error appears only when I run it in Simulator. Any idea why that maybe the case? Thanks. Rgds Ong CF
... View more
11-04-2013
11:15 PM
|
0
|
0
|
536
|
POST
|
Hello After keying in the username (AGSSample) and password (agssample), I've got the following error: 2013-11-05 17:51:09.605 WebmapSample[846:70b] Error while loading webMap: The operation couldn�??t be completed. (com.Esri.ArcGIS.ErrorDomain error 498.) Before upgrading to SDK v10.2, I didn't get the above error. Thanks. Rgds Ong CF
... View more
11-04-2013
03:58 PM
|
0
|
0
|
536
|
POST
|
Hello Yes, I've keyed in the username (AGSSample) and password (agssample) in the correct case as indicated. The same problem with my own app after I've switched from SDK v10.1.1 u1 to v10.2. That's why I've tested the Webmap sample to confirm the problem. It seems that v10.2 has added some stuff that affected authentication. Please help! Thanks. Rgds Ong CF
... View more
10-31-2013
03:44 PM
|
0
|
0
|
536
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|