ios,google,sdk,mapsRelated issues-Collection of common programming errors


  • Daniel
    ios memory-management xcode5
    I am new to Objective C so this code is probably not written that well. When the app is launched, it calls the following code if it has not been saved into the phone yet. When it starts to loop through the while loop, the app crashes on any phone the is not the iphone 5s. I think this is due to the memory usage. I believe that inside the while loop, when the NSMutableString (movieTitle) is created, is where the memory spike is. I should also add that the amount of times the loop is iterated is a

  • user2541100
    ios audiounit
    I am playing sound file(.caf) that play and make sine waves like audiounit and augraph works. It is playing fine and showing sine waves perfectly in simulator. But when i run it on iPad it is not working(no sound and no waves).I have tried many things but nothing works. But i do analyse one thing that when i run it on simulator Bool value is Stereo is Yes.But when it runs on iPad is Stereo becomes NO and number of channels becomes 1 from 2.Any help would be appreciated.My code is -static OSStatu

  • Kara
    ios xcode core-data memory
    With my App I have a pre-populated sqlite DB that I created using core data from another app I created so the Data model is the same. I copy it over and everything works great. I tried it on every iOS device that can run iOS 6.0 because that is what I am building for. Even on the early iPod Touches the App works. It takes around 45 secs for the DB to copy over on the older devices. The app works all the data is there and all devices the tests were great and no issues. I released the app on

  • Ricardo Cerqueira
    ios xcode crash cocos2d adhoc
    my app runs fine on development mode, but for some reason on ad hoc i get a crash right after loading screen.I really can’t understand what could be wrong, any tips on how to test it better?Apple rejected it with this message:We found that your app failed to launch on an iPhone 5 and iPad 3rd gen running iOS 6.1.3, on both Wi-Fi and cellular networks.We encountered the issue when selecting the application on the Home screen – the app displayed a launch image then quit unexpectedly. This may be b

  • zakishaheen
    ios crash google-analytics crash-reports
    I get the following crash (0x8badf00d) because of something to do with Google Analytics SDK 1.1. What’s also strange is that iOS killed it in just 1 second?I initialize the tracker like this:[[GANTracker sharedTracker] startTrackerWithAccountID:kGANWebPropertyID dispatchPeriod:kGANDispatchPeriodSec delegate:self];Here is the crash logIncident Identifier: 5459E916-5306-408A-A630-F405DFD97711 CrashReporter Key: 20ac546c31144c5f86de428ce3332012ab604d49 Hardware Model: iPhone3,1 Process:

  • raulCab
    ios
    I am building an app that send data when the user enters in the background. It also uses geofencing. When the user enters or exits a geofence I call an API. Sometimes when I open the app from the background it just shows a black screen and it is completely frozen. I have to kill it and start it again.I think the issue is when I call the API when the user enters the background. In the applicationDidEnterBackground I am calling a method call createJSON:NSData *jsonData = [NSJSONSerialization data

  • Rakhe Kara
    ios iphone objective-c cocoa-touch
    Actually this crash is not reproducing every time, even not frequently but we got this crash in our production app. I am not sure where is the problem. It is telling crash is happening in thread 4 in Environments class line number 38.Code:NSBundle* bundle = [NSBundle mainBundle];NSString* envsPListPath = [bundle pathForResource:@”Environment” ofType:@”plist”];Line 38: NSDictionary *environments = [[NSDictionary alloc] initWithContentsOfFile:envsPListPath];But according to exception type:00000020

  • Sean Freitag
    ios xcode xctest
    When running integration tests w/ live requests against a server, sometimes I get the following crash. Does anyone have an idea why?I’m currently on OS X Mavericks and running these tests on the iOS 7.0.3 SDK and Jenkins.2014-01-23 14:55:47.178 xctest[74229:303] 200 <- https://site/30012.zipjson?deltadate=2014-02-22T16%3A31%3A56.000Z&encrypt=N 2014-01-23 14:55:47.186 xctest[74229:303] GET -> https://site/30012.zipjson?deltadate=2014-02-22T16%3A31%3A56.000Z&encrypt=N 2014-01-23 14:5

  • Musterknabe
    ios objective-c
    I have the following problem. I have a Model, called User. When the user now logins with Facebook, my app checks if the user exists already in the database. To not freeze the UI (since I’m coming from Android) I thought to use NSURLConnection sendAsynchronousRequest. What worked at first was the following:My User Model had a method to do the whole task of the AsynchronousRequest and then when finished would set a variable to loading. Then other classes, could simply check with while ( !user.loa

  • Ben L.
    ios core-data crash game-center gamekit
    I have an iOS app that consistently crashes when you try to delete a GKTurnBasedMatch using [match removeWithCompletionHandler:^(NSError *error){}];When the completion handler is called, error is nil, meaning that it successfully deleted the match. The match does get deleted (it never re-appears), but at the same time, gamed (the background daemon written by apple that communicates with GameCenter servers) crashes. Here is what I see in the Console when I delete a game:Jan 19 20:47:22 Ben-L-iPho

  • Hedde
    seo google indexing multilingual django
    I am trying to create a multilingual website using the Django framework, all default content is English. I have added a native translation (Dutch).https://mydomain.com/ redirects to the user request language setting. (This is default behaviour by adding Django’s LocaleMiddleware)LocaleMiddleware tries to determine the user’s language preference byfollowing this algorithm:First, it looks for the language prefix in the requested URL. This isonly performed when you are using the i18n_patterns funct

  • Prateek Chachra
    seo google google-webmaster-tools search
    So i have this website-www.listen2science.com, a few days back i installed a plugin called seo for wordpress and posts of my site appeared on the top pages of google, but now even if i copy the whole of the title and search it doesnt appear in any result. Why is it happening? Also my site index on webmasters is zero still when i search for site:listen2science.com all my posts appear. And also if i search for my domain mine is the first result that comes so it turns out my site isnt blacklisted.

  • phwd
    google
    My brother and I used to play Star Fox 64 when we were kids, and when we did dog fights, we always loved doing barrel rolls so I decided to search for the quote that they always said the game in tutorial. So I start typing “do a” and well Google started auto-completing it for me. That’s good so before I move to the suggested item Google decides it is going to make me sick.I know Easter eggs are all good and great but now I am afraid for when I need to search Google that something happens unexpec

  • Alex
    google security spam
    I have just received an email from Google wherein they are asking for my physical address so that I can continue to use my Google Wallet account. This is strange since I have never used Google Wallet. What will happen if I don’t supply the address? I have no idea what Google Wallet is because I only use Gmail, Google App Engine API, Google Docs, and a Google account to sign into StackExchange websites. What is the purpose of Google Wallet and what does it have to do with email, GAE API, Docs, a

  • ivan
    linux svn google
    I’m using RabbitVCS to work with Google Code, and I just recently started having problems with trying to commit. Whenever I try to commit, it says…Commit failedServer sent unexpected return value (500 Internal Server Error) in response to Checkout request for (some file that is involved in the commit. The file it fails on isn’t consistent).I have no idea what is wrong, any help is appreciated, thanks.

  • naxa
    privacy google
    As Google Glass slowly starts shipping, I’ve recently came across an article on stopthecyborgs.org that mirrors my anxieties that Google Glass currently does not feature a robots.txt for my face. It is absurd that while I can protect my website’s privacy, as it currently stands, I cannot do this with my face anymore.Personally, I would like a robots.txt for my face to be an opt-in feature, not an opt-out feature. From a privacy stand-point, the glass should only transmit any data about people i

  • Simon_eQ
    privacy google
    I am curious because, I experienced something bizarre recently. About a month ago, someone asked me to find out a price for a T-shirt printing machine, and probably for the first time, I pressed these keys and started searching, searching, for long and many found many results only using through the Google search engine. But now, even after two weeks has passed.. I see almost all the Google ads in the site I visit including YouTube have been changed, and only advertise T-shirt printing machine. L

  • CrazyLunatic
    php api google
    I’m an amateur programmer (self-taught). Anyway, this class provides a few methods to access Google’s unofficial weather API. I’m having trouble on how to go about handling parsing errors in parse_xml() so any suggestions there would also be helpful.<?phpclass weather {private $_location;private $_url = ‘http://www.google.com/ig/api?weather=’;private $_isParsed = false;private $_wData;public $lastError;public function __construct( $location) {// Set location$this->_location = $location;//

  • Stephen Ostermiller
    google google-webmaster-tools apache sitemap linux
    I have a website with httpd (front end) and Apache tomcat (back end).I’m trying to install Google Sitemap Generator and create sitemap for the website.I followed the following link for installation:http://googlesitemapgenerator.googlecode.com/svn/trunk/doc/gsg-installation.htmlBut I’m not able to load http://server:8181, it is showing a blank page.My system details are: CentOS release 5.4 (Final) httpd-2.2.3-65.el5.centos apache-tomcat-6.0.37I’m using mod_jk connectors for connecting Apache and

  • benmmurphy
    java google sandbox
    Does anyone know how the AppEngine sandbox is implemented? I heard they use a SecurityManager with Java but surely they are using another layer as well like LXC. I’ve looked at the whitelist and there are a lot of classes that: commonly used in exploit chains because they have security flaws that Oracle refuse to fix (ScriptEngine) had numerous security problems recently and still quite a big unknown (java.lang.invoke.*) had security issues recently and in the past (java.util.concurrent.*, javax

  • Dylan Beattie
    .net-4.0 msbuild sdk
    I’m setting up .NET 4.0 support on our CI server. I’ve installed .NET 4.0, and the .NET tools from the Windows 7.1 SDK.On .NET 2.0 and 3.5, that just worked. With .NET 4, when I run the “Windows SDK 7.1 Command Prompt” from the Start menu, it complains about The x86 compilers are not currently installed. x86-x86 Please go to Add/Remove Programs to update your installation. . Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.1 \. Targeting Windows Server 2008 x86 Debu

  • Alex Cohn
    android sdk android-ndk shared-libraries sound-api
    I am trying to use a .so library (http://illiri.com/api.html) inside my android application. I have copied the .so files in libs folder (libs/armeabi, libs/armeabi-v7a, libs/mips, libs/x86), and loading libraries as,System.loadLibrary(“crypto”); System.loadLibrary(“ssl”); System.loadLibrary(“sapi”);But I am getting this error in stack trace.08-26 11:17:24.677: E/dalvikvm(25747): Could not find class ‘com.illiri.sapi.SAPIConnection’, referenced from method com.ey.illiritest.MainActivity.onCreate0

  • Reg
    java android sdk
    I want to create a soundboard, so when you click on button it plays the sound. @Override protected void onCreate(Bundle savedInstanceState) {// TODO Auto-generated method stubsuper.onCreate(savedInstanceState);setContentView(R.layout.akali);Button b = (Button) findViewById(R.id.akaliJokeButton);b.setOnClickListener(new OnClickListener() {public void onClick(View v) {MediaPlayer mp = MediaPlayer.create(Akali.this, R.raw.akalijoke);mp.start();}});}That is my code that I have so far. But I get a no

  • user2507201
    android sdk alfresco sample
    i am testing the sdk samples app from alfresco android sdk under a AVD, i am using alfresco community edition 4.2, when i enter a wrong Hostname i get the message “failed to log in. please check your settings”, but when i enter the correct host name, the app crashes and i get the message “Unfortunately, SDK Samples has stopped.” then it restarts…there is this one time, i entered the correct host name and the app connected to the alfresco server without any problem, but when i tried a second ti

  • Kevin Sleegers
    android sdk augmented-reality metaio
    I’ve been trying to get some AR (Augmented Reality) SDK’s working in a Fragment. However, I can’t seem to get it working.I’ve found some code of someone who has got Metaio (AR Framework) working in a fragment.So I’ve applied that code to my own project, it is working but the code is not programmed to scan a picture. I want to scan a picture mark with it. I copied some code to scan a picture mark from a Sample Project of Metaio, but it doesn’t work.Right now it is failing at (Debug logs after tha

  • Graybeards
    eclipse sdk android-emulator avd android-x86
    i install avd and eclips succesfuly in windows 7 64bit API 15 Android 4.0.3 GPU emulation : yes HAX is ok AND Cpu x86 atom 1024 mb ram accomaltor proxmy fieldeverything is good and activating google paly store(vending.apk) google login services , google services….. in /system/app but when in install every games its stop and show me unfortunatly “game” stop! i capture one of logcat of games to you! i think some runtime erorr hapening how solved?? please say minimal requarment to my emulator

  • alfa64
    java android sdk emulator
    i’ve been 24 hours nonstop trying to sort this out with no luck. At first it worked slow, but worked. Then Eclipse started to have errors connecting with the emulator and then the emulator by itself just shows ANDROID_ forever. ( forever as in two hours) What i’ve tried in this 24 hours:-reinstalling eclipse,sdk,jdk.-deleting .android folder in document and settings.-waiting 2 hours for the emulator to work by itself.-downloading the 2.2 image and the 2.2.3 image, also 1.6, none works.Can you te

  • Ezequiel
    ios facebook facebook-graph-api video sdk
    I have an app that posts native (MOV files) video to Facebook using the Facebook SDK for iOS. It worked without problems till a few weeks ago where it started failing with the following error:error = {code = 352;message = “(#352) Sorry, the video file you selected is in a format that we don’t support.”;type = OAuthException;};The full error string is:Error Domain=com.facebook.sdk Code=5 “The operation couldn’t be completed. (com.facebook.sdk error 5.)” UserInfo=0x1ea42880 {com.facebook.s

  • LxSwiss
    android facebook post sdk share
    I’ve already searched google and stackoverflow but I can’t find a solution. I’m trying to integrate facebook into my App so users can suggest new Beer Brands directly to my facebook fanpage thorugh my app. Because right now I’m getting like 3 e-mails a day where users suggest new beer brands.What I did: – Created a facebook developer account, enabled Native Android app and inserted the Key-Hash etc. – downloaded and integrated the facebook sdk. – addet internet permission – integrated the follo

  • Paris Charilaou
    php facebook api sdk
    I get this error on random occasions:Fatal error: Uncaught CurlException: 3: No URL set! thrown in /****/****/***/****/facebook/facebook-client/base_facebook.php on line 905I am using the latest php sdk from the GIT repository (downloaded today!). The user is already logged in facebook when this happens.This behavior started 2 weeks ago out of the blue.What can be wrong?UPDATE: When I delete all cookies associated with the domain, the problem is resolved. I think it has to do something with fbm_

  • Matt Logan
    php android json maps
    When Long Press on GoogleMAPv2, shows AlertDialogBuilder with edit fields where submit using Json object throwing null Pointer Exception, i have checked the connectivity and it is right(submit html giving correct response from Backend PHP and in mysql). I have no clue whats wrong with java code, please help. public class Map extends Activity implements OnMapClickListener,OnMapLongClickListener, QueryInterface {final Context context = this;final int RQS_GooglePlayServices = 1; private GoogleMap m

  • ebichuhamster
    android multithreading android-asynctask maps httprequest
    I’m reading up on multithreading on Android. I haven’t found my error.I have a map (copied from Android Map API v2 Demo app) which displays location. I have an AsyncTask I want to call from this activity but once i call it it immediately crashes. The asynctask is an httprequest encapsulation.First I placed myasynctask.execute() on the onConnected(..) function, but once the activity got started (the map tried to load) the app would crash.@Overridepublic void onConnected(Bundle connectionHint) {m

  • Raghunandan
    android maps android-maps-v2 android-location
    I am getting a Null Pointer Exception when I launch my google map. Not sure what the problem could be. The map was displaying before I tried to look for my current location. Now it just quits.package com.example.postplay;import android.location.Criteria; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.Menu; import com.google.android.gms.maps.CameraUpdateFactory; import com.goo

  • teenslayer
    android api maps fragment mapfragment
    I’m trying to create a simple tablet app with a listview of map items and a mapview that will pan to whatever location the specific map item selected is.I am currently able to use google maps android api v2 to create a map fragment that instantializes google maps on my application. But, when I add another fragment, it starts crashing.. I’m wondering if this has to do with the other fragment being an extension of fragmentactivity, while mapfragment is and extension of activity?Any idea how I can

  • John Hancock
    iphone maps
    I have a link in a jquery mobile web app that links to address. I’ve tried using apple’s map url scheme but have had not luck in getting the link to open in the iPhone’s map application. Currently, I have tried the following: <a href=”http://maps.apple.com/maps?q=dallas”>Map: 2001 Flora Street, Dallas</a> <a href=”http://maps.apple.com/maps?q=2001+Flora+Street,+Dallas,+TX”>Map: 2001 Flora Street, Dallas</a>Both links fail to open the iphone map application, and instead op

  • Jaydles
    ios ios-6 iphone-5 maps
    The initial release of Apple Maps is… challenged with regard to business listings, and lacks transit directions.But most of the other apps Tim Cook suggested in his apology fail to solve the problem: the straight-up GPS nav apps lack transit directions and have mediocre POI data, and the webapps are slow and lack many of the features of the native ones.What’s the best workaround until Google releases an iPhone native app (likely months) or Apple’s databases catch up (likely years)?

  • jprbest
    javascript maps
    I’m a beginner in google maps and JavaScript.I’m creating a random markers on google map using Maps API V3, I want to create a list on the side that contain all Markers Id so when i click on Marker ID it will zoom in, on the map to show the marker. specifically i want to know how to create that link in javascript thank you

  • ChrisF
    android eclipse maps
    I’m trying to follow this guide to get a simple map running: https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzwI’m getting lost at steps 6 and 8. Where do I put the “GooglePlayServices.util…” line and the “GoogleMap map =” line?I put them both in the androidmanifest.xml file before the final . The program runs but it then crashes when I try to open it both in an emulator and on my android device.Here’s my code.Activity_Main.xml:<fragment xmlns:android=”http

  • Sathya
    javascript autocomplete maps
    I have trouble setting my little application which uses the Google maps API 3.In detail: I want to use two features:Direction service: In order to calculate the route between two points and Autocomplete feature in the textboxes that hold the source and destination points.I have figured out that those two, need different script includes from google:Autocomplete Direction ServiceIf I add both in my <head> section, I get this warning:Warning: you have included the Google Maps API multiple tim

  • Laura Isabel
    netbeans java-me maps obfuscation proguard
    I have a midlet that uses Nutiteq maps and I developed it in Netbeans. I added the library jar to the project. Everything works fine. The problem is when I obfuscate, I get this:Note: duplicate definition of library class [javax.microedition.media.control.ToneControl] Note: duplicate definition of library class [javax.microedition.media.control.VolumeControl] Note: duplicate definition of library class [javax.microedition.media.Control] Note: duplicate definition of library class [javax.micro

Web site is in building