Tabris 0.11 iOS EXC_BAD_ACCESS Geolocation -


first of all: got such , fast feedback guys few days ago.

i'm still playing around in tabris 0.11 , tried implement geolocation guys did in demo project.

everything working great on android, under ios (iphone 5) error

exc_bad_access (code=1, address=0xbbadbeef) 

here how code looks like

public void create( composite parent, uicontext context ) {     // creation of layout types     createlayouts();     parent.setlayout( gridlayoutfactory.filldefaults().margins( 0, 0 ).spacing( 0, 0 ).create() );     createcontainer( parent );     createbrowser();        }  private void createlayouts() {     layoutgrid = new gridlayout();     layoutgrid.numcolumns = 1;     layoutgriddata = new griddata();     layoutgriddata.horizontalalignment = griddata.fill; }   private void createcontainer( composite parent ) {     [...]     containerbrowser = new composite( parent, swt.none );     containerbrowser.setlayout( layoutgrid );     containerbrowser.setlayoutdata( new griddata( swt.fill, swt.fill, true, true ) );     [...]   }    private void createbrowser() {      browser = new browser( containerbrowser, swt.none );      browser.setlayoutdata( new griddata( swt.fill, swt.fill, true, true ) );      lastlat = 48.775418;      lastlon = 9.181759;      setbrowserurl( lastlat, lastlon);   }    private void setbrowserurl( double lat, double lon) {      stringbuilder builder = new stringbuilder();      builder.append( "http://open.mapquestapi.com/staticmap/v4/getmap" );      builder.append( "?size=" + 200 + "," + 200 );      builder.append( "&zoom=16" );      lastlat = lat;      lastlon = lon;      builder.append( "&center=" + lat + "," + lon );      builder.append( "&imagetype=png" );      if( lastlabel != null ) {        builder.append( "&pois=" + lastlabel + "," + lat + "," + lon + ",0,0" );      }      browser.seturl( builder.tostring() );   } 

i'm not experienced in ios, hope information helps guys.

thanks in advance, toby

with example you've provided, not reproduce problem. maybe seeing issue in pre-release tabris 0.11 client. issue might fixed in final tabris 1.0 release.

i suggest download tabris 1.0 ( http://developer.eclipsesource.com/tabris/downloads/ ) , try again.

if still have problem, send "device log" of crashed app using "xcode organizer".


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -