在myreceiver.js中 if (action.equals("2dm.intent. PreferenceManager. RegId = sharedPreferences.getString("reg", "trit:") SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()) ![]() RegInt.putExtra("sender", "xxxxxxxxxxxx") The default preferences for any app can be accessed using the PreferenceManager class and should be used to store settings data that has an effect on the app as. getBoolean(key, defaultValue) preferences.get. RegInt.putExtra("app", PendingIntent.getBroadcast(MY_dashboard.this, 0, new Intent(), 0)) parse Preference file SharedPreferences preferences context.getSharedPreferences(. ![]() 我正在使用下面的代码 Intent RegInt = new Intent("") NPE on PreferenceActivity.getBoolean Issue 2788 TeamAmaze/AmazeFileManager GitHub Issue explanation (write below this line) Exception App Name: Amaze File Manager Package: Version: 3.6.1 User Action: UI Error Request: Application crash OS: Linux lge/mdh50lm/mdh50lm:10/QKQ1.200216.002/210921457b00. RegInt.putExtra("app", PendingIntent.getBroadcast(MY_dashboard.this, 0, new Intent(), 0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |