RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
04/08/14 09:53 AM (10 years ago)

Insert Enum Identifier to complete enumHeader

Syntax Error: Insert enum identifier to complete enumHeader? In the BT_activity host, line 177 where it reads .canUseGPS(){ , the second parenthesis has a red line under it. //Save battery! We remember the last reported location in the app's delegate so we don't have to turn on the GSP for every screen... (!myprojectname_appDelegate.foundUpdatedLocation && myprojectname_appDelegate.rootApp.getRootDevice().canUseGPS(){ if(myprojectname_appDelegate.rootApp.getStartLocationUpdates().equalsIgnoreCase("1")){ BT_debugger.showIt(activityName + ": start GPS is set to YES in the applications configuration data, trying to start GPS"); if(!BT_strings.getPrefString("userAllowLocation").equalsIgnoreCase("prevent")){ BT_debugger.showIt(activityName + ": user has not prevented the GPS from starting using a BT_screen_settingsLocation screen"); //trigger method... this.getLastGPSLocation();
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
04/08/14 01:19 PM (10 years ago)
The first line you mention is No. 148 at my BT_activity_host file. In yours, it is number 177 which should mean that you have changed and added almost 30 lines to BT_activity_host file. See what is the difference between the original BT_activity_host and your current version of BT_activity_host. What you have added contains some kind of error that may be seen only dozens of lines later...
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.