Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2011 #1 The second beta (v1.57) is now online, at the same location. This version fixes all the issues discussed yesterday. Multiple widgets should work correctly now. PhoneEvents was refactored to remove the READ_STATE permission if it is not needed. Use PhoneEvents.InitializeWithPhoneState if you need the PhoneState event (the permission will be added in this case). There is also a new method: Phone.SendBroadcastIntent.
The second beta (v1.57) is now online, at the same location. This version fixes all the issues discussed yesterday. Multiple widgets should work correctly now. PhoneEvents was refactored to remove the READ_STATE permission if it is not needed. Use PhoneEvents.InitializeWithPhoneState if you need the PhoneState event (the permission will be added in this case). There is also a new method: Phone.SendBroadcastIntent.
agraham Expert Licensed User Longtime User Jul 13, 2011 #2 The help for PhoneEvents.InitializeWithPhoneState is wrong, it omits the EventName parameter. Also passing a PhoneID instance looks a bit odd as a PhoneID is not initialised to this particular phone, and anyway it doesn't seem to be used in the method (unless JD-GUI has missed it!). Upvote 0
The help for PhoneEvents.InitializeWithPhoneState is wrong, it omits the EventName parameter. Also passing a PhoneID instance looks a bit odd as a PhoneID is not initialised to this particular phone, and anyway it doesn't seem to be used in the method (unless JD-GUI has missed it!).
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2011 #3 The help is now fixed. Thanks. Also passing a PhoneID instance looks a bit odd Click to expand... I agree. The purpose of PhoneId here is to add the READ_STATE permission (which is added when you call Dim x As PhoneId). Upvote 0
The help is now fixed. Thanks. Also passing a PhoneID instance looks a bit odd Click to expand... I agree. The purpose of PhoneId here is to add the READ_STATE permission (which is added when you call Dim x As PhoneId).
agraham Expert Licensed User Longtime User Jul 13, 2011 #4 Ah! clever :icon_clap: I missed that. I wondered what the permission mechanism was but assumed you might have fiddled it in the compiler - I should have known better :sign0161:, you wouldn't do a hack like that would you! Upvote 0
Ah! clever :icon_clap: I missed that. I wondered what the permission mechanism was but assumed you might have fiddled it in the compiler - I should have known better :sign0161:, you wouldn't do a hack like that would you!
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2011 #5 you wouldn't do a hack like that would you! Click to expand... I do have my hacks Upvote 0
M magarcan Active Member Licensed User Longtime User Jul 13, 2011 #6 Does exist v1.57 trial?? Upvote 0
agraham Expert Licensed User Longtime User Jul 13, 2011 #7 Still can't invoke the standard dexer (optimised is fine). The path to dx.jar looks like a cut and paste victim! Compiling generated Java code. 1.77 Convert byte code - optimized dex. Error Unable to access jarfile C:\Android\android-sdk-windows\platforms\android-8\tools\aapt.exe\lib\dx.jar Standard dexer. Click to expand... Upvote 0
Still can't invoke the standard dexer (optimised is fine). The path to dx.jar looks like a cut and paste victim! Compiling generated Java code. 1.77 Convert byte code - optimized dex. Error Unable to access jarfile C:\Android\android-sdk-windows\platforms\android-8\tools\aapt.exe\lib\dx.jar Standard dexer. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2011 #8 Will be fixed for the next update. Upvote 0