Ignore:
Timestamp:
Dec 18, 2013 11:42:04 AM (10 years ago)
Author:
nanang
Message:

Re #1716: Misc fixes/updates on Android app based on pjsua2+SWIG, e.g: fixed java string comparisons, added build config for ndk-build (for native debugging), updates on SVN props.

Location:
pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/java/android
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/java/android

    • Property svn:ignore
      •  

        old new  
        11bin 
        22gen 
         3obj 
         4.cproject 
  • pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/java/android/src/org/pjsip/pjsua2/app/MainActivity.java

    r4693 r4697  
    2626import android.content.DialogInterface; 
    2727import android.content.Intent; 
     28import android.content.pm.ApplicationInfo; 
    2829import android.view.LayoutInflater; 
    2930import android.view.Menu; 
     
    8384                if (app == null) { 
    8485                        app = new MyApp(); 
     86                        /* Wait for GDB to init */ 
     87                        if ((getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0) { 
     88                                try { 
     89                                        Thread.sleep(5000); 
     90                                } catch (InterruptedException e) {} 
     91                        } 
     92                         
    8593                    app.init(this, getFilesDir().getAbsolutePath()); 
    8694                } 
     
    128136        @Override 
    129137        public boolean onOptionsItemSelected(MenuItem item) { 
    130                 CharSequence str = item.getTitle(); 
    131138                switch (item.getItemId()) { 
    132139                case R.id.action_acc_config: 
     
    368375                                                buddyListSelectedIdx = -1; 
    369376                                } else { 
    370                                         if (old_cfg.getUri() != cfg.getUri()) { 
     377                                        if (!old_cfg.getUri().equals(cfg.getUri())) { 
    371378                                                account.delBuddy(buddyListSelectedIdx); 
    372379                                                account.addBuddy(cfg); 
Note: See TracChangeset for help on using the changeset viewer.