S stefano cavallari Member Licensed User Longtime User Oct 21, 2019 #1 Good morning, I wanted information, a supplier of mine passed this ident to me to create a folder on SDcard. B4X: intent = new Intent("com.honeywell.ezconfig.intent.action.IMPORT_XML"); intent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT|Intent.FLAG_ACTIVITY_PREVIOUS_IS_TOP|Intent.FLAG_INCLUDE_STOPPED_PACKAGES); intent.putExtra("path", "/sdcard/honeywell/Provisioner.xml"); sendBroadcast(intent); is it possible to implement this ident on b4a? If I can, can you kindly explain how? Thanks in advance
Good morning, I wanted information, a supplier of mine passed this ident to me to create a folder on SDcard. B4X: intent = new Intent("com.honeywell.ezconfig.intent.action.IMPORT_XML"); intent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT|Intent.FLAG_ACTIVITY_PREVIOUS_IS_TOP|Intent.FLAG_INCLUDE_STOPPED_PACKAGES); intent.putExtra("path", "/sdcard/honeywell/Provisioner.xml"); sendBroadcast(intent); is it possible to implement this ident on b4a? If I can, can you kindly explain how? Thanks in advance
MarkusR Well-Known Member Licensed User Longtime User Oct 21, 2019 #2 see B4X: Dim Intent1 As Intent Intent1.Initialize Intent1.PutExtra Intent1.Flags StartActivity(Intent1) b4x use .Initialize instead of the "new" https://www.b4x.com/android/help/core.html#intent Upvote 0
see B4X: Dim Intent1 As Intent Intent1.Initialize Intent1.PutExtra Intent1.Flags StartActivity(Intent1) b4x use .Initialize instead of the "new" https://www.b4x.com/android/help/core.html#intent