B4A Library Tooleap Library - Floating notifications and miniApps




Tooleap Tutorials
Part 1 - Introduction to Tooleap
Part 2 - Introduction to Tooleap Development
Part 3 - Installation of Tooleap library and Application Setup
Part 4 - Creating a Tooleap Activity in B4A
Part 5 - Launching a miniApp
Part 6 - Other considerations
...more later

Tooleap Libraries
- All tooleap libraries are attached to the post including the sdk jar

Requirements
B4A 3.80
Android 2.2+

Samples and Demos
- Attached to this post
- NJDude's Sample: http://www.basic4ppc.com/android/fo...cations-and-miniapps.41136/page-2#post-247534
 

Attachments

  • TooleapLibraries-0.9.4.zip
    316.6 KB · Views: 1,083
  • TooleapSample_0.9.4.zip
    9 KB · Views: 729
Last edited:

mr23

Active Member
Licensed User
Longtime User



Tooleap Tutorials
Part 1 - Introduction to Tooleap
Part 2 - Introduction to Tooleap Development
Part 3 - Installation of Tooleap library and Application Setup
Part 4 - Creating a Tooleap Activity in B4A
Part 5 - Launching a miniApp
Part 6 - Other considerations
...more later

Tooleap Libraries
- All tooleap libraries are attached to the post including the sdk jar

Requirements
B4A 3.80
Android 2.2+

Samples and Demos
- Attached to this post
- NJDude's Sample: http://www.basic4ppc.com/android/fo...cations-and-miniapps.41136/page-2#post-247534

@Desolate, will their newest 0.9.6 be compatible with your wrapper?
 

mr23

Active Member
Licensed User
Longtime User
I suppose it may 'work'. The release notes include:
  • “Open Side-screen” API – Added showMiniApp() to the API that allows the developer to open the side-screen showing a mini-app, programmatically. See our API guide for more details.
  • “User removed a mini-app” Event – Added USER_REMOVED_MINI_APP broadcast intent that notifies when the user dismisses a mini app by dragging it to the ‘X’ marked dismiss drop-zone or pressing the ‘X’ button inside the side-screen. See our API guide for more details.

I expect the wrapper will need an update for these features. And there are two manifest changes. I am not sure about that.
  • Permission “android.permission.GET_TASKS” is no longer mandatory (only needed for mini apps with contextuality).
  • Tooleap Activities should now be declared with android:taskAffinity=”.tooleap”
  • Contextuality now requires adding a few more manifest definition. Consult the api guide for full details.

Info taken from http://developer.tooleap.com/download/.

I just received my approval, but I will start with 0.9.4. After some experience, I will see what happens with 0.9.6. May not be today, however...
Thanks for the wrapper, though! I'm looking forward to trying this out.
 

thedesolatesoul

Expert
Licensed User
Longtime User
So the good news is that it doesnt break any of the old functionality, so you could even use 0.9.6 with this wrapper. It just will not have any of the new features.

1 and 2 two are (fairly) easy to add. 4 requires no wrapper change.
3 is the tough one. It just will not work with Modal Dialogs. The UI thread is blocked on modal dialogs. It can work with non-modal dialogs, but currently all B4A dialog libraries are modal.
 

NJDude

Expert
Licensed User
Longtime User
The UI thread is blocked on modal dialogs. It can work with non-modal dialogs, but currently all B4A dialog libraries are modal.
A workaround would be using THIS class, that creates a non-modal message box.
 
Top