• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

App Crashes after Selecting from MultiSelectListPreference

 
Greenhorn
Posts: 1
Android MySQL Database PHP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good day My name is Sihle from South Africa

I am trying to make an app that accesses my phone contacts and displays the names of contacts in a MultiSelectListPreference and after clicking the 'OK' button the select should be added to a SharedPreference file
All i have explained above is done and completed successfully however after selecting the items in the list and clicking the OK button the App crashes and Logcat displays the following.



The Data is saved in the SharePreferences successfully but it is still crashing with the above error, Some internet solutions have suggested i delete the cache and all app data even after this the problem persists


Please see below Fragment hosting the MultiSelectListPreference



See below phonecontactpref.XML


reply
    Bookmark Topic Watch Topic
  • New Topic