commit 5a89c50ef26d01c7ba40518447e7b34cb808e8b0 Author: Jose Alberto Guerra Ugalde Date: Mon Mar 18 19:25:08 2024 -0600 Commit inicial diff --git a/B4A/AHViewPager.jar b/B4A/AHViewPager.jar new file mode 100644 index 0000000..a635fdd Binary files /dev/null and b/B4A/AHViewPager.jar differ diff --git a/B4A/AHViewPager.xml b/B4A/AHViewPager.xml new file mode 100644 index 0000000..1cc4c11 --- /dev/null +++ b/B4A/AHViewPager.xml @@ -0,0 +1,1833 @@ + + + 1.04 + + de.amberhome.viewpager.AHViewPagerTabs + AHViewPagerTabs + de.amberhome.viewpager.internal.ViewPagerTabs + activity + + SetTabPadding + + void + + Left + int + + + Top + int + + + Right + int + + + Bottom + int + + + + IsInitialized + + boolean + + + Initialize + Initializes the object. + + Pager - A fully initialized AHViewPager object. + void + + ba + anywheresoftware.b4a.BA + + + Pager + de.amberhome.viewpager.AHViewPager + + + + RefreshTitles + Refresh the titles of the tabs. Use this after changing a title in AHPageContainer. + void + + + BringToFront + + void + + + SetLayout + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + SendToBack + + void + + + SetVisibleAnimated + + void + + arg0 + int + + + arg1 + boolean + + + + NotifyDataChange + Rebuilds the complete tabs data structure. You MUST call this after you add or remove a page from the AHViewPager. + void + + + RemoveView + + void + + + Invalidate3 + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + Invalidate2 + + void + + arg0 + android.graphics.Rect + + + + SetColorAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + + SetBackgroundImage + + void + + arg0 + android.graphics.Bitmap + + + + Invalidate + + void + + + SetLayoutAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + arg4 + int + + + + RequestFocus + + boolean + + + Left + int + + arg0 + int + + + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Position + int + Gets the current position in the tabs. + + + BackgroundColorPressed + int + + color + int + + + + + Color + + arg0 + int + + + + + TabPaddingRight + int + + padding + int + + + + + LineHeight + int + + height + int + + + + + TextSize + float + + size + float + + + + + Enabled + boolean + + arg0 + boolean + + + + + OutsideOffset + int + + offset + int + + + + + TextColorCenter + int + + color + int + + + + + TabPaddingBottom + int + + padding + int + + + + + TabPaddingTop + int + + padding + int + + + + + LineColorCenter + int + + color + int + + + + + Top + int + + arg0 + int + + + + + UpperCaseTitle + + Flag + boolean + + + + + Visible + boolean + + arg0 + boolean + + + + + Height + int + + arg0 + int + + + + + TextColor + int + + color + int + + + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + Width + int + + arg0 + int + + + + + TabPaddingLeft + int + + padding + int + + + + + + de.amberhome.viewpager.AHViewPagerSupportTitles + AHViewPagerSupportTitles + android.support.v4.view.PagerTitleStrip + activity + + IsInitialized + + boolean + + + Initialize + Initializes the object. + + Pager - A fully initialized AHViewPager object. + Top - Flag if the indicator should be displayed on top or bottom of the ViewPager + Height - The height of the indicator view. + void + + ba + anywheresoftware.b4a.BA + + + Pager + de.amberhome.viewpager.AHViewPager + + + Top + boolean + + + Height + int + + + + BringToFront + + void + + + SetLayout + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + SendToBack + + void + + + SetVisibleAnimated + + void + + arg0 + int + + + arg1 + boolean + + + + RemoveView + + void + + + Invalidate3 + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + Invalidate2 + + void + + arg0 + android.graphics.Rect + + + + SetColorAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + + SetBackgroundImage + + void + + arg0 + android.graphics.Bitmap + + + + Invalidate + + void + + + SetLayoutAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + arg4 + int + + + + RequestFocus + + boolean + + + Left + int + + arg0 + int + + + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Color + + arg0 + int + + + + + TextSize + + Size + float + + Sets the text size + + + Enabled + boolean + + arg0 + boolean + + + + + Top + int + + arg0 + int + + + + + Visible + boolean + + arg0 + boolean + + + + + Height + int + + arg0 + int + + + + + TextColor + + Color + int + + Sets the text color + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + Width + int + + arg0 + int + + + + + + de.amberhome.viewpager.AHViewPagerSupportTabs + AHViewPagerSupportTabs + android.support.v4.view.PagerTabStrip + activity + + IsInitialized + + boolean + + + Initialize + Initializes the object. + + Pager - A fully initialized AHViewPager object. + Top - Flag if the indicator should be displayed on top or bottom of the ViewPager + Height - The height of the indicator view. + void + + ba + anywheresoftware.b4a.BA + + + Pager + de.amberhome.viewpager.AHViewPager + + + Top + boolean + + + Height + int + + + + BringToFront + + void + + + SetLayout + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + SendToBack + + void + + + SetVisibleAnimated + + void + + arg0 + int + + + arg1 + boolean + + + + RemoveView + + void + + + Invalidate3 + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + Invalidate2 + + void + + arg0 + android.graphics.Rect + + + + SetColorAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + + SetBackgroundImage + + void + + arg0 + android.graphics.Bitmap + + + + Invalidate + + void + + + SetLayoutAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + arg4 + int + + + + RequestFocus + + boolean + + + Left + int + + arg0 + int + + + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Color + + arg0 + int + + + + + TextSize + + Size + float + + Sets the text size + + + Enabled + boolean + + arg0 + boolean + + + + + TabIndicatorColor + int + + Color + int + + Sets or gets the tab indicator color + + + Top + int + + arg0 + int + + + + + Visible + boolean + + arg0 + boolean + + + + + Height + int + + arg0 + int + + + + + TextColor + + Color + int + + Sets the text color + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + Width + int + + arg0 + int + + + + + DrawFullUnderline + boolean + + Full + boolean + + Sets or gets the flag if the text is undelined completely + + + + de.amberhome.viewpager.AHViewPager + AHViewPager + de.amberhome.viewpager.internal.CustomViewPager + activity + PageChanged (Position As Int) + PageScrollStateChanged (State as Int) + PageScrolled (Position As Int, PositionOffset as Float, PositionOffsetPixels as Int) + PageCreated (Position As Int, Page as Object) + PageDestroyed (Position As Int, Page as Object) + + DesignerCreateView + This method is only for the B4A Designer. Don't call it directly + void + + base + anywheresoftware.b4a.objects.PanelWrapper + + + label + anywheresoftware.b4a.objects.LabelWrapper + + + props + anywheresoftware.b4a.objects.collections.Map + + + + GotoPage + Jump or Scroll to the new page Page - The new page to display Smooth - + True to smoothly scroll to the new item, false to transition immediately + void + + Page + int + + + Smooth + boolean + + + + IsInitialized + + boolean + + + Initialize + Initializes the object. + + pages EventName - Sets the sub that will handle the event. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + SetLayout + Changes the View position and size. + void + + Left + int + + + Top + int + + + Width + int + + + Height + int + + + + BringToFront + + void + + + SendToBack + + void + + + SetVisibleAnimated + Fade the view in or out + void + + Duration + int + + + Visible + boolean + + + + RemoveView + + void + + + Invalidate3 + Invalidate part of the object + void + + Left + int + + + Top + int + + + Right + int + + + Bottom + int + + + + Invalidate2 + Invalidate a rectangualar part of the object + void + + Rect + android.graphics.Rect + + + + SetColorAnimated + Animate the color to a new value + void + + Duration + int + + + FromColor + int + + + ToColor + int + + + + SetBackgroundImage + + void + + arg0 + android.graphics.Bitmap + + + + Initialize2 + Initializes the object. + + Layout - A fully initialized AHPagerLayout object with the content of the + pages EventName - Sets the sub that will handle the event. + void + + ba + anywheresoftware.b4a.BA + + + Container + de.amberhome.viewpager.AHPageContainer + + + EventName + java.lang.String + + + + Invalidate + + void + + + SetLayoutAnimated + Similar to SetLayout. Animates the change. Note that the animation will only be applied when running on Android 3+ devices. + + Duration - duration of the layout change + void + + Duration + int + + + Left + int + + + Top + int + + + Width + int + + + Height + int + + + + RequestFocus + + boolean + + + PageContainer + + Container + de.amberhome.viewpager.AHPageContainer + + + + + Left + int + + Left + int + + Gets or sets the view's left position + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Color + + arg0 + int + + + + + Enabled + boolean + + arg0 + boolean + + + + + Top + int + + Top + int + + Gets or sets the view's top position + + + CurrentPage + int + + Page + int + + Get or Set the current page + + + PagingEnabled + boolean + + Enabled + boolean + + Enables or disables the paging of the ViewPager. + + + Visible + boolean + + arg0 + boolean + + + + + Height + int + + Height + int + + Gets or sets the view's height + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + PageMargin + int + + Margin + int + + Set the margin between pages. + + + Width + int + + Width + int + + Gets or sets the view's width + + + OffscreenPageLimit + int + + Limit + int + + Set the number of pages that should be retained to either side of the + current page in the view hierarchy in an idle state. Pages beyond this + limit will be recreated from the adapter when needed. + + This is offered as an optimization. If you know in advance the number + of pages you will need to support or have lazy-loading mechanisms in place + on your pages, tweaking this setting can have benefits in perceived smoothness + of paging animations and interaction. If you have a small number of pages (3-4) + that you can keep active all at once, less time will be spent in layout for newly + created view subtrees as the user pages back and forth. + + You should keep this limit low, especially if your pages have complex layouts. This setting defaults to 1. + + + SCROLLSTATE_DRAGGING + + int + + + SCROLLSTATE_IDLE + + int + + + SCROLLSTATE_SETTLING + + int + + + + de.amberhome.viewpager.AHPageContainer + AHPageContainer + AHPagerLayout holds the layout of the pages + activity + + DeletePage + Deletes the specified page. + Position - Page to be deleted + void + + Position + int + + + + GetPageObject + Returns the View added as a page. Normally this is a Panel object. + Position - Index of the object + java.lang.Object + + Position + int + + + + getPageWidth + + float + + arg0 + int + + + + SetTitle + Sets the title of the page. + + Title - The new title text. + Position - Position of the title to change. + void + + Title + java.lang.String + + + Position + int + + + + AddPageAt + Add a new page to the pager layout at the specified position. Normally you will provide a Panel here. + View - The view to be added as a new page + Title - The title of the new page + Position - Position where the new page will be added + void + + View + android.view.View + + + Title + java.lang.String + + + Position + int + + + + Initialize + Initializes the object + void + + ba + anywheresoftware.b4a.BA + + + + registerDataSetObserver + + void + + arg0 + android.database.DataSetObserver + + + + GetTitle + Gets the title of the page. + + Position - Position of the title to get. + java.lang.String + + Position + int + + + + AddPage + Add a new page to the pager layout. Normally you will provide a Panel here. + View - The view to be added as a new page + Title - The title of the new page + void + + View + android.view.View + + + Title + java.lang.String + + + + SetContent + Sets the pages and titles for the container + + Pages - A List or Array of Panel objects + Titles - A List or Array of page titles + void + + Pages + anywheresoftware.b4a.objects.collections.List + + + Titles + anywheresoftware.b4a.objects.collections.List + + + + notifyDataSetChanged + + void + + + Initialize2 + + void + + ba + anywheresoftware.b4a.BA + + + Pages + anywheresoftware.b4a.objects.collections.List + + + Titles + anywheresoftware.b4a.objects.collections.List + + + + unregisterDataSetObserver + + void + + arg0 + android.database.DataSetObserver + + + + Pages + anywheresoftware.b4a.objects.collections.List + The List or Array of the pages. + + + IsInitialized + boolean + + + + Count + int + Gets the number of pages in the layout. + + + Titles + anywheresoftware.b4a.objects.collections.List + The List or Array of the titles. + + + + de.amberhome.viewpager.AHFixedTabs + AHViewPagerFixedTabs + de.amberhome.viewpager.internal.FixedTabsView + activity + + IsInitialized + + boolean + + + Initialize + Initializes the object. + + Pager - A fully initialized AHViewPager object. + void + + ba + anywheresoftware.b4a.BA + + + Pager + de.amberhome.viewpager.AHViewPager + + + + RefreshTitles + Refresh the titles of the tabs. Use this after changing a title in AHPageContainer. + void + + + BringToFront + + void + + + SetLayout + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + SendToBack + + void + + + SetVisibleAnimated + + void + + arg0 + int + + + arg1 + boolean + + + + NotifyDataChange + Rebuilds the complete tabs data structure. You MUST call this after you add or remove a page from the AHViewPager. + void + + + RemoveView + + void + + + Invalidate3 + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + Invalidate2 + + void + + arg0 + android.graphics.Rect + + + + SetColorAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + + SetBackgroundImage + + void + + arg0 + android.graphics.Bitmap + + + + Invalidate + + void + + + SetLayoutAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + arg4 + int + + + + RequestFocus + + boolean + + + LineColorSelected + int + + color + int + + + + + Left + int + + arg0 + int + + + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Color + + arg0 + int + + + + + LineHeight + int + + height + int + + + + + TextSize + float + + size + float + + Gets the current position in the tabs. + + + Enabled + boolean + + arg0 + boolean + + + + + LineHeightSelected + int + + height + int + + + + + Top + int + + arg0 + int + + + + + UpperCaseTitle + + Flag + boolean + + + + + LineColor + int + + color + int + + + + + Visible + boolean + + arg0 + boolean + + + + + Height + int + + arg0 + int + + + + + TextColor + int + + color + int + + + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + Width + int + + arg0 + int + + + + + 2.21 + This library provides objects to implement a CustomViewPager. + Markus Stipp + android-support-v4 + diff --git a/B4A/ASWheelPicker.b4xlib b/B4A/ASWheelPicker.b4xlib new file mode 100644 index 0000000..0c16ade Binary files /dev/null and b/B4A/ASWheelPicker.b4xlib differ diff --git a/B4A/AS_WheelDateTimePicker.b4xlib b/B4A/AS_WheelDateTimePicker.b4xlib new file mode 100644 index 0000000..1a62bb9 Binary files /dev/null and b/B4A/AS_WheelDateTimePicker.b4xlib differ diff --git a/B4A/AppUpdating.b4xlib b/B4A/AppUpdating.b4xlib new file mode 100644 index 0000000..58257c6 Binary files /dev/null and b/B4A/AppUpdating.b4xlib differ diff --git a/B4A/B4AAccessibilityServices.jar b/B4A/B4AAccessibilityServices.jar new file mode 100644 index 0000000..db36457 Binary files /dev/null and b/B4A/B4AAccessibilityServices.jar differ diff --git a/B4A/B4AAccessibilityServices.xml b/B4A/B4AAccessibilityServices.xml new file mode 100644 index 0000000..50c2b07 --- /dev/null +++ b/B4A/B4AAccessibilityServices.xml @@ -0,0 +1,2348 @@ + + + 1.07 + + com.tillekesoft.accessibilityservices.AccessibilityConstants + AccessibilityConstants + process + + GLOBAL_ACTION_NOTIFICATIONS + + int + + + GLOBAL_ACTION_LOCK_SCREEN + + int + + + ACTION_CLEAR_FOCUS + + int + + + ACTION_LONG_CLICK + + int + + + ACTION_CLEAR_SELECTION + + int + + + ACTION_CUT + + int + + + SearchById + + int + + + ACTION_SCROLL_BACKWARD + + int + + + GLOBAL_ACTION_POWER_DIALOG + + int + + + ACTION_SCROLL_FORWARD + + int + + + ACTION_SELECT + + int + + + SearchByText + + int + + + ACTION_PREVIOUS_HTML_ELEMENT + + int + + + ACTION_NEXT_HTML_ELEMENT + + int + + + ACTION_CLEAR_ACCESSIBILITY_FOCUS + + int + + + GLOBAL_ACTION_TOGGLE_SPLIT_SCREEN + + int + + + GLOBAL_ACTION_RECENTS + + int + + + ACTION_COPY + + int + + + GLOBAL_ACTION_QUICK_SETTINGS + + int + + + ACTION_COLLAPSE + + int + + + GLOBAL_ACTION_TAKE_SCREENSHOT + + int + + + ACTION_NEXT_AT_MOVEMENT_GRANULARITY + + int + + + ACTION_CLICK + + int + + + ACTION_SET_TEXT + + int + + + GLOBAL_ACTION_BACK + + int + + + ACTION_ACCESSIBILITY_FOCUS + + int + + + ACTION_PASTE + + int + + + GLOBAL_ACTION_HOME + + int + + + ACTION_FOCUS + + int + + + ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY + + int + + + + com.tillekesoft.accessibilityservices.AccessibilityEventsListenerWrapper + process + + onAccessibilityEvent + + void + + event + android.view.accessibility.AccessibilityEvent + + + + bindIsolatedService + + boolean + + arg0 + android.content.Intent + + + arg1 + int + + + arg2 + java.lang.String + + + arg3 + java.util.concurrent.Executor + + + arg4 + android.content.ServiceConnection + + + + enforceCallingPermission + + void + + arg0 + java.lang.String + + + arg1 + java.lang.String + + + + attachBaseContext + + void + + arg0 + android.content.Context + + + + updateServiceGroup + + void + + arg0 + android.content.ServiceConnection + + + arg1 + int + + + arg2 + int + + + + deleteDatabase + + boolean + + arg0 + java.lang.String + + + + enforceCallingOrSelfPermission + + void + + arg0 + java.lang.String + + + arg1 + java.lang.String + + + + removeStickyBroadcastAsUser + + void + + arg0 + android.content.Intent + + + arg1 + android.os.UserHandle + + + + checkPermission + + int + + arg0 + java.lang.String + + + arg1 + int + + + arg2 + int + + + + enforceUriPermission + + void + + arg0 + android.net.Uri + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + arg4 + java.lang.String + + + + isDeviceProtectedStorage + + boolean + + + databaseList + + java.lang.String[] + + + sendStickyOrderedBroadcastAsUser + + void + + arg0 + android.content.Intent + + + arg1 + android.os.UserHandle + + + arg2 + android.content.BroadcastReceiver + + + arg3 + android.os.Handler + + + arg4 + int + + + arg5 + java.lang.String + + + arg6 + android.os.Bundle + + + + fileList + + java.lang.String[] + + + getDatabasePath + + java.io.File + + arg0 + java.lang.String + + + + enforceCallingOrSelfUriPermission + + void + + arg0 + android.net.Uri + + + arg1 + int + + + arg2 + java.lang.String + + + + unregisterComponentCallbacks + + void + + arg0 + android.content.ComponentCallbacks + + + + getText + + java.lang.CharSequence + + arg0 + int + + + + startIntentSender + + void + + arg0 + android.content.IntentSender + + + arg1 + android.content.Intent + + + arg2 + int + + + arg3 + int + + + arg4 + int + + + + checkCallingOrSelfPermission + + int + + arg0 + java.lang.String + + + + onBind + + android.os.IBinder + + arg0 + android.content.Intent + + + + getSystemServiceName + + java.lang.String + + arg0 + java.lang.Class + + + + openOrCreateDatabase + + android.database.sqlite.SQLiteDatabase + + arg0 + java.lang.String + + + arg1 + int + + + arg2 + android.database.sqlite.SQLiteDatabase.CursorFactory + + + + getFileStreamPath + + java.io.File + + arg0 + java.lang.String + + + + obtainStyledAttributes + + android.content.res.TypedArray + + arg0 + int[] + + + + sendOrderedBroadcastAsUser + + void + + arg0 + android.content.Intent + + + arg1 + android.os.UserHandle + + + arg2 + java.lang.String + + + arg3 + android.content.BroadcastReceiver + + + arg4 + android.os.Handler + + + arg5 + int + + + arg6 + java.lang.String + + + arg7 + android.os.Bundle + + + + isAccessibilityEnabled + + boolean + + context + android.content.Context + + + id + java.lang.String + + + + bindService + + boolean + + arg0 + android.content.Intent + + + arg1 + android.content.ServiceConnection + + + arg2 + int + + + + isRestricted + + boolean + + + checkCallingUriPermission + + int + + arg0 + android.net.Uri + + + arg1 + int + + + + getSystemService + + java.lang.Object + + arg0 + java.lang.String + + + + moveSharedPreferencesFrom + + boolean + + arg0 + android.content.Context + + + arg1 + java.lang.String + + + + removeStickyBroadcast + + void + + arg0 + android.content.Intent + + + + onGesture + + boolean + + arg0 + int + + + + peekWallpaper + + android.graphics.drawable.Drawable + + + createConfigurationContext + + android.content.Context + + arg0 + android.content.res.Configuration + + + + startForegroundService + + android.content.ComponentName + + arg0 + android.content.Intent + + + + startActivity + + void + + arg0 + android.content.Intent + + + + sendStickyBroadcast + + void + + arg0 + android.content.Intent + + + + getSharedPreferences + + android.content.SharedPreferences + + arg0 + java.lang.String + + + arg1 + int + + + + stopSelf + + void + + + grantUriPermission + + void + + arg0 + java.lang.String + + + arg1 + android.net.Uri + + + arg2 + int + + + + startInstrumentation + + boolean + + arg0 + android.content.ComponentName + + + arg1 + java.lang.String + + + arg2 + android.os.Bundle + + + + onInterrupt + + void + + + onDestroy + + void + + + getExternalFilesDir + + java.io.File + + arg0 + java.lang.String + + + + sendStickyBroadcastAsUser + + void + + arg0 + android.content.Intent + + + arg1 + android.os.UserHandle + + + + onTrimMemory + + void + + arg0 + int + + + + sendStickyOrderedBroadcast + + void + + arg0 + android.content.Intent + + + arg1 + android.content.BroadcastReceiver + + + arg2 + android.os.Handler + + + arg3 + int + + + arg4 + java.lang.String + + + arg5 + android.os.Bundle + + + + deleteSharedPreferences + + boolean + + arg0 + java.lang.String + + + + stopSelfResult + + boolean + + arg0 + int + + + + createDisplayContext + + android.content.Context + + arg0 + android.view.Display + + + + createDeviceProtectedStorageContext + + android.content.Context + + + registerComponentCallbacks + + void + + arg0 + android.content.ComponentCallbacks + + + + logViewHierarchy + + void + + nodeInfo + android.view.accessibility.AccessibilityNodeInfo + + + depth + int + + + + sendOrderedBroadcast + + void + + arg0 + android.content.Intent + + + arg1 + java.lang.String + + + + getDrawable + + android.graphics.drawable.Drawable + + arg0 + int + + + + getExternalFilesDirs + + java.io.File[] + + arg0 + java.lang.String + + + + sendBroadcastAsUser + + void + + arg0 + android.content.Intent + + + arg1 + android.os.UserHandle + + + + onLowMemory + + void + + + checkSelfPermission + + int + + arg0 + java.lang.String + + + + dispatchGesture + + boolean + + arg0 + android.accessibilityservice.GestureDescription + + + arg1 + android.accessibilityservice.AccessibilityService.GestureResultCallback + + + arg2 + android.os.Handler + + + + openFileInput + + java.io.FileInputStream + + arg0 + java.lang.String + + + + onStart + + void + + arg0 + android.content.Intent + + + arg1 + int + + + + onRebind + + void + + arg0 + android.content.Intent + + + + onTaskRemoved + + void + + arg0 + android.content.Intent + + + + moveDatabaseFrom + + boolean + + arg0 + android.content.Context + + + arg1 + java.lang.String + + + + onServiceConnected + + void + + + startActivities + + void + + arg0 + android.content.Intent[] + + + + startService + + android.content.ComponentName + + arg0 + android.content.Intent + + + + getColorStateList + + android.content.res.ColorStateList + + arg0 + int + + + + registerReceiver + + android.content.Intent + + arg0 + android.content.BroadcastReceiver + + + arg1 + android.content.IntentFilter + + + + onConfigurationChanged + + void + + arg0 + android.content.res.Configuration + + + + enforceCallingUriPermission + + void + + arg0 + android.net.Uri + + + arg1 + int + + + arg2 + java.lang.String + + + + sendBroadcast + + void + + arg0 + android.content.Intent + + + + unbindService + + void + + arg0 + android.content.ServiceConnection + + + + checkCallingOrSelfUriPermission + + int + + arg0 + android.net.Uri + + + arg1 + int + + + + startForeground + + void + + arg0 + int + + + arg1 + android.app.Notification + + + + stopForeground + + void + + arg0 + boolean + + + + onUnbind + + boolean + + arg0 + android.content.Intent + + + + openFileOutput + + java.io.FileOutputStream + + arg0 + java.lang.String + + + arg1 + int + + + + createPackageContext + + android.content.Context + + arg0 + java.lang.String + + + arg1 + int + + + + enforcePermission + + void + + arg0 + java.lang.String + + + arg1 + int + + + arg2 + int + + + arg3 + java.lang.String + + + + dump + + void + + arg0 + java.io.FileDescriptor + + + arg1 + java.io.PrintWriter + + + arg2 + java.lang.String[] + + + + checkUriPermission + + int + + arg0 + android.net.Uri + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + findFocus + + android.view.accessibility.AccessibilityNodeInfo + + arg0 + int + + + + getDir + + java.io.File + + arg0 + java.lang.String + + + arg1 + int + + + + deleteFile + + boolean + + arg0 + java.lang.String + + + + onCreate + + void + + + clearWallpaper + + void + + + performGlobalAction + + boolean + + arg0 + int + + + + revokeUriPermission + + void + + arg0 + android.net.Uri + + + arg1 + int + + + + getColor + + int + + arg0 + int + + + + getString + + java.lang.String + + arg0 + int + + + + onStartCommand + + int + + arg0 + android.content.Intent + + + arg1 + int + + + arg2 + int + + + + onKeyEvent + + boolean + + arg0 + android.view.KeyEvent + + + + checkCallingPermission + + int + + arg0 + java.lang.String + + + + createContextForSplit + + android.content.Context + + arg0 + java.lang.String + + + + unregisterReceiver + + void + + arg0 + android.content.BroadcastReceiver + + + + stopService + + boolean + + arg0 + android.content.Intent + + + + disableSelf + + void + + + CodeCacheDir + java.io.File + + + + MainLooper + android.os.Looper + + + + ExternalCacheDir + java.io.File + + + + PackageName + java.lang.String + + + + PackageResourcePath + java.lang.String + + + + ForegroundServiceType + int + + + + ApplicationInfo + android.content.pm.ApplicationInfo + + + + CacheDir + java.io.File + + + + Windows + java.util.List + + + + OpPackageName + java.lang.String + + + + ContentResolver + android.content.ContentResolver + + + + ServiceInfo + android.accessibilityservice.AccessibilityServiceInfo + + arg0 + android.accessibilityservice.AccessibilityServiceInfo + + + + + ApplicationContext + android.content.Context + + + + PackageManager + android.content.pm.PackageManager + + + + Assets + android.content.res.AssetManager + + + + ClassLoader + java.lang.ClassLoader + + + + DataDir + java.io.File + + + + FingerprintGestureController + android.accessibilityservice.FingerprintGestureController + + + + ObbDir + java.io.File + + + + MagnificationController + android.accessibilityservice.AccessibilityService.MagnificationController + + + + FilesDir + java.io.File + + + + WallpaperDesiredMinimumHeight + int + + + + SoftKeyboardController + android.accessibilityservice.AccessibilityService.SoftKeyboardController + + + + PackageCodePath + java.lang.String + + + + WallpaperDesiredMinimumWidth + int + + + + ExternalCacheDirs + java.io.File[] + + + + BaseContext + android.content.Context + + + + MainExecutor + java.util.concurrent.Executor + + + + RootInActiveWindow + android.view.accessibility.AccessibilityNodeInfo + + + + AccessibilityButtonController + android.accessibilityservice.AccessibilityButtonController + + + + Theme + android.content.res.Resources.Theme + + arg0 + int + + + + + ObbDirs + java.io.File[] + + + + ExternalMediaDirs + java.io.File[] + + + + NoBackupFilesDir + java.io.File + + + + Wallpaper + android.graphics.drawable.Drawable + + arg0 + android.graphics.Bitmap + + + + + Resources + android.content.res.Resources + + + + Application + android.app.Application + + + + FINGERPRINT_SERVICE + + java.lang.String + + + INPUT_METHOD_SERVICE + + java.lang.String + + + MODE_APPEND + + int + + + DEVICE_POLICY_SERVICE + + java.lang.String + + + BIND_NOT_PERCEPTIBLE + + int + + + SERVICE_INTERFACE + + java.lang.String + + + TEXT_CLASSIFICATION_SERVICE + + java.lang.String + + + ACCOUNT_SERVICE + + java.lang.String + + + GESTURE_SWIPE_UP_AND_DOWN + + int + + + LAUNCHER_APPS_SERVICE + + java.lang.String + + + GESTURE_SWIPE_UP_AND_RIGHT + + int + + + SHOW_MODE_HIDDEN + + int + + + TELEPHONY_SUBSCRIPTION_SERVICE + + java.lang.String + + + USAGE_STATS_SERVICE + + java.lang.String + + + JOB_SCHEDULER_SERVICE + + java.lang.String + + + SHOW_MODE_IGNORE_HARD_KEYBOARD + + int + + + STORAGE_STATS_SERVICE + + java.lang.String + + + BIND_DEBUG_UNBIND + + int + + + WIFI_P2P_SERVICE + + java.lang.String + + + CONTEXT_IGNORE_SECURITY + + int + + + MIDI_SERVICE + + java.lang.String + + + START_CONTINUATION_MASK + + int + + + NSD_SERVICE + + java.lang.String + + + BIND_NOT_FOREGROUND + + int + + + GESTURE_SWIPE_UP_AND_LEFT + + int + + + GESTURE_SWIPE_LEFT_AND_RIGHT + + int + + + BIND_INCLUDE_CAPABILITIES + + int + + + MEDIA_SESSION_SERVICE + + java.lang.String + + + TV_INPUT_SERVICE + + java.lang.String + + + GESTURE_SWIPE_DOWN + + int + + + ALARM_SERVICE + + java.lang.String + + + NETWORK_STATS_SERVICE + + java.lang.String + + + EUICC_SERVICE + + java.lang.String + + + KEYGUARD_SERVICE + + java.lang.String + + + SEARCH_SERVICE + + java.lang.String + + + MODE_PRIVATE + + int + + + COMPANION_DEVICE_SERVICE + + java.lang.String + + + USER_SERVICE + + java.lang.String + + + IPSEC_SERVICE + + java.lang.String + + + APPWIDGET_SERVICE + + java.lang.String + + + DOWNLOAD_SERVICE + + java.lang.String + + + CROSS_PROFILE_APPS_SERVICE + + java.lang.String + + + PRINT_SERVICE + + java.lang.String + + + WINDOW_SERVICE + + java.lang.String + + + isServiceActive + + boolean + + + GESTURE_SWIPE_DOWN_AND_UP + + int + + + GLOBAL_ACTION_TOGGLE_SPLIT_SCREEN + + int + + + ACTIVITY_SERVICE + + java.lang.String + + + CONNECTIVITY_SERVICE + + java.lang.String + + + GESTURE_SWIPE_LEFT_AND_UP + + int + + + GLOBAL_ACTION_RECENTS + + int + + + INPUT_SERVICE + + java.lang.String + + + MEDIA_ROUTER_SERVICE + + java.lang.String + + + START_STICKY + + int + + + CLIPBOARD_SERVICE + + java.lang.String + + + GLOBAL_ACTION_QUICK_SETTINGS + + int + + + GESTURE_SWIPE_UP + + int + + + CAPTIONING_SERVICE + + java.lang.String + + + TELEPHONY_SERVICE + + java.lang.String + + + MEDIA_PROJECTION_SERVICE + + java.lang.String + + + STORAGE_SERVICE + + java.lang.String + + + SYSTEM_HEALTH_SERVICE + + java.lang.String + + + GESTURE_SWIPE_LEFT_AND_DOWN + + int + + + BIND_ADJUST_WITH_ACTIVITY + + int + + + VIBRATOR_SERVICE + + java.lang.String + + + GESTURE_SWIPE_RIGHT_AND_DOWN + + int + + + SERVICE_META_DATA + + java.lang.String + + + GLOBAL_ACTION_NOTIFICATIONS + + int + + + DISPLAY_SERVICE + + java.lang.String + + + GESTURE_SWIPE_DOWN_AND_RIGHT + + int + + + RECEIVER_VISIBLE_TO_INSTANT_APPS + + int + + + UI_MODE_SERVICE + + java.lang.String + + + TELECOM_SERVICE + + java.lang.String + + + STOP_FOREGROUND_REMOVE + + int + + + ACCESSIBILITY_SERVICE + + java.lang.String + + + acs + + com.tillekesoft.accessibilityservices.AccessibilityEventsListenerWrapper.AccessibilityEventsListener + + + CONTEXT_RESTRICTED + + int + + + APP_OPS_SERVICE + + java.lang.String + + + BIND_ALLOW_OOM_MANAGEMENT + + int + + + CAMERA_SERVICE + + java.lang.String + + + ROLE_SERVICE + + java.lang.String + + + GLOBAL_ACTION_POWER_DIALOG + + int + + + SHORTCUT_SERVICE + + java.lang.String + + + MODE_WORLD_WRITEABLE + + int + + + MODE_WORLD_READABLE + + int + + + START_FLAG_REDELIVERY + + int + + + AUDIO_SERVICE + + java.lang.String + + + CONSUMER_IR_SERVICE + + java.lang.String + + + WALLPAPER_SERVICE + + java.lang.String + + + SENSOR_SERVICE + + java.lang.String + + + BIND_EXTERNAL_SERVICE + + int + + + BIND_WAIVE_PRIORITY + + int + + + WIFI_SERVICE + + java.lang.String + + + CARRIER_CONFIG_SERVICE + + java.lang.String + + + LAYOUT_INFLATER_SERVICE + + java.lang.String + + + NFC_SERVICE + + java.lang.String + + + GLOBAL_ACTION_TAKE_SCREENSHOT + + int + + + HARDWARE_PROPERTIES_SERVICE + + java.lang.String + + + DROPBOX_SERVICE + + java.lang.String + + + MODE_NO_LOCALIZED_COLLATORS + + int + + + USB_SERVICE + + java.lang.String + + + GLOBAL_ACTION_BACK + + int + + + STOP_FOREGROUND_DETACH + + int + + + START_REDELIVER_INTENT + + int + + + MODE_ENABLE_WRITE_AHEAD_LOGGING + + int + + + GLOBAL_ACTION_HOME + + int + + + GLOBAL_ACTION_LOCK_SCREEN + + int + + + MODE_MULTI_PROCESS + + int + + + BIND_ABOVE_CLIENT + + int + + + TEXT_SERVICES_MANAGER_SERVICE + + java.lang.String + + + BIOMETRIC_SERVICE + + java.lang.String + + + BIND_AUTO_CREATE + + int + + + CONTEXT_INCLUDE_CODE + + int + + + BIND_IMPORTANT + + int + + + SHOW_MODE_AUTO + + int + + + GESTURE_SWIPE_RIGHT_AND_LEFT + + int + + + GESTURE_SWIPE_LEFT + + int + + + NOTIFICATION_SERVICE + + java.lang.String + + + START_STICKY_COMPATIBILITY + + int + + + START_NOT_STICKY + + int + + + GESTURE_SWIPE_DOWN_AND_LEFT + + int + + + POWER_SERVICE + + java.lang.String + + + WIFI_RTT_RANGING_SERVICE + + java.lang.String + + + GESTURE_SWIPE_RIGHT_AND_UP + + int + + + BLUETOOTH_SERVICE + + java.lang.String + + + GESTURE_SWIPE_RIGHT + + int + + + LOCATION_SERVICE + + java.lang.String + + + START_FLAG_RETRY + + int + + + RESTRICTIONS_SERVICE + + java.lang.String + + + WIFI_AWARE_SERVICE + + java.lang.String + + + BATTERY_SERVICE + + java.lang.String + + + + com.tillekesoft.accessibilityservices.AccessibilityEventsListenerWrapper.AccessibilityEventsListener + AccessibilityEventsListener + Accessibility... + process + OnAccessibilityEvent (Event as Object, Node as Object) + OnSearchDataReturned (Data as String) + OnActivityNameRetrieved (Data as String) + android.permission.BIND_ACCESSIBILITY_SERVICE + + IsAccessibilityServiceEnabled + + boolean + + id + java.lang.String + + + + delay + + void + + ms + int + + + + IsServiceActive + + boolean + + + PerformNodeActionOnViewWithArgs + generic method for performing node actions (only partially implemented) + boolean + + UseViewById + java.lang.Boolean + + + Criteria + java.lang.String + + + NodeAction + int + + + ArgsMap + anywheresoftware.b4a.objects.collections.Map + + + + SetText + + boolean + + UseViewById + java.lang.Boolean + + + Criteria + java.lang.String + + + text + java.lang.CharSequence + + + + Search + + void + + UseViewById + java.lang.Boolean + + + criteria + java.lang.String + + + + PerformGlobalAction + + boolean + + GlobalAction + int + + + + SetTextSelection + + boolean + + UseViewById + java.lang.Boolean + + + Criteria + java.lang.String + + + Start + int + + + End + int + + + + initialize + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + GetText + + java.lang.String + + UseViewById + java.lang.Boolean + + + Criteria + java.lang.String + + + + GetTextSelectionStart + + int + + UseViewById + java.lang.Boolean + + + Criteria + java.lang.String + + + + GetTextSelectionEnd + + int + + UseViewById + java.lang.Boolean + + + Criteria + java.lang.String + + + + 0.11 + Moster67 aka Mikael Osterhed + diff --git a/B4A/B4XCollections.b4xlib b/B4A/B4XCollections.b4xlib new file mode 100644 index 0000000..87e41a7 Binary files /dev/null and b/B4A/B4XCollections.b4xlib differ diff --git a/B4A/B4XDrawer.b4xlib b/B4A/B4XDrawer.b4xlib new file mode 100644 index 0000000..e05f105 Binary files /dev/null and b/B4A/B4XDrawer.b4xlib differ diff --git a/B4A/B4XFormatter.b4xlib b/B4A/B4XFormatter.b4xlib new file mode 100644 index 0000000..058067b Binary files /dev/null and b/B4A/B4XFormatter.b4xlib differ diff --git a/B4A/B4XGifView.b4xlib b/B4A/B4XGifView.b4xlib new file mode 100644 index 0000000..77b0a4c Binary files /dev/null and b/B4A/B4XGifView.b4xlib differ diff --git a/B4A/B4XPreferencesDialog.b4xlib b/B4A/B4XPreferencesDialog.b4xlib new file mode 100644 index 0000000..a9c24b1 Binary files /dev/null and b/B4A/B4XPreferencesDialog.b4xlib differ diff --git a/B4A/B4XTable.b4xlib b/B4A/B4XTable.b4xlib new file mode 100644 index 0000000..6ba4a6e Binary files /dev/null and b/B4A/B4XTable.b4xlib differ diff --git a/B4A/B4XTimeoutHandler.b4xlib b/B4A/B4XTimeoutHandler.b4xlib new file mode 100644 index 0000000..4bb7ca4 Binary files /dev/null and b/B4A/B4XTimeoutHandler.b4xlib differ diff --git a/B4A/B4XTurtle.b4xlib b/B4A/B4XTurtle.b4xlib new file mode 100644 index 0000000..9946496 Binary files /dev/null and b/B4A/B4XTurtle.b4xlib differ diff --git a/B4A/BCTextEngine.b4xlib b/B4A/BCTextEngine.b4xlib new file mode 100644 index 0000000..9ecc8bb Binary files /dev/null and b/B4A/BCTextEngine.b4xlib differ diff --git a/B4A/BCToast.b4xlib b/B4A/BCToast.b4xlib new file mode 100644 index 0000000..753de16 Binary files /dev/null and b/B4A/BCToast.b4xlib differ diff --git a/B4A/BatteryProgressView.jar b/B4A/BatteryProgressView.jar new file mode 100644 index 0000000..cb59772 Binary files /dev/null and b/B4A/BatteryProgressView.jar differ diff --git a/B4A/BatteryProgressView.xml b/B4A/BatteryProgressView.xml new file mode 100644 index 0000000..567bf92 --- /dev/null +++ b/B4A/BatteryProgressView.xml @@ -0,0 +1,359 @@ + + + 1.05 + + batteryprogressviewwrapper.batteryprogressviewWrapper + BatteryProgressView + example.com.batterytest.BatteryProgressView + activity + + BringToFront + + void + + + RequestFocus + + boolean + + + RemoveView + + void + + + SetBackgroundImage + + void + + arg0 + android.graphics.Bitmap + + + + Invalidate3 + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + Invalidate2 + + void + + arg0 + android.graphics.Rect + + + + IsInitialized + + boolean + + + Initialize + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + Invalidate + + void + + + SetLayout + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + DesignerCreateView + + void + + base + anywheresoftware.b4a.objects.PanelWrapper + + + lw + anywheresoftware.b4a.objects.LabelWrapper + + + props + anywheresoftware.b4a.objects.collections.Map + + + + SetColorAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + + SetLayoutAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + arg4 + int + + + + SetVisibleAnimated + + void + + arg0 + int + + + arg1 + boolean + + + + SendToBack + + void + + + Enabled + boolean + + arg0 + boolean + + + + + Parent + java.lang.Object + + + + Top + int + + top + int + + + + + Visible + boolean + + arg0 + boolean + + + + + OuterCircleColor + + outerCircleColor + int + + + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Height + int + + height + int + + + + + SubTextColor + + textColor + int + + + + + TextColor + + textColor + int + + + + + PercentageTextColor + + textColor + int + + + + + Padding + int[] + + arg0 + int[] + + + + + ProgressColor + + progressColor + int + + + + + Progress + + progress + int + + + + + Left + int + + left + int + + + + + Color + + arg0 + int + + + + + InnerCircleColor + + innerCircleColor + int + + + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + InnerCircleMargin + + innerCircleMargin + int + + + + + Width + int + + Width + int + + + + + MaxProgress + + maxProgress + int + + + + + ba + + anywheresoftware.b4a.BA + + + 1.0 + Github: Jinesh Francis, Wrapped by: Johan Schoeman + android-support-annotations + diff --git a/B4A/CLVTree.b4xlib b/B4A/CLVTree.b4xlib new file mode 100644 index 0000000..f2602bc Binary files /dev/null and b/B4A/CLVTree.b4xlib differ diff --git a/B4A/CalculationDistanceTime.jar b/B4A/CalculationDistanceTime.jar new file mode 100644 index 0000000..177340c Binary files /dev/null and b/B4A/CalculationDistanceTime.jar differ diff --git a/B4A/CalculationDistanceTime.xml b/B4A/CalculationDistanceTime.xml new file mode 100644 index 0000000..5513068 --- /dev/null +++ b/B4A/CalculationDistanceTime.xml @@ -0,0 +1,105 @@ + + + 1.00 + okhttp + okhttputils2 + json + okhttp-3.5.0 + okio-1.11.0 + javaobject + stringutils + + b4a.example.calculationdistancetime._typelevel + typeLevel + process + + Initialize + Initializes the fields to their default value. + void + + + IsInitialized + Tests whether the object has been initialized. + boolean + + + duration + String + + + distance + String + + + error + String + + + + b4a.example.calculationdistancetime + calculationdistancetime + process + + IsInitialized + Tests whether the object has been initialized. + boolean + + + _initialize + Initializes the object. You can add parameters to this method if needed. +<b>originlat</b> - Double Original Latitude +<b>originlot</b> - Double Original Longitude +<b>destinationlat</b> - Double Destination Latitude +<b>destinationlot</b> - Double Destination Longitude +<b>units</b> - Units as Result - "km" returns distances in kilometers and meters or "imperial" returns distances in miles and feet +<i>Example:</i> <code> +Dim calculate As calculationdistancetime +calculate.Initialize(41.923229,12.7241383,41.9191877,12.655384, "Km", Me, "Check_Result") + +Sub Check_Result(valore As typeLevel) + Log("Errore: " & valore.error) + If valore.error.Length = 0 Then + Log("Distance: " & valore.distance) + Log("Time to Arrive: " & valore.duration) + End If +End Sub +</code> + + String + + ba + anywheresoftware.b4a.BA + + + originlat + double + + + originlon + double + + + destinationlat + double + + + destinationlot + double + + + units + String + + + Module + Object + + + EventName + String + + + + 1 + Devil-App + \ No newline at end of file diff --git a/B4A/Clipboard.jar b/B4A/Clipboard.jar new file mode 100644 index 0000000..481575e Binary files /dev/null and b/B4A/Clipboard.jar differ diff --git a/B4A/Clipboard.xml b/B4A/Clipboard.xml new file mode 100644 index 0000000..b5e579b --- /dev/null +++ b/B4A/Clipboard.xml @@ -0,0 +1,49 @@ + + + 1.00 + + b4a.util.BClipboard + BClipboard + activity + + getText + + java.lang.String + + ba + anywheresoftware.b4a.BA + + + + clrText + + void + + ba + anywheresoftware.b4a.BA + + + + setText + + void + + ba + anywheresoftware.b4a.BA + + + text + java.lang.String + + + + hasText + + boolean + + ba + anywheresoftware.b4a.BA + + + + diff --git a/B4A/CompressStrings.jar b/B4A/CompressStrings.jar new file mode 100644 index 0000000..d8490a7 Binary files /dev/null and b/B4A/CompressStrings.jar differ diff --git a/B4A/CompressStrings.xml b/B4A/CompressStrings.xml new file mode 100644 index 0000000..b73ed93 --- /dev/null +++ b/B4A/CompressStrings.xml @@ -0,0 +1,25 @@ + + + 1.07 + + de.donmanfred.GZipStringswrapper + GZipStrings + process + + compress + + byte[] + + data + java.lang.String + + + + 0.01 + Compress a Srring and return the Bytes. + You should use StringUtils to convert the bytes to Base64 + + To decrypt it is enough to convert the base64 to bytes again. + Use ByteConverter to get the String back from the Bytes. + DonManfred + diff --git a/B4A/DBUtils.b4xlib b/B4A/DBUtils.b4xlib new file mode 100644 index 0000000..2786a9e Binary files /dev/null and b/B4A/DBUtils.b4xlib differ diff --git a/B4A/Encryption.jar b/B4A/Encryption.jar new file mode 100644 index 0000000..bd68b32 Binary files /dev/null and b/B4A/Encryption.jar differ diff --git a/B4A/Encryption.xml b/B4A/Encryption.xml new file mode 100644 index 0000000..ba0611c --- /dev/null +++ b/B4A/Encryption.xml @@ -0,0 +1,685 @@ + + + 1.00 + + anywheresoftware.b4a.agraham.encryption.CipherWrapper + Cipher + This object provides the functionality of a secret (symmetric) key encryptor and +decryptor. The algorithms may commonly be one of the following, there are others not listed here. + +AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits. +DES The Digital Encryption Standard as described in FIPS PUB 46-3. +DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES). + process + + Decrypt + Encrypts the supplied data using the key provided. If an initialisation vector is +to be used then useIV should be set True and the InitialisationVector property set +to the required data. + byte[] + + data + byte[] + + + key + java.security.Key + + + useIV + boolean + + + + Initialize + Initialises the Cipher object to perform the supplied transformation. + +A transformation is a string that describes the operation (or set of operations) to be performed +on the given input to produce some output. A transformation always includes the name of a +cryptographic algorithm (e.g., DES), and may be followed by a mode and padding scheme. + +A transformation is of the form "algorithm/mode/padding" or "algorithm". +For example, the following are valid transformations: +"DES/CBC/PKCS5Padding" +"DES" note that this is actually a synonym for "DES/ECB/PKCS5Padding". +"DES/ECB/NoPadding" use this for simple single block encoding. + +Algorithm may commonly be one of the following, there are others not listed here. +AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits. +DES The Digital Encryption Standard as described in FIPS PUB 46-3. +DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES). + +Mode may commonly be one of the following, there are others not listed here. +NONE No mode. +CBC Cipher Block Chaining Mode, as defined in FIPS PUB 81. +CFB, CFBx Cipher Feedback Mode, as defined in FIPS PUB 81. +ECB Electronic Codebook Mode, as defined in FIPS PUB 81. +OFB, OFBx Output Feedback Mode, as defined in FIPS PUB 81. +Using modes such as CFB and OFB, block ciphers can encrypt data in units smaller than + the cipher's actual block size. When requesting such a mode, you may optionally specify the + number of bits to be processed at a time by appending this number to the mode name as shown + in the "DES/CFB8/NoPadding" and "DES/OFB32/PKCS5Padding" transformations. If no such + number is specified, a provider-specific default is used. Thus block ciphers can be turned into + byte-oriented stream ciphers by using an 8 bit mode such as CFB8 or OFB8. + +Padding may be one of +NoPadding +ISO10126Padding +PKCS1Padding The padding scheme described in PKCS1, used with the RSA algorithm. +PKCS5Padding The padding scheme described in RSA Laboratories, "PKCS5: version 1.5, November 1993. +SSL3Padding The padding scheme defined in the SSL Protocol Version 3.0, November 18, 1996, + section 5.2.3.2 (CBC block cipher): + void + + transformation + java.lang.String + + + + GetAlgorithms + Returns an array of strings containing the algorithms that the specified security +provider implements. + java.lang.String[] + + servicename + java.lang.String + + + + Encrypt + Decrypts the supplied data using the key provided. If an initialisation vector is +to be used then useIV should be set True and the InitialisationVector property set +to the required data. + byte[] + + data + byte[] + + + key + java.security.Key + + + useIV + boolean + + + + GetServices + Returns an array of strings containing the security providers present on the system. + java.lang.String[] + + + InitialisationVector + byte[] + + iv + byte[] + + Gets or sets the initialisation vector array. + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.MessageDigestWrapper + MessageDigest + Message digests are used to produce unique and reliable identifiers of data. +They are sometimes called "checksums" or the "digital fingerprints" of the data. +Changes to just one bit of the message should produce a different digest value. + +Algorithm can be "MD2", "MD5", "SHA-1", "SHA-256", "SHA-384" or "SHA-512". + process + + GetMessageDigest + Returns a byte array containing the message digest of the contents of the supplied +array if bytes using the specified algorithm. +Algorithm can be "MD5", "SHA-1", "SHA-224", "SHA-256", "SHA-384" or "SHA-512" + byte[] + + data + byte[] + + + algorithm + java.lang.String + + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.SecureRandomWrapper + SecureRandom + A seed is an array of bytes used to bootstrap random number generation. +To produce cryptographically secure random numbers, both the seed and the algorithm +must be secure. By default, instances of this class will generate an initial seed +using an internal entropy source. This seed is unpredictable and appropriate for secure use. +You may alternatively specify the initial seed explicitly by calling setSeed(byte[]) before +any random numbers have been generated. Specifying a fixed seed will cause the instance to +return a predictable sequence of numbers. This may be useful for testing but it is not +appropriate for secure use. + +Although it is common practice to seed Random with the current time, that is dangerous with +SecureRandom since that value is predictable to an attacker and not appropriate for secure use. + process + + GetRandomBytes + Fills the provided array with cryptographically strong random numbers produced +by the secure random number generator. + void + + bytes + byte[] + + + + SetRandomSeed + The random number generator seeds itself when created with a random seed. If it is +required, say for testing purposes, to repeatedly reproduce the same sequence of +random numbers then the generator may be seeded with a specific value before use. + void + + seed + long + + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.KeyGeneratorWrapper + KeyGenerator + This object provides the functionality of a secret (symmetric) key generator. +KeyGenerator objects are reusable, i.e., after a key has been generated, the same +KeyGenerator object can be re-used to generate further keys. + +Algorithm may commonly be one of the following, there are others not listed here. +AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits. +DES The Digital Encryption Standard as described in FIPS PUB 46-3. +DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES). + process + + Initialize + Initialise this KeyGenerator to work with the specified algorithm. + void + + algorithm + java.lang.String + + + + GenerateKey + Creates and saves internally a SecretKey object appropriate for use with the specified +algorithm using internally provided random data . + javax.crypto.SecretKey + + + KeyFromBytes + Creates and saves internally a SecretKey object appropriate for use with the specified +algorithm using the data in the byte array provided. + void + + keydata + byte[] + + + + KeyToBytes + Returns a byte array representing the SecretKey. + byte[] + + + Format + java.lang.String + Returns the format of the key data obtained by KeyToBytes. This will almost certainly be "RAW". + + + Key + javax.crypto.SecretKey + + key + javax.crypto.SecretKey + + Gets or sets the SecretKey object. + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.KeyPairGeneratorWrapper + KeyPairGenerator + The KeyPairGenerator is used to generate pairs of public and private keys. +A key pair generator for a particular algorithm creates a public/private key pair +that can be used with this algorithm. + +Algorithm is commonly be the following, there may be others not listed here. * +RSA The RSA encryption algorithm as defined in PRSA Public-Key Cryptography Standards . + process + + Initialize + Initialises the KeyPairGenerator with the specified algorithm and keysize. + void + + algorithm + java.lang.String + + + keysize + int + + + + PublicKeyFromBytes + Creates and saves internally a public key appropriate for use with the specified +algorithm using the data in X.509 format from the byte array provided. + void + + keydata + byte[] + + + + PublicKeyToBytes + Returns a byte array in the X.509 format representing the PublicKey. + byte[] + + + PrivateKeyFromBytes + Creates and saves internally a private key appropriate for use with the specified +algorithm using the data in the PKCS#8 format from the byte array provided. + void + + keydata + byte[] + + + + PrivateKeyToBytes + Returns a byte array in the PKC#8 format representing the PrivateKey. + byte[] + + + GenerateKey + Generates a key pair appropriate for use with the specified algorithm. +This is a simple holder for a key pair (a public key and a private key). +It does not enforce any security, and, when initialized, should be treated like +a private key. + void + + + PublicKey + java.security.PublicKey + Gets the public key of the KeyPairGenerator object. + + + Formats + java.lang.String[] + Returns the formats of the key data obtained by xxxKeyToBytes in a String array. +The public key format is at index 0 and will almost certainly be "X.509". +The private key format is at index 1 and will almost certainly be "PKCS#8". + + + Version + double + Returns the version number of the library. + + + PrivateKey + java.security.PrivateKey + Gets the private key of the KeyPairGenerator object. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.SignaturerWrapper + Signature + Similar to a MessageDigest, a Signature provides a way to check the integrity of information +transmitted over or stored in an unreliable medium and also ensures that it can be verified +that it originated from the person it purports to originate from. It accomplishes this by using +a private key to encode a hash of the original data and the corresponding public key of the key +pair to decode and check that hash value. + +A Signature object is initialized for signing with a private key and is given the data +to be signed. The resulting signature bytes are typically kept with the signed data. +When verification is needed, another Signature object is created and initialized for +verification and given the corresponding public key. The data and the signature bytes +are fed to the signature object, and if the data and signature match, the Signature +object reports success. + process + + Initialise + Initialises a Signature object that uses the specified algorithm for the specified mode. +Mode must be either SIGNATURE_VERIFY or SIGNATURE_SIGN. Once the object is Initialised +the data to be signed or verified is provided by one or more successive calls to Update. +When the entire data to be signed or verified has been loaded Sign or Verify is called. + void + + algorithm + java.lang.String + + + mode + int + + + key + java.security.Key + + + + Update + One or more calls to this method are required after initialisation to load the data to be +signed or verified. + void + + data + byte[] + + + + Sign + Sign the uploaded data using the private key provided on initialisation. +Return the calculated signature data. + byte[] + + + Verify + Verify the uploaded data using the public key provided on initialisation and the signature +provided. Return true if the verification is successful. + boolean + + signature + byte[] + + + + Version + double + Returns the version number of the library. + + + SIGNATURE_VERIFY + + int + + + SIGNATURE_SIGN + + int + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.MacWrapper + Mac + Similar to a MessageDigest, a Message Authentication Code (MAC) provides a way to check +the integrity of information transmitted over or stored in an unreliable medium, but includes +a secret key in the calculation. Only someone with the proper key will be able to verify the +received message. Typically, message authentication codes are used between two parties that +share a secret key in order to validate information transmitted between these parties. + +A MAC object is initialized for signing with a secret key and is given the data to be signed. +The resulting signature bytes are typically kept with the signed data. When verification is needed, +another MAC object is created and initialized with the same secret key.The data is uploaded and the +signature obtained is compared with the signature provided with the message. The comparison may +be made externally by comparing the signature provided with the data to that returned by Sign or +the MAC object can do the comparison itself by using the Verify method with the provided signature. + process + + Initialise + Initialises a Mac object that uses the specified algorithm and the specified secret key. +Once the object is Initialised the data to be signed or verified is provided by one or more +successive calls to Update. When the entire data to be signed or verified has been loaded + Sign or Verify is called. + void + + algorithm + java.lang.String + + + key + java.security.Key + + + + Update + One or more calls to this method are required after initialisation to load the data to be +signed or verified. + void + + data + byte[] + + + + Sign + Sign the uploaded data using the secret key provided on initialisation. +Return the calculated signature data. + byte[] + + + Verify + Verify the uploaded data using the public key provided on initialisation and the signature +provided. Return true if the verification is successful. + boolean + + signature + byte[] + + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.Base64 + Base64 + The Base64 object encodes and decodes to and from Base64 notation. + process + + EncodeStoS + Encode a string into a string of Base64 characters. The string is converted +into an array of bytes according to encoding and then coded as Base64. + java.lang.String + + data + java.lang.String + + + encoding + java.lang.String + + + + EncodeStoB + Encode a string into a byte array of Base64 characters. The string is converted +into an array of bytes according to encoding and then coded as Base64. + byte[] + + data + java.lang.String + + + encoding + java.lang.String + + + + EncodeBtoS + Encode a byte array into a string of Base64 characters. + java.lang.String + + data + byte[] + + + offset + int + + + length + int + + + + DecodeStoS + Decode a string of Base64 characters into a string. Tab, CR, LF and Space +characters in the data are ignored, invalid Base64 characters throw an exception. +Encoding defines the encoding of the byte data of the original coded string. + java.lang.String + + b64string + java.lang.String + + + encoding + java.lang.String + + + + DecodeStoB + Decode a String of Base64 characters into a byte array. Tab, CR, LF and Space +characters in the string are ignored, invalid Base64 characters throw an exception. + byte[] + + b64string + java.lang.String + + + + DecodeBtoS + Decode an array of Base64 characters into a string. Tab, CR, LF and Space +characters in the data are ignored, invalid Base64 characters throw an exception. +Encoding defines the encoding of the byte data of the original coded string. + java.lang.String + + b64bytes + byte[] + + + offset + int + + + length + int + + + encoding + java.lang.String + + + + DecodeBtoB + Decode a byte array of Base64 characters into a byte array. Tab, CR, LF and Space +characters in the data are ignored, invalid Base64 characters throw an exception. + byte[] + + b64bytes + byte[] + + + offset + int + + + length + int + + + + EncodeBtoB + Encode a byte array into a byte array of Base64 characters. + byte[] + + data + byte[] + + + offset + int + + + length + int + + + + LineLength + int + + linelength + int + + Gets or sets the number of Base64 characters placed on each line when line breaks +are being added to the Base64 output when encoding. + + + Version + double + Returns the version number of the library. + + + BreakLines + boolean + + breaklines + boolean + + Gets or sets whether line breaks are added to the Base64 output when encoding. + + + UrlSafe + boolean + + urlsafe + boolean + + Gets or sets whether the Base64 encoding and decoding is done in a "URL safe" manner. +In "URL safe mode" the "plus" character in the Base64 becomes a "hyphen" and the +"slash" character becomes an "underscore". + + + 1.1 + This library implements various encryption and encoding methods + +The following objects are available: + +Base64: used to encode and decode data in Base64 representation. +Cipher: used for encrypting/decrypting data. +KeyGenerator: used to generate and mainpulate secret keys for symmetric ciphers. +MAC: (Message Authentication Code) used generate secret key encrypted message digests. +MessageDigest: used to calculate the message digest (hash) of specified data. +SecureRandom: used to generate pseudo-random numbers. +Signature: are used to sign data and verify digital signatures. + +More information is given on each object in its help comments. + +These comments are intended to document the facilities provided by this library. +They are not intended in any way to cover their practical use. It is assumed that +you know what you are doing when you use this library. + +Documentation on the Java Cryptography Architecture may be found at +<link>http://download.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html</link> + +A list of standard names used in the Java Cryptography Architecture may be found at +<link>http://download.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html</link> + +Any implementation does not neccessarily include the complete list. A list of included +Service Providers may be obtained with the Cipher.GetServices method and they may be passed +individually to Cipher.GetAlgorithms to get the list of supported algorithms for that provider. + Andrew Graham + diff --git a/B4A/ExternalStorage.b4xlib b/B4A/ExternalStorage.b4xlib new file mode 100644 index 0000000..72380e8 Binary files /dev/null and b/B4A/ExternalStorage.b4xlib differ diff --git a/B4A/FusedLocationProvider.html b/B4A/FusedLocationProvider.html new file mode 100644 index 0000000..a70012c --- /dev/null +++ b/B4A/FusedLocationProvider.html @@ -0,0 +1,372 @@ + + + + + FusedLocationProvider + + +

FusedLocationProvider

+ + + + + + + + + + + + + + \ No newline at end of file diff --git a/B4A/FusedLocationProvider.jar b/B4A/FusedLocationProvider.jar new file mode 100644 index 0000000..f900488 Binary files /dev/null and b/B4A/FusedLocationProvider.jar differ diff --git a/B4A/FusedLocationProvider.xml b/B4A/FusedLocationProvider.xml new file mode 100644 index 0000000..49ef0ae --- /dev/null +++ b/B4A/FusedLocationProvider.xml @@ -0,0 +1,531 @@ + + + 1.04 + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus + LocationSettingsStatus + com.google.android.gms.common.api.Status + activity + ResolutionDialogDismissed(LocationSettingsUpdated As Boolean) + + StartResolutionDialog + Starts the resolution dialog. + The user can then enable the location settings required to meet the location request requirements. + This method must be called from an Activity. + Raises the event: + ResolutionDialogDismissed(LocationSettingsUpdated As Boolean) + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + GetStatusCode + Returns the status code that describes whether the location settings meet the location request requirements. + int + + + IsInitialized + + boolean + + + StatusCodes + Contains the various StatusCode constants. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus.StatusCodes + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus.StatusCodes + StatusCodes + process + + SETTINGS_CHANGE_UNAVAILABLE + Location settings do not meet the location request requirements. + Location settings can't be changed to meet the location request requirements. + No resolution dialog is available. + int + + + SUCCESS + Location settings meet the location request requirements. + int + + + RESOLUTION_REQUIRED + Location settings do not meet the location request requirements. + Location settings can be changed to meet the location request requirements. + A resolution dialog is available. + int + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStates + LocationSettingsStates + com.google.android.gms.location.LocationSettingsStates + process + + IsGpsPresent + Whether GPS provider is present on the device. + boolean + + + IsBlePresent + Whether BLE is present on the device. + boolean + + + IsNetworkLocationUsable + Whether network location provider is enabled and usable by the app. + boolean + + + IsInitialized + + boolean + + + IsNetworkLocationPresent + Whether network location provider is present on the device. + boolean + + + IsLocationPresent + Whether location is present on the device. + This method returns true when either GPS or network location provider is present. + boolean + + + IsGpsUsable + Whether GPS provider is enabled and is usable by the app. + boolean + + + IsLocationUsable + Whether location is enabled and is usable by the app. + This method returns true when either GPS or network location provider is usable. + boolean + + + IsBleusable + Whether BLE is enabled and is usable by the app. + boolean + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsResult + LocationSettingsResult + com.google.android.gms.location.LocationSettingsResult + process + + IsInitialized + + boolean + + + GetLocationSettingsStates + Returns the location settings states. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStates + + + GetLocationSettingsStatus + Returns the location settings result status. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder + LocationSettingsRequestBuilder + com.google.android.gms.location.LocationSettingsRequest.Builder + process + + Build + Creates a LocationSettingsRequest. + com.google.android.gms.location.LocationSettingsRequest + + + SetNeedBle + Sets whether the client wants BLE scan to be enabled. + When this flag is set to true, if the platform supports BLE scan mode and Bluetooth is off, the dialog will prompt the user to enable BLE scan. + If the platform doesn't support BLE scan mode, the dialog will prompt to enable Bluetooth. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder + + NeedBle + boolean + + + + AddLocationRequest + Adds one LocationRequest that the client is interested in. + This method can be called multiple times if required to add additional location requests. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder + + LocationRequest1 + com.google.android.gms.location.LocationRequest + + + + SetAlwaysShow + Always show the dialog, without the "Never" option to suppress future dialogs from this app. + When this flag is set to true, the dialog will show up if the location settings do not satisfy the request, even if a user has previously chosen "Never". + NOTE: Only use this method if your dialog is the result of an explicit user-initiated action that requires location to proceed. + Cancelling this dialog should also cancel the initiated action. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder + + AlwaysShow + boolean + + + + IsInitialized + + boolean + + + Initialize + + void + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + LocationRequest + com.google.android.gms.location.LocationRequest + process + + SetExpirationTime + Set the request expiration time, in millisecond since boot. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Millis + long + + + + SetPriority + Set the priority of the request. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Priority + int + + + + IsInitialized + + boolean + + + SetFastestInterval + Explicitly set the fastest interval for location updates, in milliseconds. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Millis + long + + + + Initialize + Initialize the LocationRequest with default parameters. + Default parameters are for a block accuracy, slowly updated location. + void + + + GetNumUpdates + Get the number of updates requested. + int + + + GetSmallestDisplacement + Get the minimum displacement between location updates in meters. + By default this is 0. + float + + + GetFastestInterval + Get the fastest interval of this request, in milliseconds. + long + + + GetExpirationTime + Get the request expiration time, in milliseconds since boot. + long + + + GetPriority + Get the quality of the request. + int + + + SetSmallestDisplacement + Set the minimum displacement between location updates in meters. + By default this is 0. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + SmallestDisplacementMeters + float + + + + GetInterval + Get the desired interval of this request, in milliseconds. + long + + + SetInterval + Set the desired interval for active location updates, in milliseconds. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Millis + long + + + + SetExpirationDuration + Set the duration of this request, in milliseconds. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Millis + long + + + + SetNumUpdates + Set the number of location updates. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + NumUpdates + int + + + + Priority + Contains the various priority constants. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest.Priority + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest.Priority + Priority + process + + PRIORITY_HIGH_ACCURACY + Used with SetPriority(Int) to request the most accurate locations available. + int + + + PRIORITY_LOW_POWER + Used with SetPriority(Int) to request "city" level accuracy. + int + + + PRIORITY_NO_POWER + Used with SetPriority(Int) to request the best accuracy possible with zero additional power consumption. + int + + + PRIORITY_BALANCED_POWER_ACCURACY + Used with SetPriority(Int) to request "block" level accuracy. + int + + + + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper + FusedLocationProvider + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProvider + process + ConnectionFailed(ConnectionResult1 As Int) + ConnectionSuccess + ConnectionSuspended(SuspendedCause1 As Int) + LocationChanged(Location1 As Location) + LocationSettingsChecked(LocationSettingsResult1 As LocationSettingsResult) + + GetLastKnownLocation + Returns the best most recent location currently available. + Can only be called if the FusedLocationProvider is connected. + The returned Location object will not be initialized if no last known location is available. + anywheresoftware.b4a.gps.LocationWrapper + + + RemoveLocationUpdates + Remove all requests for location updates. + void + + + Connect + Attempt to connect to the Location Services. + Will raise either event: + ConnectionFailed(ConnectionResult1 As Int) + ConnectionSuccess + void + + + IsInitialized + + boolean + + + Initialize + Initialize the FusedLocationProvider object. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + CheckLocationSettings + Checks if the relevant system settings are enabled on the device to carry out the desired location requests. + Raises the event: + LocationSettingsChecked(LocationSettingsResult1 As LocationSettingsResult) + void + + LocationSettingsRequest1 + com.google.android.gms.location.LocationSettingsRequest + + + + RequestLocationUpdates + Request for location updates. + The LocationRequest object defines the criteria for which location updates are requested. + void + + LocationRequest1 + com.google.android.gms.location.LocationRequest + + + + Disconnect + Disconnect from the Location Services. + void + + + IsConnecting + Returns whether the FusedLocationProvider is trying to connect to the Location Services. + boolean + + + IsConnected + Returns whether the FusedLocationProvider is connected to the Location Services. + boolean + + + ConnectionResult + Contains the various ConnectionResult constants. + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.ConnectionResult + + + SuspendedCause + Contains the various SuspendedCause constants. + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.SuspendedCause + + + + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.ConnectionResult + ConnectionResult + process + + SUCCESS + The connection was successful. + int + + + INTERNAL_ERROR + An internal error occurred. + int + + + RESOLUTION_REQUIRED + Completing the connection requires some form of resolution. + int + + + SERVICE_INVALID + The version of the Google Play services installed on this device is not authentic. + int + + + CANCELLED + The client cancelled the connection by calling Disconnect(). + int + + + INVALID_ACCOUNT + The client attempted to connect to the service with an invalid account name specified. + int + + + DEVELOPER_ERROR + The application is misconfigured. + int + + + SERVICE_MISSING + Google Play services is missing on this device. + int + + + LICENSE_CHECK_FAILED + The application is not licensed to the user. This error is not recoverable and will be treated as fatal. + int + + + NETWORK_ERROR + A network error occurred. Retrying should resolve the problem. + int + + + SERVICE_DISABLED + The installed version of Google Play services has been disabled on this device. + int + + + API_UNAVAILABLE + One of the API components you attempted to connect to is not available. + int + + + SERVICE_VERSION_UPDATE_REQUIRED + The installed version of Google Play services is out of date. + int + + + SIGN_IN_REQUIRED + The client attempted to connect to the service but the user is not signed in. + int + + + + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.SuspendedCause + SuspendedCause + process + + CAUSE_NETWORK_LOST + A connection suspended cause informing you that a peer device connection was lost. + int + + + CAUSE_SERVICE_DISCONNECTED + A connection suspended cause informing that the service has been killed. + int + + + 1.31 + The FusedLocationProvider intelligently manages the underlying location technology and gives you the best location according to your needs. + https://developer.android.com/google/play-services/location.html + This library depends on the Google Play Services library, android-support-v4 library and the GPS library. + The GPS library is required in order to use it's Location object. + Martin Pearman + android-support-v4 + google-play-services + GPS + diff --git a/B4A/GPS.jar b/B4A/GPS.jar new file mode 100644 index 0000000..0d347c0 Binary files /dev/null and b/B4A/GPS.jar differ diff --git a/B4A/GPS.xml b/B4A/GPS.xml new file mode 100644 index 0000000..5910e80 --- /dev/null +++ b/B4A/GPS.xml @@ -0,0 +1,266 @@ + + + 1.04 + + anywheresoftware.b4a.gps.LocationWrapper + Location + A Location object holds various information about a specific GPS fix. +In most cases you will work with locations that are passed to the GPS LocationChanged event. +The location object can also be used to calculate distance and bearing to other locations. + android.location.Location + process + + Initialize + Initializes an empty location object. + void + + + ConvertToSeconds + Converts the given coordinate to a string formatted with the following format: +[+-]DDD:MM:SS.SSSSS (Minute = 1 / 60 of a degree, Second = 1 / 3600 of a degree) + java.lang.String + + Coordinate + double + + + + DistanceTo + Returns the distance to the given location, measured in meters. + float + + TargetLocation + android.location.Location + + + + ConvertToMinutes + Converts the given coordinate to a string formatted with the following format: +[+-]DDD:MM.MMMMM (Minute = 1 / 60 of a degree) + java.lang.String + + Coordinate + double + + + + Initialize2 + Initializes the location object with the given Latitude and Longitude. +Values can be formatted in any of the three formats: +Degrees: [+-]DDD.DDDDD +Minutes: [+-]DDD:MM.MMMMM (Minute = 1 / 60 of a degree) +Seconds: [+-]DDD:MM:SS.SSSSS (Second = 1 / 3600 of a degree) +Example:<code> +Dim L1 As Location +L1.Initialize2("45:30:30", "45:20:15")</code> + void + + Latitude + java.lang.String + + + Longitude + java.lang.String + + + + IsInitialized + + boolean + + + BearingTo + Returns the bearing to the given location. + float + + TargetLocation + android.location.Location + + + + AltitudeValid + boolean + Returns true if the fix includes altitude value. + + + Accuracy + float + + value + float + + Gets or sets the fix accuracy (meters). + + + BearingValid + boolean + Returns true if the fix includes bearing value. + + + SpeedValid + boolean + Returns true if the fix includes speed value. + + + Altitude + double + + value + double + + Gets or sets the fix altitude (meters). + + + Speed + float + + value + float + + Gets or sets the fix speed (meters / second). + + + Time + long + + value + long + + Gets or sets the fix time. + + + Latitude + double + + value + double + + Gets or sets the fix latitude (degrees from -90 (South) to 90 (North)). + + + Longitude + double + + value + double + + Gets or sets the fix longitude (degrees from -180 to 180, positive values represent the eastern hemisphere). + + + AccuracyValid + boolean + Returns true if the fix includes accuracy value. + + + Bearing + float + + value + float + + Gets or sets the fix bearing East of true North. + + + + anywheresoftware.b4a.gps.GpsSatelliteWrapper + GPSSatellite + The GPSSatellite object holds various information about a GPS satellite. A List with the available satellites is passed to the GpsStatus event. + android.location.GpsSatellite + process + + IsInitialized + + boolean + + + UsedInFix + boolean + Tests whether this satellite was used to calculate the most recent fix. + + + Prn + int + Returns the PRN (pseudo-random number) for the satellite. + + + Elevation + float + Returns the satellite elevation in degrees (0 - 90). + + + Azimuth + float + Returns the satellite azimuth in degrees (0 - 360). + + + Snr + float + Returns the signal to noise ratio for the satellite. + + + + anywheresoftware.b4a.gps.GPS + GPS + The main object that raises the GPS events. +Note that this library requires Android 2.0 or above. + process + LocationChanged (Location1 As Location) + UserEnabled (Enabled As Boolean) + GpsStatus (Satellites As List) + NMEA (TimeStamp As Long, Sentence As String) + android.permission.ACCESS_FINE_LOCATION + + Initialize + + void + + EventName + java.lang.String + + + + Start + Starts listening for events. +MinimumTime - The shortest period (measured in milliseconds) between events. Pass 0 for highest frequency. +MinimumDistance - The shortest change in distance (measured in meters) for which to raise events. Pass 0 for highest frequency. + void + + ba + anywheresoftware.b4a.BA + + + MinimumTime + long + + + MinimumDistance + float + + + + Stop + Stops listening to the GPS. You will usually want to call Stop inside Sub Activity_Pause. + void + + + IsInitialized + + boolean + + + GPSEnabled + boolean + Tests whether the user has enabled the GPS. + + + LocationSettingsIntent + android.content.Intent + Returns the intent that is used to show the global locations settings. +Example:<code> +If GPS1.GPSEnabled = False Then StartActivity(GPS1.LocationSettingsIntent)</code> + + + 1.2 + The GPS library allows you to get information from the phone's GPS device. +See the <link>GPS tutorial|http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/6592-gps-tutorial.html</link> for more information about this library. + diff --git a/B4A/GifDecoder.jar b/B4A/GifDecoder.jar new file mode 100644 index 0000000..ebde497 Binary files /dev/null and b/B4A/GifDecoder.jar differ diff --git a/B4A/GifDecoder.xml b/B4A/GifDecoder.xml new file mode 100644 index 0000000..3390f2a --- /dev/null +++ b/B4A/GifDecoder.xml @@ -0,0 +1,121 @@ + + + 1.00 + + anywheresoftware.b4a.agraham.gifdecoder.GifDecoder + GifDecoder + Processing larger animated GIFs with many frames can be a slow process on a device. +Also such files may occupy a large amount of memory as each individual frame is saved for +display as a bitmap when the GIF is loaded. Invoking Load will dispose of any existing frame +bitmaps. If it is required to keep any of those bitmaps they should be copied, not assigned, +into another bitmap. + activity + + DisposeFrames + Disposes of all the frame bitmaps of any presently loaded GIF file. +This may be necessary for memory management purposes on a device. + void + + + Load + Loads the GIF from the pathname specified and decodes the individual frames. + void + + dir + java.lang.String + + + gifname + java.lang.String + + + + Delay + Returns the delay time, in milliseconds, for the frame number specified. +This time is the period for which the frame should be displayed before advancing +to the next frame. + int + + frame + int + + + + Frame + Returns a Bitmap containing the specified frame. + android.graphics.Bitmap + + frame + int + + + + SaveFrame + Saves a frame to to the file and path specified in the format specified. +Note that a file extension is not automatically added and must be specified +as part of the filename. The file formats are "J" for jpg and "P" for png. +Anything else is saved as jpg. Quality is 0 to 100 and is only relevant for jpgs +0 meaning compress for small size, 100 meaning compress for max quality. +PNG which is lossless, will ignore the quality setting. + void + + frame + int + + + dir + java.lang.String + + + filename + java.lang.String + + + format + java.lang.String + + + quality + int + + + + FrameWidth + int + Returns the width of each frame in the last GIF loaded. + + + LoopCount + int + Returns the iteration count, if one was specified, in the last GIF loaded otherwise +it returns 1. The iteration count specifies how many times the animation should be displayed. +A count of 0 means repeat indefinitely. + + + FrameHeight + int + Returns the height of each frame in the last GIF loaded. + + + Version + double + Returns the version number of the library. + + + FrameCount + int + Returns the number of frames in the last GIF loaded. + + + 1.0 + The GifDecoder library provides a GifDecoder object that provides the facility to +extract the individual frames and associated delay information from an animated GIF file. + +No copyright is asserted on the source or object code of this library. It may be used for +any purpose, however, refer to the Unisys LZW patent for any additional restrictions. + +The decoder was originally written as a component of a bigger application by Kevin Weiner of +FM Software using an LZW decoder adapted from John Cristy's ImageMagick. Performance greatly +improved, some bugs squashed, adapted for use with Basic4ppc and further translated into Java +for use in Basic4android applications by Andrew Graham. + diff --git a/B4A/GoogleMaps.jar b/B4A/GoogleMaps.jar new file mode 100644 index 0000000..9f120b8 Binary files /dev/null and b/B4A/GoogleMaps.jar differ diff --git a/B4A/GoogleMaps.xml b/B4A/GoogleMaps.xml new file mode 100644 index 0000000..2321c2f --- /dev/null +++ b/B4A/GoogleMaps.xml @@ -0,0 +1,653 @@ + + + 1.07 + + anywheresoftware.b4a.objects.MapFragmentWrapper + MapFragment + activity + Ready + CameraChange (Position As CameraPosition) + Click (Point As LatLng) + LongClick (Point As LatLng) + MarkerClick (SelectedMarker As Marker) As Boolean 'Return True to consume the click + android.permission.INTERNET + com.google.android.providers.gsf.permission.READ_GSERVICES + android.permission.ACCESS_COARSE_LOCATION + android.permission.ACCESS_FINE_LOCATION + $PACKAGE$.permission.MAPS_RECEIVE + android.permission.ACCESS_NETWORK_STATE + + DesignerCreateView + + void + + base + anywheresoftware.b4a.objects.PanelWrapper + + + lw + anywheresoftware.b4a.objects.LabelWrapper + + + props + anywheresoftware.b4a.objects.collections.Map + + + + GetOpenSourceLicenseInfo + Should not be used. + java.lang.String + + ba + anywheresoftware.b4a.BA + + + + GetMap + Returns the GoogleMap object. You should check that the object returned is initialized. +It will not be initialized if there was any error. +The map is only available after the Ready event fires. + anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper + + + IsGooglePlayServicesAvailable + Tests whether Google Play Services area available. + boolean + + ba + anywheresoftware.b4a.BA + + + + Initialize + Initializes this object and adds the map to the given parent. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + Parent + android.view.ViewGroup + + + key:MapType, displayname:Map Type, fieldtype:String, defaultvalue:NORMAL, list:NORMAL|SATELLITE|TERRAIN + key:TrafficEnabled, displayname:Traffic Enabled, fieldtype:Boolean, defaultvalue:False, description:Whether to show the traffic layer. + key:BuildingsEnabled, displayname:Building Enabled, fieldtype:Boolean, defaultvalue:False, description:Whether to show the buildings layer. + key:auto1CompassEnabled, displayname:Compass Enabled, fieldtype:Boolean, defaultvalue:True + key:auto1MyLocationButtonEnabled, displayname:MyLocation Button Enabled, fieldtype:Boolean, defaultvalue:True + key:auto1RotateGesturesEnabled, displayname:Rotate Gestures Enabled, fieldtype:Boolean, defaultvalue:True + key:auto1ScrollGesturesEnabled, displayname:Scroll Gestures Enabled, fieldtype:Boolean, defaultvalue:True + key:auto1TiltGesturesEnabled, displayname:Tilt Gestures Enabled, fieldtype:Boolean, defaultvalue:True + key:auto1ZoomControlsEnabled, displayname:Zoom Controls Enabled, fieldtype:Boolean, defaultvalue:True + key:auto1ZoomGesturesEnabled, displayname:Zoom Gestures Enabled, fieldtype:Boolean, defaultvalue:True + + + anywheresoftware.b4a.objects.MapFragmentWrapper.GoogleMapWrapper + GoogleMap + com.google.android.gms.maps.GoogleMap + process + + AddMarker2 + Similar to AddMarker. The last parameter sets the marker's hue color. It should be +one of the HUE constants. + anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper + + Lat + double + + + Lon + double + + + Title + java.lang.String + + + HueColor + float + + + + IsInitialized + + boolean + + + AddMarker + Adds a marker to the map. +This method returns a Marker object which you can further customize. + anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper + + Lat + double + + + Lon + double + + + Title + java.lang.String + + + + AddMarker3 + Similar to AddMarker. The last parameter sets the marker icon. + anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper + + Lat + double + + + Lon + double + + + Title + java.lang.String + + + Bitmap + android.graphics.Bitmap + + + + Clear + + void + + + AnimateCamera + Moves the camera to the new position. The movement is animated. + void + + NewPosition + com.google.android.gms.maps.model.CameraPosition + + + + GetUiSettings + Returns a MapUiSettings object which you can use to configure the user interface. + anywheresoftware.b4a.objects.MapFragmentWrapper.UiSettingsWrapper + + + AddPolyline + Adds a Polyline. This method returns a Polyline object which you should use to set the points. + anywheresoftware.b4a.objects.MapFragmentWrapper.PolylineWrapper + + + MoveCamera + Immediately moves the camera to the new position. + void + + NewPosition + com.google.android.gms.maps.model.CameraPosition + + + + CameraPosition + anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper + Returns the current camera position. + + + MyLocationEnabled + boolean + + v + boolean + + Gets or sets whether the device location will be marked. + + + MyLocation + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + Returns the current location. Will return an uninitialized object if the location is not available. + + + TrafficEnabled + boolean + + v + boolean + + Gets or sets whether traffic data is drawn on the map (if such data is available). + + + MapType + int + + v + int + + Gets or sets the map type. The value should be one of the MAP_TYPE constants. + + + HUE_GREEN + + float + + + MAP_TYPE_SATELLITE + + int + + + HUE_AZURE + + float + + + HUE_ORANGE + + float + + + HUE_MAGENTA + + float + + + HUE_YELLOW + + float + + + HUE_VIOLET + + float + + + MAP_TYPE_TERRAIN + + int + + + HUE_RED + + float + + + MAP_TYPE_NONE + + int + + + HUE_ROSE + + float + + + MAP_TYPE_NORMAL + + int + + + HUE_CYAN + + float + + + MAP_TYPE_HYBRID + + int + + + HUE_BLUE + + float + + + + anywheresoftware.b4a.objects.MapFragmentWrapper.CameraPositionWrapper + CameraPosition + The map view is modeled as a camera looking down on a flat plane. +See this <link>link|https://developers.google.com/maps/documentation/android/views#the_camera_position</link> for more information about the possible values. + com.google.android.gms.maps.model.CameraPosition + process + + Initialize2 + Initializes the camera position with the given latitude, longitude, zoom, bearing and tile. + void + + Lat + double + + + Lng + double + + + Zoom + float + + + Bearing + float + + + Tilt + float + + + + IsInitialized + + boolean + + + Initialize + Initializes the camera position with the given latitude, longitude and zoom. + void + + Lat + double + + + Lng + double + + + Zoom + float + + + + Target + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + Returns the location that the camera is pointing at. + + + Zoom + float + Returns the zoom level. + + + Tilt + float + Returns the tilt value. + + + Bearing + float + Returns the direction the camera is pointing at. + + + + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + LatLng + Holds latitude and longitude values. + com.google.android.gms.maps.model.LatLng + process + + IsInitialized + + boolean + + + Initialize + Initializes a new object. + void + + Latitude + double + + + Longitude + double + + + + Latitude + double + Returns the latitude value. + + + Longitude + double + Returns the longitude value. + + + + anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper + Marker + An icon placed on the map. Call GoogleMap.AddMarker to create such a marker. + com.google.android.gms.maps.model.Marker + process + + Remove + Removes the marker from the map. + void + + + IsInitialized + + boolean + + + Draggable + boolean + + v + boolean + + Gets or sets whether the marker can be dragged by the user. + + + Position + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + value + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + Gets or sets the marker position. + + + InfoWindowShown + boolean + + v + boolean + + Gets or sets whether the info window is shown. + + + Visible + boolean + + v + boolean + + Gets or sets whether the marker is visible. + + + Title + java.lang.String + + v + java.lang.String + + Gets or sets the marker title. + + + Snippet + java.lang.String + + v + java.lang.String + + Gets or sets the snippet text that appears when the marker is clicked. + + + + anywheresoftware.b4a.objects.MapFragmentWrapper.PolylineWrapper + Polyline + A series of lines added to the map. +Call GoogleMap.AddPolyline to create this object. + com.google.android.gms.maps.model.Polyline + process + + Remove + Removes the line from the map. + void + + + IsInitialized + + boolean + + + Points + anywheresoftware.b4a.objects.collections.List + + points + anywheresoftware.b4a.objects.collections.List + + Gets or sets the list of points that build the lines. +The list should hold objects of type LatLng. + + + ZIndex + float + + v + float + + Gets or sets the line z-index. + + + Color + int + + v + int + + Gets or sets the line color. + + + Visible + + v + boolean + + + + + Geodesic + boolean + + v + boolean + + Gets or sets whether the line segments are geodesic lines (shortest path on the earth surface) or straight lines. +The default value is False. + + + Width + float + + v + float + + Gets or sets the line width. + + + Visibile + boolean + Gets or sets whether this line is visible. + + + + anywheresoftware.b4a.objects.MapFragmentWrapper.UiSettingsWrapper + MapUiSettings + Call GoogleMap.GetUiSettings to obtain this object. + com.google.android.gms.maps.UiSettings + process + + IsInitialized + + boolean + + + CompassEnabled + boolean + + v + boolean + + Gets or sets whether the compass is enabled. + + + ZoomControlsEnabled + boolean + + v + boolean + + Gets or sets whether zoom controls are enabled. + + + RotateGesturesEnabled + boolean + + v + boolean + + Gets or sets whether rotate gestures are enabled. + + + TiltGesturesEnabled + boolean + + v + boolean + + Gets or sets whether tilt gestures are enabled. + + + ScrollGesturesEnabled + boolean + + v + boolean + + Gets or sets whether scroll gestures are enabled. + + + AllGesturesEnabled + + v + boolean + + Enables or disables all gestures. + + + ZoomGesturesEnabled + boolean + + v + boolean + + Gets or sets whether zoom gestures are enabled. + + + MyLocationButtonEnabled + boolean + + v + boolean + + Gets or sets whether the my-location button is enabled. + + + 2.5 + This library allows you to show maps from Google Maps service in your application. +It requires Android 4+ (API level 14+). +Please see the <link>tutorial|https://www.b4x.com/android/forum/threads/google-maps.63930/</link> for more information about the setup process. + com.google.android.gms:play-services-maps + diff --git a/B4A/GoogleMapsExtras.jar b/B4A/GoogleMapsExtras.jar new file mode 100644 index 0000000..41a5034 Binary files /dev/null and b/B4A/GoogleMapsExtras.jar differ diff --git a/B4A/GoogleMapsExtras.xml b/B4A/GoogleMapsExtras.xml new file mode 100644 index 0000000..59f57dd --- /dev/null +++ b/B4A/GoogleMapsExtras.xml @@ -0,0 +1,3262 @@ + + + 1.04 + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlay + GroundOverlay + com.google.android.gms.maps.model.GroundOverlay + process + + IsVisible + + boolean + + + SetDimensions + + void + + Width + float + + + + Remove + + void + + + IsInitialized + + boolean + + + SetDimensions2 + + void + + Width + float + + + Height + float + + + + Transparency + float + + Transparency + float + + + + + ZIndex + float + + ZIndex + float + + + + + Visible + + Visible + boolean + + + + + PositionFromBounds + + Bounds + com.google.android.gms.maps.model.LatLngBounds + + + + + Image + + Bitmap1 + android.graphics.Bitmap + + Sets the image for the Ground Overlay using a Bitmap. + The new image will occupy the same bounds as the old image. + + + Bounds + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + + + Image2 + + BitmapDescriptor1 + com.google.android.gms.maps.model.BitmapDescriptor + + Sets the image for the Ground Overlay using a BitmapDescriptor. + The new image will occupy the same bounds as the old image. + + + Position + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + Position + com.google.android.gms.maps.model.LatLng + + + + + Height + float + + + + Id + java.lang.String + + + + Width + float + + + + Bearing + float + + Bearing + float + + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLocation + StreetViewPanoramaLocation + com.google.android.gms.maps.model.StreetViewPanoramaLocation + process + + IsInitialized + + boolean + + + Links + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLink[] + Array of StreetViewPanoramaLink able to be reached from the current position. + + + PanoId + java.lang.String + The panorama ID of the current Street View panorama. + + + Position + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + The location of the current Street View panorama. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + LatLngBounds + com.google.android.gms.maps.model.LatLngBounds + process + + Initialize + Initialize the LatLngBounds. + void + + SouthWest + com.google.android.gms.maps.model.LatLng + + + NorthEast + com.google.android.gms.maps.model.LatLng + + + + Contains + Returns whether this LatLngBounds contains LatLng1. + boolean + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + IsInitialized + + boolean + + + Including + Returns a new LatLngBounds that extends this LatLngBounds to include the given LatLng. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + SouthWest + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + Returns south-west corner of this LatLngBounds as a LatLng. + + + Center + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + Returns the center of this LatLngBounds. + The center is simply the average of the coordinates (taking into account if it crosses the antimeridian). + This is approximately the geographical center (it would be exact if the Earth were a perfect sphere). + It will not necessarily be the center of the rectangle as drawn on the map due to the Mercator projection. + + + NorthEast + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + Returns north-east corner of this LatLngBounds as a LatLng. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Tile + Tile + com.google.android.gms.maps.model.Tile + process + + Initialize + + void + + Width + int + + + Height + int + + + Data + byte[] + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLink + StreetViewPanoramaLink + com.google.android.gms.maps.model.StreetViewPanoramaLink + process + + IsInitialized + + boolean + + + PanoId + java.lang.String + Panorama ID of the linked Street View panorama. + + + Bearing + float + The direction of the linked Street View panorama, in degrees clockwise from north + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + StreetViewPanoramaCameraBuilder + com.google.android.gms.maps.model.StreetViewPanoramaCamera.Builder + process + + Tilt + Sets the angle, in degrees, of the camera from the horizon of the panorama. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + Tilt + float + + + + Orientation + Sets the camera tilt and bearing based upon the given orientation's tilt and bearing. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + StreetViewPanoramaOrientation1 + com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + + Build + Builds a StreetViewPanoramaCamera. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + Zoom + Sets the zoom level of the camera. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + Zoom + float + + + + Bearing + Sets the direction that the camera is pointing in, in degrees clockwise from north. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + Bearing + float + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation + StreetViewPanoramaOrientation + com.google.android.gms.maps.model.StreetViewPanoramaOrientation + process + + Initialize + + void + + Tilt + float + + + Bearing + float + + + + Builder2 + Creates a builder for a Street View panorama orientation. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + + StreetViewPanoramaOrientation1 + com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + + Builder + Creates a builder for a Street View panorama orientation. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + + + IsInitialized + + boolean + + + Tilt + float + The angle, in degrees, of the orientation. + + + Bearing + float + Direction of the orientation, in degrees clockwise from north. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + BitmapDescriptor + com.google.android.gms.maps.model.BitmapDescriptor + process + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon + Polygon + com.google.android.gms.maps.model.Polygon + process + + Remove + Remove this polygon from the map. + void + + + IsInitialized + + boolean + + + ZIndex + float + + ZIndex + float + + Get or Set the ZIndex of this polygon. + + + StrokeWidth + float + + StrokeWidth + float + + Get or Set the stroke width of this polygon. + + + Visible + boolean + + Visible + boolean + + Get or Set the visibility of this polygon. + + + FillColor + int + + FillColor + int + + Get or Set the fill color of this polygon. + + + StrokeColor + int + + StrokeColor + int + + Get or Set the stroke color of this polygon. + + + Points + anywheresoftware.b4a.objects.collections.List + + points + anywheresoftware.b4a.objects.collections.List + + Get or Set the list of points that build the polyline. + To Add vertices to the outline of the polygon being built, the vertices must be added in counterclockwise order. + The list should hold objects of type LatLng. + + + Geodesic + boolean + + Geodesic + boolean + + Get or Set whether the line segments are geodesic lines (shortest path on the earth surface) or straight lines. + The default value is False. + + + Holes + anywheresoftware.b4a.objects.collections.List + + Holes + anywheresoftware.b4a.objects.collections.List + + Get or Set the holes of this polygon. + Setting this property will take a copy of the holes, so further mutations to holes will have no effect on this polygon. + Holes should be set using a List that contains a List of LatLng objects for each hole. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + StreetViewPanoramaOrientationBuilder + com.google.android.gms.maps.model.StreetViewPanoramaOrientation.Builder + process + + Build + Builds a StreetViewPanoramaOrientation. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + SetBearing + Sets the direction of the orientation, in degrees clockwise from north. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + + Bearing + float + + + + SetTilt + Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + + Tilt + float + + + + IsInitialized + + boolean + + + Tilt + float + The angle, in degrees, of the orientation. + + + Bearing + float + Direction of the orientation, in degrees clockwise from north. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + TileOverlayOptions + com.google.android.gms.maps.model.TileOverlayOptions + process + + Initialize + Initializes a new set of tile overlay options. + void + + + SetFadeIn + Set whether the tiles should fade in. + Default value is True. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + + FadeIn + boolean + + + + SetTileProvider + Specifies the tile provider to use for this tile overlay. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + + TileProvider1 + com.google.android.gms.maps.model.TileProvider + + + + GetFadeIn + + boolean + + + SetVisible + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + + Visible + boolean + + + + SetZIndex + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + + ZIndex + float + + + + GetZIndex + + float + + + IsVisible + Returns the visibility setting for this TileOverlayOptions object. + boolean + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + MarkerOptions + com.google.android.gms.maps.model.MarkerOptions + process + + Alpha + Sets the alpha (opacity) of the marker. + This is a value from 0 to 1, where 0 means the marker is completely transparent and 1 means the marker is completely opaque. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Alpha + float + + + + Visible + Sets the visibility for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Visible + boolean + + + + GetPosition + Returns the position set for this MarkerOptions object. + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + Draggable + Sets the draggability for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Draggable + boolean + + + + IsDraggable + Gets the draggability setting for this MarkerOptions object. + boolean + + + IsVisible + Gets the visibility setting for this MarkerOptions object. + boolean + + + Rotate + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Rotation + float + + + + GetTitle + Gets the title set for this MarkerOptions object. + java.lang.String + + + IsInitialized + + boolean + + + Initialize + Creates a new set of MarkerOptions. + void + + + Snippet + Sets the snippet for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Snippet + java.lang.String + + + + GetAnchorU + Horizontal distance, normalized to [0, 1], of the anchor from the left edge. + float + + + IsFlat + Gets the flat setting for this MarkerOptions object. + boolean + + + GetAnchorV + Vertical distance, normalized to [0, 1], of the anchor from the top edge. + float + + + Title + Sets the title for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Title + java.lang.String + + + + GetAlpha + Gets the alpha that has been set for this MarkerOptions object. + float + + + GetInfoWindowAnchorV + + float + + + GetInfoWindowAnchorU + + float + + + GetRotation + Gets the rotation set for this MarkerOptions. + float + + + Anchor + Specifies the anchor to be at a particular point in the marker image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + U + float + + + V + float + + + + Flat + Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Flat + boolean + + + + GetIcon + Gets the custom icon set for this MarkerOptions object. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + + Position + Sets the location for the marker using a LatLng. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + GetSnippet + Gets the snippet set for this MarkerOptions object. + java.lang.String + + + Position2 + Sets the location for the marker using latitude and longitude values. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Latitude + double + + + Longitude + double + + + + InfoWindowAnchor + Specifies the anchor point of the info window on the marker image. + The default is the top middle of the image. + U - coordinate of the info window anchor, as a ratio of the image width (in the range [0, 1]). + V - coordinate of the info window anchor, as a ratio of the image height (in the range [0, 1]). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + U + float + + + V + float + + + + Icon + Sets the icon for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + BitmapDescriptor1 + com.google.android.gms.maps.model.BitmapDescriptor + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.VisibleRegion + VisibleRegion + com.google.android.gms.maps.model.VisibleRegion + process + + Initialize + Creates a new VisibleRegion given the four corners of the camera. + void + + NearLeft + com.google.android.gms.maps.model.LatLng + + + NearRight + com.google.android.gms.maps.model.LatLng + + + FarLeft + com.google.android.gms.maps.model.LatLng + + + FarRight + com.google.android.gms.maps.model.LatLng + + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + + IsInitialized + + boolean + + + FarRight + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + LatLngBounds + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + + + NearRight + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + NearLeft + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + FarLeft + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.UrlTileProvider + UrlTileProvider + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.UrlTileProviderImpl + process + + Initialize + Initialize the UrlTileProvider. +UrlTemplate - a String which is the Url to a tile with X, Y and zoom parameters replaced: +Here the standard OSM slippy map tilenaming is used. +http://<my tileserver url>/%3$d/%1$d/%2$d.png +Url parameters are %1$d tileX, %2$d tileY, %3$d zoom +Width - tile width in pixels. +Height - tile height in pixels. + void + + UrlTemplate + java.lang.String + + + Width + int + + + Height + int + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlay + TileOverlay + com.google.android.gms.maps.model.TileOverlay + process + + IsVisible + Gets the visibility of this tile overlay. + boolean + + + Remove + Removes this tile overlay from the map. + void + + + ClearTileCache + Clears the tile cache so that all tiles will be requested again from the TileProvider. + void + + + IsInitialized + + boolean + + + ZIndex + float + + ZIndex + float + + Get or Set the zIndex of this tile overlay. + + + Visible + + Visible + boolean + + Sets the visibility of this tile overlay. + + + Id + java.lang.String + Returns this tile overlay's id. + + + FadeIn + boolean + + FadeIn + boolean + + Get or Set whether the tiles should fade in. + Default value is True. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + GroundOverlayOptions + com.google.android.gms.maps.model.GroundOverlayOptions + process + + Initialize + + void + + + Visible + Specifies the visibility for the ground overlay. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Visible + boolean + + + + PositionFromBounds + Specifies the position for this ground overlay. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Bounds + com.google.android.gms.maps.model.LatLngBounds + + + + SetBearing + Specifies the bearing of the ground overlay in degrees clockwise from north. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Bearing + float + + + + Image2 + Specifies the image for this ground overlay using a BitmapDescriptor. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + BitmapDescriptor1 + com.google.android.gms.maps.model.BitmapDescriptor + + + + SetTransparency + Specifies the transparency of the ground overlay. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Transparency + float + + + + GetBearing + + float + + + SetZIndex + Specifies the ground overlay's zIndex, i.e., the order in which it will be drawn. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + ZIndex + float + + + + Anchor + Specifies the anchor to be at a particular point in the image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + U + float + + + V + float + + + + Image + Specifies the image for this ground overlay using a Bitmap. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Bitmap1 + android.graphics.Bitmap + + + + GetZIndex + + float + + + IsVisible + + boolean + + + GetTransparency + + float + + + Position + Specifies the position for this ground overlay using an anchor point (a LatLng), width and height (both in meters). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Position + com.google.android.gms.maps.model.LatLng + + + Width + float + + + Height + float + + + + Position2 + Specifies the position for this ground overlay using an anchor point (a LatLng) and the width (in meters). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Position + com.google.android.gms.maps.model.LatLng + + + Width + float + + + + IsInitialized + + boolean + + + Bounds + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + + + AnchorV + float + Returns vertical distance, normalized to [0, 1], of the anchor from the top edge. + + + Location + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + Height + float + + + + AnchorU + float + Returns horizontal distance, normalized to [0, 1], of the anchor from the left edge. + + + Width + float + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptorFactory + BitmapDescriptorFactory + process + + FromFile + Creates a BitmapDescriptor using the name of an image file located in the internal storage. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + Filename + java.lang.String + + + + DefaultMarker2 + Creates a BitmapDescriptor that refers to a colorization of the default marker image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + Hue + float + + + + FromResource + Creates a BitmapDescriptor using the resource id of an image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + ResourceId + int + + + + DefaultMarker + Creates a BitmapDescriptor that refers to the default marker image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + + FromBitmap + Creates a BitmapDescriptor from a given Bitmap. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + Bitmap1 + android.graphics.Bitmap + + + + FromPath + Creates a BitmapDescriptor from an absolute file path. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + AbsolutePath + java.lang.String + + + + FromAsset + Creates a BitmapDescriptor using the name of an image in the assets directory. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + AssetName + java.lang.String + + + + HUE_ROSE + + float + + + HUE_GREEN + + float + + + HUE_ORANGE + + float + + + HUE_BLUE + + float + + + HUE_YELLOW + + float + + + HUE_MAGENTA + + float + + + HUE_VIOLET + + float + + + HUE_RED + + float + + + HUE_CYAN + + float + + + HUE_AZURE + + float + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomUrlTileProvider + CustomUrlTileProvider + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomUrlTileProviderImpl + process + GetTileUrl(TileX As Int, TileY As Int, Zoom As Int) As String + + Initialize + Initialize the CustomUrlTileProvider. + Width - width of the images used for tiles. + Height - height of the images used for tiles. + The CustomUrlTileProvider raises the event: + GetTileUrl(TileX As Int, TileY As Int, Zoom As Int) As String + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + Width + int + + + Height + int + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera + StreetViewPanoramaCamera + com.google.android.gms.maps.model.StreetViewPanoramaCamera + process + + Initialize + Constructs a StreetViewPanoramaCamera. + void + + Zoom + float + + + Tilt + float + + + Bearing + float + + + + Builder2 + Creates a builder for a Street View panorama camera. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + StreetViewPanoramaCamera1 + com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + + Builder + Creates a builder for a Street View panorama camera. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + + GetOrientation + Returns the particular camera's tilt and bearing as an orientation. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomTileProvider + CustomTileProvider + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileProviderImpl + process + + Initialize + Initialize the CustomTileProvider. + When the CustomTileProvider requires a Tile it uses Reflection to call a b4a Sub, the b4a Sub must return a Tile object. + ClassInstance - The module that contains the Sub that will return a Tile object. + SubName - The name of the Sub that will return a Tile object. + void + + pBA + anywheresoftware.b4a.BA + + + ClassInstance + java.lang.Object + + + SubName + java.lang.String + + + + IsInitialized + + boolean + + + NO_TILE + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Tile + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.PolygonOptions + PolygonOptions + com.google.android.gms.maps.model.PolygonOptions + process + + Initialize + + void + + + AddHole + Adds a hole to the polygon being built. + The vertices of the hole must be in counterclockwise order. + Hole should be a List of LatLng objects. + void + + Hole + anywheresoftware.b4a.objects.collections.List + + + + AddPoints + Adds vertices to the outline of the polygon being built. The vertices must be added in counterclockwise order. + The List should hold objects of type LatLng. + + In version 1.00 of this library, this method was the writeable Points property. + As the vertices are added to (and don't replace) any existing vertices the property is removed and replaced with this new method. + void + + points + anywheresoftware.b4a.objects.collections.List + + + + IsInitialized + + boolean + + + AddPoint + Adds a vertex to the outline of the polygon being built. + void + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + ZIndex + float + + ZIndex + float + + + + + StrokeWidth + float + + StrokeWidth + float + + + + + Visible + boolean + + Visible + boolean + + + + + FillColor + int + + FillColor + int + + + + + StrokeColor + int + + StrokeColor + int + + + + + Points + anywheresoftware.b4a.objects.collections.List + + + + Geodesic + boolean + + Geodesic + boolean + + + + + Holes + anywheresoftware.b4a.objects.collections.List + Get the holes of this polygon. + Returns a List that contains a List of LatLng objects for each hole. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Circle + Circle + com.google.android.gms.maps.model.Circle + process + + Remove + Remove the Circle from the map. + void + + + IsInitialized + + boolean + + + ZIndex + float + + ZIndex + float + + Get or Set the Circle ZIndex. + + + StrokeWidth + float + + StrokeWidth + float + + Get or Set the Circle stroke width. + + + Visible + boolean + + Visible + boolean + + + + + Radius + double + + Radius + double + + Get or Set the Circle radius in meters. + + + FillColor + int + + FillColor + int + + Get or Set the Circle fill color. + + + StrokeColor + int + + StrokeColor + int + + Get or Set the Circle stroke color. + + + Id + java.lang.String + Get the Circle Id. + + + Center + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + LatLng1 + com.google.android.gms.maps.model.LatLng + + Get or Set the Circle center. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + CircleOptions + com.google.android.gms.maps.model.CircleOptions + process + + Initialize + Creates a new CircleOptions. + void + + + Visible + Sets the visibility. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + Visible + boolean + + + + GetStrokeWidth + Gets the stroke width. + float + + + GetRadius + Gets the radius in meters. + double + + + ZIndex + Sets the ZIndex. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + ZIndex + float + + + + StrokeWidth + Sets the stroke width. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + StrokeWidth + float + + + + Center2 + Sets the center using latitude and longitude. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + Latitude + double + + + Longitude + double + + + + FillColor + Sets the fill color. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + FillColor + int + + + + Radius + Sets the radius in meters. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + Radius + double + + + + StrokeColor + Sets the stroke color. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + StrokeColor + int + + + + GetCenter + Gets the center as a LatLng. + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + GetZIndex + Gets the ZIndex. + float + + + IsVisible + Gets the visibility of this circle. + boolean + + + Center + Sets the center using a LatLng. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + GetFillColor + Gets the fill color. + int + + + IsInitialized + + boolean + + + GetStrokeColor + Gets the stroke color. + int + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBoundsBuilder + LatLngBoundsBuilder + com.google.android.gms.maps.model.LatLngBounds.Builder + process + + Initialize + + void + + + Build + Creates and returns the LatLngBounds. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + + Include + Includes this point for building of the bounds. + The bounds will be extended in a minimum way to include this point. + https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/model/LatLngBounds.Builder + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBoundsBuilder + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.android.graphics.Point + Point + android.graphics.Point + process + + Initialize + + void + + X + int + + + Y + int + + + + Offset + Offset the point's coordinates by Dx, Dy. + void + + Dx + int + + + Dy + int + + + + Set + Set the point's X and Y coordinates . + void + + X + int + + + Y + int + + + + Negate + Negate the point's coordinates. + void + + + IsInitialized + + boolean + + + Y + int + + + + X + int + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.Projection + Projection + com.google.android.gms.maps.Projection + process + + GetVisibleRegion + Gets a projection of the viewing frustum for converting between screen coordinates and geo-latitude/longitude coordinates. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.VisibleRegion + + + ToScreenLocation + Returns a screen location that corresponds to a geographical coordinate. + uk.co.martinpearman.b4a.android.graphics.Point + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + FromScreenLocation + Returns the geographic location that corresponds to a screen location. + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + Point1 + android.graphics.Point + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdateFactory + CameraUpdateFactory + process + + ZoomIn + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + + ZoomBy + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + Amount + float + + + Point1 + android.graphics.Point + + + + ZoomBy2 + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + Amount + float + + + + ScrollBy + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + XPixel + float + + + YPixel + float + + + + NewCameraPosition + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + CameraPosition1 + com.google.android.gms.maps.model.CameraPosition + + + + ZoomOut + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + + ZoomTo + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + ZoomLevel + float + + + + NewLatLngBounds2 + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + Width + int + + + Height + int + + + Padding + int + + + + NewLatLngZoom + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + Zoom + float + + + + NewLatLngBounds + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + Padding + int + + + + NewLatLng + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + CameraUpdate + com.google.android.gms.maps.CameraUpdate + process + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanorama + StreetViewPanorama + com.google.android.gms.maps.StreetViewPanorama + process + PanoramaCameraChange(StreetViewPanoramaCamera1 As StreetViewPanoramaCamera) + PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation) + PanoramaClick(StreetViewPanoramaOrientation1 As StreetViewPanoramaOrientation) + + SetPanoramaChangeListener + Set a PanoramaChangeListener. + Raises the event: PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation). + Pass empty string as EventName to clear any existing listener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsUserNavigationEnabled + Returns whether or not the navigation is enabled for the user. + boolean + + + OrientationToPoint + Returns a screen location that corresponds to an orientation (StreetViewPanoramaOrientation). + uk.co.martinpearman.b4a.android.graphics.Point + + StreetViewPanoramaOrientation1 + com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + + SetPosition + Sets the StreetViewPanorama to a given location. + void + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + SetPosition2 + Sets the StreetViewPanorama to a given location. + Radius - Defines the area (specified in meters) in which to search for a panorama, centered on the given latitude and longitude. + void + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + Radius + int + + + + PointToOrientation + Returns the orientation that corresponds to a screen location. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + Point1 + android.graphics.Point + + + + SetUserNavigationEnabled + Sets whether the user is able to move to another panorama. + void + + Enabled + boolean + + + + SetPanoramaCameraChangeListener + Set a PanoramaCameraChangeListener. + Raises the event: PanoramaCameraChange(StreetViewPanoramaCamera1 As StreetViewPanoramaCamera). + Raised when the user makes changes to the camera on the panorama or if the camera is changed programmatically. + Pass empty string as EventName to clear any existing listener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + AnimateTo + Changes the current camera position, orientation and zoom, to a given position over a specified duration. + void + + StreetViewPanorama1 + com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + Duration + long + + + + SetPosition3 + Sets the StreetViewPanorama to a given location. + PanoId - Panorama id of the desired location. + void + + PanoId + java.lang.String + + + + IsInitialized + + boolean + + + IsStreetNamesEnabled + Returns whether or not the street names appear on the panorama. + boolean + + + GetPanoramaCamera + Returns the current orientation and zoom. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + SetZoomGesturesEnabled + Sets whether the user is able to use zoom gestures. + void + + Enabled + boolean + + + + SetPanoramaClickListener + Set a PanoramaClickListener. + Raises the event: PanoramaClick(StreetViewPanoramaOrientation1 As StreetViewPanoramaOrientation). + Raised when the user makes a tap gesture on the panorama, but only if none of the overlays of the map handled the gesture. + Pass empty string as EventName to clear any existing listener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsZoomGesturesEnabled + Returns whether or not the zoom gestures are enabled for the user. + boolean + + + IsPanningGesturesEnabled + Returns whether or not the panning gestures are enabled for the user. + boolean + + + SetStreetNamesEnabled + Sets whether the user is able to see street names on panoramas. + void + + Enabled + boolean + + + + GetLocation + Returns the current location of the user and information regarding the current panorama's adjacent panoramas. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLocation + + + SetPanningGesturesEnabled + Sets whether the user is able to use panning gestures. + void + + Enabled + boolean + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaView + StreetViewPanoramaView + com.google.android.gms.maps.StreetViewPanoramaView + activity + + BringToFront + + void + + + RequestFocus + + boolean + + + OnDestroy + + void + + + OnCreate + + void + + Bundle1 + android.os.Bundle + + + + RemoveView + + void + + + SetBackgroundImage + + void + + arg0 + android.graphics.Bitmap + + + + GetStreetViewPanorama + Gets the underlying StreetViewPanorama that is tied to this view. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanorama + + + OnPause + + void + + + OnLowMemory + + void + + + Invalidate3 + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + Invalidate2 + + void + + arg0 + android.graphics.Rect + + + + Initialize2 + + void + + pBA + anywheresoftware.b4a.BA + + + StreetViewPanoramaOptions1 + com.google.android.gms.maps.StreetViewPanoramaOptions + + + + IsInitialized + + boolean + + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + + OnSaveInstanceState + + void + + Bundle1 + android.os.Bundle + + + + Invalidate + + void + + + SetLayout + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + OnResume + + void + + + SendToBack + + void + + + Enabled + boolean + + arg0 + boolean + + + + + Top + int + + arg0 + int + + + + + Visible + boolean + + arg0 + boolean + + + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + Height + int + + arg0 + int + + + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Width + int + + arg0 + int + + + + + Left + int + + arg0 + int + + + + + Color + + arg0 + int + + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + StreetViewPanoramaOptions + com.google.android.gms.maps.StreetViewPanoramaOptions + process + + Initialize + + void + + + SetZoomGesturesEnabled + Toggles the ability for users to zoom on panoramas using gestures. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + Enabled + boolean + + + + SetPosition + Specifies the initial position for the Street View panorama based upon location. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + SetPosition2 + Specifies the initial position for the Street View panorama based upon location and radius. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + Radius + java.lang.Integer + + + + SetStreetNamesEnabled + Toggles the ability for users to see street names on panoramas. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + Enabled + boolean + + + + SetUserNavigationEnabled + Toggles the ability for users to move between panoramas. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + Enabled + boolean + + + + SetPanoramaId + Specifies the initial position for the Street View panorama based on a panorama id. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + PanoramaId + java.lang.String + + + + SetPanningGesturesEnabled + Toggles the ability for users to use pan around on panoramas using gestures. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + Enabled + boolean + + + + SetPanoramaCamera + Specifies the initial camera for the Street View panorama. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + StreetViewPanoramaCamera1 + com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + + IsInitialized + + boolean + + + PanningGesturesEnabled + boolean + + + + StreetNamesEnabled + java.lang.Boolean + + + + Radius + int + + + + PanoramaId + java.lang.String + + + + StreetViewPanoramaCamera + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + + ZoomGesturesEnabled + java.lang.Boolean + + + + Position + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + UserNavigationEnabled + java.lang.Boolean + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener + OnInfoWindowClickListener + com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener + activity + Click(Marker1 As Marker) + + Initialize + Initialize the OnInfoWindowClickListener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMyLocationButtonClickListener + OnMyLocationButtonClickListener + com.google.android.gms.maps.GoogleMap.OnMyLocationButtonClickListener + process + MyLocationButtonClick As Boolean + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMyLocationChangeListener + OnMyLocationChangeListener + com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener + process + MyLocationChange(Location1 As Location) + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMarkerDragListener + OnMarkerDragListener + com.google.android.gms.maps.GoogleMap.OnMarkerDragListener + activity + Drag(Marker1 As Marker) + DragEnd(Marker1 As Marker) + DragStart(Marker1 As Marker) + + Initialize + Initialize the OnMarkerDragListener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMapLoadedCallback + OnMapLoadedCallback + com.google.android.gms.maps.GoogleMap.OnMapLoadedCallback + process + MapLoaded + + Initialize + Initialize the OnMapLoadedCallback object. + The MapLoaded event will be raised when the map has finished rendering. + This occurs after all tiles required to render the map have been fetched, and all labelling is complete. + This event will not be raised if the map never loads due to connectivity issues, + or if the map is continuously changing and never completes loading due to the user constantly interacting with the map. + This event will only be raised once. You must request another callback if you want to be notified again. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.InfoWindowAdapter + InfoWindowAdapter + com.google.android.gms.maps.GoogleMap.InfoWindowAdapter + process + GetInfoContents(Marker1 As Marker) As View + GetInfoWindow(Marker1 As Marker) As View + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.CancelableCallback + CancelableCallback + com.google.android.gms.maps.GoogleMap.CancelableCallback + process + Cancel + Finish + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.android.app.StreetViewPanoramaViewActivity + StreetViewPanoramaViewActivity + uk.co.martinpearman.java.android.app.StreetViewPanoramaViewActivity + activity + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + + UnregisterStreetViewPanoramaViewCallbacks + Unregisters this Activity as the handler for the lifecycle callbacks of StreetViewPanoramaView1. + void + + StreetViewPanoramaView1 + com.google.android.gms.maps.StreetViewPanoramaView + + + + RegisterStreetViewPanoramaViewCallbacks + Registers this Activity as the handler for the lifecycle callbacks of StreetViewPanoramaView1. + void + + StreetViewPanoramaView1 + com.google.android.gms.maps.StreetViewPanoramaView + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.googlemapsextras.MarkerExtras + MarkerExtras + process + + GetRotation + Gets the rotation of the Marker in degrees clockwise about the Marker's anchor point. + float + + Marker1 + com.google.android.gms.maps.model.Marker + + + + SetRotation + Sets the rotation of the marker in degrees clockwise about the marker's anchor point. + The axis of rotation is perpendicular to the marker. + A rotation of 0 corresponds to the default position of the marker. + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + Rotation + float + + + + SetAnchor + Specifies the anchor to be at a particular point in the marker image. + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + U + float + + + V + float + + + + SetAlpha + Sets the alpha (opacity) of Marker1. + This is a value from 0 to 1, where 0 means the marker is completely transparent and 1 means the marker is completely opaque. + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + Alpha + float + + + + SetInfoWindowAnchor + Specifies the point in the marker image at which to anchor the info window when it is displayed. + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + U + float + + + V + float + + + + GetId + Gets Marker1's Id. + java.lang.String + + Marker1 + com.google.android.gms.maps.model.Marker + + + + IsFlat + Gets the flat setting for this Marker. + boolean + + Marker1 + com.google.android.gms.maps.model.Marker + + + + GetAlpha + Gets the alpha of the marker. + float + + Marker1 + com.google.android.gms.maps.model.Marker + + + + SetFlat + Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False). + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + Flat + boolean + + + + + uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras + GoogleMapsExtras + process + SnapshotReady(Bitmap1 As Bitmap) + + AnimateCamera2 + Animates the movement of the camera from the current position to the position defined in the CameraUpdate1. + Raising the CancelableCallback Cancel or Finish event on termination or completion. + Pass Null as the CancelableCallback if not required. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CameraUpdate1 + com.google.android.gms.maps.CameraUpdate + + + CancelableCallback1 + com.google.android.gms.maps.GoogleMap.CancelableCallback + + + + AnimateCamera3 + Animates the movement of the camera from the current position to the position defined in the CameraUpdate1 over the specified duration. + Raising the CancelableCallback Cancel or Finish event on termination or completion. + Pass Null as the CancelableCallback if not required. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CameraUpdate1 + com.google.android.gms.maps.CameraUpdate + + + DurationMs + int + + + CancelableCallback1 + com.google.android.gms.maps.GoogleMap.CancelableCallback + + + + AnimateCamera + Animates the movement of the camera from the current position to the position defined in the CameraUpdate1. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CameraUpdate1 + com.google.android.gms.maps.CameraUpdate + + + + SetInfoWindowAdapter + Sets a custom renderer for the contents of infowindows. + To unset the custom renderer use Null. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + InfoWindowAdapter1 + com.google.android.gms.maps.GoogleMap.InfoWindowAdapter + + + + GetMinZoomLevel + Returns the minimum zoom level. +This is the same for every location (unlike the maximum zoom level) but may vary between devices and map sizes. + float + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + SetBuildingsEnabled + Turns the 3D buildings layer on or off. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + Enabled + boolean + + + + Snapshot + Takes a snapshot of the map. + On completion raises the event SnapshotReady(Bitmap1 As Bitmap). + void + + pBA + anywheresoftware.b4a.BA + + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + EventName + java.lang.String + + + + IsTrafficEnabled + Returns whether the map is drawing traffic data. + boolean + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + IsIndoorEnabled + Returns whether indoor maps are currently enabled. + boolean + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + AddMarker + Adds a Marker to the map. + This method uses a MarkerOptions object to create a Marker. + anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + MarkerOptions1 + com.google.android.gms.maps.model.MarkerOptions + + + + SetPadding + Sets padding on the map. + This method allows you to define a visible region on the map, to signal to the map that portions of the map around the edges may be obscured, by setting padding on each of the four edges of the map. + Map functions will be adapted to the padding. + For example, the zoom controls, compass, copyright notices and Google logo will be moved to fit inside the defined region, camera movements will be relative to the center of the visible region, etc. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + Left + int + + + Top + int + + + Right + int + + + Bottom + int + + + + AddCircle + Adds a circle to the map. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Circle + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CircleOptions1 + com.google.android.gms.maps.model.CircleOptions + + + + AddGroundOverlay + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlay + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + GroundOverlayOptions1 + com.google.android.gms.maps.model.GroundOverlayOptions + + + + StopAnimation + Stops the camera animation if there is one in progress. + When the method is called, the camera stops moving immediately and remains in that position. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + SetIndoorEnabled + Sets whether indoor maps should be enabled. + boolean + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + Enabled + boolean + + + + SetTrafficEnabled + Toggles the traffic layer on or off. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + Enabled + boolean + + + + AnimateToBounds + Adjust and animate the map center and zoom level so that it fully contains the LatLngBounds. + Padding is defined in units of pixels. + This method is deprecated, instead use the CameraUpdateFactory and CameraUpdate objects and the AnimateCamera method. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + Padding + int + + + + SetOnInfoWindowClickListener + Sets a callback that's invoked when an infowindow is clicked. + To unset the callback use Null. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnInfoWindowClickListener1 + com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener + + + + SetOnMarkerDragListener + Sets a callback that's invoked when a marker is dragged. + To unset the callback use Null. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnMarkerDragListener1 + com.google.android.gms.maps.GoogleMap.OnMarkerDragListener + + + + AddPolygon + Adds a polygon to the map. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + PolygonOptions1 + com.google.android.gms.maps.model.PolygonOptions + + + + GetProjection + Returns a Projection object that you can use to convert between screen coordinates and latitude/longitude coordinates. + uk.co.martinpearman.b4a.com.google.android.gms.maps.Projection + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + MoveCamera + Moves the camera from the current position to the position defined in the CameraUpdate1. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CameraUpdate1 + com.google.android.gms.maps.CameraUpdate + + + + AddTileOverlay + Adds a tile overlay to the map. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlay + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + TileOverlayOptions1 + com.google.android.gms.maps.model.TileOverlayOptions + + + + SetOnMapLoadedCallback + Sets a callback that's invoked when the map has finished rendering. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnMapLoadedCallback1 + com.google.android.gms.maps.GoogleMap.OnMapLoadedCallback + + + + SetOnMyLocationButtonClickListener + Sets a callback that's invoked when the my location button is clicked. + If the listener returns true, the event is consumed and the default behavior will not occur. + If it returns false, the default behavior will occur (i.e. The camera moves such that it is centered on the user location). + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnMyLocationButtonClickListener + com.google.android.gms.maps.GoogleMap.OnMyLocationButtonClickListener + + + + GetMaxZoomLevel + Returns the maximum zoom level for the current camera position. +This takes into account what map type is currently being used, e.g., satellite or terrain may have a lower max zoom level than the base map tiles. + float + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + SetOnMyLocationChangeListener + Sets a callback that's invoked when the my location dot changes location. + To unset the callback use Null. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnMyLocationChangeListener1 + com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener + + + + AnimateToBounds2 + Adjust and animate the map center and zoom level so that it fully contains the LatLngBounds. + Padding is defined in units of pixels. + Width and Height should define the dimensions of the GoogleMap. + This method is deprecated, instead use the CameraUpdateFactory and CameraUpdate objects and the AnimateCamera method. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + Width + int + + + Height + int + + + Padding + int + + + + 1.8 + GoogleMapsExtras is an ongoing project to implement more of the Google Maps Android v2 classes in Basic4Android. + Martin Pearman + diff --git a/B4A/JdbcSQL.jar b/B4A/JdbcSQL.jar new file mode 100644 index 0000000..21ca05a Binary files /dev/null and b/B4A/JdbcSQL.jar differ diff --git a/B4A/JdbcSQL.xml b/B4A/JdbcSQL.xml new file mode 100644 index 0000000..666957f --- /dev/null +++ b/B4A/JdbcSQL.xml @@ -0,0 +1,527 @@ + + + 1.06 + + anywheresoftware.b4j.objects.SQL + JdbcSQL + process + QueryComplete (Success As Boolean, Crsr As JdbcResultSet) + NonQueryComplete (Success As Boolean) + Ready (Success As Boolean) + android.permission.INTERNET + + Initialize + Initializes the SQL object. You also need to add the JDBC driver jar to your project with the #AdditionalJar attribute. +DriverClass - The matching JDBC driver. For example (MySQL): com.mysql.jdbc.Driver +JdbcUrl - The connection url. For example (MySQL): jdbc:mysql://localhost/test?characterEncoding=utf8 + void + + DriverClass + java.lang.String + + + JdbcUrl + java.lang.String + + + + BeginTransaction + Begins a transaction. A transaction is a set of multiple "writing" statements that are atomically committed, +hence all changes will be made or no changes will be made. +As a side effect those statements will be executed significantly faster (in the default case a transaction is implicitly created for +each statement). +It is very important to handle transaction carefully and close them. +The transaction is considered successful only if TransactionSuccessful is called. Otherwise no changes will be made. +Typical usage:<code> +SQL1.BeginTransaction +Try + 'block of statements like: + For i = 1 to 1000 + SQL1.ExecNonQuery("INSERT INTO table1 VALUES(...) + Next + SQL1.TransactionSuccessful +Catch + Log(LastException.Message) + SQL1.RollBack 'no changes will be made +End Try +</code> + void + + + ExecNonQuery2 + Executes a single non query SQL statement. +The statement can include question marks which will be replaced by the items in the given list. +Note that B4J converts arrays to lists implicitly. +The values in the list should be strings, numbers or bytes arrays. +Example:<code> +SQL1.ExecNonQuery2("INSERT INTO table1 VALUES (?, ?, 0)", Array As Object("some text", 2))</code> + void + + Statement + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + ExecQuerySingleResult + Executes the query and returns the value in the first column and the first row (in the result set). +Returns Null if no results were found. +Example:<code> +Dim NumberOfMatches As Int +NumberOfMatches = SQL1.ExecQuerySingleResult("SELECT count(*) FROM table1 WHERE col2 > 300")</code> + java.lang.String + + Query + java.lang.String + + + + ExecNonQueryBatch + Asynchronously executes a batch of non-query statements (such as INSERT). +The NonQueryComplete event is raised after the statements are completed. +You should call AddNonQueryToBatch one or more times before calling this method to add statements to the batch. +Note that this method internally begins and ends a transaction. +Returns an object that can be used as the sender filter for Wait For calls. +Example:<code> +For i = 1 To 1000 + sql.AddNonQueryToBatch("INSERT INTO table1 VALUES (?)", Array(Rnd(0, 100000))) +Next +Dim SenderFilter As Object = sql.ExecNonQueryBatch("SQL") +Wait For (SenderFilter) SQL_NonQueryComplete (Success As Boolean) +Log("NonQuery: " & Success)</code> + java.lang.Object + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + CreateCallStatement + Create a statement object which you can use with ExecCall to call stored procedures. + java.lang.Object + + Query + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + InitializeSQLite + Opens the SQLite database file. A new database will be created if it does not exist and CreateIfNecessary is true. +Note that you should add the following attribute to the main module: +<code>#AdditionalJar: sqlite-jdbc-3.7.2</code> +Example:<code> +Dim SQL1 As SQL +SQL1.InitializeSQLite(File.DirApp, "MyDb.db", True)</code> + void + + Dir + java.lang.String + + + FileName + java.lang.String + + + CreateIfNecessary + boolean + + + + ExecQueryAsync + Asynchronously executes the given query. The QueryComplete event will be raised when the results are ready. +Returns an object that can be used as the sender filter for Wait For calls. +Example:<code> +Dim SenderFilter As Object = sql.ExecQueryAsync("SQL", "SELECT * FROM table1", Null) +Wait For (SenderFilter) SQL_QueryComplete (Success As Boolean, rs As JdbcResultSet) +If Success Then + Do While rs.NextRow + Log(rs.GetInt2(0)) + Loop + rs.Close +Else + Log(LastException) +End If</code> + java.lang.Object + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + Query + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + TransactionSuccessful + Commits the statements and ends the transaction. + void + + + AddNonQueryToBatch + Adds a non-query statement to the batch of statements. +The statements are (asynchronously) executed when you call ExecNonQueryBatch. +Args parameter can be Null if it is not needed. +Example:<code> +For i = 1 To 1000 + sql.AddNonQueryToBatch("INSERT INTO table1 VALUES (?)", Array(Rnd(0, 100000))) +Next +Dim SenderFilter As Object = sql.ExecNonQueryBatch("SQL") +Wait For (SenderFilter) SQL_NonQueryComplete (Success As Boolean) +Log("NonQuery: " & Success)</code> + void + + Statement + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + Close + Closes the database. +Does not do anything if the database is not opened or was closed before. + void + + + InitializeAsync + Asynchronously initializes the SQL connection. The Ready event will be raised when the connection is ready or if an error has occurred. +The EventName parameter sets the sub that will handle the Ready event. +Example:<code> +Sub Process_Globals + Dim sql1 As SQL +End Sub + +Sub AppStart (Args() As String) + sql1.InitializeAsync("sql1", "com.mysql.jdbc.Driver", _ + "jdbc:mysql://localhost/example", "username", "password") + StartMessageLoop 'only required in a console app +End Sub + +Sub sql1_Ready (Success As Boolean) + Log(Success) + If Success = False Then + Log(LastException) + Return + End If + Dim rs As JdbcResultSet = sql1.ExecQuery("SELECT table_name FROM information_schema.tables") + Do While rs.NextRow + Log(rs.GetString2(0)) + Loop + rs.Close +End Sub</code> + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + DriverClass + java.lang.String + + + JdbcUrl + java.lang.String + + + UserName + java.lang.String + + + Password + java.lang.String + + + + ExecQuery + Executes the query and returns a cursor which is used to go over the results. +Example:<code> +Dim Cursor As JdbcResultSet +Cursor = SQL1.ExecQuery("SELECT col1, col2 FROM table1") +Do While Cursor.NextRow + Log(Cursor.GetString("col1")) + Log(Cursor.GetInt("col2")) +Loop</code> + anywheresoftware.b4j.objects.SQL.ResultSetWrapper + + Query + java.lang.String + + + + ExecQuerySingleResult2 + Executes the query and returns the value in the first column and the first row (in the result set). +Returns Null if no results were found. +Example:<code> +Dim NumberOfMatches As Int +NumberOfMatches = SQL1.ExecQuerySingleResult2("SELECT count(*) FROM table1 WHERE col2 > ?", Array As String(300))</code> + java.lang.String + + Query + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + ExecCall + Executes a call statement previously created with CreateCallStatement. + anywheresoftware.b4j.objects.SQL.ResultSetWrapper + + CallStatement + java.lang.Object + + + + ExecNonQuery + Executes a single non query SQL statement. +Example:<code> +SQL1.ExecNonQuery("CREATE TABLE table1 (col1 TEXT , col2 INTEGER, col3 INTEGER)")</code> +It will be significantly faster to explicitly start a transaction before applying any changes to the database. + void + + Statement + java.lang.String + + + + Initialize2 + Similar to Initialize method. Passes the given UserName and Password to the database. + void + + DriverClass + java.lang.String + + + JdbcUrl + java.lang.String + + + UserName + java.lang.String + + + Password + java.lang.String + + + + ExecQuery2 + Executes the query and returns a cursor which is used to go over the results. +The query can include question marks which will be replaced with the values in the array. +Example:<code> +Dim Cursor As JdbcResultSet +Cursor = sql1.ExecQuery2("SELECT col1 FROM table1 WHERE col3 = ?", Array As String(22))</code> +SQLite will try to convert the string values based on the columns types. + anywheresoftware.b4j.objects.SQL.ResultSetWrapper + + Query + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + Rollback + Rollbacks the changes from the current transaction and closes the transaction. + void + + + IsInitialized + Tests whether the database is initialized and opened. + boolean + + + + anywheresoftware.b4j.objects.SQL.ResultSetWrapper + JdbcResultSet + java.sql.ResultSet + process + + GetInt + Returns the Int value stored in the given column. +The value will be converted to Int if it is of different type. +Example:<code> +Log(Cursor.GetInt("col2"))</code> + int + + ColumnName + java.lang.String + + + + GetColumnName + Returns the name of the column at the specified index. +The first column index is 0. + java.lang.String + + Index + int + + + + GetLong + Returns the Long value stored in the given column. +The value will be converted to Long if it is of different type. +Example:<code> +Log(Cursor.GetLong("col2"))</code> + java.lang.Long + + ColumnName + java.lang.String + + + + GetBlob2 + Returns the blob stored in the column at the given ordinal. +Example:<code> +Dim Buffer() As Byte +Buffer = Cursor.GetBlob2(0)</code> + byte[] + + Index + int + + + + GetLong2 + Returns the Long value stored in the column at the given ordinal. +The value will be converted to Long if it is of different type. +Example:<code> +Log(Cursor.GetLong2(0))</code> + java.lang.Long + + Index + int + + + + GetDouble + Returns the Double value stored in the given column. +The value will be converted to Double if it is of different type. +Example:<code> +Log(Cursor.GetDouble("col2"))</code> + java.lang.Double + + ColumnName + java.lang.String + + + + GetBlob + Returns the blob stored in the given column. +Example:<code> +Dim Buffer() As Byte +Buffer = Cursor.GetBlob("col1")</code> + byte[] + + ColumnName + java.lang.String + + + + Close + Closes the cursor and frees resources. + void + + + GetInt2 + Returns the Int value stored in the column at the given ordinal. +The value will be converted to Int if it is of different type. +Example:<code> +Log(Cursor.GetInt2(0))</code> + int + + Index + int + + + + GetString + Returns the String value stored in the given column. +The value will be converted to String if it is of different type. +Example:<code> +Log(Cursor.GetString("col2"))</code> + java.lang.String + + ColumnName + java.lang.String + + + + GetString2 + Returns the String value stored in the column at the given ordinal. +The value will be converted to String if it is of different type. +Example:<code> +Log(Cursor.GetString2(0))</code> + java.lang.String + + Index + int + + + + GetDouble2 + Returns the Double value stored in the column at the given ordinal. +The value will be converted to Double if it is of different type. +Example:<code> +Log(Cursor.GetDouble2(0))</code> + java.lang.Double + + Index + int + + + + NextRow + Moves the cursor to the next result. Returns false when the cursor reaches the end. +Example:<code> +Do While ResultSet1.Next + 'Work with Row +Loop</code> + boolean + + + IsInitialized + + boolean + + + ColumnCount + int + Gets the number of columns available in the result set. + + + 1.5 + The SQL library allows you to create and manage SQL databases. +Using this library you can connect to any type of SQL database. +See this <link>link|http://www.basic4ppc.com/android/forum/threads/sql-tutorial.35185/</link> for more information. + diff --git a/B4A/JhsIceZxing1.jar b/B4A/JhsIceZxing1.jar new file mode 100644 index 0000000..45f2c15 Binary files /dev/null and b/B4A/JhsIceZxing1.jar differ diff --git a/B4A/JhsIceZxing1.xml b/B4A/JhsIceZxing1.xml new file mode 100644 index 0000000..3804b4a --- /dev/null +++ b/B4A/JhsIceZxing1.xml @@ -0,0 +1,436 @@ + + + 1.05 + + ice.zxing.b4aZXingLib + JhsIceZxing1 + activity + result(atype as String,Value as String, image as Bitmap) + timedout(timedOut as boolean) + usercancelled(userCancelled as boolean) + android.permission.CAMERA + android.hardware.camera + android.hardware.camera.autofocus + android.permission.VIBRATE + android.permission.FLASHLIGHT + + CreateAztecCode + + android.graphics.Bitmap + + str + java.lang.String + + + + CreateDataMatrixCode + + android.graphics.Bitmap + + str + java.lang.String + + + + BeginScan + Start the scan +Example:<code> +Dim zx As JhsIceZxing1 '(declare this in Sub Globals) +Dim bm As Bitmap '(declare this in Sub Globals) + +Sub Button1_Click + zx.isportrait = True + zx.useFrontCam = False + + 'set the timeoutDuration to a very high value (such as 2000000000) if you dont want it to time out 2000000000 = 63 years + zx.timeoutDuration = 30 + + 'change these factors between 0 and 1 to change the size of the viewfinder rectangle + 'the library will limit the minimum size to 240 x 240 pixels and the maximum to (screen width) x (screen height) pixels + zx.theViewFinderXfactor = 0.7 + zx.theViewFinderYfactor = 0.5 + zx.theFrameColor = Colors.Blue + zx.theLaserColor = Colors.Yellow + zx.theMaskColor = Colors.argb(95, 0, 0, 255) + zx.theResultColor = Colors.Green + zx.theResultPointColor = Colors.Red + + 'set the prompt messages + zx.theTopPromptMessage = "This was done......" + zx.theTopPromptTextSize = 5%y 'text size + zx.topPromptColor = Colors.Red + zx.topPromptDistanceFromTop = 1%y 'pixel distance from top + + zx.theBottomPromptMessage = "Just for fun......" + zx.theBottomPromptTextSize = 5%y 'text size + zx.bottomPromptColor = Colors.Blue + zx.bottomPromptDistanceFromBottom = 5%y 'pixel distance from top + 'add a bitmap + zx.theBitMap = bm + zx.theBitmapPosition(40%x,10%y,20%x,20%x) + zx.BeginScan("myzx") +End Sub + +Sub myzx_result(atype As String,Values As String) + Msgbox(Values,"type:" & atype) +End Sub + +Sub myzx_noscan(atype As String,Values As String) + Msgbox(Values,"type:" & atype) +End Sub + </code> + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + CreateQRCode + + android.graphics.Bitmap + + str + java.lang.String + + + + theBitmapPosition + Specify the left, top, width, and height of the bitmap that will be placed on the mask +Example:<code> +zx.theBitmapPosition(40%x,10%y,20%x,20%x) + </code> + void + + left + int + + + top + int + + + width + int + + + height + int + + + + ReturnBitmap + + returnbitmap + boolean + + + + + theLaserColor + Specify the color of the laser +Example:<code> +zx.theLaserColor = Colors.Red + </code> + int + + + useFrontCam + Specify if the front facing or rear facing camera should be used +Example:<code> +zx.useFrontCam = False + </code> + boolean + + + FORMATS_ONE_D + + java.lang.String + + + theMaskColor + Specify the color of the mask around the view finder rectangle +Example:<code> +zx.theMaskColor = Colors.ARGB(95, 0, 0, 255) + </code> + int + + + timeoutDuration + Specify the timeout duration - we need to get a successful scan before this else time out +Example:<code> +zx.timeoutDuration = 15 + </code> +Set this value to for eg 2000000000 for and "indefinate" timeout (2 000 000 000 = 63 years+) + int + + + theBitMap + Specify the bitmap that should be loaded into the mask +Example:<code> +Dim bm As Bitmap +bm.Initialize(File.DirAssets,"B4A.png") +zx.theBitMap = bm + </code> + android.graphics.Bitmap + + + mustBeep + Specify if the device should make a beep sound upon a successful scan +The default value is False +The beep sound will be ToneGenerator.TONE_CDMA_ABBR_ALERT + +Example:<code> +zx.mustBeep = True + + </code> + boolean + + + isportrait + Specify if it should be portrait or landscape mode +Example:<code> +zx.isportrait = True + </code> + boolean + + + theBottomPromptTextSize + Specify the text size of the bottom prompt message +Example:<code> +zx.theBottomPromptTextSize = 5%y + </code> + int + + + FORMATS_PRODUCT + + java.lang.String + + + FORMATS_AZTEC + + java.lang.String + + + displayOrientation + Specify the display orientation (for eg on Nexus 5) +Example:<code> +zx.displayOrientation = 90 + </code> + int + + + theTopPromptTextSize + Specify the text size of the top prompt message +Example:<code> +zx.theTopPromptTextSize = 5%y + </code> + int + + + bottomPromptColor + Specify the color of the bottom prompt message +Example:<code> +zx.bottomPromptColor = Colors.Yellow + </code> + int + + + theResultPointColor + Specify the color of the possible result points being displayed during a scan +Example:<code> +zx.theResultPointColor = Colors.Green + </code> + int + + + topPromptDistanceFromTop + Specify the distance of the top prompt message from the top +Example:<code> +zx.topPromptDistanceFromTop = 1%x + </code> + int + + + topPromptColor + Specify the color of the top prompt message +Example:<code> +zx.topPromptColor = Colors.Magenta + </code> + int + + + theViewFinderYfactor + Scale factor for the height of the view finder rectangle +The factor ranges from 0 to 1 (for a height &lt; 240 a default of 240 pixels will be applied) +Example:<code> +zx.theViewFinderYfactor = 0.5 + </code> + double + + + moveLaser + Specify if the laser should be static or move up/down +The default value is False + +Example:<code> +zx.moveLaser = True + + </code> + boolean + + + theTopPromptMessage + Specify the top prompt message +Example:<code> +zx.theTopPromptMessage = "Hallo" + </code> + java.lang.String + + + bottomPromptDistanceFromBottom + Specify the distance of the bottom prompt message from the bottom +Example:<code> +zx.bottomPromptDistanceFromBottom = 1%x + </code> + int + + + ScanMode + Specify the bar code formats to scan +If not specified then all code formats will be scanned +Specify one of the following: PRODUCT_FORMATS, ONE_D_FORMATS, QR_CODE_FORMATS, DATA_MATRIX_FORMATS, AZTEC_FORMATS, PDF_417_FORMATS, TWO_D_FORMATS + PRODUCT_FORMATS are the following: UPC A, UPC E, EAN 13, EAN 8, RSS 14 + ONE_D_FORMATS are all the PRODUCT FORMATS plus the following: CODE 39, CODE 93, CODE 128, ITF + TWO_D_FORMATS are the following: QR CODE, DATA MATRIX, AZTEC CODE, PDF 417 + +Example:<code> +zx.ScanMode = "PRODUCT_FORMATS"; + + </code> + java.lang.String + + + FORMATS_TWO_D + + java.lang.String + + + theViewFinderXfactor + Scale factor for the width of the view finder rectangle +The factor ranges from 0 to 1 (for a width &lt; 240 a default of 240 pixels will be applied) +Example:<code> +zx.theViewFinderXfactor = 0.5 + </code> + double + + + theBottomPromptMessage + Specify the bottom prompt message +Example:<code> +zx.theBottomPromptMessage = "B4A" + </code> + java.lang.String + + + textSkewnessBottom + Specify the text skewness for the bottom text message +Example:<code> +zx.textSkewnessBottom = -0.25 + </code> + float + + + scanInvertedCodes + Specify if normal or color inverted codes needs to be scanned +The default value is false (i.e scan normal colored codes and not inverted colored codes) + +Example:<code> +zx.scanInvertedCodes = False + + </code> + boolean + + + FORMATS_QR_CODE + + java.lang.String + + + FORMATS_PDF_417 + + java.lang.String + + + textSkewnessTop + Specify the text skewness for the top text message +Example:<code> +zx.textSkewnessTop = -0.25 + </code> + float + + + CODE_FORE_COLOR + + int + + + FORMATS_DATA_MATRIX + + java.lang.String + + + theFrameColor + Specify the color of the outer frame of the view finder rectangle +Example:<code> +zx.theFrameColor = Colors.Black + </code> + int + + + mustVibrate + Specify if the device should vibrate upon a successful scan +The default value is False +It will vibrate for 400ms + +Example:<code> +zx.mustVibrate = True + + </code> + boolean + + + CODE_BACK_COLOR + + int + + + theResultColor + Specify the color of the mask around the view finder rectangle after a successful scan +Example:<code> +zx.theResultColor = Colors.Black + </code> + int + + + + ice.zxing.CaptureActivity.IsChineseOrNot + process + + isChineseCharacter + + boolean + + chineseStr + java.lang.String + + + + 1.06 + Johan/IceFairy333 + diff --git a/B4A/KeyValueStore.b4xlib b/B4A/KeyValueStore.b4xlib new file mode 100644 index 0000000..bd1be84 Binary files /dev/null and b/B4A/KeyValueStore.b4xlib differ diff --git a/B4A/MLwifi.jar b/B4A/MLwifi.jar new file mode 100644 index 0000000..b02ce79 Binary files /dev/null and b/B4A/MLwifi.jar differ diff --git a/B4A/MLwifi.xml b/B4A/MLwifi.xml new file mode 100644 index 0000000..a0d5a27 --- /dev/null +++ b/B4A/MLwifi.xml @@ -0,0 +1,624 @@ + + + 1.02 + + wifi.MLwifi + MLwifi + process + PingDone(isOnline As Boolean) + android.permission.ACCESS_COARSE_LOCATION + android.permission.ACCESS_FINE_LOCATION + android.permission.ACCESS_NETWORK_STATE + android.permission.ACCESS_WIFI_STATE + android.permission.CHANGE_WIFI_STATE + android.permission.INTERNET + android.permission.WAKE_LOCK + + isWifiConnected + Checks if WIFI is connected. This only checks for WIFI connection to a router + It does NOT test for Internet availability + + Returns True if WIFI is connected or False if 2G, 3G, 4G, WIMAX or no connection + boolean + + + CalcWifiPct + Calculates WIFI signal percentage from the WIFI signal level as an integer (0 to 100) + Signal Range: -100dBm -> 0%, -50dBm -> 100% + int + + WifiSignal + int + + + + WifiAPDistance + Returns the estimated distance (m) to WIFI Access Point, depending on the signal level and frequency (API level >= 21) + Returns 0 on error. + double + + + isSavedWifiAP + Checks if a WIFI AP is saved on the device + + ssid: Access Point SSID + + Returns True if this SSID is saved + boolean + + ssid + java.lang.String + + + + WifiSSID + Returns the current WIFI SSID or empty string + java.lang.String + + + disconnectWifiAP + Disconnects the current WIFI AP connection + + Returns True on success + boolean + + + isOnline + Checks for Internet connection + + This method does not check or care what type of network is used + It can be WIFI, 2G, 3G, 4g, WIMAX, etc. It just tests for Internet connectivity + + Returns True if Internet is available + + ERROR. This method only checks if the device is connected to any network (WIFI, Phone Data, etc), + but the network can be not connected to Internet (ADSL router not connected to phone line, etc) + boolean + + + WifiSignalPct + Returns the WIFI signal strength in percentage as an integer (0 to 100%) + Returns 0 on error + int + + + WifiFrequency + Returns the Link Frequency (MHz) of the connected WIFI Access Point (API level >= 21) + Returns 0 on error. + int + + + WifiChannel + Returns the Link Channel number of the connected WIFI Access Point (API level >= 21) + 2.4GHz Band: 1 - 13, 14 (Japan only) + 5GHz Band: 0 - 200 + Returns -1 on error. + int + + + WifiIpAddress + Returns the IP Address of the WIFI interface or empty string + java.lang.String + + + ActiveNetworkTypeName + Returns the Type Name (WIFI, MOBILE, etc) of the current Active Network or empty string + java.lang.String + + + isMobileConnected + Checks if Phone Data is connected. This only checks for connection to a phone network. + It does NOT test for Internet availability. + + Returns True if 2G, 3G or 4G Data is connected or False if WIFI, WIMAX or no connection + boolean + + + WifiMACAddress + Returns the MAC Address of the WIFI interface or empty string + java.lang.String + + + is5GHzBandSupported + Returns true if this WIFI adapter supports 5 GHz band (API level >= 21) + Returns False on error. + boolean + + + WifiBand + Returns the Link Band of the connected WIFI Access Point (API level >= 21) + WIFI_2_4GHZ_BAND: 2.4GHz Band + WIFI_5GHZ_BAND: 5GHz Band + Returns 0 on error. + int + + + EnableWifi + Turns WIFI On or Off. Pass True to Enable WIFI or False to Disable + void + + Enabled + boolean + + + + releaseWifiOn + Unlocks the WIFI radio, previously locked by calling "holdWifiOn" or "holdWifiOn2", allowing it to + turn off when the device is idle. + + Returns True on success + boolean + + + WifiSignal + Returns the WIFI signal strength in dBm as an integer or 0 on error + int + + + connectWifiAP + Connects to a WIFI AP already configured on the device + + ssid: Access Point SSID + + Returns true on success + boolean + + ssid + java.lang.String + + + + isWifiEnabled + Returns whether WIFI is Enabled (true) or Disabled (false) + boolean + + + ActiveNetworkType + Returns the Type (0:MOBILE, 1:WIFI, 6:WIMAX, 7:BLUETOOTH, 9:ETHERNET, etc) of the current Active Network or -1 + int + + + holdWifiOn2 + Allows an application to keep the WIFI radio awake. Normally the WIFI radio may turn off + when the user has not used the device in a while. + + WIFI radio will keep awake until "releaseWifiOn" is called. + + lockType: WIFI_MODE_FULL, WIFI_MODE_SCAN_ONLY, WIFI_MODE_FULL_HIGH_PERF + + Returns True on success + boolean + + lockType + int + + + + WifiStrength + Returns the WIFI signal strength in percentage as an integer (0 to 100%) + Returns 0 on error + This method fails in some devices. Use WifiSignalPct() instead + int + + + holdWifiOn + Allows an application to keep the WIFI radio awake. Normally the WIFI radio may turn off + when the user has not used the device in a while. + + WIFI radio will keep awake until "releaseWifiOn" is called. + + Returns True on success + boolean + + + isOnlinePing5 + Checks for Internet connection by sending a Ping to Google DNS server (Ip: 8.8.8.8) + + Launches the event "isOnline_PingDone(isOnline As Boolean)" with the ping result + + timeout: Maximum waiting time in milliseconds + + This method does not check or care what type of network is used + It can be WIFI, 2G, 3G, 4g, WIMAX, etc. It just tests for Internet connectivity + + Returns True if success + boolean + + ba + anywheresoftware.b4a.BA + + + timeout + long + + + + isOnlinePing6 + Checks for Internet connection by sending a Ping to IpHost + + Launches the event "isOnline_PingDone(isOnline As Boolean)" with the ping result + + IpHost: Ip address or Host name + timeout: Maximum waiting time in milliseconds + + This method does not check or care what type of network is used + It can be WIFI, 2G, 3G, 4g, WIMAX, etc. It just tests for Internet connectivity + + Returns True if success + boolean + + ba + anywheresoftware.b4a.BA + + + IpHost + java.lang.String + + + timeout + long + + + + isOnlinePing3 + Checks for Internet connection by sending a Ping to Google DNS server (Ip: 8.8.8.8) + + timeout: Maximum waiting time in milliseconds + + This method does not check or care what type of network is used + It can be WIFI, 2G, 3G, 4g, WIMAX, etc. It just tests for Internet connectivity + + Returns True if Internet is available + boolean + + timeout + long + + + + isOnlinePing4 + Checks for Internet connection by sending a Ping to IpHost + + IpHost: Ip address or Host name + timeout: Maximum waiting time in milliseconds + + This method does not check or care what type of network is used + It can be WIFI, 2G, 3G, 4g, WIMAX, etc. It just tests for Internet connectivity + + Returns True if Internet is available + boolean + + IpHost + java.lang.String + + + timeout + long + + + + WifiLinkSpeed + Returns the LinkSpeed (Mbps) of the connected WIFI Access Point + Returns 0 on error. + int + + + removeWifiAP + Remove a saved WIFI AP on the device + + ssid: Access Point SSID + + Returns True on success + boolean + + ssid + java.lang.String + + + + isOnlinePing2 + Checks for Internet connection by sending a Ping to IpHost (Ip address or Host name) + + This method does not check or care what type of network is used + It can be WIFI, 2G, 3G, 4g, WIMAX, etc. It just tests for Internet connectivity + + Returns True if Internet is available + boolean + + IpHost + java.lang.String + + + + APIversion + Returns the Version of Android running on the device as an integer such as 19, 21, 23, etc + int + + + isOnlinePing + Checks for Internet connection by sending a Ping to Google DNS server (Ip: 8.8.8.8) + + This method does not check or care what type of network is used + It can be WIFI, 2G, 3G, 4g, WIMAX, etc. It just tests for Internet connectivity + + Returns True if Internet is available + boolean + + + saveWifiAP + Saves the configuration of a WIFI AP onto the device + + ssid: Access Point SSID + security: Access Point security type (0:NONE, 1:WEP, 2:WAP) + password: Access Point password/phrase ("" for an open network) + connect: true -> Connect to the WIFI AP after saving + + Returns True on success + boolean + + ssid + java.lang.String + + + security + int + + + password + java.lang.String + + + connect + boolean + + + + isWifiConnectedOld + Checks if WIFI is connected. This only checks for WIFI connection to a router + It does NOT test for Internet availability + + Returns True if WIFI is connected or False if 2G, 3G, 4G, WIMAX or no connection + + This method uses "getNetworkInfo()" that was deprecated in API level 23 + boolean + + + isWifiHeldOn + Checks if WIFI is held On by a call to "holdWifiOn" or "holdWifiOn2" + boolean + + + CHANNEL_WIDTH_80MHZ_PLUS_MHZ + Channel Width 80Mhz + 80Mhz + int + + + WIFI_5GHZ_BAND + 5GHz WIFI Band + int + + + CHANNEL_WIDTH_160MHZ + Channel Width 160Mhz + int + + + CHANNEL_WIDTH_20MHZ + Channel Width 20Mhz + int + + + CHANNEL_WIDTH_40MHZ + Channel Width 40Mhz + int + + + CHANNEL_WIDTH_80MHZ + Channel Width 80Mhz + int + + + WIFI_MODE_FULL + In this WIFI lock mode, WIFI will be kept active, and will behave normally. It will attempt to automatically + establish a connection to a remembered access point that is within range, and will do periodic scans if there + are remembered access points but none are in range. + int + + + WIFI_MODE_SCAN_ONLY + In this WIFI lock mode, WIFI will be kept active, but the only operation that will be supported is initiation + of scans, and the subsequent reporting of scan results. No attempts will be made to automatically connect to + remembered access points, nor will periodic scans be automatically performed looking for remembered access points. + Scans must be explicitly requested by an application in this mode. + int + + + WIFI_2_4GHZ_BAND + 2.4GHz WIFI Band + int + + + WIFI_MODE_FULL_HIGH_PERF + In this WIFI lock mode, WIFI will be kept active as in mode WIFI_MODE_FULL but it operates at + high performance with minimum packet loss and low packet latency even when the device screen is off. + This mode will consume more power and hence should be used only when there is a need for such an active connection. + int + + + + wifi.MLwifi.MLWifiScanner + MLScan + process + ScanDone(Results() As String, Count As Int) + + connectWifiAP + Connects to a network already configured on the device. The device will use saved values to connect. + + EntryNumber: If you display the string array "wifis", you can pass the Position variable from your ListView_Click event. + Otherwise, you must pass the entry number from the string array since that is what is used as a reference. + + Returns true on success + boolean + + EntryNumber + int + + + + startScan + Initializes all objects and scans for WIFI networks. Builds a string array + of results (wifis) that can be accessed directly or with a call to updateWifiList. + EventName: Name of the Event to launch when Scan finish (EventName_ScanDone) + NoEventOnSystemScan: Launches events only on requested scans (true) or on all scans (false), + including system background scans. + THIS METHOD SHOULD ONLY BE CALLED ONCE! + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + NoEventOnSystemScan + boolean + + + + removeWifiAP + Remove a saved WIFI AP on the device + + NetId - The network ID number to delete (returned in the listSavedNetworks method) + + Returns True on success + boolean + + NetId + int + + + + listSavedNetworks + Builds a list of all saved networks on the device. + + Returns a comma separated list of: SSID,BSSID,Network ID number. + java.util.List + + + stopScan + Stops events launched on system background scans, if enabled in "startScan". + Call "updateWifiList" to re-activate this events. + void + + ba + anywheresoftware.b4a.BA + + + + isSavedWifiAP + Checks the stored networks on the device to see if this entry is a previously saved Access Point + + EntryNumber: The entry number in the "wifis" array to check. If you display the string array "wifis", + you can pass the Position variable from your ListView_Click event. + Otherwise, you must pass the entry number from the string array since that is what is used as a reference. + + Returns True if this is a stored network + boolean + + EntryNumber + int + + + + WifiCap + Returns a String containing info about the selected entry. A startScan must have already been done. + The string contains the SSID, the BSSID, and the Capabilities of the Network Access Point, + comma separated (SSID,BSSID,CapabilityString). The capabilities part can be quite long. + + EntryNumber: If you display the string array "wifis", you can pass the Position variable from your ListView_Click event. + Otherwise, you must pass the entry number from the string array since that is what is used as a reference. + + Returns a string of comma separated entries of SSID,BSSID, and capability string. Returns an empty string on error. + java.lang.String + + EntryNumber + int + + + + getBSSID + Returns the BSSID for the selected entry. + + EntryNumber: If you display the string array "wifis", you can pass the Position variable from your ListView_Click event. + Otherwise, you must pass the entry number from the string array since that is what is used as a reference. + java.lang.String + + EntryNumber + int + + + + updateWifiList + Call only after startScan has already been called and a string array of Access Points + has been built. This method returns a string array containing the access points from the + most recent scan, including background scans done automatically by the Android WifiManager. + + Calls the ScanDone event when a new list is ready. + + Returns the string array of comma separated WIFI access points by SSID. Each entry may + contain the following: + SSID, Security Type, Signal strength (dBm) , "Saved" (if this network was previously + saved for use on this device) or "", BSSID, Signal Percentage (0-100%), + Frequency (Mhz), Center Frequency 0 (Mhz), Center Frequency 1 (Mhz), + Channel Width (Mhz), Channel Number, Band (2.4Ghz / 5Ghz), Distance (m). + + If API Level &lt; 23 then: Center Frequency 0 = 0, Center Frequency 1 = 0 and Channel Width = -1. + void + + ba + anywheresoftware.b4a.BA + + + + saveWifiAP + Saves the configuration of a WIFI AP onto the device and connects to it. + + EntryNumber: If you display the string array "wifis", you can pass the Position variable from your ListView_Click event. + Otherwise, you must pass the entry number from the string array since that is what is used as a reference. + securityType: The Access Point security type (returned in the scan result string array) + Password: The password/phrase for the WIFI access point. Pass "" for an open network. Handles WEP HEX or text phrases + + Returns True if the connection is successful + boolean + + EntryNumber + int + + + securityType + java.lang.String + + + Password + java.lang.String + + + + wifis + A string array containing all scanned Access Points in the area of the device, sorted + by Signal Strength. These are comma separated entries consisting of the following: + + SSID, Security Type, Signal strength (dBm) , "Saved" (if this network was previously + saved for use on this device) or "", BSSID, Signal Percentage (0-100%), + Frequency (Mhz), Center Frequency 0 (Mhz), Center Frequency 1 (Mhz), + Channel Width (Mhz), Channel Number, Band (2.4Ghz / 5Ghz), Distance (m). + + If API Level &lt; 23 then: Center Frequency 0 = 0, Center Frequency 1 = 0 and Channel number = -1. + java.lang.String[] + + + 3.07 + V-2.17 by Jem Miller - Missing Link Software; V-3.00 by bgsoft + diff --git a/B4A/MLwifi400.aar b/B4A/MLwifi400.aar new file mode 100644 index 0000000..b489347 Binary files /dev/null and b/B4A/MLwifi400.aar differ diff --git a/B4A/MLwifi400.jar b/B4A/MLwifi400.jar new file mode 100644 index 0000000..15cb0ec Binary files /dev/null and b/B4A/MLwifi400.jar differ diff --git a/B4A/MLwifi400.xml b/B4A/MLwifi400.xml new file mode 100644 index 0000000..a22cedd --- /dev/null +++ b/B4A/MLwifi400.xml @@ -0,0 +1,561 @@ + + + 1.05 + + com.airlinemates.mlwifi.MLwifi + MLwifi + process + Wifi_ConnectionResult(success As Boolean) + scandone(wifis As List, wifiCount As Int) + isonline_pingdone(exitValue As Int) + android.permission.ACCESS_NETWORK_STATE + android.permission.ACCESS_WIFI_STATE + android.permission.CHANGE_WIFI_STATE + android.permission.ACCESS_FINE_LOCATION + android.permission.INTERNET + android.permission.CHANGE_NETWORK_STATE + android.permission.WRITE_SETTINGS + + releaseWifiOn + + boolean + + + WifiSSID + + java.lang.String + + + isWifiConnected + + boolean + + + is5GHzBandSupported + + boolean + + + isOnline + + boolean + + + CalcWifiPct + + int + + WifiSignal + int + + + + WifiFrequency + + int + + + holdWifiOn2 + + boolean + + lockType + int + + + + WifiMACAddress + + java.lang.String + + + isWifiHeldOn + + boolean + + + connectWifiAP + Connects to an existing Wifi Network +Params: + ssid - the name of the Wifi Network + security = 0 = Open (SECURITY_OPEN), 1 = WEP (SECURITY_WEP), 2 = WPA-2/PSK (SECURITY_WPA2PSK) + password - the password or "" if the network is open + timeout - fail if not connected within timeout (Ms) + +Raises Wifi_ConnectionResult event on success or failure + +Example:<code> + Private Sub connectToWifi + Private wifi As MLwifi + 'To connect to an open network + wifi.connectWifiAP("wifissid", wifi.SECURITY_OPEN, "", 30000) + 'To connect to a WPA-2 secured network + wifi.connectWifiAP("wifissid", wifi.SECURITY_WPA2PSK, "password", 30000) + End Sub + + Public Sub Wifi_ConnectionResult(success As Boolean) + If success then + 'Connected - set up sockets, etc... + Else + 'Couldn't connect... + End If + End Sub + </code> + void + + ba + anywheresoftware.b4a.BA + + + ssid + java.lang.String + + + security + int + + + password + java.lang.String + + + timeout + int + + + + saveWifiAP + Adds a Wifi network, then optionally connects +Params: + ssid - the name of the Wifi Network + security = 0 = Open (SECURITY_OPEN), 1 = WEP (SECURITY_WEP), 2 = WPA-2/PSK (SECURITY_WPA2PSK) + password - the password or "" if the network is open + connect - ignored for Android Q+ (will always connect) + timeout - fail if not connected within timeout (ms) + +Raises Wifi_ConnectionResult event on success or failure + +Example:<code> + Private Sub connectToWifi + Private wifi As MLwifi + 'To save & connect to an open network + wifi.saveWifiAP("wifissid", wifi.SECURITY_OPEN, "", True, 30000) + 'To connect to a WPA-2 secured network + wifi.saveWifiAP("wifissid", wifi.SECURITY_WPA2PSK, "password", True, 30000) + End Sub + + Public Sub Wifi_ConnectionResult(success As Boolean) + If success then + 'Connected - set up sockets, etc... + Else + 'Couldn't connect... + End If + End Sub +</code> + void + + ba + anywheresoftware.b4a.BA + + + ssid + java.lang.String + + + security + int + + + password + java.lang.String + + + connect + boolean + + + timeout + int + + + + isOnlinePing5 + + boolean + + ba + anywheresoftware.b4a.BA + + + timeout + long + + + + WifiLinkSpeed + + int + + + isOnlinePing6 + + boolean + + ba + anywheresoftware.b4a.BA + + + IpHost + java.lang.String + + + timeout + long + + + + WifiIpAddress + + java.lang.String + + + isOnlinePing3 + + boolean + + timeout + long + + + + WifiBand + + int + + + isOnlinePing4 + + boolean + + IpHost + java.lang.String + + + timeout + long + + + + isSavedWifiAP + + boolean + + ssid + java.lang.String + + + + ActiveNetworkType + + int + + + isOnlinePing2 + + boolean + + IpHost + java.lang.String + + + + WifiBSSID + + java.lang.String + + + isWifiEnabled + + boolean + + + WifiSignalPct + + int + + + APIversion + + int + + + isOnlinePing + + boolean + + + holdWifiOn + + boolean + + + ActiveNetworkTypeName + + java.lang.String + + + EnableWifi + + void + + Enabled + boolean + + + + disconnectWifiAP + Disconnect from a Wifi network +Params: +none + +Returns True (success) or False (failure) + +Usage:<code> + Private disconnected As Boolean = MLwifi.disconnectWifiAP +</code> + boolean + + + reconnectWifiAP + Reconnects to a saved Wifi Network +Params: + ssid - the name of the Wifi Network + timeout - fail if not connected within timeout (Ms) + +Raises Wifi_ConnectionResult event on success or failure + + NOTE FOR SDK 29+: Will only work if the network being connected to is not secured. + You can connect to the previously connected network by calling disconnectWifiAP + or a specific network by calling connectWifiAP with the correct parameters. + +Example:<code> + Private Sub connectToWifi + Private wifi As MLwifi + 'reconnect to a Wifi network saved on this device + wifi.reconnectWifiAP("wifissid", 30000) + End Sub + + Public Sub Wifi_ConnectionResult(success As Boolean) + If success then + 'Connected - set up sockets, etc... + Else + 'Couldn't connect... + End If + End Sub + </code> + void + + ba + anywheresoftware.b4a.BA + + + ssid + java.lang.String + + + timeout + int + + + + WifiChannel + + int + + + WifiStrength + + int + + + WifiSignal + + int + + + removeWifiAP + + boolean + + ssid + java.lang.String + + + + WifiAPDistance + + double + + + isMobileConnected + + boolean + + + debug + + boolean + + + SECURITY_WPA2PSK + + int + + + SECURITY_OPEN + + int + + + SECURITY_WEP + + int + + + + com.airlinemates.mlwifi.MLwifi.MLWifiScanner + MLScan + process + + listSavedNetworks + + java.util.List + + + isSavedWifiAP + + boolean + + EntryNumber + int + + + + WifiCap + + java.lang.String + + EntryNumber + int + + + + connectWifiAP + + void + + ba + anywheresoftware.b4a.BA + + + EntryNumber + int + + + timeout + int + + + + saveWifiAP + + void + + ba + anywheresoftware.b4a.BA + + + EntryNumber + int + + + securityType + java.lang.String + + + Password + java.lang.String + + + timeout + int + + + + stopScan + + void + + ba + anywheresoftware.b4a.BA + + + + startScan + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + NoEventOnSystemScan + boolean + + + + removeWifiAP + + boolean + + NetId + int + + + + updateWifiList + + void + + ba + anywheresoftware.b4a.BA + + + + getBSSID + + java.lang.String + + EntryNumber + int + + + + wifis + + java.lang.String[] + + + Results + + java.util.List + + + 4.41 + V-2.17 by Jem Miller - Missing Link Software; V-3.00 by bgsoft; v4.00+ by Computersmith + MLwifi400.aar + diff --git a/B4A/NB6.b4xlib b/B4A/NB6.b4xlib new file mode 100644 index 0000000..6b471d4 Binary files /dev/null and b/B4A/NB6.b4xlib differ diff --git a/B4A/NineOldAndroids.jar b/B4A/NineOldAndroids.jar new file mode 100644 index 0000000..9b76c06 Binary files /dev/null and b/B4A/NineOldAndroids.jar differ diff --git a/B4A/NineOldAndroids.xml b/B4A/NineOldAndroids.xml new file mode 100644 index 0000000..764e31b --- /dev/null +++ b/B4A/NineOldAndroids.xml @@ -0,0 +1,1714 @@ + + + 1.02 + + com.nineoldandroids_b4a.view.ViewHelper + noaViewHelper + process + + setScaleY + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + scaleY + float + + + + setScaleX + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + scaleX + float + + + + getScaleY + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + setTranslationY + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + translationY + float + + + + getScaleX + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + setTranslationX + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + translationX + float + + + + setRotation + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + rotation + float + + + + getAlpha + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + getScrollX + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + getScrollY + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + setRotationX + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + rotationX + float + + + + setRotationY + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + rotationY + float + + + + setAlpha + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + alpha + float + + + + setPivotY + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + pivotY + float + + + + setPivotX + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + pivotX + float + + + + getRotation + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + getTranslationX + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + getTranslationY + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + getPivotY + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + getPivotX + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + setScrollY + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + scrollY + int + + + + setScrollX + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + scrollX + int + + + + getY + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + setX + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + x + float + + + + getRotationY + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + setY + + void + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + y + float + + + + getX + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + getRotationX + + float + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + + com.nineoldandroids_b4a.animation.ValueAnimator + noaValueAnimator + This class provides a simple timing engine for running animations + which calculate animated values and set them on target objects. + + There is a single timing pulse that all animations use. It runs in a + custom handler to ensure that property changes happen on the UI thread. + + By default, ValueAnimator uses non-linear time interpolation, via the + {@link AccelerateDecelerateInterpolator} class, which accelerates into and decelerates + out of an animation. This behavior can be changed by calling + {@link ValueAnimator#setInterpolator(TimeInterpolator)}. + process + Start + Cancel + End + Repeat + Update + + setupEndValues + This method tells the object to use appropriate information to extract + ending values for the animation. For example, a AnimatorSet object will pass + this call to its child objects to tell them to set up the values. A + ObjectAnimator object will use the information it has about its target object + and PropertyValuesHolder objects to get the start values for its properties. + A ValueAnimator object will ignore the request since it does not have enough + information (such as a target object) to gather these values. + void + + + End + Ends the animation. This causes the animation to assign the end value of the property being + animated, then sending the End event to its listeners. + + This method must be called on the thread that is running the animation. + void + + + INTERPOLATOR_OVERSHOOT + + android.view.animation.OvershootInterpolator + + + Start + Starts this animation. If the animation has a nonzero startDelay, the animation will start + running after that delay elapses. A non-delayed animation will have its initial value(s) + set immediately, followed by sending a Start event to any listeners of this animator. + + The animation started by calling this method will be run on the thread that called + this method. This thread should have a Looper on it (a runtime exception will be thrown if + this is not the case). Also, if the animation will animate properties of objects in the view + hierarchy, then the calling thread should be the UI thread for that view hierarchy. + + Calls to Start after the first are ignored. If you want to restart the animation, call Cancel + or End before. + void + + + INTERPOLATOR_DECELERATE + + android.view.animation.DecelerateInterpolator + + + setupStartValues + This method tells the object to use appropriate information to extract + starting values for the animation. For example, a AnimatorSet object will pass + this call to its child objects to tell them to set up the values. A + ObjectAnimator object will use the information it has about its target object + and PropertyValuesHolder objects to get the start values for its properties. + A ValueAnimator object will ignore the request since it does not have enough + information (such as a target object) to gather these values. + void + + + INTERPOLATOR_CYCLE + + android.view.animation.CycleInterpolator + + cycles + float + + + + setDuration + Sets the length of the animation. The default duration is 300 milliseconds. + com.nineoldandroids_b4a.animation.ValueAnimator + + duration + long + + + + INTERPOLATOR_LINEAR + + android.view.animation.LinearInterpolator + + + Cancel + Cancels the animation. Unlike End(), <code>Cancel()</code> causes the animation to + stop in its tracks, sending a Cancel event to its listeners, followed by an End event. + + <p>This method must be called on the thread that is running the animation.</p> + void + + + INTERPOLATOR_BOUNCE + + android.view.animation.BounceInterpolator + + + INTERPOLATOR_ANTICIPATE + + android.view.animation.AnticipateInterpolator + + + INTERPOLATOR_ANTICIPATE_OVERSHOOT + + android.view.animation.AnticipateOvershootInterpolator + + + Values + Returns the values that this Animator animates between. + anywheresoftware.b4a.objects.collections.List + + + isRunning + Returns whether this Animator is currently running (having been started and gone past any + initial startDelay period and not yet ended). + boolean + + + InitializeFloat + Initializes a ValueAnimator that animates between float values. + com.nineoldandroids_b4a.animation.ValueAnimator + + ba + anywheresoftware.b4a.BA + + + StartValue + float + + + EndValue + float + + + EventPrefix + java.lang.String + + + + InitializeObject + Initializes a ValueAnimator that animates between object values. + Since ValueAnimator does not know how to animate between arbitrary Objects, this + method also takes a TypeEvaluator object that the ValueAnimator will use to perform + that interpolation. + com.nineoldandroids_b4a.animation.ValueAnimator + + ba + anywheresoftware.b4a.BA + + + evaluator + com.nineoldandroids_b4a.animation.TypeEvaluator + + + StartValue + java.lang.Object + + + EndValue + java.lang.Object + + + EventPrefix + java.lang.String + + + + INTERPOLATOR_ACCELERATE_DECELERATE + + android.view.animation.AccelerateDecelerateInterpolator + + + Reverse + Plays the Animator in reverse. If the animation is already running, + it will stop itself and play backwards from the point reached when reverse was called. + If the animation is not currently running, then it will start from the end and + play backwards. This behavior is only set for the current animation; future playing + of the animation will use the default behavior of playing forward. + void + + + INTERPOLATOR_ACCELERATE + + android.view.animation.AccelerateInterpolator + + + toString + + java.lang.String + + + isStarted + Returns whether this Animator has been started and not yet ended. This state is a superset + of the state of isRunning(), because an Animator with a nonzero startDelay will return true + for isStarted() during the delay phase, whereas isRunning() will return true only after the + delay phase is complete. + boolean + + + InitializeInt + Initializes a ValueAnimator that animates between int values. + com.nineoldandroids_b4a.animation.ValueAnimator + + ba + anywheresoftware.b4a.BA + + + StartValue + int + + + EndValue + int + + + EventPrefix + java.lang.String + + + + FloatValues + + values + float[] + + Sets float values that will be animated between. A single + value implies that that value is the one being animated to. However, this is not typically + useful in a ValueAnimator object because there is no way for the object to determine the + starting value for the animation (unlike ObjectAnimator, which can derive that value + from the target object and property being animated). Therefore, there should typically + be two or more values. + + + RepeatMode + int + + value + int + + Defines what this animation should do when it reaches the end. + + + ObjectValues + + values + java.lang.Object[] + + Sets the values to animate between for this animation. A single + value implies that that value is the one being animated to. However, this is not typically + useful in a ValueAnimator object because there is no way for the object to determine the + starting value for the animation (unlike ObjectAnimator, which can derive that value + from the target object and property being animated). Therefore, there should typically + be two or more values. + + There should be a TypeEvaluator set on the ValueAnimator that knows how to interpolate + between these value objects. ValueAnimator only knows how to interpolate between the + primitive types specified in the other setValues() methods. + + + StartDelay + long + + startDelay + long + + The amount of time, in milliseconds, to delay starting the animation after Start() is called. + + + IntValues + + values + int[] + + Sets int values that will be animated between. A single + value implies that that value is the one being animated to. However, this is not typically + useful in a ValueAnimator object because there is no way for the object to determine the + starting value for the animation (unlike ObjectAnimator, which can derive that value + from the target object and property being animated). Therefore, there should typically + be two or more values. + + + Evaluator + + evaluator + com.nineoldandroids_b4a.animation.TypeEvaluator + + The type evaluator to be used when calculating the animated values of this animation. + The system will automatically assign a float or int evaluator based on the type + of StartValue and EndValue in Initialize. But if these values are not one of these + primitive types, or if different evaluation is desired (such as is necessary with + int values that represent colors), a custom evaluator needs to be assigned. For + example, when running an animation on color values, the noaColorARGBEvaluator + should be used to get correct RGB color interpolation. + + + RepeatCount + int + + value + int + + Defines how many times the animation should repeat. The default value + is 0. + + + AnimatedFraction + float + Returns the current animation fraction, which is the elapsed/interpolated fraction used in + the most recent frame update on the animation. + + + Duration + long + Gets the length of the animation. The default duration is 300 milliseconds. + + + CurrentPlayTime + long + + playTime + long + + Gets the current position of the animation in time, which is equal to the current + time minus the time that the animation started. An animation that is not yet started will + return a value of zero. + + + FrameDelay + long + + frameDelay + long + + The amount of time, in milliseconds, between each frame of the animation. This is a + requested time that the animation will attempt to honor, but the actual delay between + frames may be different, depending on system load and capabilities. + NOTE: the same delay is applied to all animations, since they are all run off of a + single timing loop. + + + AnimatedValue + java.lang.Object + The most recent value calculated by this Animator when there is just one property being + animated. This value is only sensible while the animation is running. The main purpose for + this read-only property is to retrieve the value from the Animator in the Update event + handler, which is called during each animation frame, immediately after the value is + calculated. + + + Interpolator + android.view.animation.Interpolator + + interpolator + java.lang.Object + + Gets or sets the time interpolator that this Animator uses. + The interpolator determines whether the animation runs with linear or non-linear motion, + such as acceleration and deceleration. The default value is AccelerateDecelerateInterpolator. + + + REPEATCOUNT_INFINITE + This value used used with the RepeatCount property to repeat + the animation indefinitely. + int + + + REPEATMODE_RESTART + When the animation reaches the end and RepeatCount is INFINITE + or a positive value, the animation restarts from the beginning. + int + + + REPEATMODE_REVERSE + When the animation reaches the end and RepeatCount is INFINITE + or a positive value, the animation reverses direction on every iteration. + int + + + + com.nineoldandroids_b4a.animation.TimeAnimWrapper + noaTimeAnimator + process + Start + Cancel + End + TimeUpdate(TotalTime As Long, DeltaTime As Long) + + Initialize + Initializes a TimeAnimator. + There is no duration, interpolation, or object value-setting with this Animator. + Instead, it is simply started, after which it proceeds to send out events on every animation + frame to its TimeUpdate listener, with information about the total elapsed time, and the + elapsed time since the previous animation frame. + com.nineoldandroids_b4a.animation.TimeAnimWrapper + + ba + anywheresoftware.b4a.BA + + + EventPrefix + java.lang.String + + + + End + Ends this Animator. + void + + + Start + Starts this Animator. + Calls to Start after the first are ignored. If you want to restart the animation, call Cancel + or End before. + void + + + isRunning + Returns whether this Animator is currently running (having been started and gone past any + initial startDelay period and not yet ended). + boolean + + + Cancel + Cancels this Animator. + void + + + isStarted + Returns whether this Animator has been started and not yet ended. + boolean + + + FrameDelay + long + + frameDelay + long + + The amount of time, in milliseconds, between each frame of the animation. This is a + requested time that the animation will attempt to honor, but the actual delay between + frames may be different, depending on system load and capabilities. + NOTE: the same delay is applied to all animations, since they are all run off of a + single timing loop. + + + StartDelay + long + + startDelay + long + + The amount of time, in milliseconds, to delay starting the animation after Start() is called. + + + + com.nineoldandroids_b4a.animation.ObjectAnimator + noaObjectAnimator + This subclass of {@link ValueAnimator} provides support for animating properties on target objects. + The constructors of this class take parameters to define the target object that will be animated + as well as the name of the property that will be animated. Appropriate set/get functions + are then determined internally and the animation will call these functions as necessary to + animate the property. + activity + Start + Cancel + End + Repeat + Update + + setupEndValues + This method tells the object to use appropriate information to extract + ending values for the animation. For example, a AnimatorSet object will pass + this call to its child objects to tell them to set up the values. A + ObjectAnimator object will use the information it has about its target object + and PropertyValuesHolder objects to get the start values for its properties. + A ValueAnimator object will ignore the request since it does not have enough + information (such as a target object) to gather these values. + void + + + End + Ends the animation. This causes the animation to assign the end value of the property being + animated, then sending the End event to its listeners. + + This method must be called on the thread that is running the animation. + void + + + INTERPOLATOR_OVERSHOOT + + android.view.animation.OvershootInterpolator + + + Start + Starts this animation. If the animation has a nonzero startDelay, the animation will start + running after that delay elapses. A non-delayed animation will have its initial value(s) + set immediately, followed by sending a Start event to any listeners of this animator. + + The animation started by calling this method will be run on the thread that called + this method. This thread should have a Looper on it (a runtime exception will be thrown if + this is not the case). Also, if the animation will animate properties of objects in the view + hierarchy, then the calling thread should be the UI thread for that view hierarchy. + + Calls to Start after the first are ignored. If you want to restart the animation, call Cancel + or End before. + void + + + INTERPOLATOR_DECELERATE + + android.view.animation.DecelerateInterpolator + + + setupStartValues + This method tells the object to use appropriate information to extract + starting values for the animation. For example, a AnimatorSet object will pass + this call to its child objects to tell them to set up the values. A + ObjectAnimator object will use the information it has about its target object + and PropertyValuesHolder objects to get the start values for its properties. + A ValueAnimator object will ignore the request since it does not have enough + information (such as a target object) to gather these values. + void + + + INTERPOLATOR_CYCLE + + android.view.animation.CycleInterpolator + + cycles + float + + + + setDuration + Sets the length of the animation. The default duration is 300 milliseconds. + com.nineoldandroids_b4a.animation.ObjectAnimator + + duration + long + + + + INTERPOLATOR_LINEAR + + android.view.animation.LinearInterpolator + + + Cancel + Cancels the animation. Unlike End(), <code>Cancel()</code> causes the animation to + stop in its tracks, sending a Cancel event to its listeners, followed by an End event. + + <p>This method must be called on the thread that is running the animation.</p> + void + + + INTERPOLATOR_BOUNCE + + android.view.animation.BounceInterpolator + + + INTERPOLATOR_ANTICIPATE + + android.view.animation.AnticipateInterpolator + + + INTERPOLATOR_ANTICIPATE_OVERSHOOT + + android.view.animation.AnticipateOvershootInterpolator + + + Values + Returns the values that this Animator animates between. + anywheresoftware.b4a.objects.collections.List + + + isRunning + Returns whether this Animator is currently running (having been started and gone past any + initial startDelay period and not yet ended). + boolean + + + InitializeFloat + Initializes an ObjectAnimator that animates between float values. +target: The object whose property is to be animated. +propertyName: The name of the property being animated. +values: A set of values that the animation will animate between over time. + com.nineoldandroids_b4a.animation.ObjectAnimator + + ba + anywheresoftware.b4a.BA + + + target + java.lang.Object + + + propertyName + java.lang.String + + + StartValue + float + + + EndValue + float + + + EventPrefix + java.lang.String + + + + InitializeObject + Initializes an ObjectAnimator that animates between object values. + Since ObjectAnimator does not know how to animate between arbitrary Objects, this + method also takes a TypeEvaluator object that the ObjectAnimator will use to perform + that interpolation. +target: The object whose property is to be animated. +property: The property being animated. +evaluator: A TypeEvaluator that will be called on each animation frame to provide + the necessary interpolation between the Object values to derive the animated value. +values: A set of values that the animation will animate between over time. + com.nineoldandroids_b4a.animation.ObjectAnimator + + ba + anywheresoftware.b4a.BA + + + target + java.lang.Object + + + propertyName + java.lang.String + + + evaluator + com.nineoldandroids_b4a.animation.TypeEvaluator + + + StartValue + java.lang.Object + + + EndValue + java.lang.Object + + + EventPrefix + java.lang.String + + + + INTERPOLATOR_ACCELERATE_DECELERATE + + android.view.animation.AccelerateDecelerateInterpolator + + + Reverse + Plays the Animator in reverse. If the animation is already running, + it will stop itself and play backwards from the point reached when reverse was called. + If the animation is not currently running, then it will start from the end and + play backwards. This behavior is only set for the current animation; future playing + of the animation will use the default behavior of playing forward. + void + + + INTERPOLATOR_ACCELERATE + + android.view.animation.AccelerateInterpolator + + + toString + + java.lang.String + + + isStarted + Returns whether this Animator has been started and not yet ended. This state is a superset + of the state of isRunning(), because an Animator with a nonzero startDelay will return true + for isStarted() during the delay phase, whereas isRunning() will return true only after the + delay phase is complete. + boolean + + + InitializeInt + Initializes an ObjectAnimator that animates between int values. +target: The object whose property is to be animated. +propertyName: The name of the property being animated. +values: A set of values that the animation will animate between over time. + com.nineoldandroids_b4a.animation.ObjectAnimator + + ba + anywheresoftware.b4a.BA + + + target + java.lang.Object + + + propertyName + java.lang.String + + + StartValue + int + + + EndValue + int + + + EventPrefix + java.lang.String + + + + FloatValues + + values + float[] + + + + + RepeatMode + int + + value + int + + Defines what this animation should do when it reaches the end. + + + ObjectValues + + values + java.lang.Object[] + + + + + StartDelay + long + + startDelay + long + + The amount of time, in milliseconds, to delay starting the animation after Start() is called. + + + PropertyName + java.lang.String + + propertyName + java.lang.String + + Gets or sets the name of the property that will be animated. This name will be used to + derive a setter function that will be called to set animated values. + For example, a property name of foo will result + in a call to the function setFoo() on the target object. If either + valueFrom or valueTo is null, then a getter function will + also be derived and called. + + Note that the setter function derived from this property name + must take the same parameter type as the + valueFrom and valueTo properties, otherwise the call to + the setter function will fail. + + + IntValues + + values + int[] + + + + + Evaluator + + evaluator + com.nineoldandroids_b4a.animation.TypeEvaluator + + The type evaluator to be used when calculating the animated values of this animation. + The system will automatically assign a float or int evaluator based on the type + of StartValue and EndValue in Initialize. But if these values are not one of these + primitive types, or if different evaluation is desired (such as is necessary with + int values that represent colors), a custom evaluator needs to be assigned. For + example, when running an animation on color values, the noaColorARGBEvaluator + should be used to get correct RGB color interpolation. + + + RepeatCount + int + + value + int + + Defines how many times the animation should repeat. The default value + is 0. + + + AnimatedFraction + float + Returns the current animation fraction, which is the elapsed/interpolated fraction used in + the most recent frame update on the animation. + + + Target + java.lang.Object + + target + java.lang.Object + + The target object whose property will be animated by this animation + + + Duration + long + Gets the length of the animation. The default duration is 300 milliseconds. + + + CurrentPlayTime + long + + playTime + long + + Gets the current position of the animation in time, which is equal to the current + time minus the time that the animation started. An animation that is not yet started will + return a value of zero. + + + FrameDelay + long + + frameDelay + long + + The amount of time, in milliseconds, between each frame of the animation. This is a + requested time that the animation will attempt to honor, but the actual delay between + frames may be different, depending on system load and capabilities. + NOTE: the same delay is applied to all animations, since they are all run off of a + single timing loop. + + + Interpolator + android.view.animation.Interpolator + + interpolator + java.lang.Object + + Gets or sets the time interpolator that this Animator uses. + The interpolator determines whether the animation runs with linear or non-linear motion, + such as acceleration and deceleration. The default value is AccelerateDecelerateInterpolator. + + + AnimatedValue + java.lang.Object + The most recent value calculated by this Animator when there is just one property being + animated. This value is only sensible while the animation is running. The main purpose for + this read-only property is to retrieve the value from the Animator in the Update event + handler, which is called during each animation frame, immediately after the value is + calculated. + + + REPEATCOUNT_INFINITE + This value used used with the RepeatCount property to repeat + the animation indefinitely. + int + + + PROPERTY_X + + java.lang.String + + + PROPERTY_Y + + java.lang.String + + + PROPERTY_PIVOT_Y + + java.lang.String + + + PROPERTY_PIVOT_X + + java.lang.String + + + PROPERTY_SCALE_Y + + java.lang.String + + + PROPERTY_SCALE_X + + java.lang.String + + + PROPERTY_SCROLL_X + + java.lang.String + + + PROPERTY_SCROLL_Y + + java.lang.String + + + PROPERTY_ALPHA + + java.lang.String + + + REPEATMODE_RESTART + When the animation reaches the end and RepeatCount is INFINITE + or a positive value, the animation restarts from the beginning. + int + + + PROPERTY_ROTATION + + java.lang.String + + + REPEATMODE_REVERSE + When the animation reaches the end and RepeatCount is INFINITE + or a positive value, the animation reverses direction on every iteration. + int + + + PROPERTY_ROTATION_X + + java.lang.String + + + PROPERTY_TRANSLATION_X + + java.lang.String + + + PROPERTY_ROTATION_Y + + java.lang.String + + + PROPERTY_TRANSLATION_Y + + java.lang.String + + + + com.nineoldandroids_b4a.animation.IntEvaluator + noaIntEvaluator + This evaluator can be used to perform type interpolation between int values. + process + + evaluate + This function returns the result of linearly interpolating the start and end values, with + fraction representing the proportion between the start and end values. The + calculation is a simple parametric calculation: result = x0 + t * (v1 - v0), + where x0 is startValue, x1 is endValue, and t is fraction. +fraction: The fraction from the starting to the ending values +startValue: The start value; should be of type int +endValue: The end value; should be of type int + + Returns a linear interpolation between the start and end values, given the fraction parameter. + java.lang.Integer + + fraction + float + + + startValue + java.lang.Integer + + + endValue + java.lang.Integer + + + + + com.nineoldandroids_b4a.animation.FloatEvaluator + noaFloatEvaluator + This evaluator can be used to perform type interpolation between float values. + process + + evaluate + This function returns the result of linearly interpolating the start and end values, with + fraction representing the proportion between the start and end values. The + calculation is a simple parametric calculation: result = x0 + t * (v1 - v0), + where x0 is startValue, x1 is endValue, and t is fraction. +fraction: The fraction from the starting to the ending values +startValue: The start value; should be of type float +endValue: The end value; should be of type float + + Returns a linear interpolation between the start and end values, given the fraction parameter. + java.lang.Float + + fraction + float + + + startValue + java.lang.Number + + + endValue + java.lang.Number + + + + + com.nineoldandroids_b4a.animation.ArgbEvaluator + noaColorARGBEvaluator + This evaluator can be used to perform type interpolation between integer + values that represent ARGB colors. + process + + evaluate + This function returns the calculated in-between value for a color + given integers that represent the start and end values in the four + bytes of the 32-bit int. Each channel is separately linearly interpolated + and the resulting calculated values are recombined into the return value. +fraction: The fraction from the starting to the ending values. +startValue: A 32-bit int value representing colors in the + separate bytes of the parameter. +endValue: A 32-bit int value representing colors in the + separate bytes of the parameter. + + Returns a value that is calculated to be the linearly interpolated + result, derived by separating the start and end values into separate + color channels and interpolating each one separately, recombining the + resulting values in the same way. + java.lang.Object + + fraction + float + + + startValue + java.lang.Object + + + endValue + java.lang.Object + + + + + com.nineoldandroids_b4a.animation.AnimatorSet + noaAnimatorSet + This class plays a set of {@link Animator} objects in the specified order. Animations + can be set up to play together, in sequence, or after a specified delay. + + There are two different approaches to adding animations to a AnimatorSet: + either the playTogether(Animator[]) or + playSequentially(Animator[]) methods can be called to add + a set of animations all at once, or the play(Animator) can be + used in conjunction with methods in the Builder class to add + animations one by one. + + It is possible to set up a AnimatorSet with circular dependencies between + its animations. For example, an animation a1 could be set up to start before animation a2, a2 + before a3, and a3 before a1. The results of this configuration are undefined, but will typically + result in none of the affected animations being played. Because of this (and because + circular dependencies do not make logical sense anyway), circular dependencies + should be avoided, and the dependency flow of animations should only be in one direction. + process + + setupEndValues + This method tells the object to use appropriate information to extract + ending values for the animation. For example, a AnimatorSet object will pass + this call to its child objects to tell them to set up the values. A + ObjectAnimator object will use the information it has about its target object + and PropertyValuesHolder objects to get the start values for its properties. + A ValueAnimator object will ignore the request since it does not have enough + information (such as a target object) to gather these values. + void + + + End + Ends the animation. This causes the animation to assign the end value of the property being + animated, then sending the End event to its listeners. + + This method must be called on the thread that is running the animation. + + Note that ending a AnimatorSet also ends all of the animations that it is + responsible for. + void + + + INTERPOLATOR_OVERSHOOT + + android.view.animation.OvershootInterpolator + + + Start + Starts this animation. If the animation has a nonzero startDelay, the animation will start + running after that delay elapses. A non-delayed animation will have its initial + value(s) set immediately, followed by sending a Start event to any listeners of this animator. + + The animation started by calling this method will be run on the thread that called + this method. This thread should have a Looper on it (a runtime exception will be thrown if + this is not the case). Also, if the animation will animate properties of objects in the view + hierarchy, then the calling thread should be the UI thread for that view hierarchy. + + Starting this AnimatorSet will, in turn, start the animations for which + it is responsible. The details of when exactly those animations are started depends on + the dependency relationships that have been set up between the animations. + void + + + PlaySequentially + Sets up this AnimatorSet to play each of the supplied animations when the + previous animation ends. +items: The animations that will be started one after another. + void + + items + java.lang.Object[] + + + + PlayTogether + Sets up this AnimatorSet to play all of the supplied animations at the same time. +items: The animations that will be started simultaneously. + void + + items + java.lang.Object[] + + + + INTERPOLATOR_DECELERATE + + android.view.animation.DecelerateInterpolator + + + setupStartValues + This method tells the object to use appropriate information to extract + starting values for the animation. For example, a AnimatorSet object will pass + this call to its child objects to tell them to set up the values. A + ObjectAnimator object will use the information it has about its target object + and PropertyValuesHolder objects to get the start values for its properties. + A ValueAnimator object will ignore the request since it does not have enough + information (such as a target object) to gather these values. + void + + + INTERPOLATOR_CYCLE + + android.view.animation.CycleInterpolator + + cycles + float + + + + setDuration + Sets the length of each of the current child animations of this AnimatorSet. By default, + each child animation will use its own duration. If the duration is set on the AnimatorSet, + then each child animation inherits this duration. +duration: The length of the animation, in milliseconds, of each of the child + animations of this AnimatorSet. + com.nineoldandroids_b4a.animation.AnimatorSet + + duration + long + + + + INTERPOLATOR_LINEAR + + android.view.animation.LinearInterpolator + + + Cancel + Cancels the animation. Unlike End(), Cancel() causes the animation to + stop in its tracks, sending a Cancel event to its listeners, followed by an End event. + + This method must be called on the thread that is running the animation. + + Note that canceling a AnimatorSet also cancels all of the animations that it + is responsible for. + void + + + INTERPOLATOR_BOUNCE + + android.view.animation.BounceInterpolator + + + INTERPOLATOR_ANTICIPATE + + android.view.animation.AnticipateInterpolator + + + INTERPOLATOR_ANTICIPATE_OVERSHOOT + + android.view.animation.AnticipateOvershootInterpolator + + + Play + This method creates a Builder object, which is used to set up playing constraints. + This initial play() method tells the Builder the animation that is the dependency + for the succeeding commands to the Builder. For example, calling play(a1).with(a2) + sets up the AnimatorSet to play a1 and a2 at the same time, play(a1).before(a2) + sets up the AnimatorSet to play a1 first, followed by a2, and play(a1).after(a2) + sets up the AnimatorSet to play a2 first, followed by a1. + + Note that play() is the only way to tell the Builder the animation upon which + the dependency is created, so successive calls to the various functions in Builder + will all refer to the initial parameter supplied in play() as the dependency of the + other animations. For example, calling play(a1).before(a2).before(a3) will play both a2 + and a3 when a1 ends; it does not set up a dependency between a2 and a3. + com.nineoldandroids_b4a.animation.AnimatorSet.Builder + + anim + java.lang.Object + + + + isRunning + Returns true if any of the child animations of this AnimatorSet have been started and have + not yet ended. + boolean + + + INTERPOLATOR_ACCELERATE_DECELERATE + + android.view.animation.AccelerateDecelerateInterpolator + + + INTERPOLATOR_ACCELERATE + + android.view.animation.AccelerateInterpolator + + + isStarted + Returns whether this Animator has been started and not yet ended. This state is a superset + of the state of isRunning(), because an Animator with a nonzero startDelay will return true + for isStarted() during the delay phase, whereas isRunning() will return true only after the + delay phase is complete. + boolean + + + Target + + target + java.lang.Object + + Sets the target object for all current child animations of this AnimatorSet that take targets (ObjectAnimator and AnimatorSet). + + + Duration + long + Gets the length of each of the child animations of this AnimatorSet. This value may + be less than 0, which indicates that no duration has been set on this AnimatorSet + and each of the child animations will use their own duration. + + + StartDelay + long + + startDelay + long + + The amount of time, in milliseconds, to delay starting the animation after + Start is called. + + + Interpolator + + interpolator + java.lang.Object + + Sets the time interpolator for all current child animations + of this AnimatorSet. + + + ChildAnimations + anywheresoftware.b4a.objects.collections.List + Returns the current list of child Animator objects controlled by this + AnimatorSet. This is a copy of the internal list; modifications to the returned list + will not affect the AnimatorSet, although changes to the underlying Animator objects + will affect those objects being managed by the AnimatorSet. + + + + com.nineoldandroids_b4a.animation.AnimatorSet.Builder + The Builder object is a utility class to facilitate adding animations to a + AnimatorSet along with the relationships between the various animations. The + intention of the Builder methods, along with the play(Animator) method of AnimatorSet is to make it possible + to express the dependency relationships of animations in a natural way. Developers can also + use the playTogether(Animator[]) and playSequentially(Animator[]) methods if these suit the need, + but it might be easier in some situations to express the AnimatorSet of animations in pairs. + <p/> + The Builder object cannot be constructed directly, but is rather constructed + internally via a call to play(Animator). + <p/> + For example, this sets up a AnimatorSet to play anim1 and anim2 at the same time, anim3 to + play when anim2 finishes, and anim4 to play when anim3 finishes: + <pre> + AnimatorSet s = new AnimatorSet(); + s.play(anim1).with(anim2); + s.play(anim2).before(anim3); + s.play(anim4).after(anim3); + </pre> + <p/> + Note in the example that both before(Animator) and after(Animator) are used. These are just different ways of expressing the same + relationship and are provided to make it easier to say things in a way that is more natural, + depending on the situation. + <p/> + It is possible to make several calls into the same Builder object to express + multiple relationships. However, note that it is only the animation passed into the initial + play(Animator) method that is the dependency in any of the successive + calls to the Builder object. For example, the following code starts both anim2 + and anim3 when anim1 ends; there is no direct dependency relationship between anim2 and + anim3: + <pre> + AnimatorSet s = new AnimatorSet(); + s.play(anim1).before(anim2).before(anim3); + </pre> + If the desired result is to play anim1 then anim2 then anim3, this code expresses the + relationship correctly: + <pre> + AnimatorSet s = new AnimatorSet(); + s.play(anim1).before(anim2); + s.play(anim2).before(anim3); + </pre> + Note that it is possible to express relationships that cannot be resolved and will not + result in sensible results. For example, play(anim1).after(anim1) makes no + sense. In general, circular dependencies like this one (or more indirect ones where a depends + on b, which depends on c, which depends on a) should be avoided. Only create AnimatorSets + that can boil down to a simple, one-way relationship of animations starting with, before, and + after other, different, animations. + process + + after + Sets up the given animation to play when the animation supplied in the + play(Animator) call that created this Builder object + to start when the animation supplied in this method call ends. +anim: The animation whose end will cause the animation supplied to the + play(Animator) method to play. + com.nineoldandroids_b4a.animation.AnimatorSet.Builder + + animator + java.lang.Object + + + + with + Sets up the given animation to play at the same time as the animation supplied in the + play(Animator) call that created this Builder object. +anim: The animation that will play when the animation supplied to the + play(Animator) method starts. + com.nineoldandroids_b4a.animation.AnimatorSet.Builder + + animator + java.lang.Object + + + + before + Sets up the given animation to play when the animation supplied in the + play(Animator) call that created this Builder object ends. +anim: The animation that will play when the animation supplied to the + play(Animator) method ends. + com.nineoldandroids_b4a.animation.AnimatorSet.Builder + + animator + java.lang.Object + + + + 0.93 + Jake Wharton, The Android Open Source Project, F. Leneuf-Magaud + diff --git a/B4A/NotificationListener.jar b/B4A/NotificationListener.jar new file mode 100644 index 0000000..29cce8d Binary files /dev/null and b/B4A/NotificationListener.jar differ diff --git a/B4A/NotificationListener.xml b/B4A/NotificationListener.xml new file mode 100644 index 0000000..e2dc5b8 --- /dev/null +++ b/B4A/NotificationListener.xml @@ -0,0 +1,88 @@ + + + 1.04 + + anywheresoftware.b4a.objects.NotificationListenerWrapper.NotificationListener + NotificationListener + NotificationListener allows you to access the device notifications. +This is only supported by Android 4.3+. +See the tutorial in the forum for more information. + process + NotificationPosted (SBN As StatusBarNotification) + NotificationRemoved (SBN As StatusBarNotification) + + Initialize + Initializes the object and sets the subs that will handle the events. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + GetActiveNotifications + Causes the listener to repost all the active notifications. + void + + + ClearNotification + Clears the given notification (if it is not an ongoing notification). + void + + SBN + anywheresoftware.b4a.objects.NotificationListenerWrapper.StatusBarNotificationWrapper + + + + HandleIntent + Handles the intent with the notifications information. +Returns true if the intent was handled. + boolean + + StartingIntent + anywheresoftware.b4a.objects.IntentWrapper + + + + ClearAll + Clears all non-ongoing notifications. + void + + + + anywheresoftware.b4a.objects.NotificationListenerWrapper.StatusBarNotificationWrapper + StatusBarNotification + android.service.notification.StatusBarNotification + process + + IsInitialized + + boolean + + + TickerText + java.lang.String + Returns the notification ticker text field. + + + PackageName + java.lang.String + Returns the notification package name. + + + Id + int + Returns the notification id. + + + Notification + anywheresoftware.b4a.objects.NotificationWrapper + Returns the internal notification object. + + + 1.2 + diff --git a/B4A/OkHttpUtils2.b4xlib b/B4A/OkHttpUtils2.b4xlib new file mode 100644 index 0000000..e5e43cd Binary files /dev/null and b/B4A/OkHttpUtils2.b4xlib differ diff --git a/B4A/OverlayWindow.jar b/B4A/OverlayWindow.jar new file mode 100644 index 0000000..0f88905 Binary files /dev/null and b/B4A/OverlayWindow.jar differ diff --git a/B4A/OverlayWindow.xml b/B4A/OverlayWindow.xml new file mode 100644 index 0000000..4490e4b --- /dev/null +++ b/B4A/OverlayWindow.xml @@ -0,0 +1,436 @@ + + + 1.05 + + b4a.flm.overlaywdw.OverlayWindow + OverlayWindow + process + Touch(Action As Int, X As Float, Y As Float, ScreenX As Float, ScreenY As Float) + Click + LongClick + android.permission.SYSTEM_ALERT_WINDOW + android.permission.SYSTEM_ERROR_WINDOW + + Initialize2 + Creates an empty overlay window at the specified position. The window is displayed after calling Open. +The window has a panel which can contain child views. Note that these views cannot acquire the focus. +The window can be placed or moved over the status and notification bars. Starting from Android 8 (Oreo), it always appears under critical system windows. +Width: Width of the window. +Height: Height of the window. +EventPrefix: Prefix of the Touch, Click and LongClick events. + void + + ba + anywheresoftware.b4a.BA + + + X + int + + + Y + int + + + Width + int + + + Height + int + + + EventPrefix + java.lang.String + + + + SetPosition + + void + + X + int + + + Y + int + + + + Close + Closes this window. The bound buttons are removed, if any. + void + + + IsInitialized + + boolean + + + SetSize + + void + + Width + int + + + Height + int + + + + Initialize + Creates an empty overlay window at the specified position. The window is displayed after calling Open. +The window has a panel which can contain child views. Note that these views cannot acquire the focus. +The window cannot be placed or moved over the status and notification bars. +Width: Width of the window. +Height: Height of the window. +EventPrefix: Prefix of the Touch, Click and LongClick events. + void + + ba + anywheresoftware.b4a.BA + + + X + int + + + Y + int + + + Width + int + + + Height + int + + + EventPrefix + java.lang.String + + + + Open + Opens this window. The bound buttons are added, if any. + void + + + IsOpen + Returns True if the window was opened by a call to Open. + boolean + + + Panel + anywheresoftware.b4a.objects.PanelWrapper + Returns the window panel. + + + KeepScreenOn + boolean + + KeepScreenOn + boolean + + Gets or sets whether the screen is kept turned on and bright as long as the window is visible. Default = False. Should be set only after the window is opened. + + + Visible + boolean + + Visible + boolean + + Gets or sets the window visibility. The bound buttons, if any, are shown or hidden accordingly. + + + X + int + + X + int + + + + + Y + int + + Y + int + + + + + Height + int + + Height + int + + + + + Width + int + + Width + int + + + + + TouchMode + int + + TouchMode + int + + Gets or sets the touch mode (one of the TOUCH_ constants). Default = TOUCH_INSIDE. Should be set only after the window is opened. + + + TOUCH_NONE + The window does not receive touch events. + int + + + TOUCH_ALL + The window receives all touch events. + int + + + TOUCH_INSIDE + The window receives touch events inside the window. + int + + + + b4a.flm.overlaywdw.OverlayPermission + OverlayPermission + process + DrawPermission(Allowed As Boolean) + + RequestPermission + Requests the permission to draw overlays over applications for Android versions >= 23. Returns whether a permission is required or not. + boolean + + ba + anywheresoftware.b4a.BA + + + EventPrefix + java.lang.String + + + + IsAllowed + Returns whether this application is allowed to draw overlays over applications. + boolean + + ba + anywheresoftware.b4a.BA + + + + + b4a.flm.overlaywdw.OverlayButton + OverlayButton + process + Click + LongClick + + Add + Adds this button to the screen. + void + + + IsAdded + Returns True if the button was added by a call to Add (or a call to Open if bound). + boolean + + + BindTo + Associates this button with the given overlay window so the button is automatically added or removed when the window is opened or closed, and automatically shown or hidden according to the window visibility. + void + + Window + b4a.flm.overlaywdw.OverlayWindow + + + + UnbindFrom + Breaks the association between this button and the given overlay window. + void + + Window + b4a.flm.overlaywdw.OverlayWindow + + + + Initialize2 + Creates a button at the specified position. The button is displayed after calling Add. +The button can be placed or moved over the status and notification bars. Starting from Android 8 (Oreo), it always appears under critical system windows. +Width: Width of the button. +Height: Height of the button. +EventPrefix: Prefix of the Click and LongClick events. + void + + ba + anywheresoftware.b4a.BA + + + X + int + + + Y + int + + + Width + int + + + Height + int + + + EventPrefix + java.lang.String + + + + SetPosition + + void + + X + int + + + Y + int + + + + SetStateImages + Sets the images for the Up, Down and Disabled states. Pass Null if you do not want to set an image. + void + + Up + android.graphics.drawable.Drawable + + + Down + android.graphics.drawable.Drawable + + + Disabled + android.graphics.drawable.Drawable + + + + IsInitialized + + boolean + + + Remove + Removes this button from the screen. + void + + + SetSize + + void + + Width + int + + + Height + int + + + + Initialize + Creates a button at the specified position. The button is displayed after calling Add. +The button cannot be placed or moved over the status and notification bars. +Width: Width of the button. +Height: Height of the button. +EventPrefix: Prefix of the Click and LongClick events. + void + + ba + anywheresoftware.b4a.BA + + + X + int + + + Y + int + + + Width + int + + + Height + int + + + EventPrefix + java.lang.String + + + + Button + anywheresoftware.b4a.objects.ButtonWrapper + Returns the wrapped button. + + + X + int + + X + int + + + + + Y + int + + Y + int + + + + + Height + int + + Height + int + + + + + Width + int + + Width + int + + + + + 1.2 + F.Leneuf-Magaud/Informatix + diff --git a/B4A/PDFium.jar b/B4A/PDFium.jar new file mode 100644 index 0000000..7a29ba2 Binary files /dev/null and b/B4A/PDFium.jar differ diff --git a/B4A/PDFium.xml b/B4A/PDFium.xml new file mode 100644 index 0000000..58ed4b5 --- /dev/null +++ b/B4A/PDFium.xml @@ -0,0 +1,1619 @@ + + + 1.07 + + de.donmanfred.Configuratorwrapper + Configurator + com.github.barteksc.pdfviewer.PDFView.Configurator + process + loadComplete(pages As Int) + onPageChanged(oldPage As Int, newPage As Int) + onInitiallyRendered(page As Int) + PageNum(page As Int) + Show() + onLayerDrawn(cnvs As Canvas, arg1 As Float, arg2 As Float, arg3 As Int) + onPageScrolled(arg0 As Int, arg1 As Float) + onTap(event As Object) + LinkEvent(link As Map) + + pageSnap + + de.donmanfred.Configuratorwrapper + + pageSnap + boolean + + + + defaultPage + + de.donmanfred.Configuratorwrapper + + defaultPage + int + + + + pageFitPolicy + + de.donmanfred.Configuratorwrapper + + pageFitPolicy + com.github.barteksc.pdfviewer.util.FitPolicy + + + + pageFling + + de.donmanfred.Configuratorwrapper + + pageFling + boolean + + + + addOnRenderListener + + de.donmanfred.Configuratorwrapper + + + IsInitialized + + boolean + + + addOnPageChangeListener + + de.donmanfred.Configuratorwrapper + + + enableAnnotationRendering + + de.donmanfred.Configuratorwrapper + + annotationRendering + boolean + + + + password + + de.donmanfred.Configuratorwrapper + + password + java.lang.String + + + + pages + + de.donmanfred.Configuratorwrapper + + pageNumbers + int + + + + spacing + + de.donmanfred.Configuratorwrapper + + spacing + int + + + + load + + de.donmanfred.Configuratorwrapper + + + addOnDrawListener + + de.donmanfred.Configuratorwrapper + + + addOnErrorListener + + de.donmanfred.Configuratorwrapper + + + enableSwipe + + de.donmanfred.Configuratorwrapper + + enableSwipe + boolean + + + + swipeHorizontal + + de.donmanfred.Configuratorwrapper + + swipeHorizontal + boolean + + + + enableAntialiasing + + de.donmanfred.Configuratorwrapper + + antialiasing + boolean + + + + addOnLoadCompleteListener + + de.donmanfred.Configuratorwrapper + + + addLinkHandler + + de.donmanfred.Configuratorwrapper + + + addOnTapListener + + de.donmanfred.Configuratorwrapper + + + addScrollHandle + + de.donmanfred.Configuratorwrapper + + + enableDoubletap + + de.donmanfred.Configuratorwrapper + + enableDoubletap + boolean + + + + autoSpacing + + de.donmanfred.Configuratorwrapper + + autoSpacing + boolean + + + + SetEventname + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + addOnPageErrorListener + + de.donmanfred.Configuratorwrapper + + + addOnPageScrollListener + + de.donmanfred.Configuratorwrapper + + + nightMode + + de.donmanfred.Configuratorwrapper + + nightMode + boolean + + + + + de.donmanfred.PdfDocumentMetawrapper + PdfDocumentMeta + com.shockwave.pdfium.PdfDocument.Meta + process + + IsInitialized + + boolean + + + CreationDate + java.lang.String + + + + Keywords + java.lang.String + + + + Producer + java.lang.String + + + + Title + java.lang.String + + + + Creator + java.lang.String + + + + ModDate + java.lang.String + + + + Subject + java.lang.String + + + + + de.donmanfred.PdfDocumentwrapper + PdfDocument + com.shockwave.pdfium.PdfDocument + process + + hasPage + + boolean + + index + int + + + + IsInitialized + + boolean + + + Initialize + + void + + doc + com.shockwave.pdfium.PdfDocument + + + + + de.donmanfred.PdfiumCorewrapper + PdfiumCore + process + + getPageCount + Get total numer of pages in document + int + + doc + com.shockwave.pdfium.PdfDocument + + + + renderPageBitmap + Render page fragment on {@link Bitmap}. + Page must be opened before rendering. + + Supported bitmap configurations: + + ARGB_8888 - best quality, high memory usage, higher possibility of OutOfMemoryError + RGB_565 - little worse quality, twice less memory usage + void + + doc + com.shockwave.pdfium.PdfDocument + + + bitmap + java.lang.Object + + + pageIndex + int + + + startX + int + + + startY + int + + + drawSizeX + int + + + drawSizeY + int + + + + closeDocument + Release native resources and opened file + void + + doc + com.shockwave.pdfium.PdfDocument + + + + getNumFd + + int + + fdObj + ParcelFileDescriptor + + + + Initialize + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + openPage + Open page and store native pointer in {@link PdfDocument} + long + + doc + com.shockwave.pdfium.PdfDocument + + + pageIndex + int + + + + getPageHeight + Get page height in pixels. <br> + This method requires page to be opened. + int + + doc + com.shockwave.pdfium.PdfDocument + + + index + int + + + + getPageWidthPoint + Get page width in PostScript points (1/72th of an inch).<br> + This method requires page to be opened. + int + + doc + com.shockwave.pdfium.PdfDocument + + + index + int + + + + newDocument2 + Create new document from bytearray + com.shockwave.pdfium.PdfDocument + + data + byte[] + + + + onPageChanged + + void + + arg0 + int + + + arg1 + int + + + + newDocument3 + Create new document from bytearray with password + com.shockwave.pdfium.PdfDocument + + data + byte[] + + + password + java.lang.String + + + + newDocument + + com.shockwave.pdfium.PdfDocument + + path + java.lang.String + + + filename + java.lang.String + + + mode + int + + + password + java.lang.String + + + + getPageWidth + Get page width in pixels. <br> + This method requires page to be opened. + int + + doc + com.shockwave.pdfium.PdfDocument + + + index + int + + + + getPageHeightPoint + Get page height in PostScript points (1/72th of an inch).<br> + This method requires page to be opened. + int + + doc + com.shockwave.pdfium.PdfDocument + + + index + int + + + + mapRectToDevice + +Return type: @return:mapped coordinates + RectF + + doc + com.shockwave.pdfium.PdfDocument + + + pageIndex + int + + + startX + int + + + startY + int + + + sizeX + int + + + sizeY + int + + + rotate + int + + + coords + RectF + + + + getDocumentMeta + Get metadata for given document + com.shockwave.pdfium.PdfDocument.Meta + + doc + com.shockwave.pdfium.PdfDocument + + + + renderPage2 + Render page fragment on {@link Surface}. This method allows to render annotations. + Page must be opened before rendering. + void + + doc + com.shockwave.pdfium.PdfDocument + + + surface + Surface + + + pageIndex + int + + + startX + int + + + startY + int + + + drawSizeX + int + + + drawSizeY + int + + + renderAnnot + boolean + + + + getTableOfContents + Get table of contents (bookmarks) for given document + java.util.List + + doc + com.shockwave.pdfium.PdfDocument + + + + renderPage + Render page fragment on {@link Surface}. + Page must be opened before rendering. + void + + doc + com.shockwave.pdfium.PdfDocument + + + surface + Surface + + + pageIndex + int + + + startX + int + + + startY + int + + + drawSizeX + int + + + drawSizeY + int + + + + renderPageBitmap2 + Render page fragment on {@link Bitmap}. This method allows to render annotations.<br> + Page must be opened before rendering. + <p> + For more info see {@link PdfiumCore#renderPageBitmap(PdfDocument, Bitmap, int, int, int, int, int)} + void + + doc + com.shockwave.pdfium.PdfDocument + + + bitmap + Bitmap + + + pageIndex + int + + + startX + int + + + startY + int + + + drawSizeX + int + + + drawSizeY + int + + + renderAnnot + boolean + + + + getPageSize + Get size of page in pixels.<br> + This method does not require given page to be opened. + com.shockwave.pdfium.util.Size + + doc + com.shockwave.pdfium.PdfDocument + + + index + int + + + + onPageError + + void + + arg0 + int + + + arg1 + java.lang.Throwable + + + + loadComplete + + void + + arg0 + int + + + + mapPageCoordsToDevice + Map page coordinates to device screen coordinates +doc: pdf document +pageIndex: index of page +startX: left pixel position of the display area in device coordinates +startY: top pixel position of the display area in device coordinates +sizeX: horizontal size (in pixels) for displaying the page +sizeY: vertical size (in pixels) for displaying the page +rotate: page orientation: 0 (normal), 1 (rotated 90 degrees clockwise), + 2 (rotated 180 degrees), 3 (rotated 90 degrees counter-clockwise) +pageX: X value in page coordinates +pageY: Y value in page coordinate +Return type: @return:mapped coordinates + Point + + doc + com.shockwave.pdfium.PdfDocument + + + pageIndex + int + + + startX + int + + + startY + int + + + sizeX + int + + + sizeY + int + + + rotate + int + + + pageX + double + + + pageY + double + + + + getPageLinks + Get all links from given page + java.util.List + + doc + com.shockwave.pdfium.PdfDocument + + + pageIndex + int + + + + + de.donmanfred.PdfSizewrapper + PdfSize + com.shockwave.pdfium.util.Size + process + + equals + + boolean + + obj + java.lang.Object + + + + IsInitialized + + boolean + + + Initialize + + void + + width + int + + + height + int + + + + Height + int + + + + Width + int + + + + + de.donmanfred.PDFViewwrapper + PDFView + com.github.barteksc.pdfviewer.PDFView + activity + + DesignerCreateView + + void + + base + anywheresoftware.b4a.objects.PanelWrapper + + + lw + anywheresoftware.b4a.objects.LabelWrapper + + + props + anywheresoftware.b4a.objects.collections.Map + + + + zoomCenteredTo + Change the zoom level, relatively to a pivot point. + It will call moveTo() to make sure the given point stays + in the middle of the screen. +zoom: The zoom level. +pivot: The point on the screen that should stays. + void + + zoom + float + + + pivot + PointF + + + + loadPages + Load all the parts around the center of the screen, + taking into account X and Y offsets, zoom level, and + the current page displayed + void + + + IsInitialized + + boolean + + + Initialize + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + fromFile + Use a file as the pdf source +path: +filename: + com.github.barteksc.pdfviewer.PDFView.Configurator + + path + java.lang.String + + + filename + java.lang.String + + + + toRealScale + + float + + size + float + + + + moveRelativeTo + Move relatively to the current position. +dx: The X difference you want to apply. +dy: The Y difference you want to apply. + void + + dx + float + + + dy + float + + + + SetLayout + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + recycle + + void + + + moveTo2 + Move to the given X and Y offsets, but check them ahead of time + to be sure not to go outside the the big strip. +offsetX: The big strip X offset to use as the left border of the screen. +offsetY: The big strip Y offset to use as the right border of the screen. +moveHandle: whether to move scroll handle or not + void + + offsetX + float + + + offsetY + float + + + moveHandle + boolean + + + + toCurrentScale + + float + + size + float + + + + zoomWithAnimation2 + + void + + centerX + float + + + centerY + float + + + scale + float + + + + RemoveView + + void + + + jumpTo2 + Go to the given page. +page: Page index. + void + + page + int + + + withAnimation + boolean + + + + Invalidate3 + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + doPageFling + + boolean + + + Invalidate2 + + void + + arg0 + android.graphics.Rect + + + + SetBackgroundImageNew + + anywheresoftware.b4a.objects.drawable.BitmapDrawable + + arg0 + android.graphics.Bitmap + + + + onBitmapRendered + Called when a rendering task is over and + a PagePart has been freshly created. +part: The created PagePart. + void + + part + com.github.barteksc.pdfviewer.model.PagePart + + + + getPageSize + + com.shockwave.pdfium.util.SizeF + + pageIndex + int + + + + fromSource + Use custom source as pdf source + com.github.barteksc.pdfviewer.PDFView.Configurator + + docSource + com.github.barteksc.pdfviewer.source.DocumentSource + + + + RequestFocus + + boolean + + + stopFling + + void + + + getLinks + Will be empty until document is loaded + java.util.List + + page + int + + + + getPageAtPositionOffset + Get page number at given offset +positionOffset: scroll offset between 0 and 1 +Return type: @return:page number at given offset, starting from 0 + int + + positionOffset + float + + + + jumpTo + + void + + page + int + + + + doAutoSpacing + + boolean + + + fromAsset + Use an asset file as the pdf source + com.github.barteksc.pdfviewer.PDFView.Configurator + + assetName + java.lang.String + + + + performPageSnap + Animate to the nearest snapping position for the current SnapPolicy + void + + + zoomTo + Change the zoom level + void + + zoom + float + + + + resetZoomWithAnimation + + void + + + enableAnnotationRendering + + void + + annotationRendering + boolean + + + + doPageSnap + + boolean + + + BringToFront + + void + + + SendToBack + + void + + + fromBytes + Use bytearray as the pdf source, documents is not saved + com.github.barteksc.pdfviewer.PDFView.Configurator + + bytes + byte[] + + + + doRenderDuringScale + + boolean + + + SetVisibleAnimated + + void + + arg0 + int + + + arg1 + boolean + + + + enableAntialiasing + + void + + enableAntialiasing + boolean + + + + setPositionOffset2 + +progress: must be between 0 and 1 +moveHandle: whether to move scroll handle + void + + progress + float + + + moveHandle + boolean + + + + resetZoom + + void + + + zoomCenteredRelativeTo + + void + + dzoom + float + + + pivot + PointF + + + + fromStream + Use stream as the pdf source. Stream will be written to bytearray, because native code does not support Java Streams + com.github.barteksc.pdfviewer.PDFView.Configurator + + stream + java.io.InputStream + + + + SetColorAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + + fromUri + Use URI as the pdf source, for use with content providers + com.github.barteksc.pdfviewer.PDFView.Configurator + + path + java.lang.String + + + filename + java.lang.String + + + + enableRenderDuringScale + + void + + renderDuringScale + boolean + + + + zoomWithAnimation + + void + + scale + float + + + + fitToWidth + + void + + page + int + + + + Invalidate + + void + + + useBestQuality + + void + + bestQuality + boolean + + + + SetLayoutAnimated + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + arg4 + int + + + + moveTo + + void + + offsetX + float + + + offsetY + float + + + + MinZoom + float + + minZoom + float + + + + + PositionOffset + float + + progress + float + + Get current position as ratio of document length to visible area. + 0 means that document start is visible, 1 that document end is visible + + + PageFitPolicy + com.github.barteksc.pdfviewer.util.FitPolicy + + + + MidZoom + float + + midZoom + float + + + + + Left + int + + arg0 + int + + + + + Parent + java.lang.Object + + + + TableOfContents + java.util.List + Will be empty until document is loaded + + + AnnotationRendering + boolean + + + + PageSnap + + pageSnap + boolean + + + + + SpacingPx + int + + + + PageFling + + pageFling + boolean + + + + + SwipeEnabled + boolean + + enableSwipe + boolean + + + + + DocumentMeta + com.shockwave.pdfium.PdfDocument.Meta + Returns null if document is not loaded + + + Visible + boolean + + arg0 + boolean + + + + + CurrentXOffset + float + + + + Zoom + float + + + + Padding + int[] + + arg0 + int[] + + + + + Height + int + + arg0 + int + + + + + Width + int + + arg0 + int + + + + + pageFillsScreen + boolean + + + + documentFitsView + boolean + Checks if whole document can be displayed on screen, doesn't include zoom + + + CurrentYOffset + float + + + + BestQuality + boolean + + + + SwipeVertical + boolean + + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Zooming + boolean + + + + Color + + arg0 + int + + + + + Enabled + boolean + + arg0 + boolean + + + + + Recycled + boolean + + + + NightMode + + nightMode + boolean + + + + + Antialiasing + boolean + + + + PageCount + int + + + + Top + int + + arg0 + int + + + + + CurrentPage + int + + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + MaxZoom + float + + maxZoom + float + + + + + 1.04 + Bartosz Schiller (Pdfium), DonManfred(wrap) + Pdfium.aar + android-pdf-viewer.aar + diff --git a/B4A/Pdfium - Copy.aar b/B4A/Pdfium - Copy.aar new file mode 100644 index 0000000..b34e6ff Binary files /dev/null and b/B4A/Pdfium - Copy.aar differ diff --git a/B4A/Pdfium.aar b/B4A/Pdfium.aar new file mode 100644 index 0000000..d01987f Binary files /dev/null and b/B4A/Pdfium.aar differ diff --git a/B4A/Pdfium.androidx - Copy.aar b/B4A/Pdfium.androidx - Copy.aar new file mode 100644 index 0000000..a386c2b Binary files /dev/null and b/B4A/Pdfium.androidx - Copy.aar differ diff --git a/B4A/Pdfium.androidx.aar b/B4A/Pdfium.androidx.aar new file mode 100644 index 0000000..4668f9b Binary files /dev/null and b/B4A/Pdfium.androidx.aar differ diff --git a/B4A/PreoptimizedCLV.b4xlib b/B4A/PreoptimizedCLV.b4xlib new file mode 100644 index 0000000..25dac67 Binary files /dev/null and b/B4A/PreoptimizedCLV.b4xlib differ diff --git a/B4A/RSPopupMenu.jar b/B4A/RSPopupMenu.jar new file mode 100644 index 0000000..541f864 Binary files /dev/null and b/B4A/RSPopupMenu.jar differ diff --git a/B4A/RSPopupMenu.xml b/B4A/RSPopupMenu.xml new file mode 100644 index 0000000..221850f --- /dev/null +++ b/B4A/RSPopupMenu.xml @@ -0,0 +1,149 @@ + + + 1.02 + + com.rootsoft.rspopupmenu.RSPopupMenu + RSPopupMenu + android.widget.PopupMenu + activity + + Initialize + Initializes the Popup Menu. + A PopupMenu displays a Menu in a modal popup window anchored to a View. + The popup will appear below the anchor view if there is room, or above it if there is not. + If the IME is visible the popup will not overlap it until it is touched. + Touching outside of the popup will dismiss it. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + + AddSubMenuItem + Add a new item to the menu. + void + + ItemId + int + + + Order + int + + + Title + java.lang.String + + + + Show + Show the menu popup anchored to the view specified during construction. + void + + + Dismiss + Dismiss the menu popup. + void + + + AddMenuItem + Add a new item to the menu. + void + + ItemId + int + + + Order + int + + + Title + java.lang.String + + + + AddMenuItem2 + Add a new item to the menu. + void + + GroupId + int + + + ItemId + int + + + Order + int + + + Title + java.lang.String + + + + AddSubMenuItem2 + Add a new item to the menu. + void + + GroupId + int + + + ItemId + int + + + Order + int + + + Title + java.lang.String + + + + Initialize2 + Initializes the Popup Menu. + A PopupMenu displays a Menu in a modal popup window anchored to a View. + The popup will appear below the anchor view if there is room, or above it if there is not. + If the IME is visible the popup will not overlap it until it is touched. + Touching outside of the popup will dismiss it. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + view + anywheresoftware.b4a.objects.ConcreteViewWrapper + + + Gravity + int + + + + IsInitialized + + boolean + + + 1.0 + XverhelstX + diff --git a/B4A/RangeDownloader.b4xlib b/B4A/RangeDownloader.b4xlib new file mode 100644 index 0000000..baefb61 Binary files /dev/null and b/B4A/RangeDownloader.b4xlib differ diff --git a/B4A/ReplyAuto.jar b/B4A/ReplyAuto.jar new file mode 100644 index 0000000..e8d88fa Binary files /dev/null and b/B4A/ReplyAuto.jar differ diff --git a/B4A/ReplyAuto.xml b/B4A/ReplyAuto.xml new file mode 100644 index 0000000..ab9fdbb --- /dev/null +++ b/B4A/ReplyAuto.xml @@ -0,0 +1,460 @@ + + + 1.07 + + b4a.jsaplication.com.br.Action + process + + sendReply + + void + + context + Context + + + msg + java.lang.String + + + + writeToParcel + + void + + dest + Parcel + + + flags + int + + + + isQuickReply + + boolean + + + describeContents + + int + + + PackageName + java.lang.String + + + + RemoteInputs + java.util.ArrayList + + + + Text + java.lang.String + + + + QuickReplyIntent + PendingIntent + + + + CREATOR + + <any> + + + + b4a.jsaplication.com.br.NotificationUtils + process + + isAPriorityMode + + boolean + + interruptionFilter + int + + + + getTitle + + java.lang.String + + extras + Bundle + + + + isRecent + + boolean + + sbn + StatusBarNotification + + + recentTimeframeInSecs + long + + + + notificationMatchesFilter + http://stackoverflow.com/questions/9292032/extract-notification-text-from-parcelable-contentview-or-contentintent * + boolean + + sbn + StatusBarNotification + + + rankingMap + NotificationListenerService.RankingMap + + + + getMessage + + java.lang.String + + extras + Bundle + + + + getActions + + java.util.ArrayList + + n + Notification + + + packageName + java.lang.String + + + actions + java.util.ArrayList + + + + getView + OLD/CURRENT METHODS + ViewGroup + + context + Context + + + view + RemoteViews + + + + getQuickReplyAction + + b4a.jsaplication.com.br.Action + + n + Notification + + + packageName + java.lang.String + + + + + b4a.jsaplication.com.br.PendingNotification + process + + DismissKey + java.lang.String + + key + java.lang.String + + + + + Sbn + StatusBarNotification + + + + ScheduledFuture + java.util.concurrent.ScheduledFuture + + scheduledFuture + java.util.concurrent.ScheduledFuture + + + + + + b4a.jsaplication.com.br.PlatformsList + process + + describeContents + + int + + + writeToParcel + + void + + dest + Parcel + + + flags + int + + + + PlatformName + java.lang.String + + platformName + java.lang.String + + + + + AutoMessage + java.lang.String + + autoMessage + java.lang.String + + + + + CREATOR + + <any> + + + + b4a.jsaplication.com.br.RemoteInputParcel + process + + isAllowFreeFormInput + + boolean + + + writeToParcel + + void + + dest + Parcel + + + flags + int + + + + describeContents + + int + + + charSequenceToStringArray + + void + + charSequence + java.lang.CharSequence[] + + + + Choices + java.lang.CharSequence[] + + + + Label + java.lang.String + + + + Extras + Bundle + + + + ResultKey + java.lang.String + + + + CREATOR + + <any> + + + + b4a.jsaplication.com.br.ReplyAuto.NotificationListener + ReplyAuto + process + + ClearAll + + void + + + isAPriorityMode + + boolean + + interruptionFilter + int + + + + HandleIntent + + boolean + + StartingIntent + anywheresoftware.b4a.objects.IntentWrapper + + + + GetActiveNotifications + + void + + + reply + + void + + BANotification + java.lang.Object + + + BAPackager + java.lang.Object + + + BAResponse + java.lang.String + + + + Initialize + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + ClearNotification + + void + + SBN + b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper + + + + + b4a.jsaplication.com.br.ReplyAuto.StatusBarNotificationWrapper + StatusBarNotification + StatusBarNotification + process + + ContentIntent + + anywheresoftware.b4a.objects.NotificationWrapper + + + IsInitialized + + boolean + + + Extras + + anywheresoftware.b4a.objects.NotificationWrapper + + + Message + java.lang.String + + + + PackageName + java.lang.String + + + + TickerText + java.lang.String + + + + Title + java.lang.String + + + + Id + int + + + + Key + java.lang.String + + + + Notification + anywheresoftware.b4a.objects.NotificationWrapper + + + + + b4a.jsaplication.com.br.VersionUtils + process + + isKitKat + + boolean + + + isJellyBeanMR2 + + boolean + + + isJellyBean + + boolean + + + isLollipop + + boolean + + + isMarshmallow + + boolean + + + 1.1 + diff --git a/B4A/SD_FloatingStandOut.jar b/B4A/SD_FloatingStandOut.jar new file mode 100644 index 0000000..e9b20f0 Binary files /dev/null and b/B4A/SD_FloatingStandOut.jar differ diff --git a/B4A/SD_FloatingStandOut.xml b/B4A/SD_FloatingStandOut.xml new file mode 100644 index 0000000..4e3a005 --- /dev/null +++ b/B4A/SD_FloatingStandOut.xml @@ -0,0 +1,338 @@ + + + 1.00 + 10.70 + javaobject + + b4a.example.standout + standout + process + java.lang.Class + android.permission.VIBRATE + + _snotif + anywheresoftware.b4a.objects.NotificationWrapper + + + _callback + Object + + + process_globals + void + + + + b4a.example.floatingstandout + FloatingStandOut + Code module +Subs in this code module will be accessible from all modules. + + activity + java.lang.Class + + _activeservice + boolean + + + _stick_to_border + boolean + + + _half_stick_to_border + boolean + + + _enabledrop + boolean + + + _whitecircle + boolean + + + _pathimage + String + + + _namefileimage + String + + + _heightimage + int + + + _widthimage + int + + + _x + int + + + _y + int + + + _eventclick + String + + + _eventdoubleclick + String + + + _eventlongclick + String + + + _eventmove + String + + + _startactivity_onclick + boolean + + + _startactivity_ondoubleclick + boolean + + + _startactivity_onlongclick + boolean + + + _stopfloating_onclick + boolean + + + _stopfloating_ondoubleclick + boolean + + + _stopfloating_onlongclick + boolean + + + _notificationtitle + String + + + _notificationbody + String + + + _process_globals + String + + + _setevent + SetEvent("FL") + Sub FL_OnClick(X as int, Y as int) + Sub FL_OnDoubleClick(X as int, Y as int) + Sub FL_OnLongClick(X as int, Y as int) + Sub FL_OnMove(X as int, Y as int) + + String + + ba + anywheresoftware.b4a.BA + + + EventName + String + + + + _setimagebitmap + String + + ba + anywheresoftware.b4a.BA + + + img + anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper + + + + _setstartactivity + String + + ba + anywheresoftware.b4a.BA + + + OnClick + boolean + + + OnDoubleClick + boolean + + + OnLongClick + boolean + + + + _setstopfloating + String + + ba + anywheresoftware.b4a.BA + + + OnClick + boolean + + + OnDoubleClick + boolean + + + OnLongClick + boolean + + + + _start + Es. Start(Me,Application.PackageName) + + String + + ba + anywheresoftware.b4a.BA + + + Me_CallBack + Object + + + + _stop + String + + ba + anywheresoftware.b4a.BA + + + + + b4a.example.standout._chtype + chType + process + + Initialize + Inizializza i campi al loro valore predefinito. + void + + + IsInitialized + Verifica se l'oggetto sia stato inizializzato. + boolean + + + Path + String + + + bitmap_name + String + + + bitmap + anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper + + + wwe + int + + + hhe + int + + + + b4a.example.standout._chelement + chElement + process + + Initialize + Inizializza i campi al loro valore predefinito. + void + + + IsInitialized + Verifica se l'oggetto sia stato inizializzato. + boolean + + + id + int + + + instance + anywheresoftware.b4j.object.JavaObject + + + ttype + b4a.example.standout._chtype + + + active + boolean + + + xpos + int + + + ypos + int + + + + b4a.example.specialpermission + SpecialPermission + process + + IsInitialized + Verifica se l'oggetto sia stato inizializzato. + boolean + + + _activatepermissionresumable + anywheresoftware.b4a.keywords.Common.ResumableSubWrapper + + + _class_globals + String + + + _getpermission + boolean + + + _initialize + Inizializza l'oggetto. Puoi aggiungere parametri a questo metodo,se necessario. + + String + + ba + anywheresoftware.b4a.BA + + + + _opensettingpermission + String + + + _sdkversion + int + + + 0.08 + Star-Dust + \ No newline at end of file diff --git a/B4A/SD_SQL.b4xlib b/B4A/SD_SQL.b4xlib new file mode 100644 index 0000000..0853aa7 Binary files /dev/null and b/B4A/SD_SQL.b4xlib differ diff --git a/B4A/SQLCIPHER_LICENSE b/B4A/SQLCIPHER_LICENSE new file mode 100644 index 0000000..7f60cd8 --- /dev/null +++ b/B4A/SQLCIPHER_LICENSE @@ -0,0 +1,26 @@ +https://www.zetetic.net/sqlcipher/license/ + + Copyright (c) 2008-2012 Zetetic LLC + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the ZETETIC LLC nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY ZETETIC LLC ''AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL ZETETIC LLC BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/B4A/SQLCipher.jar b/B4A/SQLCipher.jar new file mode 100644 index 0000000..a3fc1b6 Binary files /dev/null and b/B4A/SQLCipher.jar differ diff --git a/B4A/SQLCipher.xml b/B4A/SQLCipher.xml new file mode 100644 index 0000000..70b7358 --- /dev/null +++ b/B4A/SQLCipher.xml @@ -0,0 +1,258 @@ + + + 1.05 + + anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher + SQLCipher + SQLCipher type is an extension to SQL which supports encryption. +See the <link>tutorial|http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/14965-android-database-encryption-sqlcipher-library.html</link> for more information. + process + + EndTransaction + Ends the transaction. + void + + + ExecQuery2 + Executes the query and returns a cursor which is used to go over the results. +The query can include question marks which will be replaced with the values in the array. +Example:<code> +Dim Cursor As Cursor +Cursor = sql1.ExecQuery2("SELECT col1 FROM table1 WHERE col3 = ?", Array As String(22))</code> +SQLite will try to convert the string values based on the columns types. + Cursor + + Query + java.lang.String + + + StringArgs + java.lang.String[] + + + + ExecQuery + Executes the query and returns a cursor which is used to go over the results. +Example:<code> +Dim Cursor As Cursor +Cursor = SQL1.ExecQuery("SELECT col1, col2 FROM table1") +For i = 0 To Cursor.RowCount - 1 + Cursor.Position = i + Log(Cursor.GetString("col1")) + Log(Cursor.GetInt("col2")) +Next</code> + Cursor + + Query + java.lang.String + + + + ExecQuerySingleResult2 + Executes the query and returns the value in the first column and the first row (in the result set). +Returns Null if no results were found. +Example:<code> +Dim NumberOfMatches As Int +NumberOfMatches = SQL1.ExecQuerySingleResult2("SELECT count(*) FROM table1 WHERE col2 > ?", Array As String(300))</code> + java.lang.String + + Query + java.lang.String + + + StringArgs + java.lang.String[] + + + + IsInitialized + Tests whether the database is initialized and opened. + boolean + + + Initialize + Opens the database file. A new database will be created if it does not exist and CreateIfNecessary is true. + void + + Dir + java.lang.String + + + FileName + java.lang.String + + + CreateIfNecessary + boolean + + + Password + java.lang.String + + + Unused + java.lang.String + + + + ExecNonQueryBatch + Asynchronously executes a batch of non-query statements (such as INSERT). +The NonQueryComplete event is raised after the statements are completed. +You should call AddNonQueryToBatch one or more times before calling this method to add statements to the batch. +Note that this method internally begins and ends a transaction. +Returns an object that can be used as the sender filter for Wait For calls. +Example:<code> +For i = 1 To 1000 + sql.AddNonQueryToBatch("INSERT INTO table1 VALUES (?)", Array(Rnd(0, 100000))) +Next +Dim SenderFilter As Object = sql.ExecNonQueryBatch("SQL") +Wait For (SenderFilter) SQL_NonQueryComplete (Success As Boolean) +Log("NonQuery: " & Success)</code> + java.lang.Object + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + BeginTransaction + Begins a transaction. A transaction is a set of multiple "writing" statements that are atomically committed, +hence all changes will be made or no changes will be made. +As a side effect those statements will be executed significantly faster (in the default case a transaction is implicitly created for +each statement). +It is very important to handle transaction carefully and close them. +The transaction is considered successful only if TransactionSuccessful is called. Otherwise no changes will be made. +Typical usage:<code> +SQL1.BeginTransaction +Try + 'block of statements like: + For i = 1 to 1000 + SQL1.ExecNonQuery("INSERT INTO table1 VALUES(...) + Next + SQL1.TransactionSuccessful +Catch + Log(LastException.Message) 'no changes will be made +End Try +SQL1.EndTransaction</code> + void + + + AddNonQueryToBatch + Adds a non-query statement to the batch of statements. +The statements are (asynchronously) executed when you call ExecNonQueryBatch. +Args parameter can be Null if it is not needed. +Example:<code> +For i = 1 To 1000 + sql.AddNonQueryToBatch("INSERT INTO table1 VALUES (?)", Array(Rnd(0, 100000))) +Next +Dim SenderFilter As Object = sql.ExecNonQueryBatch("SQL") +Wait For (SenderFilter) SQL_NonQueryComplete (Success As Boolean) +Log("NonQuery: " & Success)</code> + void + + Statement + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + ExecQuerySingleResult + Executes the query and returns the value in the first column and the first row (in the result set). +Returns Null if no results were found. +Example:<code> +Dim NumberOfMatches As Int +NumberOfMatches = SQL1.ExecQuerySingleResult("SELECT count(*) FROM table1 WHERE col2 > 300")</code> + java.lang.String + + Query + java.lang.String + + + + TransactionSuccessful + Marks the transaction as a successful transaction. No further statements should be executed till calling EndTransaction. + void + + + ExecNonQuery + Executes a single non query SQL statement. +Example:<code> +SQL1.ExecNonQuery("CREATE TABLE table1 (col1 TEXT , col2 INTEGER, col3 INTEGER)")</code> +If you plan to do many "writing" queries one after another, then you should consider using BeginTransaction / EndTransaction. +It will execute significantly faster. + void + + Statement + java.lang.String + + + + Close + Closes the database. +Does not do anything if the database is not opened or was closed before. + void + + + ExecQueryAsync + Asynchronously executes the given query. The QueryComplete event will be raised when the results are ready. +Note that ResultSet extends Cursor. You can use Cursor if preferred. +Returns an object that can be used as the sender filter for Wait For calls. +Example:<code> +Dim SenderFilter As Object = sql.ExecQueryAsync("SQL", "SELECT * FROM table1", Null) +Wait For (SenderFilter) SQL_QueryComplete (Success As Boolean, rs As ResultSet) +If Success Then + Do While rs.NextRow + Log(rs.GetInt2(0)) + Loop + rs.Close +Else + Log(LastException) +End If</code> + java.lang.Object + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + Query + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + ExecNonQuery2 + Executes a single non query SQL statement. +The statement can include question marks which will be replaced by the items in the given list. +Note that Basic4android converts arrays to lists implicitly. +The values in the list should be strings, numbers or bytes arrays. +Example:<code> +SQL1.ExecNonQuery2("INSERT INTO table1 VALUES (?, ?, 0)", Array As Object("some text", 2))</code> + void + + Statement + java.lang.String + + + Args + anywheresoftware.b4a.objects.collections.List + + + + 1.5 + + sqlcipher_native + diff --git a/B4A/ScrollView2D.jar b/B4A/ScrollView2D.jar new file mode 100644 index 0000000..efee86f Binary files /dev/null and b/B4A/ScrollView2D.jar differ diff --git a/B4A/ScrollView2D.xml b/B4A/ScrollView2D.xml new file mode 100644 index 0000000..582b7cd --- /dev/null +++ b/B4A/ScrollView2D.xml @@ -0,0 +1,360 @@ + + + 1.05 + + flm.b4a.scrollview2d.ScrollView2DWrapper + ScrollView2D + flm.b4a.scrollview2d.TwoDScrollView + activity + ScrollChanged(PosX As Int, PosY As Int) + + DesignerCreateView + + void + + base + anywheresoftware.b4a.objects.PanelWrapper + + + lw + anywheresoftware.b4a.objects.LabelWrapper + + + props + anywheresoftware.b4a.objects.collections.Map + + + + IsInitialized + + boolean + + + Initialize + Initializes the ScrollView and sets its inner panel dimensions to the given width and height. +You can later change these dimensions by calling ScrollView2D.Panel.Width or ScrollView2D.Panel.Height. + +You should never use a ScrollView2D with a ListView, since ListView takes care of its own scrolling. +Most importantly, doing this defeats all of the important optimizations in ListView for dealing with +large lists, since it effectively forces the ListView to display its entire list of items to fill up +the infinite container supplied by ScrollView2D. + void + + ba + anywheresoftware.b4a.BA + + + Width + int + + + Height + int + + + EventName + java.lang.String + + + + SmoothScrollTo + Scrolls smoothly to the given position. + void + + PosX + int + + + PosY + int + + + + BringToFront + Changes the Z order of this view and brings it to the front. + void + + + SetLayout + Changes the view position and size. + void + + Left + int + + + Top + int + + + Width + int + + + Height + int + + + + DisableTouchEventInterception + Prevents the ScrollView2D from intercepting the touch events. +You should only call this function when the SV2D is in conflict with its parent about scrolling (e.g. AHViewPager). + void + + Disabled + boolean + + + + ScrollingIsFinished + Returns whether the ScrollView2D has finished scrolling. + boolean + + + SendToBack + Changes the Z order of this view and sends it to the back. + void + + + FullScroll + Scrolls the scroll view to the beginning or end, horizontally or/and vertically. +Direction: +0 = horizontally +1 = vertically +2 = horizontally and vertically + void + + Direction + byte + + + ToTheEnd + boolean + + + Smoothly + boolean + + + + ScrollbarsVisibility + Sets the scrollbars visibility. +They are visible by default. + void + + HorizontalVisible + boolean + + + VerticalVisible + boolean + + + + FadingEdges + Defines whether the edges should be faded when this view is scrolled. +They are faded by default. + void + + Enabled + boolean + + + + RemoveView + Removes this view from its parent. + void + + + Invalidate3 + Invalidates the given rectangle. +Redrawing will only happen when the program can process messages. Usually when it finishes running the current code. + void + + Left + int + + + Top + int + + + Right + int + + + Bottom + int + + + + Invalidate2 + Invalidates the given rectangle. +Redrawing will only happen when the program can process messages. Usually when it finishes running the current code. + void + + Rect + android.graphics.Rect + + + + SetBackgroundImage + + void + + Bitmap + android.graphics.Bitmap + + + + GiveFocusToFirstVisible + Sets the focus to the first focusable view in the visible area of the ScrollView2D panel. +You should call this function after a FullScroll, SmoothScrollTo or H/VScrollPosition to move the focus. + void + + + Invalidate + Invalidates the whole view forcing the view to redraw itself. +Redrawing will only happen when the program can process messages. Usually when it finishes running the current code. + void + + + RequestFocus + Tries to set the focus to this view. +Returns True if the focus was set. + boolean + + + HorizontalScrollPosition + int + + Scroll + int + + Gets/sets the horizontal scroll position. + + + Left + int + + left + int + + Gets or sets the view's left. + + + VerticalScrollPosition + int + + Scroll + int + + Gets/sets the vertical scroll position. + + + Background + android.graphics.drawable.Drawable + + drawable + android.graphics.drawable.Drawable + + Gets or sets the background drawable. + + + Color + + color + int + + Sets the background of the view to be a ColorDrawable with the given color. +If the current background is of type GradientDrawable or ColorDrawable the round corners will be kept. + + + Enabled + boolean + + Enabled + boolean + + + + + Panel + anywheresoftware.b4a.objects.PanelWrapper + + + + Top + int + + top + int + + Gets or sets the view's top. + + + Visible + boolean + + Visible + boolean + + + + + Height + int + + height + int + + Gets or sets the view's height. + + + Tag + java.lang.Object + + tag + java.lang.Object + + Gets or sets the Tag value. This is a place holder which can used to store additional data. + + + Width + int + + width + int + + Gets or sets the view's width. + + + FS_DIR_VERT + + byte + + + FS_DIR_HORZ_AND_VERT + + byte + + + FS_ToTheEND + + boolean + + + FS_DIR_HORZ + + byte + + key:FadingEdges, displayname:Fading edges, defaultvalue:True, fieldtype:Boolean + key:HorzScrollbarVisibility, displayname:Horizontal scrollbar, defaultvalue:True, fieldtype:Boolean + key:VertScrollbarVisibility, displayname:Vertical scrollbar, defaultvalue:True, fieldtype:Boolean + key:PanelHeight, displayname:Panel height, defaultvalue:-1, fieldtype:Int + key:PanelWidth, displayname:Panel width, defaultvalue:-1, fieldtype:Int + + 1.3 + ScrollView2D = HorizontalScrollView + VerticalScrollView + Fr\u00e9d\u00e9ric Leneuf-Magaud/Informatix + diff --git a/B4A/Snippets/beginTransaction.txt b/B4A/Snippets/beginTransaction.txt new file mode 100644 index 0000000..e5a3ed7 --- /dev/null +++ b/B4A/Snippets/beginTransaction.txt @@ -0,0 +1,8 @@ +Starter.skmt.BeginTransaction +For Each records() As Object In $result$.Rows + Log($"COL: ${$result$($result$.Columns.Get("$dbCol$"))}, VALUE: ${records($result$.Columns.Get("$dbCol$"))}"$) + Dim $dbCol$ As String = $result$($result$.Columns.Get("$dbCol$")) + Starter.skmt.ExecNonQuery2($"$sql_statement$"$) +Next +Starter.skmt.TransactionSuccessful 'Si no se pone TransactionSuccessful no se escribe NADA!! +Starter.skmt.EndTransaction \ No newline at end of file diff --git a/B4A/Snippets/case.txt b/B4A/Snippets/case.txt new file mode 100644 index 0000000..15c765d --- /dev/null +++ b/B4A/Snippets/case.txt @@ -0,0 +1,8 @@ +Select $var$ + Case $val1$ + $do_something1$ + Case $val2$ + $do_something2$ + Case Else + $do_something3$ +End Select \ No newline at end of file diff --git a/B4A/Snippets/createMap.txt b/B4A/Snippets/createMap.txt new file mode 100644 index 0000000..e673a41 --- /dev/null +++ b/B4A/Snippets/createMap.txt @@ -0,0 +1 @@ +Private $var$ As Map = CreateMap("$par1$":$val1$, "$par2$":$val2$) \ No newline at end of file diff --git a/B4A/Snippets/csBuilder.txt b/B4A/Snippets/csBuilder.txt new file mode 100644 index 0000000..d761af4 --- /dev/null +++ b/B4A/Snippets/csBuilder.txt @@ -0,0 +1,3 @@ +Dim cs As CSBuilder +cs.Initialize +$var$ = cs.Color(Colors.red).append(elTexto).Popall \ No newline at end of file diff --git a/B4A/Snippets/execNonQuery.txt b/B4A/Snippets/execNonQuery.txt new file mode 100644 index 0000000..5d7180c --- /dev/null +++ b/B4A/Snippets/execNonQuery.txt @@ -0,0 +1 @@ +Starter.skmt.ExecNonQuery($"$sql_sattement$"$) \ No newline at end of file diff --git a/B4A/Snippets/execQuery.txt b/B4A/Snippets/execQuery.txt new file mode 100644 index 0000000..c0f9c25 --- /dev/null +++ b/B4A/Snippets/execQuery.txt @@ -0,0 +1 @@ +$cursor$ = Starter.skmt.ExecQuery("$sql_statement$") \ No newline at end of file diff --git a/B4A/Snippets/for.txt b/B4A/Snippets/for.txt new file mode 100644 index 0000000..a98942c --- /dev/null +++ b/B4A/Snippets/for.txt @@ -0,0 +1,4 @@ +'Iterates with respect to keys in a map. +For Each $varName$ As String In $mapName$.Keys + $end$ +Next \ No newline at end of file diff --git a/B4A/Snippets/logJobDone.txt b/B4A/Snippets/logJobDone.txt new file mode 100644 index 0000000..65f0211 --- /dev/null +++ b/B4A/Snippets/logJobDone.txt @@ -0,0 +1,6 @@ +For Each records() As Object In $resultado$.Rows + LogColor($"====== ${$resultado$.Tag} - REGISTROS = ${$resultado$.Rows.Size}"$, Colors.RGB(215,37,0)) + For Each k As String In $resultado$.Columns.Keys + LogColor(k & " = " & records($resultado$.Columns.Get(k)), Colors.RGB(215,37,0)) + Next +Next \ No newline at end of file diff --git a/B4A/Snippets/select.txt b/B4A/Snippets/select.txt new file mode 100644 index 0000000..15c765d --- /dev/null +++ b/B4A/Snippets/select.txt @@ -0,0 +1,8 @@ +Select $var$ + Case $val1$ + $do_something1$ + Case $val2$ + $do_something2$ + Case Else + $do_something3$ +End Select \ No newline at end of file diff --git a/B4A/Snippets/while.txt b/B4A/Snippets/while.txt new file mode 100644 index 0000000..d7bdc87 --- /dev/null +++ b/B4A/Snippets/while.txt @@ -0,0 +1,3 @@ +Do While $condicion$ + $end$ +Loop \ No newline at end of file diff --git a/B4A/SuperUser.jar b/B4A/SuperUser.jar new file mode 100644 index 0000000..55d0424 Binary files /dev/null and b/B4A/SuperUser.jar differ diff --git a/B4A/SuperUser.xml b/B4A/SuperUser.xml new file mode 100644 index 0000000..28db113 --- /dev/null +++ b/B4A/SuperUser.xml @@ -0,0 +1,491 @@ + + + 1.04 + + com.datasteam.b4a.system.superuser.SuShell + SuShell + process + + DeviceRooted + + boolean + + + ExecuteWithEvent + + com.datasteam.b4a.system.superuser.SuShell.SuProcess + + ba + anywheresoftware.b4a.BA + + + Command + java.lang.String + + + EventPrefix + java.lang.String + + + + Acquire + + com.datasteam.b4a.system.superuser.SuShell.SuProcess + + ba + anywheresoftware.b4a.BA + + + EventPrefix + java.lang.String + + + + findBinary + + boolean + + binaryName + java.lang.String + + + + Execute + + com.datasteam.b4a.system.superuser.SuShell.SuProcess + + ba + anywheresoftware.b4a.BA + + + Command + java.lang.String + + + + ExecuteMultipleWithEvent + + com.datasteam.b4a.system.superuser.SuShell.SuProcess + + ba + anywheresoftware.b4a.BA + + + Commands + java.lang.String[] + + + EventPrefix + java.lang.String + + + + ExecuteMultiple + + com.datasteam.b4a.system.superuser.SuShell.SuProcess + + ba + anywheresoftware.b4a.BA + + + Commands + java.lang.String[] + + + + + com.datasteam.b4a.system.superuser.SuShell.SuProcess + SuProcess + process + + Close + + void + + + WaitForCompletion + + boolean + + + Response + + java.lang.String[] + + + Execute + + void + + Command + java.lang.String + + + + ExecuteMultiple + + void + + Commands + java.lang.String[] + + + + Done + boolean + + + + Success + boolean + + + + LastError + java.lang.String + + + + Acquired + boolean + + + + + com.datasteam.b4a.system.superuser.SuRecorder + SuRecorder + process + + Initialize + + void + + ba + anywheresoftware.b4a.BA + + + EventPrefix + java.lang.String + + + + Start + + void + + + DeviceRooted + + boolean + + + findBinary + + boolean + + binaryName + java.lang.String + + + + Stop + + void + + + UpdateBinary + + void + + Dir + java.lang.String + + + FileName + java.lang.String + + + + BinaryUpdated + + boolean + + + FileName + java.lang.String + + + + Options + com.datasteam.b4a.system.superuser.SuRecorder.SuRecorderOptions + + value + com.datasteam.b4a.system.superuser.SuRecorder.SuRecorderOptions + + + + + + com.datasteam.b4a.system.superuser.SuRecorder.SuRecorderOptions + SuRecorderOptions + process + + FileName + + java.lang.String + + + Duration + + int + + + MaxSize + + int + + + BitRate + + int + + + Location + + java.lang.String + + + ShowTouches + + boolean + + + Audio + + boolean + + + ShakeToStop + + boolean + + + + com.datasteam.b4a.system.superuser.SuRecorder.SuScreenRecorderActivity + SuRecorderActivity + activity + + Miminimize + + void + + ba + anywheresoftware.b4a.BA + + + + + com.datasteam.b4a.system.superuser.SuBrowser + SuBrowser + process + + Initialize + + void + + + DeviceRooted + + boolean + + + findBinary + + boolean + + binaryName + java.lang.String + + + + Execute + + boolean + + Command + java.lang.String + + + + ExecuteMultiple + + boolean + + Commands + java.lang.String[] + + + + ListFolder + + anywheresoftware.b4a.objects.collections.List + + folder + java.lang.String + + + + Response + java.lang.String[] + + + + TYPE_CHARACTER + + int + + + TYPE_SOCKET + + int + + + TYPE_FIFO + + int + + + TYPE_DIRECTORY + + int + + + TYPE_BLOCK + + int + + + TYPE_FILE + + int + + + TYPE_LINK + + int + + + TYPE_DIRECTORY_LINK + + int + + + TYPE_OTHER + + int + + + + com.datasteam.b4a.system.superuser.SuBrowser.SuBrowserFileInfo + SuBrowserFileInfo + process + + Name + + java.lang.String + + + Owner + + java.lang.String + + + Time + + java.lang.String + + + Link + + java.lang.String + + + Date + + java.lang.String + + + Type + + int + + + PathName + + java.lang.String + + + IsFolder + + boolean + + + Permissions + + java.lang.String + + + Group + + java.lang.String + + + Size + + java.lang.String + + + + com.datasteam.b4a.system.superuser.SuApk + SuApk + process + + Install + + boolean + + Dir + java.lang.String + + + FileName + java.lang.String + + + + DeviceRooted + + boolean + + + findBinary + + boolean + + binaryName + java.lang.String + + + + Uninstall + + boolean + + PackageName + java.lang.String + + + + 2.4 + Periklis Koutsogiannis (datasteam.com) + diff --git a/B4A/TimePicker.jar b/B4A/TimePicker.jar new file mode 100644 index 0000000..3c57989 Binary files /dev/null and b/B4A/TimePicker.jar differ diff --git a/B4A/TimePicker.xml b/B4A/TimePicker.xml new file mode 100644 index 0000000..b5aea8d --- /dev/null +++ b/B4A/TimePicker.xml @@ -0,0 +1,149 @@ + + + 1.04 + + de.donmanfred.TimePickerWrapper + TimePicker + com.erz.TimePicker + process + timechanged(date as Long) + + DesignerCreateView + + void + + base + anywheresoftware.b4a.objects.PanelWrapper + + + lw + anywheresoftware.b4a.objects.LabelWrapper + + + props + anywheresoftware.b4a.objects.collections.Map + + + + AddToParent + + void + + Parent + android.view.ViewGroup + + + left + int + + + top + int + + + width + int + + + height + int + + + + enableTwentyFourHour + + void + + twentyFour + boolean + + + + disableTouch + + void + + disableTouch + boolean + + + + IsInitialized + + boolean + + + Initialize + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + Left + int + + left + int + + + + + Top + int + + top + int + + + + + Color + + color + int + + + + + DialColor + + dialColor + int + + + + + ClockColor + + clockColor + int + + + + + Time + long + + date + long + + + + + TextColor + + textColor + int + + + + + 1.0 + diff --git a/B4A/ToggleLibrary.jar b/B4A/ToggleLibrary.jar new file mode 100644 index 0000000..e30d6ba Binary files /dev/null and b/B4A/ToggleLibrary.jar differ diff --git a/B4A/ToggleLibrary.xml b/B4A/ToggleLibrary.xml new file mode 100644 index 0000000..9e7eb3b --- /dev/null +++ b/B4A/ToggleLibrary.xml @@ -0,0 +1,265 @@ + + + 1.00 + + com.rootsoft.togglelibrary.ToggleLibrary + Toggle + process + android.permission.WRITE_SECURE_SETTINGS + android.permission.REBOOT + android.permission.WRITE_SETTINGS + android.permission.BLUETOOTH + android.permission.BLUETOOTH_ADMIN + android.permission.CHANGE_WIFI_STATE + android.permission.ACCESS_WIFI_STATE + android.permission.UPDATE_DEVICE_STATS + android.permission.MODIFY_PHONE_STATE + + userActivity + User activity happened. + Turns the device from whatever state it's in to full on, and resets the auto-off timer. +when: is used to order this correctly with the wake lock calls. This time should be in the SystemClock.uptimeMillis() time base. +noChangeLights: should be true if you don't want the lights to turn on because of this event. This is set when the power key goes down. We want the device to stay on while the button is down, but we're about to turn off. Otherwise the lights flash on and then off and it looks weird. + void + + when + long + + + noChangeLights + boolean + + + + TurnGPSOn + Turns the GPS on. Note that this method actually activate the GPS immediately (unlike most other methods that +goes to the Settings Screen.). + void + + + TurnAirplaneModeOn + Turns the airplane modus on. +status: + void + + + TurnRingerOff + Sets the RingerMode off. +RingerMode: + void + + + TurnAirplaneModeOff + Turns the airplane modus off +status: + void + + + TurnGPSOff + Turns the GPS off. Note that this method actually disables the GPS immediately (unlike most other methods that +goes to the Settings Screen.). + void + + + TurnDataConnectionOff + Turns the Mobile Data Connection off. + void + + + TurnRingerOn + Sets the RingerMode on. +RingerMode: + void + + + TurnStreamVolumeOn + Sets the Media Volume to the maximum +value: + void + + + Reboot + Reboots the device + void + + + ToggleDataConnection + Toggles the Mobile Data Connection. + There are notifications that it doesn't work on some devices and the emulator + void + + + TurnDataConnectionOn + Turns the Mobile Data Connection on. + void + + + TurnBluetoothOn + Turns Bluetooth on. + void + + + Initialize + Initializes the ToggleLibrary. +ba: + void + + ba + anywheresoftware.b4a.BA + + + + isScreenOn + Returns whether the screen is currently on. The screen could be bright or dim. + boolean + + + ToggleAudio + Toggles the RingerMode automatically in the following order: + Silent -> Vibrate + Vibrate -> Normal + Normal -> Silent + void + + + goToSleep + Force the device to go to sleep. Overrides all the wake locks that are held. +time: is used to order this correctly with the wake lock calls. The time should be in the SystemClock.uptimeMillis() time base. + void + + time + long + + + + TurnRingerMode + Sets the RingerMode to: + NORMAL, VIBRRATE or SILENT +RingerMode: + void + + RingerMode + int + + + + TurnBrightnessOn + Turns the brightness on + void + + + ToggleWiFi + Toggles the Wifi. If it's enabled, it sets it disabled and vice-versa. + void + + + ToggleGPS + Toggles the GPS. Note that this method actually activate the GPS immediately (unlike most other methods that +goes to the Settings Screen.). + void + + + ToggleAirplaneMode + Toggles the AirplaneMode. + void + + + TurnStreamVolumeOff + Turns the Media Volume off. +value: + void + + + ToggleBluetooth + Toggles the bluetooth. If it's enabled, it sets it disabled and vice-versa. + void + + + TurnBrightness + Turns the brightness. + 0 to 255 + void + + value + int + + + + TurnWiFiOff + Turns WiFi off. + void + + + TurnWiFiOn + Turns WiFi on. + void + + + TurnBluetoothOff + Turns Bluetooth off. + void + + + TurnBrightnessOff + Turns the brightness off + void + + + TurnStreamVolume + Sets the Media Volume +value: + void + + value + int + + + + WiFi + boolean + Checks if Wifi is enabled or disabled + + + RingerMode + int + Gets the ringer mode. + + + Bluetooth + boolean + Checks if bluetooth is enabled or disabled + + + DataConnection + boolean + Checks if the Mobile Data Connection is enabled or disabled. + + + GPS + boolean + Checks if the GPS is enabled or disabled. + + + AirplaneMode + boolean + Checks if the airplane mode is enabled or disabled. + + + RINGER_MODE_SILENT + Ringer mode that will be silent and will not vibrate. + int + + + RINGER_MODE_NORMAL + Ringer mode that may be audible and may vibrate. + int + + + RINGER_MODE_VIBRATE + Ringer mode that will be silent and will vibrate. + int + + + 1.0 + XverhelstX + diff --git a/B4A/WebSocket.jar b/B4A/WebSocket.jar new file mode 100644 index 0000000..a4cbeb9 Binary files /dev/null and b/B4A/WebSocket.jar differ diff --git a/B4A/WebSocket.xml b/B4A/WebSocket.xml new file mode 100644 index 0000000..f64f7a3 --- /dev/null +++ b/B4A/WebSocket.xml @@ -0,0 +1,56 @@ + + + 1.04 + + anywheresoftware.b4a.objects.WebSocketWrapper + WebSocket + Implementation of a WebSocket client. + process + Connected + Closed (Reason As String) + TextMessage (Message As String) + android.permission.INTERNET + + Connect + Tries to connect to the given Url. The Url should start with ws:// or wss:// + void + + Url + java.lang.String + + + + Initialize + Initializes the object and sets the subs that will handle the events. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + SendText + Sends a text message. + void + + Text + java.lang.String + + + + Close + Closes the connection. + void + + + Connected + boolean + Checks whether the connection is open. + + + 1.01 + diff --git a/B4A/WobbleMenu.b4xlib b/B4A/WobbleMenu.b4xlib new file mode 100644 index 0000000..30988db Binary files /dev/null and b/B4A/WobbleMenu.b4xlib differ diff --git a/B4A/WobbleMenu.b4xlib.bak b/B4A/WobbleMenu.b4xlib.bak new file mode 100644 index 0000000..91f2166 Binary files /dev/null and b/B4A/WobbleMenu.b4xlib.bak differ diff --git a/B4A/X2.b4xlib b/B4A/X2.b4xlib new file mode 100644 index 0000000..bc2d4b8 Binary files /dev/null and b/B4A/X2.b4xlib differ diff --git a/B4A/XUI Views.b4xlib b/B4A/XUI Views.b4xlib new file mode 100644 index 0000000..7089d8c Binary files /dev/null and b/B4A/XUI Views.b4xlib differ diff --git a/B4A/Xml2Map.b4xlib b/B4A/Xml2Map.b4xlib new file mode 100644 index 0000000..d58bd8a Binary files /dev/null and b/B4A/Xml2Map.b4xlib differ diff --git a/B4A/android-gif-drawable-1.2.20.aar b/B4A/android-gif-drawable-1.2.20.aar new file mode 100644 index 0000000..8864c47 Binary files /dev/null and b/B4A/android-gif-drawable-1.2.20.aar differ diff --git a/B4A/android-pdf-viewer.aar b/B4A/android-pdf-viewer.aar new file mode 100644 index 0000000..6352c9f Binary files /dev/null and b/B4A/android-pdf-viewer.aar differ diff --git a/B4A/android-support-annotations.jar b/B4A/android-support-annotations.jar new file mode 100644 index 0000000..0009027 Binary files /dev/null and b/B4A/android-support-annotations.jar differ diff --git a/B4A/android-support-v4.jar b/B4A/android-support-v4.jar new file mode 100644 index 0000000..1780ad3 Binary files /dev/null and b/B4A/android-support-v4.jar differ diff --git a/B4A/baqrcode.jar b/B4A/baqrcode.jar new file mode 100644 index 0000000..bfc6aed Binary files /dev/null and b/B4A/baqrcode.jar differ diff --git a/B4A/baqrcode.xml b/B4A/baqrcode.xml new file mode 100644 index 0000000..dc0360d --- /dev/null +++ b/B4A/baqrcode.xml @@ -0,0 +1,80 @@ + + + 1.03 + + com.inforpires.baQRCode.baQRCode + QRCode + process + + QR_Encode + + android.graphics.Bitmap + + qrData + java.lang.String + + + qrCodeDimention + int + + + + Ean13_Encode + + android.graphics.Bitmap + + qrData + java.lang.String + + + qrCodeDimention + int + + + + Ean8_Encode + + android.graphics.Bitmap + + qrData + java.lang.String + + + qrCodeDimention + int + + + + initialize + + void + + + + com.inforpires.baQRCode.baQRCode.QRCodeEncoder + process + + encodeAsBitmap + + android.graphics.Bitmap + + + Contents + java.lang.String + + + + DisplayContents + java.lang.String + + + + Title + java.lang.String + + + + 1.0 + Nelson Pires + + diff --git a/B4A/core-zxing.jar b/B4A/core-zxing.jar new file mode 100644 index 0000000..83ec765 Binary files /dev/null and b/B4A/core-zxing.jar differ diff --git a/B4A/ojdbc6.jar b/B4A/ojdbc6.jar new file mode 100644 index 0000000..ec3d6f1 Binary files /dev/null and b/B4A/ojdbc6.jar differ diff --git a/B4A/ojdbc7.jar b/B4A/ojdbc7.jar new file mode 100644 index 0000000..fd38a6c Binary files /dev/null and b/B4A/ojdbc7.jar differ diff --git a/B4A/ojdbc8.jar b/B4A/ojdbc8.jar new file mode 100644 index 0000000..2ebb05e Binary files /dev/null and b/B4A/ojdbc8.jar differ diff --git a/B4A/relinker-1.3.1.aar b/B4A/relinker-1.3.1.aar new file mode 100644 index 0000000..b6ac131 Binary files /dev/null and b/B4A/relinker-1.3.1.aar differ diff --git a/B4A/sqlcipher_native.jar b/B4A/sqlcipher_native.jar new file mode 100644 index 0000000..b3d5713 Binary files /dev/null and b/B4A/sqlcipher_native.jar differ diff --git a/B4A/zxing_scanner.jar b/B4A/zxing_scanner.jar new file mode 100644 index 0000000..f1964ff Binary files /dev/null and b/B4A/zxing_scanner.jar differ diff --git a/B4A/zxing_scanner.xml b/B4A/zxing_scanner.xml new file mode 100644 index 0000000..3f2c94a --- /dev/null +++ b/B4A/zxing_scanner.xml @@ -0,0 +1,46 @@ + + + 1.04 + + com.inforpires.barcodescanner.barcodescanner + Zxing_scanner + activity + result(atype as String,Values as String) + noScan + android.permission.CAMERA + android.permission.WRITE_EXTERNAL_STORAGE + android.hardware.camera + android.hardware.camera.autofocus + android.permission.VIBRATE + android.permission.FLASHLIGHT + + BeginScan + + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + msg + java.lang.String + + + scan_width + int + + + scan_height + int + + + + 1.0 + Nelson Pires + core-zxing + zxingscanner + diff --git a/B4A/zxingscanner.jar b/B4A/zxingscanner.jar new file mode 100644 index 0000000..ca12ffc Binary files /dev/null and b/B4A/zxingscanner.jar differ diff --git a/B4J/BitmapsAsync.b4xlib b/B4J/BitmapsAsync.b4xlib new file mode 100644 index 0000000..e0d8ada Binary files /dev/null and b/B4J/BitmapsAsync.b4xlib differ diff --git a/B4J/CalculationDistanceTime.jar b/B4J/CalculationDistanceTime.jar new file mode 100644 index 0000000..177340c Binary files /dev/null and b/B4J/CalculationDistanceTime.jar differ diff --git a/B4J/CalculationDistanceTime.xml b/B4J/CalculationDistanceTime.xml new file mode 100644 index 0000000..5513068 --- /dev/null +++ b/B4J/CalculationDistanceTime.xml @@ -0,0 +1,105 @@ + + + 1.00 + okhttp + okhttputils2 + json + okhttp-3.5.0 + okio-1.11.0 + javaobject + stringutils + + b4a.example.calculationdistancetime._typelevel + typeLevel + process + + Initialize + Initializes the fields to their default value. + void + + + IsInitialized + Tests whether the object has been initialized. + boolean + + + duration + String + + + distance + String + + + error + String + + + + b4a.example.calculationdistancetime + calculationdistancetime + process + + IsInitialized + Tests whether the object has been initialized. + boolean + + + _initialize + Initializes the object. You can add parameters to this method if needed. +<b>originlat</b> - Double Original Latitude +<b>originlot</b> - Double Original Longitude +<b>destinationlat</b> - Double Destination Latitude +<b>destinationlot</b> - Double Destination Longitude +<b>units</b> - Units as Result - "km" returns distances in kilometers and meters or "imperial" returns distances in miles and feet +<i>Example:</i> <code> +Dim calculate As calculationdistancetime +calculate.Initialize(41.923229,12.7241383,41.9191877,12.655384, "Km", Me, "Check_Result") + +Sub Check_Result(valore As typeLevel) + Log("Errore: " & valore.error) + If valore.error.Length = 0 Then + Log("Distance: " & valore.distance) + Log("Time to Arrive: " & valore.duration) + End If +End Sub +</code> + + String + + ba + anywheresoftware.b4a.BA + + + originlat + double + + + originlon + double + + + destinationlat + double + + + destinationlot + double + + + units + String + + + Module + Object + + + EventName + String + + + + 1 + Devil-App + \ No newline at end of file diff --git a/B4J/CompressStrings.jar b/B4J/CompressStrings.jar new file mode 100644 index 0000000..79b4d4a Binary files /dev/null and b/B4J/CompressStrings.jar differ diff --git a/B4J/CompressStrings.xml b/B4J/CompressStrings.xml new file mode 100644 index 0000000..b73ed93 --- /dev/null +++ b/B4J/CompressStrings.xml @@ -0,0 +1,25 @@ + + + 1.07 + + de.donmanfred.GZipStringswrapper + GZipStrings + process + + compress + + byte[] + + data + java.lang.String + + + + 0.01 + Compress a Srring and return the Bytes. + You should use StringUtils to convert the bytes to Base64 + + To decrypt it is enough to convert the base64 to bytes again. + Use ByteConverter to get the String back from the Bytes. + DonManfred + diff --git a/B4J/Encryption.jar b/B4J/Encryption.jar new file mode 100644 index 0000000..bd68b32 Binary files /dev/null and b/B4J/Encryption.jar differ diff --git a/B4J/Encryption.xml b/B4J/Encryption.xml new file mode 100644 index 0000000..ba0611c --- /dev/null +++ b/B4J/Encryption.xml @@ -0,0 +1,685 @@ + + + 1.00 + + anywheresoftware.b4a.agraham.encryption.CipherWrapper + Cipher + This object provides the functionality of a secret (symmetric) key encryptor and +decryptor. The algorithms may commonly be one of the following, there are others not listed here. + +AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits. +DES The Digital Encryption Standard as described in FIPS PUB 46-3. +DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES). + process + + Decrypt + Encrypts the supplied data using the key provided. If an initialisation vector is +to be used then useIV should be set True and the InitialisationVector property set +to the required data. + byte[] + + data + byte[] + + + key + java.security.Key + + + useIV + boolean + + + + Initialize + Initialises the Cipher object to perform the supplied transformation. + +A transformation is a string that describes the operation (or set of operations) to be performed +on the given input to produce some output. A transformation always includes the name of a +cryptographic algorithm (e.g., DES), and may be followed by a mode and padding scheme. + +A transformation is of the form "algorithm/mode/padding" or "algorithm". +For example, the following are valid transformations: +"DES/CBC/PKCS5Padding" +"DES" note that this is actually a synonym for "DES/ECB/PKCS5Padding". +"DES/ECB/NoPadding" use this for simple single block encoding. + +Algorithm may commonly be one of the following, there are others not listed here. +AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits. +DES The Digital Encryption Standard as described in FIPS PUB 46-3. +DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES). + +Mode may commonly be one of the following, there are others not listed here. +NONE No mode. +CBC Cipher Block Chaining Mode, as defined in FIPS PUB 81. +CFB, CFBx Cipher Feedback Mode, as defined in FIPS PUB 81. +ECB Electronic Codebook Mode, as defined in FIPS PUB 81. +OFB, OFBx Output Feedback Mode, as defined in FIPS PUB 81. +Using modes such as CFB and OFB, block ciphers can encrypt data in units smaller than + the cipher's actual block size. When requesting such a mode, you may optionally specify the + number of bits to be processed at a time by appending this number to the mode name as shown + in the "DES/CFB8/NoPadding" and "DES/OFB32/PKCS5Padding" transformations. If no such + number is specified, a provider-specific default is used. Thus block ciphers can be turned into + byte-oriented stream ciphers by using an 8 bit mode such as CFB8 or OFB8. + +Padding may be one of +NoPadding +ISO10126Padding +PKCS1Padding The padding scheme described in PKCS1, used with the RSA algorithm. +PKCS5Padding The padding scheme described in RSA Laboratories, "PKCS5: version 1.5, November 1993. +SSL3Padding The padding scheme defined in the SSL Protocol Version 3.0, November 18, 1996, + section 5.2.3.2 (CBC block cipher): + void + + transformation + java.lang.String + + + + GetAlgorithms + Returns an array of strings containing the algorithms that the specified security +provider implements. + java.lang.String[] + + servicename + java.lang.String + + + + Encrypt + Decrypts the supplied data using the key provided. If an initialisation vector is +to be used then useIV should be set True and the InitialisationVector property set +to the required data. + byte[] + + data + byte[] + + + key + java.security.Key + + + useIV + boolean + + + + GetServices + Returns an array of strings containing the security providers present on the system. + java.lang.String[] + + + InitialisationVector + byte[] + + iv + byte[] + + Gets or sets the initialisation vector array. + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.MessageDigestWrapper + MessageDigest + Message digests are used to produce unique and reliable identifiers of data. +They are sometimes called "checksums" or the "digital fingerprints" of the data. +Changes to just one bit of the message should produce a different digest value. + +Algorithm can be "MD2", "MD5", "SHA-1", "SHA-256", "SHA-384" or "SHA-512". + process + + GetMessageDigest + Returns a byte array containing the message digest of the contents of the supplied +array if bytes using the specified algorithm. +Algorithm can be "MD5", "SHA-1", "SHA-224", "SHA-256", "SHA-384" or "SHA-512" + byte[] + + data + byte[] + + + algorithm + java.lang.String + + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.SecureRandomWrapper + SecureRandom + A seed is an array of bytes used to bootstrap random number generation. +To produce cryptographically secure random numbers, both the seed and the algorithm +must be secure. By default, instances of this class will generate an initial seed +using an internal entropy source. This seed is unpredictable and appropriate for secure use. +You may alternatively specify the initial seed explicitly by calling setSeed(byte[]) before +any random numbers have been generated. Specifying a fixed seed will cause the instance to +return a predictable sequence of numbers. This may be useful for testing but it is not +appropriate for secure use. + +Although it is common practice to seed Random with the current time, that is dangerous with +SecureRandom since that value is predictable to an attacker and not appropriate for secure use. + process + + GetRandomBytes + Fills the provided array with cryptographically strong random numbers produced +by the secure random number generator. + void + + bytes + byte[] + + + + SetRandomSeed + The random number generator seeds itself when created with a random seed. If it is +required, say for testing purposes, to repeatedly reproduce the same sequence of +random numbers then the generator may be seeded with a specific value before use. + void + + seed + long + + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.KeyGeneratorWrapper + KeyGenerator + This object provides the functionality of a secret (symmetric) key generator. +KeyGenerator objects are reusable, i.e., after a key has been generated, the same +KeyGenerator object can be re-used to generate further keys. + +Algorithm may commonly be one of the following, there are others not listed here. +AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits. +DES The Digital Encryption Standard as described in FIPS PUB 46-3. +DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES). + process + + Initialize + Initialise this KeyGenerator to work with the specified algorithm. + void + + algorithm + java.lang.String + + + + GenerateKey + Creates and saves internally a SecretKey object appropriate for use with the specified +algorithm using internally provided random data . + javax.crypto.SecretKey + + + KeyFromBytes + Creates and saves internally a SecretKey object appropriate for use with the specified +algorithm using the data in the byte array provided. + void + + keydata + byte[] + + + + KeyToBytes + Returns a byte array representing the SecretKey. + byte[] + + + Format + java.lang.String + Returns the format of the key data obtained by KeyToBytes. This will almost certainly be "RAW". + + + Key + javax.crypto.SecretKey + + key + javax.crypto.SecretKey + + Gets or sets the SecretKey object. + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.KeyPairGeneratorWrapper + KeyPairGenerator + The KeyPairGenerator is used to generate pairs of public and private keys. +A key pair generator for a particular algorithm creates a public/private key pair +that can be used with this algorithm. + +Algorithm is commonly be the following, there may be others not listed here. * +RSA The RSA encryption algorithm as defined in PRSA Public-Key Cryptography Standards . + process + + Initialize + Initialises the KeyPairGenerator with the specified algorithm and keysize. + void + + algorithm + java.lang.String + + + keysize + int + + + + PublicKeyFromBytes + Creates and saves internally a public key appropriate for use with the specified +algorithm using the data in X.509 format from the byte array provided. + void + + keydata + byte[] + + + + PublicKeyToBytes + Returns a byte array in the X.509 format representing the PublicKey. + byte[] + + + PrivateKeyFromBytes + Creates and saves internally a private key appropriate for use with the specified +algorithm using the data in the PKCS#8 format from the byte array provided. + void + + keydata + byte[] + + + + PrivateKeyToBytes + Returns a byte array in the PKC#8 format representing the PrivateKey. + byte[] + + + GenerateKey + Generates a key pair appropriate for use with the specified algorithm. +This is a simple holder for a key pair (a public key and a private key). +It does not enforce any security, and, when initialized, should be treated like +a private key. + void + + + PublicKey + java.security.PublicKey + Gets the public key of the KeyPairGenerator object. + + + Formats + java.lang.String[] + Returns the formats of the key data obtained by xxxKeyToBytes in a String array. +The public key format is at index 0 and will almost certainly be "X.509". +The private key format is at index 1 and will almost certainly be "PKCS#8". + + + Version + double + Returns the version number of the library. + + + PrivateKey + java.security.PrivateKey + Gets the private key of the KeyPairGenerator object. + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.SignaturerWrapper + Signature + Similar to a MessageDigest, a Signature provides a way to check the integrity of information +transmitted over or stored in an unreliable medium and also ensures that it can be verified +that it originated from the person it purports to originate from. It accomplishes this by using +a private key to encode a hash of the original data and the corresponding public key of the key +pair to decode and check that hash value. + +A Signature object is initialized for signing with a private key and is given the data +to be signed. The resulting signature bytes are typically kept with the signed data. +When verification is needed, another Signature object is created and initialized for +verification and given the corresponding public key. The data and the signature bytes +are fed to the signature object, and if the data and signature match, the Signature +object reports success. + process + + Initialise + Initialises a Signature object that uses the specified algorithm for the specified mode. +Mode must be either SIGNATURE_VERIFY or SIGNATURE_SIGN. Once the object is Initialised +the data to be signed or verified is provided by one or more successive calls to Update. +When the entire data to be signed or verified has been loaded Sign or Verify is called. + void + + algorithm + java.lang.String + + + mode + int + + + key + java.security.Key + + + + Update + One or more calls to this method are required after initialisation to load the data to be +signed or verified. + void + + data + byte[] + + + + Sign + Sign the uploaded data using the private key provided on initialisation. +Return the calculated signature data. + byte[] + + + Verify + Verify the uploaded data using the public key provided on initialisation and the signature +provided. Return true if the verification is successful. + boolean + + signature + byte[] + + + + Version + double + Returns the version number of the library. + + + SIGNATURE_VERIFY + + int + + + SIGNATURE_SIGN + + int + + + + anywheresoftware.b4a.agraham.encryption.CipherWrapper.MacWrapper + Mac + Similar to a MessageDigest, a Message Authentication Code (MAC) provides a way to check +the integrity of information transmitted over or stored in an unreliable medium, but includes +a secret key in the calculation. Only someone with the proper key will be able to verify the +received message. Typically, message authentication codes are used between two parties that +share a secret key in order to validate information transmitted between these parties. + +A MAC object is initialized for signing with a secret key and is given the data to be signed. +The resulting signature bytes are typically kept with the signed data. When verification is needed, +another MAC object is created and initialized with the same secret key.The data is uploaded and the +signature obtained is compared with the signature provided with the message. The comparison may +be made externally by comparing the signature provided with the data to that returned by Sign or +the MAC object can do the comparison itself by using the Verify method with the provided signature. + process + + Initialise + Initialises a Mac object that uses the specified algorithm and the specified secret key. +Once the object is Initialised the data to be signed or verified is provided by one or more +successive calls to Update. When the entire data to be signed or verified has been loaded + Sign or Verify is called. + void + + algorithm + java.lang.String + + + key + java.security.Key + + + + Update + One or more calls to this method are required after initialisation to load the data to be +signed or verified. + void + + data + byte[] + + + + Sign + Sign the uploaded data using the secret key provided on initialisation. +Return the calculated signature data. + byte[] + + + Verify + Verify the uploaded data using the public key provided on initialisation and the signature +provided. Return true if the verification is successful. + boolean + + signature + byte[] + + + + Version + double + Returns the version number of the library. + + + + anywheresoftware.b4a.agraham.encryption.Base64 + Base64 + The Base64 object encodes and decodes to and from Base64 notation. + process + + EncodeStoS + Encode a string into a string of Base64 characters. The string is converted +into an array of bytes according to encoding and then coded as Base64. + java.lang.String + + data + java.lang.String + + + encoding + java.lang.String + + + + EncodeStoB + Encode a string into a byte array of Base64 characters. The string is converted +into an array of bytes according to encoding and then coded as Base64. + byte[] + + data + java.lang.String + + + encoding + java.lang.String + + + + EncodeBtoS + Encode a byte array into a string of Base64 characters. + java.lang.String + + data + byte[] + + + offset + int + + + length + int + + + + DecodeStoS + Decode a string of Base64 characters into a string. Tab, CR, LF and Space +characters in the data are ignored, invalid Base64 characters throw an exception. +Encoding defines the encoding of the byte data of the original coded string. + java.lang.String + + b64string + java.lang.String + + + encoding + java.lang.String + + + + DecodeStoB + Decode a String of Base64 characters into a byte array. Tab, CR, LF and Space +characters in the string are ignored, invalid Base64 characters throw an exception. + byte[] + + b64string + java.lang.String + + + + DecodeBtoS + Decode an array of Base64 characters into a string. Tab, CR, LF and Space +characters in the data are ignored, invalid Base64 characters throw an exception. +Encoding defines the encoding of the byte data of the original coded string. + java.lang.String + + b64bytes + byte[] + + + offset + int + + + length + int + + + encoding + java.lang.String + + + + DecodeBtoB + Decode a byte array of Base64 characters into a byte array. Tab, CR, LF and Space +characters in the data are ignored, invalid Base64 characters throw an exception. + byte[] + + b64bytes + byte[] + + + offset + int + + + length + int + + + + EncodeBtoB + Encode a byte array into a byte array of Base64 characters. + byte[] + + data + byte[] + + + offset + int + + + length + int + + + + LineLength + int + + linelength + int + + Gets or sets the number of Base64 characters placed on each line when line breaks +are being added to the Base64 output when encoding. + + + Version + double + Returns the version number of the library. + + + BreakLines + boolean + + breaklines + boolean + + Gets or sets whether line breaks are added to the Base64 output when encoding. + + + UrlSafe + boolean + + urlsafe + boolean + + Gets or sets whether the Base64 encoding and decoding is done in a "URL safe" manner. +In "URL safe mode" the "plus" character in the Base64 becomes a "hyphen" and the +"slash" character becomes an "underscore". + + + 1.1 + This library implements various encryption and encoding methods + +The following objects are available: + +Base64: used to encode and decode data in Base64 representation. +Cipher: used for encrypting/decrypting data. +KeyGenerator: used to generate and mainpulate secret keys for symmetric ciphers. +MAC: (Message Authentication Code) used generate secret key encrypted message digests. +MessageDigest: used to calculate the message digest (hash) of specified data. +SecureRandom: used to generate pseudo-random numbers. +Signature: are used to sign data and verify digital signatures. + +More information is given on each object in its help comments. + +These comments are intended to document the facilities provided by this library. +They are not intended in any way to cover their practical use. It is assumed that +you know what you are doing when you use this library. + +Documentation on the Java Cryptography Architecture may be found at +<link>http://download.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html</link> + +A list of standard names used in the Java Cryptography Architecture may be found at +<link>http://download.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html</link> + +Any implementation does not neccessarily include the complete list. A list of included +Service Providers may be obtained with the Cipher.GetServices method and they may be passed +individually to Cipher.GetAlgorithms to get the list of supported algorithms for that provider. + Andrew Graham + diff --git a/B4J/FusedLocationProvider.jar b/B4J/FusedLocationProvider.jar new file mode 100644 index 0000000..f900488 Binary files /dev/null and b/B4J/FusedLocationProvider.jar differ diff --git a/B4J/FusedLocationProvider.xml b/B4J/FusedLocationProvider.xml new file mode 100644 index 0000000..49ef0ae --- /dev/null +++ b/B4J/FusedLocationProvider.xml @@ -0,0 +1,531 @@ + + + 1.04 + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus + LocationSettingsStatus + com.google.android.gms.common.api.Status + activity + ResolutionDialogDismissed(LocationSettingsUpdated As Boolean) + + StartResolutionDialog + Starts the resolution dialog. + The user can then enable the location settings required to meet the location request requirements. + This method must be called from an Activity. + Raises the event: + ResolutionDialogDismissed(LocationSettingsUpdated As Boolean) + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + GetStatusCode + Returns the status code that describes whether the location settings meet the location request requirements. + int + + + IsInitialized + + boolean + + + StatusCodes + Contains the various StatusCode constants. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus.StatusCodes + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus.StatusCodes + StatusCodes + process + + SETTINGS_CHANGE_UNAVAILABLE + Location settings do not meet the location request requirements. + Location settings can't be changed to meet the location request requirements. + No resolution dialog is available. + int + + + SUCCESS + Location settings meet the location request requirements. + int + + + RESOLUTION_REQUIRED + Location settings do not meet the location request requirements. + Location settings can be changed to meet the location request requirements. + A resolution dialog is available. + int + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStates + LocationSettingsStates + com.google.android.gms.location.LocationSettingsStates + process + + IsGpsPresent + Whether GPS provider is present on the device. + boolean + + + IsBlePresent + Whether BLE is present on the device. + boolean + + + IsNetworkLocationUsable + Whether network location provider is enabled and usable by the app. + boolean + + + IsInitialized + + boolean + + + IsNetworkLocationPresent + Whether network location provider is present on the device. + boolean + + + IsLocationPresent + Whether location is present on the device. + This method returns true when either GPS or network location provider is present. + boolean + + + IsGpsUsable + Whether GPS provider is enabled and is usable by the app. + boolean + + + IsLocationUsable + Whether location is enabled and is usable by the app. + This method returns true when either GPS or network location provider is usable. + boolean + + + IsBleusable + Whether BLE is enabled and is usable by the app. + boolean + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsResult + LocationSettingsResult + com.google.android.gms.location.LocationSettingsResult + process + + IsInitialized + + boolean + + + GetLocationSettingsStates + Returns the location settings states. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStates + + + GetLocationSettingsStatus + Returns the location settings result status. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder + LocationSettingsRequestBuilder + com.google.android.gms.location.LocationSettingsRequest.Builder + process + + Build + Creates a LocationSettingsRequest. + com.google.android.gms.location.LocationSettingsRequest + + + SetNeedBle + Sets whether the client wants BLE scan to be enabled. + When this flag is set to true, if the platform supports BLE scan mode and Bluetooth is off, the dialog will prompt the user to enable BLE scan. + If the platform doesn't support BLE scan mode, the dialog will prompt to enable Bluetooth. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder + + NeedBle + boolean + + + + AddLocationRequest + Adds one LocationRequest that the client is interested in. + This method can be called multiple times if required to add additional location requests. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder + + LocationRequest1 + com.google.android.gms.location.LocationRequest + + + + SetAlwaysShow + Always show the dialog, without the "Never" option to suppress future dialogs from this app. + When this flag is set to true, the dialog will show up if the location settings do not satisfy the request, even if a user has previously chosen "Never". + NOTE: Only use this method if your dialog is the result of an explicit user-initiated action that requires location to proceed. + Cancelling this dialog should also cancel the initiated action. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder + + AlwaysShow + boolean + + + + IsInitialized + + boolean + + + Initialize + + void + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + LocationRequest + com.google.android.gms.location.LocationRequest + process + + SetExpirationTime + Set the request expiration time, in millisecond since boot. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Millis + long + + + + SetPriority + Set the priority of the request. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Priority + int + + + + IsInitialized + + boolean + + + SetFastestInterval + Explicitly set the fastest interval for location updates, in milliseconds. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Millis + long + + + + Initialize + Initialize the LocationRequest with default parameters. + Default parameters are for a block accuracy, slowly updated location. + void + + + GetNumUpdates + Get the number of updates requested. + int + + + GetSmallestDisplacement + Get the minimum displacement between location updates in meters. + By default this is 0. + float + + + GetFastestInterval + Get the fastest interval of this request, in milliseconds. + long + + + GetExpirationTime + Get the request expiration time, in milliseconds since boot. + long + + + GetPriority + Get the quality of the request. + int + + + SetSmallestDisplacement + Set the minimum displacement between location updates in meters. + By default this is 0. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + SmallestDisplacementMeters + float + + + + GetInterval + Get the desired interval of this request, in milliseconds. + long + + + SetInterval + Set the desired interval for active location updates, in milliseconds. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Millis + long + + + + SetExpirationDuration + Set the duration of this request, in milliseconds. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + Millis + long + + + + SetNumUpdates + Set the number of location updates. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest + + NumUpdates + int + + + + Priority + Contains the various priority constants. + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest.Priority + + + + uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest.Priority + Priority + process + + PRIORITY_HIGH_ACCURACY + Used with SetPriority(Int) to request the most accurate locations available. + int + + + PRIORITY_LOW_POWER + Used with SetPriority(Int) to request "city" level accuracy. + int + + + PRIORITY_NO_POWER + Used with SetPriority(Int) to request the best accuracy possible with zero additional power consumption. + int + + + PRIORITY_BALANCED_POWER_ACCURACY + Used with SetPriority(Int) to request "block" level accuracy. + int + + + + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper + FusedLocationProvider + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProvider + process + ConnectionFailed(ConnectionResult1 As Int) + ConnectionSuccess + ConnectionSuspended(SuspendedCause1 As Int) + LocationChanged(Location1 As Location) + LocationSettingsChecked(LocationSettingsResult1 As LocationSettingsResult) + + GetLastKnownLocation + Returns the best most recent location currently available. + Can only be called if the FusedLocationProvider is connected. + The returned Location object will not be initialized if no last known location is available. + anywheresoftware.b4a.gps.LocationWrapper + + + RemoveLocationUpdates + Remove all requests for location updates. + void + + + Connect + Attempt to connect to the Location Services. + Will raise either event: + ConnectionFailed(ConnectionResult1 As Int) + ConnectionSuccess + void + + + IsInitialized + + boolean + + + Initialize + Initialize the FusedLocationProvider object. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + CheckLocationSettings + Checks if the relevant system settings are enabled on the device to carry out the desired location requests. + Raises the event: + LocationSettingsChecked(LocationSettingsResult1 As LocationSettingsResult) + void + + LocationSettingsRequest1 + com.google.android.gms.location.LocationSettingsRequest + + + + RequestLocationUpdates + Request for location updates. + The LocationRequest object defines the criteria for which location updates are requested. + void + + LocationRequest1 + com.google.android.gms.location.LocationRequest + + + + Disconnect + Disconnect from the Location Services. + void + + + IsConnecting + Returns whether the FusedLocationProvider is trying to connect to the Location Services. + boolean + + + IsConnected + Returns whether the FusedLocationProvider is connected to the Location Services. + boolean + + + ConnectionResult + Contains the various ConnectionResult constants. + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.ConnectionResult + + + SuspendedCause + Contains the various SuspendedCause constants. + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.SuspendedCause + + + + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.ConnectionResult + ConnectionResult + process + + SUCCESS + The connection was successful. + int + + + INTERNAL_ERROR + An internal error occurred. + int + + + RESOLUTION_REQUIRED + Completing the connection requires some form of resolution. + int + + + SERVICE_INVALID + The version of the Google Play services installed on this device is not authentic. + int + + + CANCELLED + The client cancelled the connection by calling Disconnect(). + int + + + INVALID_ACCOUNT + The client attempted to connect to the service with an invalid account name specified. + int + + + DEVELOPER_ERROR + The application is misconfigured. + int + + + SERVICE_MISSING + Google Play services is missing on this device. + int + + + LICENSE_CHECK_FAILED + The application is not licensed to the user. This error is not recoverable and will be treated as fatal. + int + + + NETWORK_ERROR + A network error occurred. Retrying should resolve the problem. + int + + + SERVICE_DISABLED + The installed version of Google Play services has been disabled on this device. + int + + + API_UNAVAILABLE + One of the API components you attempted to connect to is not available. + int + + + SERVICE_VERSION_UPDATE_REQUIRED + The installed version of Google Play services is out of date. + int + + + SIGN_IN_REQUIRED + The client attempted to connect to the service but the user is not signed in. + int + + + + uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.SuspendedCause + SuspendedCause + process + + CAUSE_NETWORK_LOST + A connection suspended cause informing you that a peer device connection was lost. + int + + + CAUSE_SERVICE_DISCONNECTED + A connection suspended cause informing that the service has been killed. + int + + + 1.31 + The FusedLocationProvider intelligently manages the underlying location technology and gives you the best location according to your needs. + https://developer.android.com/google/play-services/location.html + This library depends on the Google Play Services library, android-support-v4 library and the GPS library. + The GPS library is required in order to use it's Location object. + Martin Pearman + android-support-v4 + google-play-services + GPS + diff --git a/B4J/GPS.jar b/B4J/GPS.jar new file mode 100644 index 0000000..0d347c0 Binary files /dev/null and b/B4J/GPS.jar differ diff --git a/B4J/GPS.xml b/B4J/GPS.xml new file mode 100644 index 0000000..5910e80 --- /dev/null +++ b/B4J/GPS.xml @@ -0,0 +1,266 @@ + + + 1.04 + + anywheresoftware.b4a.gps.LocationWrapper + Location + A Location object holds various information about a specific GPS fix. +In most cases you will work with locations that are passed to the GPS LocationChanged event. +The location object can also be used to calculate distance and bearing to other locations. + android.location.Location + process + + Initialize + Initializes an empty location object. + void + + + ConvertToSeconds + Converts the given coordinate to a string formatted with the following format: +[+-]DDD:MM:SS.SSSSS (Minute = 1 / 60 of a degree, Second = 1 / 3600 of a degree) + java.lang.String + + Coordinate + double + + + + DistanceTo + Returns the distance to the given location, measured in meters. + float + + TargetLocation + android.location.Location + + + + ConvertToMinutes + Converts the given coordinate to a string formatted with the following format: +[+-]DDD:MM.MMMMM (Minute = 1 / 60 of a degree) + java.lang.String + + Coordinate + double + + + + Initialize2 + Initializes the location object with the given Latitude and Longitude. +Values can be formatted in any of the three formats: +Degrees: [+-]DDD.DDDDD +Minutes: [+-]DDD:MM.MMMMM (Minute = 1 / 60 of a degree) +Seconds: [+-]DDD:MM:SS.SSSSS (Second = 1 / 3600 of a degree) +Example:<code> +Dim L1 As Location +L1.Initialize2("45:30:30", "45:20:15")</code> + void + + Latitude + java.lang.String + + + Longitude + java.lang.String + + + + IsInitialized + + boolean + + + BearingTo + Returns the bearing to the given location. + float + + TargetLocation + android.location.Location + + + + AltitudeValid + boolean + Returns true if the fix includes altitude value. + + + Accuracy + float + + value + float + + Gets or sets the fix accuracy (meters). + + + BearingValid + boolean + Returns true if the fix includes bearing value. + + + SpeedValid + boolean + Returns true if the fix includes speed value. + + + Altitude + double + + value + double + + Gets or sets the fix altitude (meters). + + + Speed + float + + value + float + + Gets or sets the fix speed (meters / second). + + + Time + long + + value + long + + Gets or sets the fix time. + + + Latitude + double + + value + double + + Gets or sets the fix latitude (degrees from -90 (South) to 90 (North)). + + + Longitude + double + + value + double + + Gets or sets the fix longitude (degrees from -180 to 180, positive values represent the eastern hemisphere). + + + AccuracyValid + boolean + Returns true if the fix includes accuracy value. + + + Bearing + float + + value + float + + Gets or sets the fix bearing East of true North. + + + + anywheresoftware.b4a.gps.GpsSatelliteWrapper + GPSSatellite + The GPSSatellite object holds various information about a GPS satellite. A List with the available satellites is passed to the GpsStatus event. + android.location.GpsSatellite + process + + IsInitialized + + boolean + + + UsedInFix + boolean + Tests whether this satellite was used to calculate the most recent fix. + + + Prn + int + Returns the PRN (pseudo-random number) for the satellite. + + + Elevation + float + Returns the satellite elevation in degrees (0 - 90). + + + Azimuth + float + Returns the satellite azimuth in degrees (0 - 360). + + + Snr + float + Returns the signal to noise ratio for the satellite. + + + + anywheresoftware.b4a.gps.GPS + GPS + The main object that raises the GPS events. +Note that this library requires Android 2.0 or above. + process + LocationChanged (Location1 As Location) + UserEnabled (Enabled As Boolean) + GpsStatus (Satellites As List) + NMEA (TimeStamp As Long, Sentence As String) + android.permission.ACCESS_FINE_LOCATION + + Initialize + + void + + EventName + java.lang.String + + + + Start + Starts listening for events. +MinimumTime - The shortest period (measured in milliseconds) between events. Pass 0 for highest frequency. +MinimumDistance - The shortest change in distance (measured in meters) for which to raise events. Pass 0 for highest frequency. + void + + ba + anywheresoftware.b4a.BA + + + MinimumTime + long + + + MinimumDistance + float + + + + Stop + Stops listening to the GPS. You will usually want to call Stop inside Sub Activity_Pause. + void + + + IsInitialized + + boolean + + + GPSEnabled + boolean + Tests whether the user has enabled the GPS. + + + LocationSettingsIntent + android.content.Intent + Returns the intent that is used to show the global locations settings. +Example:<code> +If GPS1.GPSEnabled = False Then StartActivity(GPS1.LocationSettingsIntent)</code> + + + 1.2 + The GPS library allows you to get information from the phone's GPS device. +See the <link>GPS tutorial|http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/6592-gps-tutorial.html</link> for more information about this library. + diff --git a/B4J/GoogleMaps.jar b/B4J/GoogleMaps.jar new file mode 100644 index 0000000..9f120b8 Binary files /dev/null and b/B4J/GoogleMaps.jar differ diff --git a/B4J/GoogleMapsExtras.jar b/B4J/GoogleMapsExtras.jar new file mode 100644 index 0000000..41a5034 Binary files /dev/null and b/B4J/GoogleMapsExtras.jar differ diff --git a/B4J/GoogleMapsExtras.xml b/B4J/GoogleMapsExtras.xml new file mode 100644 index 0000000..59f57dd --- /dev/null +++ b/B4J/GoogleMapsExtras.xml @@ -0,0 +1,3262 @@ + + + 1.04 + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlay + GroundOverlay + com.google.android.gms.maps.model.GroundOverlay + process + + IsVisible + + boolean + + + SetDimensions + + void + + Width + float + + + + Remove + + void + + + IsInitialized + + boolean + + + SetDimensions2 + + void + + Width + float + + + Height + float + + + + Transparency + float + + Transparency + float + + + + + ZIndex + float + + ZIndex + float + + + + + Visible + + Visible + boolean + + + + + PositionFromBounds + + Bounds + com.google.android.gms.maps.model.LatLngBounds + + + + + Image + + Bitmap1 + android.graphics.Bitmap + + Sets the image for the Ground Overlay using a Bitmap. + The new image will occupy the same bounds as the old image. + + + Bounds + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + + + Image2 + + BitmapDescriptor1 + com.google.android.gms.maps.model.BitmapDescriptor + + Sets the image for the Ground Overlay using a BitmapDescriptor. + The new image will occupy the same bounds as the old image. + + + Position + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + Position + com.google.android.gms.maps.model.LatLng + + + + + Height + float + + + + Id + java.lang.String + + + + Width + float + + + + Bearing + float + + Bearing + float + + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLocation + StreetViewPanoramaLocation + com.google.android.gms.maps.model.StreetViewPanoramaLocation + process + + IsInitialized + + boolean + + + Links + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLink[] + Array of StreetViewPanoramaLink able to be reached from the current position. + + + PanoId + java.lang.String + The panorama ID of the current Street View panorama. + + + Position + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + The location of the current Street View panorama. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + LatLngBounds + com.google.android.gms.maps.model.LatLngBounds + process + + Initialize + Initialize the LatLngBounds. + void + + SouthWest + com.google.android.gms.maps.model.LatLng + + + NorthEast + com.google.android.gms.maps.model.LatLng + + + + Contains + Returns whether this LatLngBounds contains LatLng1. + boolean + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + IsInitialized + + boolean + + + Including + Returns a new LatLngBounds that extends this LatLngBounds to include the given LatLng. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + SouthWest + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + Returns south-west corner of this LatLngBounds as a LatLng. + + + Center + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + Returns the center of this LatLngBounds. + The center is simply the average of the coordinates (taking into account if it crosses the antimeridian). + This is approximately the geographical center (it would be exact if the Earth were a perfect sphere). + It will not necessarily be the center of the rectangle as drawn on the map due to the Mercator projection. + + + NorthEast + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + Returns north-east corner of this LatLngBounds as a LatLng. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Tile + Tile + com.google.android.gms.maps.model.Tile + process + + Initialize + + void + + Width + int + + + Height + int + + + Data + byte[] + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLink + StreetViewPanoramaLink + com.google.android.gms.maps.model.StreetViewPanoramaLink + process + + IsInitialized + + boolean + + + PanoId + java.lang.String + Panorama ID of the linked Street View panorama. + + + Bearing + float + The direction of the linked Street View panorama, in degrees clockwise from north + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + StreetViewPanoramaCameraBuilder + com.google.android.gms.maps.model.StreetViewPanoramaCamera.Builder + process + + Tilt + Sets the angle, in degrees, of the camera from the horizon of the panorama. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + Tilt + float + + + + Orientation + Sets the camera tilt and bearing based upon the given orientation's tilt and bearing. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + StreetViewPanoramaOrientation1 + com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + + Build + Builds a StreetViewPanoramaCamera. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + Zoom + Sets the zoom level of the camera. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + Zoom + float + + + + Bearing + Sets the direction that the camera is pointing in, in degrees clockwise from north. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + Bearing + float + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation + StreetViewPanoramaOrientation + com.google.android.gms.maps.model.StreetViewPanoramaOrientation + process + + Initialize + + void + + Tilt + float + + + Bearing + float + + + + Builder2 + Creates a builder for a Street View panorama orientation. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + + StreetViewPanoramaOrientation1 + com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + + Builder + Creates a builder for a Street View panorama orientation. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + + + IsInitialized + + boolean + + + Tilt + float + The angle, in degrees, of the orientation. + + + Bearing + float + Direction of the orientation, in degrees clockwise from north. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + BitmapDescriptor + com.google.android.gms.maps.model.BitmapDescriptor + process + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon + Polygon + com.google.android.gms.maps.model.Polygon + process + + Remove + Remove this polygon from the map. + void + + + IsInitialized + + boolean + + + ZIndex + float + + ZIndex + float + + Get or Set the ZIndex of this polygon. + + + StrokeWidth + float + + StrokeWidth + float + + Get or Set the stroke width of this polygon. + + + Visible + boolean + + Visible + boolean + + Get or Set the visibility of this polygon. + + + FillColor + int + + FillColor + int + + Get or Set the fill color of this polygon. + + + StrokeColor + int + + StrokeColor + int + + Get or Set the stroke color of this polygon. + + + Points + anywheresoftware.b4a.objects.collections.List + + points + anywheresoftware.b4a.objects.collections.List + + Get or Set the list of points that build the polyline. + To Add vertices to the outline of the polygon being built, the vertices must be added in counterclockwise order. + The list should hold objects of type LatLng. + + + Geodesic + boolean + + Geodesic + boolean + + Get or Set whether the line segments are geodesic lines (shortest path on the earth surface) or straight lines. + The default value is False. + + + Holes + anywheresoftware.b4a.objects.collections.List + + Holes + anywheresoftware.b4a.objects.collections.List + + Get or Set the holes of this polygon. + Setting this property will take a copy of the holes, so further mutations to holes will have no effect on this polygon. + Holes should be set using a List that contains a List of LatLng objects for each hole. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + StreetViewPanoramaOrientationBuilder + com.google.android.gms.maps.model.StreetViewPanoramaOrientation.Builder + process + + Build + Builds a StreetViewPanoramaOrientation. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + SetBearing + Sets the direction of the orientation, in degrees clockwise from north. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + + Bearing + float + + + + SetTilt + Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder + + Tilt + float + + + + IsInitialized + + boolean + + + Tilt + float + The angle, in degrees, of the orientation. + + + Bearing + float + Direction of the orientation, in degrees clockwise from north. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + TileOverlayOptions + com.google.android.gms.maps.model.TileOverlayOptions + process + + Initialize + Initializes a new set of tile overlay options. + void + + + SetFadeIn + Set whether the tiles should fade in. + Default value is True. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + + FadeIn + boolean + + + + SetTileProvider + Specifies the tile provider to use for this tile overlay. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + + TileProvider1 + com.google.android.gms.maps.model.TileProvider + + + + GetFadeIn + + boolean + + + SetVisible + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + + Visible + boolean + + + + SetZIndex + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions + + ZIndex + float + + + + GetZIndex + + float + + + IsVisible + Returns the visibility setting for this TileOverlayOptions object. + boolean + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + MarkerOptions + com.google.android.gms.maps.model.MarkerOptions + process + + Alpha + Sets the alpha (opacity) of the marker. + This is a value from 0 to 1, where 0 means the marker is completely transparent and 1 means the marker is completely opaque. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Alpha + float + + + + Visible + Sets the visibility for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Visible + boolean + + + + GetPosition + Returns the position set for this MarkerOptions object. + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + Draggable + Sets the draggability for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Draggable + boolean + + + + IsDraggable + Gets the draggability setting for this MarkerOptions object. + boolean + + + IsVisible + Gets the visibility setting for this MarkerOptions object. + boolean + + + Rotate + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Rotation + float + + + + GetTitle + Gets the title set for this MarkerOptions object. + java.lang.String + + + IsInitialized + + boolean + + + Initialize + Creates a new set of MarkerOptions. + void + + + Snippet + Sets the snippet for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Snippet + java.lang.String + + + + GetAnchorU + Horizontal distance, normalized to [0, 1], of the anchor from the left edge. + float + + + IsFlat + Gets the flat setting for this MarkerOptions object. + boolean + + + GetAnchorV + Vertical distance, normalized to [0, 1], of the anchor from the top edge. + float + + + Title + Sets the title for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Title + java.lang.String + + + + GetAlpha + Gets the alpha that has been set for this MarkerOptions object. + float + + + GetInfoWindowAnchorV + + float + + + GetInfoWindowAnchorU + + float + + + GetRotation + Gets the rotation set for this MarkerOptions. + float + + + Anchor + Specifies the anchor to be at a particular point in the marker image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + U + float + + + V + float + + + + Flat + Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Flat + boolean + + + + GetIcon + Gets the custom icon set for this MarkerOptions object. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + + Position + Sets the location for the marker using a LatLng. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + GetSnippet + Gets the snippet set for this MarkerOptions object. + java.lang.String + + + Position2 + Sets the location for the marker using latitude and longitude values. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + Latitude + double + + + Longitude + double + + + + InfoWindowAnchor + Specifies the anchor point of the info window on the marker image. + The default is the top middle of the image. + U - coordinate of the info window anchor, as a ratio of the image width (in the range [0, 1]). + V - coordinate of the info window anchor, as a ratio of the image height (in the range [0, 1]). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + U + float + + + V + float + + + + Icon + Sets the icon for the marker. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions + + BitmapDescriptor1 + com.google.android.gms.maps.model.BitmapDescriptor + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.VisibleRegion + VisibleRegion + com.google.android.gms.maps.model.VisibleRegion + process + + Initialize + Creates a new VisibleRegion given the four corners of the camera. + void + + NearLeft + com.google.android.gms.maps.model.LatLng + + + NearRight + com.google.android.gms.maps.model.LatLng + + + FarLeft + com.google.android.gms.maps.model.LatLng + + + FarRight + com.google.android.gms.maps.model.LatLng + + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + + IsInitialized + + boolean + + + FarRight + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + LatLngBounds + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + + + NearRight + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + NearLeft + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + FarLeft + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.UrlTileProvider + UrlTileProvider + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.UrlTileProviderImpl + process + + Initialize + Initialize the UrlTileProvider. +UrlTemplate - a String which is the Url to a tile with X, Y and zoom parameters replaced: +Here the standard OSM slippy map tilenaming is used. +http://<my tileserver url>/%3$d/%1$d/%2$d.png +Url parameters are %1$d tileX, %2$d tileY, %3$d zoom +Width - tile width in pixels. +Height - tile height in pixels. + void + + UrlTemplate + java.lang.String + + + Width + int + + + Height + int + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlay + TileOverlay + com.google.android.gms.maps.model.TileOverlay + process + + IsVisible + Gets the visibility of this tile overlay. + boolean + + + Remove + Removes this tile overlay from the map. + void + + + ClearTileCache + Clears the tile cache so that all tiles will be requested again from the TileProvider. + void + + + IsInitialized + + boolean + + + ZIndex + float + + ZIndex + float + + Get or Set the zIndex of this tile overlay. + + + Visible + + Visible + boolean + + Sets the visibility of this tile overlay. + + + Id + java.lang.String + Returns this tile overlay's id. + + + FadeIn + boolean + + FadeIn + boolean + + Get or Set whether the tiles should fade in. + Default value is True. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + GroundOverlayOptions + com.google.android.gms.maps.model.GroundOverlayOptions + process + + Initialize + + void + + + Visible + Specifies the visibility for the ground overlay. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Visible + boolean + + + + PositionFromBounds + Specifies the position for this ground overlay. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Bounds + com.google.android.gms.maps.model.LatLngBounds + + + + SetBearing + Specifies the bearing of the ground overlay in degrees clockwise from north. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Bearing + float + + + + Image2 + Specifies the image for this ground overlay using a BitmapDescriptor. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + BitmapDescriptor1 + com.google.android.gms.maps.model.BitmapDescriptor + + + + SetTransparency + Specifies the transparency of the ground overlay. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Transparency + float + + + + GetBearing + + float + + + SetZIndex + Specifies the ground overlay's zIndex, i.e., the order in which it will be drawn. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + ZIndex + float + + + + Anchor + Specifies the anchor to be at a particular point in the image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + U + float + + + V + float + + + + Image + Specifies the image for this ground overlay using a Bitmap. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Bitmap1 + android.graphics.Bitmap + + + + GetZIndex + + float + + + IsVisible + + boolean + + + GetTransparency + + float + + + Position + Specifies the position for this ground overlay using an anchor point (a LatLng), width and height (both in meters). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Position + com.google.android.gms.maps.model.LatLng + + + Width + float + + + Height + float + + + + Position2 + Specifies the position for this ground overlay using an anchor point (a LatLng) and the width (in meters). + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions + + Position + com.google.android.gms.maps.model.LatLng + + + Width + float + + + + IsInitialized + + boolean + + + Bounds + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + + + AnchorV + float + Returns vertical distance, normalized to [0, 1], of the anchor from the top edge. + + + Location + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + Height + float + + + + AnchorU + float + Returns horizontal distance, normalized to [0, 1], of the anchor from the left edge. + + + Width + float + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptorFactory + BitmapDescriptorFactory + process + + FromFile + Creates a BitmapDescriptor using the name of an image file located in the internal storage. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + Filename + java.lang.String + + + + DefaultMarker2 + Creates a BitmapDescriptor that refers to a colorization of the default marker image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + Hue + float + + + + FromResource + Creates a BitmapDescriptor using the resource id of an image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + ResourceId + int + + + + DefaultMarker + Creates a BitmapDescriptor that refers to the default marker image. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + + FromBitmap + Creates a BitmapDescriptor from a given Bitmap. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + Bitmap1 + android.graphics.Bitmap + + + + FromPath + Creates a BitmapDescriptor from an absolute file path. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + AbsolutePath + java.lang.String + + + + FromAsset + Creates a BitmapDescriptor using the name of an image in the assets directory. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor + + AssetName + java.lang.String + + + + HUE_ROSE + + float + + + HUE_GREEN + + float + + + HUE_ORANGE + + float + + + HUE_BLUE + + float + + + HUE_YELLOW + + float + + + HUE_MAGENTA + + float + + + HUE_VIOLET + + float + + + HUE_RED + + float + + + HUE_CYAN + + float + + + HUE_AZURE + + float + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomUrlTileProvider + CustomUrlTileProvider + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomUrlTileProviderImpl + process + GetTileUrl(TileX As Int, TileY As Int, Zoom As Int) As String + + Initialize + Initialize the CustomUrlTileProvider. + Width - width of the images used for tiles. + Height - height of the images used for tiles. + The CustomUrlTileProvider raises the event: + GetTileUrl(TileX As Int, TileY As Int, Zoom As Int) As String + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + Width + int + + + Height + int + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera + StreetViewPanoramaCamera + com.google.android.gms.maps.model.StreetViewPanoramaCamera + process + + Initialize + Constructs a StreetViewPanoramaCamera. + void + + Zoom + float + + + Tilt + float + + + Bearing + float + + + + Builder2 + Creates a builder for a Street View panorama camera. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + StreetViewPanoramaCamera1 + com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + + Builder + Creates a builder for a Street View panorama camera. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder + + + GetOrientation + Returns the particular camera's tilt and bearing as an orientation. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomTileProvider + CustomTileProvider + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileProviderImpl + process + + Initialize + Initialize the CustomTileProvider. + When the CustomTileProvider requires a Tile it uses Reflection to call a b4a Sub, the b4a Sub must return a Tile object. + ClassInstance - The module that contains the Sub that will return a Tile object. + SubName - The name of the Sub that will return a Tile object. + void + + pBA + anywheresoftware.b4a.BA + + + ClassInstance + java.lang.Object + + + SubName + java.lang.String + + + + IsInitialized + + boolean + + + NO_TILE + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Tile + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.PolygonOptions + PolygonOptions + com.google.android.gms.maps.model.PolygonOptions + process + + Initialize + + void + + + AddHole + Adds a hole to the polygon being built. + The vertices of the hole must be in counterclockwise order. + Hole should be a List of LatLng objects. + void + + Hole + anywheresoftware.b4a.objects.collections.List + + + + AddPoints + Adds vertices to the outline of the polygon being built. The vertices must be added in counterclockwise order. + The List should hold objects of type LatLng. + + In version 1.00 of this library, this method was the writeable Points property. + As the vertices are added to (and don't replace) any existing vertices the property is removed and replaced with this new method. + void + + points + anywheresoftware.b4a.objects.collections.List + + + + IsInitialized + + boolean + + + AddPoint + Adds a vertex to the outline of the polygon being built. + void + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + ZIndex + float + + ZIndex + float + + + + + StrokeWidth + float + + StrokeWidth + float + + + + + Visible + boolean + + Visible + boolean + + + + + FillColor + int + + FillColor + int + + + + + StrokeColor + int + + StrokeColor + int + + + + + Points + anywheresoftware.b4a.objects.collections.List + + + + Geodesic + boolean + + Geodesic + boolean + + + + + Holes + anywheresoftware.b4a.objects.collections.List + Get the holes of this polygon. + Returns a List that contains a List of LatLng objects for each hole. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Circle + Circle + com.google.android.gms.maps.model.Circle + process + + Remove + Remove the Circle from the map. + void + + + IsInitialized + + boolean + + + ZIndex + float + + ZIndex + float + + Get or Set the Circle ZIndex. + + + StrokeWidth + float + + StrokeWidth + float + + Get or Set the Circle stroke width. + + + Visible + boolean + + Visible + boolean + + + + + Radius + double + + Radius + double + + Get or Set the Circle radius in meters. + + + FillColor + int + + FillColor + int + + Get or Set the Circle fill color. + + + StrokeColor + int + + StrokeColor + int + + Get or Set the Circle stroke color. + + + Id + java.lang.String + Get the Circle Id. + + + Center + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + LatLng1 + com.google.android.gms.maps.model.LatLng + + Get or Set the Circle center. + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + CircleOptions + com.google.android.gms.maps.model.CircleOptions + process + + Initialize + Creates a new CircleOptions. + void + + + Visible + Sets the visibility. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + Visible + boolean + + + + GetStrokeWidth + Gets the stroke width. + float + + + GetRadius + Gets the radius in meters. + double + + + ZIndex + Sets the ZIndex. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + ZIndex + float + + + + StrokeWidth + Sets the stroke width. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + StrokeWidth + float + + + + Center2 + Sets the center using latitude and longitude. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + Latitude + double + + + Longitude + double + + + + FillColor + Sets the fill color. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + FillColor + int + + + + Radius + Sets the radius in meters. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + Radius + double + + + + StrokeColor + Sets the stroke color. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + StrokeColor + int + + + + GetCenter + Gets the center as a LatLng. + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + GetZIndex + Gets the ZIndex. + float + + + IsVisible + Gets the visibility of this circle. + boolean + + + Center + Sets the center using a LatLng. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + GetFillColor + Gets the fill color. + int + + + IsInitialized + + boolean + + + GetStrokeColor + Gets the stroke color. + int + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBoundsBuilder + LatLngBoundsBuilder + com.google.android.gms.maps.model.LatLngBounds.Builder + process + + Initialize + + void + + + Build + Creates and returns the LatLngBounds. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds + + + Include + Includes this point for building of the bounds. + The bounds will be extended in a minimum way to include this point. + https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/model/LatLngBounds.Builder + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBoundsBuilder + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.android.graphics.Point + Point + android.graphics.Point + process + + Initialize + + void + + X + int + + + Y + int + + + + Offset + Offset the point's coordinates by Dx, Dy. + void + + Dx + int + + + Dy + int + + + + Set + Set the point's X and Y coordinates . + void + + X + int + + + Y + int + + + + Negate + Negate the point's coordinates. + void + + + IsInitialized + + boolean + + + Y + int + + + + X + int + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.Projection + Projection + com.google.android.gms.maps.Projection + process + + GetVisibleRegion + Gets a projection of the viewing frustum for converting between screen coordinates and geo-latitude/longitude coordinates. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.VisibleRegion + + + ToScreenLocation + Returns a screen location that corresponds to a geographical coordinate. + uk.co.martinpearman.b4a.android.graphics.Point + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + FromScreenLocation + Returns the geographic location that corresponds to a screen location. + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + Point1 + android.graphics.Point + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdateFactory + CameraUpdateFactory + process + + ZoomIn + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + + ZoomBy + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + Amount + float + + + Point1 + android.graphics.Point + + + + ZoomBy2 + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + Amount + float + + + + ScrollBy + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + XPixel + float + + + YPixel + float + + + + NewCameraPosition + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + CameraPosition1 + com.google.android.gms.maps.model.CameraPosition + + + + ZoomOut + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + + ZoomTo + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + ZoomLevel + float + + + + NewLatLngBounds2 + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + Width + int + + + Height + int + + + Padding + int + + + + NewLatLngZoom + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + Zoom + float + + + + NewLatLngBounds + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + Padding + int + + + + NewLatLng + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate + CameraUpdate + com.google.android.gms.maps.CameraUpdate + process + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanorama + StreetViewPanorama + com.google.android.gms.maps.StreetViewPanorama + process + PanoramaCameraChange(StreetViewPanoramaCamera1 As StreetViewPanoramaCamera) + PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation) + PanoramaClick(StreetViewPanoramaOrientation1 As StreetViewPanoramaOrientation) + + SetPanoramaChangeListener + Set a PanoramaChangeListener. + Raises the event: PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation). + Pass empty string as EventName to clear any existing listener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsUserNavigationEnabled + Returns whether or not the navigation is enabled for the user. + boolean + + + OrientationToPoint + Returns a screen location that corresponds to an orientation (StreetViewPanoramaOrientation). + uk.co.martinpearman.b4a.android.graphics.Point + + StreetViewPanoramaOrientation1 + com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + + + SetPosition + Sets the StreetViewPanorama to a given location. + void + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + SetPosition2 + Sets the StreetViewPanorama to a given location. + Radius - Defines the area (specified in meters) in which to search for a panorama, centered on the given latitude and longitude. + void + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + Radius + int + + + + PointToOrientation + Returns the orientation that corresponds to a screen location. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation + + Point1 + android.graphics.Point + + + + SetUserNavigationEnabled + Sets whether the user is able to move to another panorama. + void + + Enabled + boolean + + + + SetPanoramaCameraChangeListener + Set a PanoramaCameraChangeListener. + Raises the event: PanoramaCameraChange(StreetViewPanoramaCamera1 As StreetViewPanoramaCamera). + Raised when the user makes changes to the camera on the panorama or if the camera is changed programmatically. + Pass empty string as EventName to clear any existing listener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + AnimateTo + Changes the current camera position, orientation and zoom, to a given position over a specified duration. + void + + StreetViewPanorama1 + com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + Duration + long + + + + SetPosition3 + Sets the StreetViewPanorama to a given location. + PanoId - Panorama id of the desired location. + void + + PanoId + java.lang.String + + + + IsInitialized + + boolean + + + IsStreetNamesEnabled + Returns whether or not the street names appear on the panorama. + boolean + + + GetPanoramaCamera + Returns the current orientation and zoom. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + SetZoomGesturesEnabled + Sets whether the user is able to use zoom gestures. + void + + Enabled + boolean + + + + SetPanoramaClickListener + Set a PanoramaClickListener. + Raises the event: PanoramaClick(StreetViewPanoramaOrientation1 As StreetViewPanoramaOrientation). + Raised when the user makes a tap gesture on the panorama, but only if none of the overlays of the map handled the gesture. + Pass empty string as EventName to clear any existing listener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsZoomGesturesEnabled + Returns whether or not the zoom gestures are enabled for the user. + boolean + + + IsPanningGesturesEnabled + Returns whether or not the panning gestures are enabled for the user. + boolean + + + SetStreetNamesEnabled + Sets whether the user is able to see street names on panoramas. + void + + Enabled + boolean + + + + GetLocation + Returns the current location of the user and information regarding the current panorama's adjacent panoramas. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLocation + + + SetPanningGesturesEnabled + Sets whether the user is able to use panning gestures. + void + + Enabled + boolean + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaView + StreetViewPanoramaView + com.google.android.gms.maps.StreetViewPanoramaView + activity + + BringToFront + + void + + + RequestFocus + + boolean + + + OnDestroy + + void + + + OnCreate + + void + + Bundle1 + android.os.Bundle + + + + RemoveView + + void + + + SetBackgroundImage + + void + + arg0 + android.graphics.Bitmap + + + + GetStreetViewPanorama + Gets the underlying StreetViewPanorama that is tied to this view. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanorama + + + OnPause + + void + + + OnLowMemory + + void + + + Invalidate3 + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + Invalidate2 + + void + + arg0 + android.graphics.Rect + + + + Initialize2 + + void + + pBA + anywheresoftware.b4a.BA + + + StreetViewPanoramaOptions1 + com.google.android.gms.maps.StreetViewPanoramaOptions + + + + IsInitialized + + boolean + + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + + OnSaveInstanceState + + void + + Bundle1 + android.os.Bundle + + + + Invalidate + + void + + + SetLayout + + void + + arg0 + int + + + arg1 + int + + + arg2 + int + + + arg3 + int + + + + OnResume + + void + + + SendToBack + + void + + + Enabled + boolean + + arg0 + boolean + + + + + Top + int + + arg0 + int + + + + + Visible + boolean + + arg0 + boolean + + + + + Tag + java.lang.Object + + arg0 + java.lang.Object + + + + + Height + int + + arg0 + int + + + + + Background + android.graphics.drawable.Drawable + + arg0 + android.graphics.drawable.Drawable + + + + + Width + int + + arg0 + int + + + + + Left + int + + arg0 + int + + + + + Color + + arg0 + int + + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + StreetViewPanoramaOptions + com.google.android.gms.maps.StreetViewPanoramaOptions + process + + Initialize + + void + + + SetZoomGesturesEnabled + Toggles the ability for users to zoom on panoramas using gestures. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + Enabled + boolean + + + + SetPosition + Specifies the initial position for the Street View panorama based upon location. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + + SetPosition2 + Specifies the initial position for the Street View panorama based upon location and radius. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + LatLng1 + com.google.android.gms.maps.model.LatLng + + + Radius + java.lang.Integer + + + + SetStreetNamesEnabled + Toggles the ability for users to see street names on panoramas. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + Enabled + boolean + + + + SetUserNavigationEnabled + Toggles the ability for users to move between panoramas. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + Enabled + boolean + + + + SetPanoramaId + Specifies the initial position for the Street View panorama based on a panorama id. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + PanoramaId + java.lang.String + + + + SetPanningGesturesEnabled + Toggles the ability for users to use pan around on panoramas using gestures. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + Enabled + boolean + + + + SetPanoramaCamera + Specifies the initial camera for the Street View panorama. + uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions + + StreetViewPanoramaCamera1 + com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + + IsInitialized + + boolean + + + PanningGesturesEnabled + boolean + + + + StreetNamesEnabled + java.lang.Boolean + + + + Radius + int + + + + PanoramaId + java.lang.String + + + + StreetViewPanoramaCamera + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera + + + + ZoomGesturesEnabled + java.lang.Boolean + + + + Position + anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper + + + + UserNavigationEnabled + java.lang.Boolean + + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener + OnInfoWindowClickListener + com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener + activity + Click(Marker1 As Marker) + + Initialize + Initialize the OnInfoWindowClickListener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMyLocationButtonClickListener + OnMyLocationButtonClickListener + com.google.android.gms.maps.GoogleMap.OnMyLocationButtonClickListener + process + MyLocationButtonClick As Boolean + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMyLocationChangeListener + OnMyLocationChangeListener + com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener + process + MyLocationChange(Location1 As Location) + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMarkerDragListener + OnMarkerDragListener + com.google.android.gms.maps.GoogleMap.OnMarkerDragListener + activity + Drag(Marker1 As Marker) + DragEnd(Marker1 As Marker) + DragStart(Marker1 As Marker) + + Initialize + Initialize the OnMarkerDragListener. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMapLoadedCallback + OnMapLoadedCallback + com.google.android.gms.maps.GoogleMap.OnMapLoadedCallback + process + MapLoaded + + Initialize + Initialize the OnMapLoadedCallback object. + The MapLoaded event will be raised when the map has finished rendering. + This occurs after all tiles required to render the map have been fetched, and all labelling is complete. + This event will not be raised if the map never loads due to connectivity issues, + or if the map is continuously changing and never completes loading due to the user constantly interacting with the map. + This event will only be raised once. You must request another callback if you want to be notified again. + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.InfoWindowAdapter + InfoWindowAdapter + com.google.android.gms.maps.GoogleMap.InfoWindowAdapter + process + GetInfoContents(Marker1 As Marker) As View + GetInfoWindow(Marker1 As Marker) As View + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.CancelableCallback + CancelableCallback + com.google.android.gms.maps.GoogleMap.CancelableCallback + process + Cancel + Finish + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.android.app.StreetViewPanoramaViewActivity + StreetViewPanoramaViewActivity + uk.co.martinpearman.java.android.app.StreetViewPanoramaViewActivity + activity + + Initialize + + void + + pBA + anywheresoftware.b4a.BA + + + + UnregisterStreetViewPanoramaViewCallbacks + Unregisters this Activity as the handler for the lifecycle callbacks of StreetViewPanoramaView1. + void + + StreetViewPanoramaView1 + com.google.android.gms.maps.StreetViewPanoramaView + + + + RegisterStreetViewPanoramaViewCallbacks + Registers this Activity as the handler for the lifecycle callbacks of StreetViewPanoramaView1. + void + + StreetViewPanoramaView1 + com.google.android.gms.maps.StreetViewPanoramaView + + + + IsInitialized + + boolean + + + + uk.co.martinpearman.b4a.googlemapsextras.MarkerExtras + MarkerExtras + process + + GetRotation + Gets the rotation of the Marker in degrees clockwise about the Marker's anchor point. + float + + Marker1 + com.google.android.gms.maps.model.Marker + + + + SetRotation + Sets the rotation of the marker in degrees clockwise about the marker's anchor point. + The axis of rotation is perpendicular to the marker. + A rotation of 0 corresponds to the default position of the marker. + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + Rotation + float + + + + SetAnchor + Specifies the anchor to be at a particular point in the marker image. + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + U + float + + + V + float + + + + SetAlpha + Sets the alpha (opacity) of Marker1. + This is a value from 0 to 1, where 0 means the marker is completely transparent and 1 means the marker is completely opaque. + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + Alpha + float + + + + SetInfoWindowAnchor + Specifies the point in the marker image at which to anchor the info window when it is displayed. + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + U + float + + + V + float + + + + GetId + Gets Marker1's Id. + java.lang.String + + Marker1 + com.google.android.gms.maps.model.Marker + + + + IsFlat + Gets the flat setting for this Marker. + boolean + + Marker1 + com.google.android.gms.maps.model.Marker + + + + GetAlpha + Gets the alpha of the marker. + float + + Marker1 + com.google.android.gms.maps.model.Marker + + + + SetFlat + Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False). + void + + Marker1 + com.google.android.gms.maps.model.Marker + + + Flat + boolean + + + + + uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras + GoogleMapsExtras + process + SnapshotReady(Bitmap1 As Bitmap) + + AnimateCamera2 + Animates the movement of the camera from the current position to the position defined in the CameraUpdate1. + Raising the CancelableCallback Cancel or Finish event on termination or completion. + Pass Null as the CancelableCallback if not required. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CameraUpdate1 + com.google.android.gms.maps.CameraUpdate + + + CancelableCallback1 + com.google.android.gms.maps.GoogleMap.CancelableCallback + + + + AnimateCamera3 + Animates the movement of the camera from the current position to the position defined in the CameraUpdate1 over the specified duration. + Raising the CancelableCallback Cancel or Finish event on termination or completion. + Pass Null as the CancelableCallback if not required. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CameraUpdate1 + com.google.android.gms.maps.CameraUpdate + + + DurationMs + int + + + CancelableCallback1 + com.google.android.gms.maps.GoogleMap.CancelableCallback + + + + AnimateCamera + Animates the movement of the camera from the current position to the position defined in the CameraUpdate1. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CameraUpdate1 + com.google.android.gms.maps.CameraUpdate + + + + SetInfoWindowAdapter + Sets a custom renderer for the contents of infowindows. + To unset the custom renderer use Null. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + InfoWindowAdapter1 + com.google.android.gms.maps.GoogleMap.InfoWindowAdapter + + + + GetMinZoomLevel + Returns the minimum zoom level. +This is the same for every location (unlike the maximum zoom level) but may vary between devices and map sizes. + float + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + SetBuildingsEnabled + Turns the 3D buildings layer on or off. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + Enabled + boolean + + + + Snapshot + Takes a snapshot of the map. + On completion raises the event SnapshotReady(Bitmap1 As Bitmap). + void + + pBA + anywheresoftware.b4a.BA + + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + EventName + java.lang.String + + + + IsTrafficEnabled + Returns whether the map is drawing traffic data. + boolean + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + IsIndoorEnabled + Returns whether indoor maps are currently enabled. + boolean + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + AddMarker + Adds a Marker to the map. + This method uses a MarkerOptions object to create a Marker. + anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + MarkerOptions1 + com.google.android.gms.maps.model.MarkerOptions + + + + SetPadding + Sets padding on the map. + This method allows you to define a visible region on the map, to signal to the map that portions of the map around the edges may be obscured, by setting padding on each of the four edges of the map. + Map functions will be adapted to the padding. + For example, the zoom controls, compass, copyright notices and Google logo will be moved to fit inside the defined region, camera movements will be relative to the center of the visible region, etc. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + Left + int + + + Top + int + + + Right + int + + + Bottom + int + + + + AddCircle + Adds a circle to the map. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Circle + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CircleOptions1 + com.google.android.gms.maps.model.CircleOptions + + + + AddGroundOverlay + + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlay + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + GroundOverlayOptions1 + com.google.android.gms.maps.model.GroundOverlayOptions + + + + StopAnimation + Stops the camera animation if there is one in progress. + When the method is called, the camera stops moving immediately and remains in that position. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + SetIndoorEnabled + Sets whether indoor maps should be enabled. + boolean + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + Enabled + boolean + + + + SetTrafficEnabled + Toggles the traffic layer on or off. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + Enabled + boolean + + + + AnimateToBounds + Adjust and animate the map center and zoom level so that it fully contains the LatLngBounds. + Padding is defined in units of pixels. + This method is deprecated, instead use the CameraUpdateFactory and CameraUpdate objects and the AnimateCamera method. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + Padding + int + + + + SetOnInfoWindowClickListener + Sets a callback that's invoked when an infowindow is clicked. + To unset the callback use Null. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnInfoWindowClickListener1 + com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener + + + + SetOnMarkerDragListener + Sets a callback that's invoked when a marker is dragged. + To unset the callback use Null. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnMarkerDragListener1 + com.google.android.gms.maps.GoogleMap.OnMarkerDragListener + + + + AddPolygon + Adds a polygon to the map. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + PolygonOptions1 + com.google.android.gms.maps.model.PolygonOptions + + + + GetProjection + Returns a Projection object that you can use to convert between screen coordinates and latitude/longitude coordinates. + uk.co.martinpearman.b4a.com.google.android.gms.maps.Projection + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + MoveCamera + Moves the camera from the current position to the position defined in the CameraUpdate1. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + CameraUpdate1 + com.google.android.gms.maps.CameraUpdate + + + + AddTileOverlay + Adds a tile overlay to the map. + uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlay + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + TileOverlayOptions1 + com.google.android.gms.maps.model.TileOverlayOptions + + + + SetOnMapLoadedCallback + Sets a callback that's invoked when the map has finished rendering. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnMapLoadedCallback1 + com.google.android.gms.maps.GoogleMap.OnMapLoadedCallback + + + + SetOnMyLocationButtonClickListener + Sets a callback that's invoked when the my location button is clicked. + If the listener returns true, the event is consumed and the default behavior will not occur. + If it returns false, the default behavior will occur (i.e. The camera moves such that it is centered on the user location). + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnMyLocationButtonClickListener + com.google.android.gms.maps.GoogleMap.OnMyLocationButtonClickListener + + + + GetMaxZoomLevel + Returns the maximum zoom level for the current camera position. +This takes into account what map type is currently being used, e.g., satellite or terrain may have a lower max zoom level than the base map tiles. + float + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + + SetOnMyLocationChangeListener + Sets a callback that's invoked when the my location dot changes location. + To unset the callback use Null. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + OnMyLocationChangeListener1 + com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener + + + + AnimateToBounds2 + Adjust and animate the map center and zoom level so that it fully contains the LatLngBounds. + Padding is defined in units of pixels. + Width and Height should define the dimensions of the GoogleMap. + This method is deprecated, instead use the CameraUpdateFactory and CameraUpdate objects and the AnimateCamera method. + void + + GoogleMap1 + com.google.android.gms.maps.GoogleMap + + + LatLngBounds1 + com.google.android.gms.maps.model.LatLngBounds + + + Width + int + + + Height + int + + + Padding + int + + + + 1.8 + GoogleMapsExtras is an ongoing project to implement more of the Google Maps Android v2 classes in Basic4Android. + Martin Pearman + diff --git a/B4J/NHCalculateHASH.jar b/B4J/NHCalculateHASH.jar new file mode 100644 index 0000000..c4847d8 Binary files /dev/null and b/B4J/NHCalculateHASH.jar differ diff --git a/B4J/NHCalculateHASH.xml b/B4J/NHCalculateHASH.xml new file mode 100644 index 0000000..97e1839 --- /dev/null +++ b/B4J/NHCalculateHASH.xml @@ -0,0 +1,111 @@ + + + 1.00 + 9.80 + javaobject + jcore + jfx + jxui + byteconverter + json + + b4j.example.calculatehash + CalculateHash + + IsInitialized + Tests whether the object has been initialized. + boolean + + + _v6 + String + + bByteArray + byte[] + + + + _v7 + String + + AnythingWillBeConvertedToStringToCalculateHASHCanBeBASE64String + String + + + + _v0 + <code> +Dim clCH as CalculateHash +clCH.Initialize +Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.", clCH.MD5)) +Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.", clCH.SHA256)) +Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.", clCH.SHA1)) +</code> + + String + + AnythingWillBeConvertedToStringToCalculateHASHCanBeBASE64String + String + + + Algorithm + String + + + + _vv1 + <code> +Dim clCH as CalculateHash +clCH.Initialize +Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.".GetBytes("UTF-8"), clCH.MD5)) +Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.".GetBytes("UTF-8"), clCH.SHA256)) +Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.".GetBytes("UTF-8"), clCH.SHA1)) +</code> + + String + + bytearray + byte[] + + + Algorithm + String + + + + _getvv5 + String + + + _getvv6 + String + + + _getvv7 + String + + + _initialize + Initializes the object. You can add parameters to this method if needed. + + String + + ba + anywheresoftware.b4a.BA + + + + _vv5 + String + + + _vv6 + String + + + _vv7 + String + + + 1 + \ No newline at end of file diff --git a/B4J/SD_xComboBox.b4xlib b/B4J/SD_xComboBox.b4xlib new file mode 100644 index 0000000..1a5ed44 Binary files /dev/null and b/B4J/SD_xComboBox.b4xlib differ diff --git a/B4J/WobbleMenu.b4xlib b/B4J/WobbleMenu.b4xlib new file mode 100644 index 0000000..30988db Binary files /dev/null and b/B4J/WobbleMenu.b4xlib differ diff --git a/B4J/WobbleMenu.b4xlib.bak b/B4J/WobbleMenu.b4xlib.bak new file mode 100644 index 0000000..91f2166 Binary files /dev/null and b/B4J/WobbleMenu.b4xlib.bak differ diff --git a/B4J/android-support-annotations.jar b/B4J/android-support-annotations.jar new file mode 100644 index 0000000..0009027 Binary files /dev/null and b/B4J/android-support-annotations.jar differ diff --git a/B4J/android-support-v4.jar b/B4J/android-support-v4.jar new file mode 100644 index 0000000..1780ad3 Binary files /dev/null and b/B4J/android-support-v4.jar differ diff --git a/B4J/jBuilderUtils.jar b/B4J/jBuilderUtils.jar new file mode 100644 index 0000000..249cc19 Binary files /dev/null and b/B4J/jBuilderUtils.jar differ diff --git a/B4J/jBuilderUtils.xml b/B4J/jBuilderUtils.xml new file mode 100644 index 0000000..5eb2b54 --- /dev/null +++ b/B4J/jBuilderUtils.xml @@ -0,0 +1,72 @@ + + + 1.04 + + anywheresoftware.b4j.ReadWriteLockWrapper + ReadWriteLock + java.util.concurrent.locks.ReentrantReadWriteLock + process + + Initialize + + void + + + ReadRelease + + void + + + WriteRelease + + void + + + ReadLock + + void + + + WriteLock + + void + + + IsInitialized + + boolean + + + + anywheresoftware.b4j.ReadWriteLockWrapper.AtomicIntegerWrapper + AtomicInteger + java.util.concurrent.atomic.AtomicInteger + process + + Initialize + + void + + + Value + + int + + + Decrement + + int + + + Increment + + int + + + IsInitialized + + boolean + + + 1.0 + diff --git a/B4J/jExcel.jar b/B4J/jExcel.jar new file mode 100644 index 0000000..a1b0255 Binary files /dev/null and b/B4J/jExcel.jar differ diff --git a/B4J/jExcel.xml b/B4J/jExcel.xml new file mode 100644 index 0000000..c5b82e3 --- /dev/null +++ b/B4J/jExcel.xml @@ -0,0 +1,963 @@ + + + 1.04 + + anywheresoftware.b4a.objects.WorkbookWrapper + ReadableWorkbook + This library wraps the open source jexcel project. It allows reading and writing Microsoft Excel files. +See the tutorial in the forum for more information. + jxl.Workbook + process + Ready (Success As Boolean) + + Initialize + Opens the given workbook in read-only mode. + void + + Dir + java.lang.String + + + FileName + java.lang.String + + + + Close + Closes the workbook. + void + + + InitializeAsync + Opens the file asynchronously. The Ready event will be raised when the workbook is ready. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + Dir + java.lang.String + + + FileName + java.lang.String + + + + GetSheet + Gets the sheet at the specified index (first sheet is at index 0). + anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.SheetWrapper + + Index + int + + + + IsInitialized + + boolean + + + GetSheetNames + Returns an array with the sheets names. + java.lang.String[] + + + NumberOfSheets + int + Returns the number of sheets. + + + Encoding + Gets or sets the encoding. Must be set before Initialize is called. + java.lang.String + + + + anywheresoftware.b4a.objects.WorkbookWrapper.WritableWorkbookWrapper + WritableWorkbook + jxl.write.WritableWorkbook + process + + Initialize + Initializes the output file. <b>The output file will be deleted if it already exists.</b> + void + + Dir + java.lang.String + + + FileName + java.lang.String + + + + Close + Closes the workbook. + void + + + Write + Writes the data to the disk. + void + + + GetSheet + Gets the sheet at the specified index (first sheet is at index 0). + anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableSheetWrapper + + Index + int + + + + RemoveSheet + Removes the sheet at the given index. + void + + Index + int + + + + AddSheet + Adds a new sheet with the given name and at the specific index. + anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableSheetWrapper + + Name + java.lang.String + + + Index + int + + + + Initialize2 + Initializes the output file and creates a copy of the given workbook. +<b>The output file will be deleted if it already exists.</b> + void + + Dir + java.lang.String + + + FileName + java.lang.String + + + Workbook + jxl.Workbook + + + + IsInitialized + + boolean + + + GetSheetNames + Returns an array with the sheets names. + java.lang.String[] + + + NumberOfSheets + int + Returns the number of sheets. + + + Encoding + Gets or sets the encoding. Must be set before Initialize is called. + java.lang.String + + + + anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.SheetWrapper + ReadableSheet + jxl.Sheet + process + ValuesAvailable (Success As Boolean, Rows As List) + + GetAllAsync + Asynchronously retrieves all the values in the sheet. +The ValuesAvailable event is raised when the data is ready with a List that holds the data. +Each item in the list is an array of strings that represents a single row. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + GetCellValue + Returns the string value of the cell at the given column and row. +(0, 0) is equivalent to A0. +(0, 1) is equivalent to A1. +(1, 0) is equivalent to B0. + java.lang.String + + Col + int + + + Row + int + + + + IsInitialized + + boolean + + + Name + java.lang.String + Gets the sheet's name. + + + RowsCount + int + Returns the number of rows. + + + ColumnsCount + int + Returns the number of columns. + + + + anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableSheetWrapper + WritableSheet + jxl.write.WritableSheet + process + ValuesAvailable (Success As Boolean, Rows As List) + + GetAllAsync + Asynchronously retrieves all the values in the sheet. +The ValuesAvailable event is raised when the data is ready with a List that holds the data. +Each item in the list is an array of strings that represents a single row. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + + SetRowHeight + + void + + Row + int + + + Height + float + + + + AddCell + Adds a new cell to the sheet. + void + + Cell + jxl.write.WritableCell + + + + SetColumnWidth + + void + + Col + int + + + Width + int + + + + GetCellValue + Returns the string value of the cell at the given column and row. +(0, 0) is equivalent to A0. +(0, 1) is equivalent to A1. +(1, 0) is equivalent to B0. + java.lang.String + + Col + int + + + Row + int + + + + IsInitialized + + boolean + + + Name + java.lang.String + + v + java.lang.String + + Gets the sheet's name. + + + RowsCount + int + Returns the number of rows. + + + ColumnsCount + int + Returns the number of columns. + + + + anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableCellWrapper + WritableCell + jxl.write.WritableCell + process + + InitializeFormula + Creates a new WritableCell in the given coordinates and formula. +Call WritableSheet.AddCell to add it to the sheet. +<code> +cell.InitializeFormula(0, 1, "34 + 34") +sheet1.AddCell(cell)</code> + void + + Col + int + + + Row + int + + + Formula + java.lang.String + + + + InitializeNumber + Creates a new WritableCell in the given coordinates and number value. +Call WritableSheet.AddCell to add it to the sheet. + void + + Col + int + + + Row + int + + + Value + double + + + + SetCellFormat + Sets the cell format. Note that you can use the same WritableCellFormat for multiple cells. + void + + CellFormat + anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableCellFormatWrapper + + + + InitializeText + Creates a new WritableCell in the given coordinates and text value. +Call WritableSheet.AddCell to add it to the sheet. + void + + Col + int + + + Row + int + + + Value + java.lang.String + + + + IsInitialized + + boolean + + + + anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableCellFormatWrapper + WritableCellFormat + jxl.write.WritableCellFormat + process + + Initialize + Creates a new WritableCellFormat with the default settings. + void + + + SetBorder + Sets the cell's border. +Border - One of the BORDER constants. +Style - One of the BORDER_STYLE constants. +BorderColor - One of the COLOR constants. + void + + Border + jxl.format.Border + + + Style + jxl.format.BorderLineStyle + + + BorderColor + jxl.format.Colour + + + + Initialize2 + Creates a new WritableCellFormat with the specified font style. +Font - One of the FONT constants. +FontSize - Default value is 10. +Bold - Whether the text should be bold. +Underline - Whether the text should be underlined. +Italic - Whether the text style should be italic. +FontColor - One of the COLOR constants. + void + + Font + jxl.write.WritableFont.FontName + + + FontSize + int + + + Bold + boolean + + + Underline + boolean + + + Italic + boolean + + + FontColor + jxl.format.Colour + + + + IsInitialized + + boolean + + + HorizontalAlignment + + v + jxl.format.Alignment + + Sets the cell's horizontal alignment. The value should be one of the HALIGN constants. + + + BackgroundColor + + Clr + jxl.format.Colour + + Sets the cell's background color. The color should be one of the COLOR constants. + + + VertivalAlignment + + v + jxl.format.VerticalAlignment + + Sets the cell's vertical alignment. The value should be one of the VALIGN constants. + + + COLOR_CORAL + + jxl.format.Colour + + + COLOR_TEAL2 + + jxl.format.Colour + + + COLOR_LIGHT_TURQUOISE + + jxl.format.Colour + + + COLOR_TURQUOISE + + jxl.format.Colour + + + BORDER_STYLE_DOUBLE + + jxl.format.BorderLineStyle + + + FONT_ARIAL + + jxl.write.WritableFont.FontName + + + COLOR_TEAL + + jxl.format.Colour + + + COLOR_UNKNOWN + + jxl.format.Colour + + + BORDER_STYLE_DASH_DOT + + jxl.format.BorderLineStyle + + + COLOR_BLUE + + jxl.format.Colour + + + COLOR_ROSE + + jxl.format.Colour + + + COLOR_BLUE_GREY + + jxl.format.Colour + + + COLOR_BLUE2 + + jxl.format.Colour + + + COLOR_DARK_BLUE2 + + jxl.format.Colour + + + COLOR_ORANGE + + jxl.format.Colour + + + BORDER_BOTTOM + + jxl.format.Border + + + BORDER_STYLE_THIN + + jxl.format.BorderLineStyle + + + COLOR_DARK_TEAL + + jxl.format.Colour + + + COLOR_DARK_BLUE + + jxl.format.Colour + + + FONT_TIMES + + jxl.write.WritableFont.FontName + + + COLOR_IVORY + + jxl.format.Colour + + + COLOR_PINK2 + + jxl.format.Colour + + + COLOR_BRIGHT_GREEN + + jxl.format.Colour + + + COLOR_SEA_GREEN + + jxl.format.Colour + + + COLOR_PINK + + jxl.format.Colour + + + COLOR_AUTOMATIC + + jxl.format.Colour + + + COLOR_GREY_50_PERCENT + + jxl.format.Colour + + + FONT_TAHOMA + + jxl.write.WritableFont.FontName + + + BORDER_STYLE_MEDIUM_DASHED + + jxl.format.BorderLineStyle + + + COLOR_GREEN + + jxl.format.Colour + + + COLOR_BLACK + + jxl.format.Colour + + + COLOR_TAN + + jxl.format.Colour + + + BORDER_STYLE_MEDIUM + + jxl.format.BorderLineStyle + + + VALIGN_JUSTIFY + + jxl.format.VerticalAlignment + + + VALIGN_TOP + + jxl.format.VerticalAlignment + + + HALIGN_RIGHT + + jxl.format.Alignment + + + COLOR_LAVENDER + + jxl.format.Colour + + + HALIGN_GENERAL + + jxl.format.Alignment + + + BORDER_STYLE_DASHED + + jxl.format.BorderLineStyle + + + VALIGN_CENTRE + + jxl.format.VerticalAlignment + + + BORDER_STYLE_THICK + + jxl.format.BorderLineStyle + + + BORDER_STYLE_DASH_DOT_DOT + + jxl.format.BorderLineStyle + + + COLOR_ICE_BLUE + + jxl.format.Colour + + + BORDER_STYLE_SLANTED_DASH_DOT + + jxl.format.BorderLineStyle + + + COLOR_LIME + + jxl.format.Colour + + + COLOR_PLUM + + jxl.format.Colour + + + COLOR_AQUA + + jxl.format.Colour + + + COLOR_LIGHT_ORANGE + + jxl.format.Colour + + + COLOR_GREY_25_PERCENT + + jxl.format.Colour + + + COLOR_VERY_LIGHT_YELLOW + + jxl.format.Colour + + + COLOR_GOLD + + jxl.format.Colour + + + HALIGN_JUSTIFY + + jxl.format.Alignment + + + BORDER_TOP + + jxl.format.Border + + + COLOR_BROWN + + jxl.format.Colour + + + COLOR_TURQOISE2 + + jxl.format.Colour + + + COLOR_OLIVE_GREEN + + jxl.format.Colour + + + COLOR_WHITE + + jxl.format.Colour + + + BORDER_LEFT + + jxl.format.Border + + + BORDER_STYLE_NONE + + jxl.format.BorderLineStyle + + + BORDER_RIGHT + + jxl.format.Border + + + COLOR_PALE_BLUE + + jxl.format.Colour + + + COLOR_DARK_YELLOW + + jxl.format.Colour + + + COLOR_DARK_GREEN + + jxl.format.Colour + + + COLOR_DARK_RED + + jxl.format.Colour + + + BORDER_STYLE_MEDIUM_DASH_DOT_DOT + + jxl.format.BorderLineStyle + + + COLOR_PLUM2 + + jxl.format.Colour + + + COLOR_YELLOW2 + + jxl.format.Colour + + + COLOR_VIOLET + + jxl.format.Colour + + + COLOR_GREY_80_PERCENT + + jxl.format.Colour + + + COLOR_OCEAN_BLUE + + jxl.format.Colour + + + BORDER_NONE + + jxl.format.Border + + + VALIGN_BOTTOM + + jxl.format.VerticalAlignment + + + HALIGN_LEFT + + jxl.format.Alignment + + + COLOR_SKY_BLUE + + jxl.format.Colour + + + HALIGN_FILL + + jxl.format.Alignment + + + HALIGN_CENTRE + + jxl.format.Alignment + + + COLOR_VIOLET2 + + jxl.format.Colour + + + COLOR_INDIGO + + jxl.format.Colour + + + COLOR_LIGHT_TURQUOISE2 + + jxl.format.Colour + + + COLOR_GREY_40_PERCENT + + jxl.format.Colour + + + COLOR_DARK_PURPLE + + jxl.format.Colour + + + COLOR_RED + + jxl.format.Colour + + + FONT_COURIER + + jxl.write.WritableFont.FontName + + + COLOR_LIGHT_GREEN + + jxl.format.Colour + + + BORDER_STYLE_DOTTED + + jxl.format.BorderLineStyle + + + COLOR_LIGHT_BLUE + + jxl.format.Colour + + + COLOR_DARK_RED2 + + jxl.format.Colour + + + BORDER_ALL + + jxl.format.Border + + + BORDER_STYLE_HAIR + + jxl.format.BorderLineStyle + + + BORDER_STYLE_MEDIUM_DASH_DOT + + jxl.format.BorderLineStyle + + + COLOR_PERIWINKLE + + jxl.format.Colour + + + 1.0 + jxl + diff --git a/B4J/jGoogleMaps.jar b/B4J/jGoogleMaps.jar new file mode 100644 index 0000000..2be2535 Binary files /dev/null and b/B4J/jGoogleMaps.jar differ diff --git a/B4J/jGoogleMaps.xml b/B4J/jGoogleMaps.xml new file mode 100644 index 0000000..06a9c1f --- /dev/null +++ b/B4J/jGoogleMaps.xml @@ -0,0 +1,664 @@ + + + 1.07 + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper + GoogleMap + Uses GoogleMap JavaScript V3 API to show a map inside WebView. +GoogleMap.AsPane returns a Pane which should be added to the nodes tree. +The map is only ready after Ready event is raised. + process + Ready + CameraChange (Position As CameraPosition) + Click (Point As LatLng) + CircleClick (SelectedCircle As MapCircle) + MarkerClick (SelectedMarker As Marker) + PolygonClick (SelectedPolygon As MapPolygon) + PolylineClick (SelectedPolyline As MapPolyline) + + AddMarker2 + Adds a marker to the map with a custom icon. +The IconUri must point to an online image or an image from the assets folder. +<b>In the later case the custom icon will only appear in Release mode.</b> +Example: <code> + gmap.AddMarker2(10, 10, "This is a test", _ + File.GetUri(File.DirAssets, "SomeIcon.png"))</code> + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper + + Lat + double + + + Lon + double + + + Title + java.lang.String + + + IconUri + java.lang.String + + + + AddInfoWindow2 + Opens an info window with the given HTML content at the specified position. It cannot be larger than MaxWidth (in pixels). + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper + + Content + java.lang.String + + + Position + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + + MaxWidth + int + + + + AddPolygon + Adds a polygon to the map. +Points - A list or array of LatLng points. +StrokeWidth - Stroke width. +StrokeColor - Stroke color. +FillColor - Inner color. +Opacity - Inner color opacity. Value between 0 to 1. + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolygonWrapper + + Points + anywheresoftware.b4a.objects.collections.List + + + StrokeWidth + float + + + StrokeColor + javafx.scene.paint.Paint + + + FillColor + javafx.scene.paint.Paint + + + Opacity + double + + + + MoveCamera2 + Moves the camera position. + void + + NewPosition + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + + + AddCircle + Adds a circle to the map. +Center - Position of the circle center. +Radius - Circle radius. +StrokeWidth - Stroke width. +StrokeColor - Stroke color. +FillColor - Inner color. +Opacity - Inner color opacity. Value between 0 to 1. + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CircleWrapper + + Center + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + + Radius + double + + + StrokeWidth + float + + + StrokeColor + javafx.scene.paint.Paint + + + FillColor + javafx.scene.paint.Paint + + + Opacity + double + + + + AddInfoWindow + Opens an info window with the given HTML content at the specified position. + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper + + Content + java.lang.String + + + Position + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + + + Initialize + Initializes the map. The Ready event will be raised when the map is ready. +EventName - Sets the subs that will handle the events. +Options - MapOptions object. Pass Null for the default options. + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + Options + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MapOptionsWrapper + + + + AddMarker + Adds a marker to the map. + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper + + Lat + double + + + Lon + double + + + Title + java.lang.String + + + + IsReady + Returns True when the map is ready. + boolean + + + RemoveCircle + Removes the specified circle from the map. + void + + Circle + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CircleWrapper + + + + FitBounds + Moves the map to ensure the given bounds fit within the viewport. +Note that the Google Maps API will add a margin around these bounds. + void + + bounds + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper + + + + PanToBounds + Pans the map by the minimum amount necessary to contain the given LatLongBounds. It makes no guarantee where on the map the bounds will be, except that as much of the bounds as possible will be visible. + void + + bounds + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper + + + + AddPolyline + Adds a polyline to the map. +Points - A list or array of LatLng points. +Width - Line width. +Color - Line color. + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolylineWrapper + + Points + anywheresoftware.b4a.objects.collections.List + + + Width + float + + + Color + javafx.scene.paint.Paint + + + + Initialize2 + Similar to Initialize. Allows setting the <link>api key|https://developers.google.com/maps/documentation/javascript/get-api-key#key</link>. +Example: <code>map.Initialize2("map", Null, "AIzattttttt_tttttttthGujrM")</code> + void + + ba + anywheresoftware.b4a.BA + + + EventName + java.lang.String + + + Options + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MapOptionsWrapper + + + ApiKey + java.lang.String + + + + MoveCamera + Moves the camera position. + void + + NewPosition + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CameraPositionWrapper + + + + AddInfoWindowToMarker + Opens an info window with the given HTML content above the specified marker. + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper + + Content + java.lang.String + + + Marker + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper + + + + RemovePolygon + Removes the specified polygon from the map. + void + + Polygon + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolygonWrapper + + + + RemoveMarker + Removes the specified marker from the map. + void + + Marker + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper + + + + CloseInfoWindow + Closes the specified info window. + void + + InfoWindow + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper + + + + RemovePolyline + Removes the specified polyline from the map. + void + + Polyline + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolylineWrapper + + + + CameraPosition + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CameraPositionWrapper + Returns the current camera position. + + + Bounds + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper + Returns the LatLongBounds of the visual area. It is recommended to read Bounds only inside the CameraChange event because its values may be incorrect otherwise. + + + Zoom + + zoom + int + + Sets the zoom level. + + + MapType + + v + java.lang.Object + + Sets the map type. The value should be one of the MAP_TYPE constants. + + + AsPane + anywheresoftware.b4j.objects.PaneWrapper.ConcretePaneWrapper + Returns the pane that holds the map. + + + MAP_TYPE_SATELLITE + + com.lynden.gmapsfx.javascript.object.MapTypeIdEnum + + + MAP_TYPE_NORMAL + + com.lynden.gmapsfx.javascript.object.MapTypeIdEnum + + + MAP_TYPE_HYBRID + + com.lynden.gmapsfx.javascript.object.MapTypeIdEnum + + + MAP_TYPE_TERRAIN + + com.lynden.gmapsfx.javascript.object.MapTypeIdEnum + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MapOptionsWrapper + MapOptions + MapOptions is passed to GoogleMap.Initialize method. +It allows you to choose which controls will be available. + process + + ScrollWheel + + boolean + + + ZoomControl + + boolean + + + PanControl + + boolean + + + OverviewMapControl + + boolean + + + StreetViewControl + + boolean + + + MapTypeControl + + boolean + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + LatLng + Holds latitude and longitude values. + com.lynden.gmapsfx.javascript.object.LatLong + process + + IsInitialized + + boolean + + + Initialize + Initializes a new object. + void + + Latitude + double + + + Longitude + double + + + + Latitude + double + Returns the latitude value. + + + Longitude + double + Returns the longitude value. + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CameraPositionWrapper + CameraPosition + The map view is modeled as a camera looking down on a flat plane. +See this <link>link|https://developers.google.com/maps/documentation/android/views#the_camera_position</link> for more information about the possible values. + process + + toString + + java.lang.String + + + Initialize + Initializes the camera position with the given latitude, longitude and zoom. + void + + Lat + double + + + Lng + double + + + Zoom + int + + + + Target + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + Returns the location that the camera is pointing at. + + + Zoom + float + Returns the zoom level. + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper + LatLongBounds + com.lynden.gmapsfx.javascript.object.LatLongBounds + process + + IsInitialized + + boolean + + + Initialize + + void + + NorthEast + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + + SouthWest + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + + + SouthWest + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + + + NorthEast + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper + Marker + com.lynden.gmapsfx.javascript.object.Marker + process + + IsInitialized + + boolean + + + Position + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + value + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + Get or sets the marker position. + + + Visible + boolean + + v + boolean + + Gets or sets whether the marker is visible. + + + Title + + v + java.lang.String + + Sets the marker title. + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper + MapInfoWindow + com.lynden.gmapsfx.javascript.object.InfoWindow + process + + IsInitialized + + boolean + + + Position + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + Position + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + Gets or sets the position of this info window. + + + Content + java.lang.String + + Content + java.lang.String + + Gets or sets the HTML content of this info window. + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolylineWrapper + MapPolyline + com.lynden.gmapsfx.shapes.Polyline + process + + IsInitialized + + boolean + + + Visible + boolean + + v + boolean + + Gets or sets whether this polyline is visible. + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolygonWrapper + MapPolygon + com.lynden.gmapsfx.shapes.Polygon + process + + IsInitialized + + boolean + + + Visible + boolean + + v + boolean + + Gets or sets whether this polygon is visible. + + + + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CircleWrapper + MapCircle + com.lynden.gmapsfx.shapes.Circle + process + + IsInitialized + + boolean + + + Radius + double + + Radius + double + + Gets or sets the circle radius. + + + Center + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + Center + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper + + Gets or sets the circle center. + + + Bounds + anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper + Gets the circle bounds. + + + Visible + boolean + + v + boolean + + Gets or sets whether this circle is visible. + + + 2.0 + diff --git a/B4J/jScriptEngine.jar b/B4J/jScriptEngine.jar new file mode 100644 index 0000000..010a488 Binary files /dev/null and b/B4J/jScriptEngine.jar differ diff --git a/B4J/jScriptEngine.xml b/B4J/jScriptEngine.xml new file mode 100644 index 0000000..f922f92 --- /dev/null +++ b/B4J/jScriptEngine.xml @@ -0,0 +1,51 @@ + + + 1.02 + + jScriptEngine.jScriptEngine + jScriptEngine + process + + enginePut + + void + + a + java.lang.String + + + b + java.lang.Object + + + + engineGet + + java.lang.Object + + a + java.lang.String + + + + evalFile + + java.lang.String + + fileAndPath + java.lang.String + + + + evalString + + java.lang.String + + s + java.lang.String + + + + 1.0 + Daestrum + diff --git a/B4J/jxl.jar b/B4J/jxl.jar new file mode 100644 index 0000000..4a1fc64 Binary files /dev/null and b/B4J/jxl.jar differ diff --git a/B4J/mysql-connector-java-5.1.47-bin.jar b/B4J/mysql-connector-java-5.1.47-bin.jar new file mode 100644 index 0000000..fb25d64 Binary files /dev/null and b/B4J/mysql-connector-java-5.1.47-bin.jar differ diff --git a/B4J/mysql-connector-java-8.0.21.jar b/B4J/mysql-connector-java-8.0.21.jar new file mode 100644 index 0000000..51e270c Binary files /dev/null and b/B4J/mysql-connector-java-8.0.21.jar differ diff --git a/B4J/mysql-connector-java-8.0.26.jar b/B4J/mysql-connector-java-8.0.26.jar new file mode 100644 index 0000000..c5c07f6 Binary files /dev/null and b/B4J/mysql-connector-java-8.0.26.jar differ diff --git a/B4J/mysql-connector-java-8.0.27.jar b/B4J/mysql-connector-java-8.0.27.jar new file mode 100644 index 0000000..683ac26 Binary files /dev/null and b/B4J/mysql-connector-java-8.0.27.jar differ diff --git a/B4J/ojdbc5.jar b/B4J/ojdbc5.jar new file mode 100644 index 0000000..13d7feb Binary files /dev/null and b/B4J/ojdbc5.jar differ diff --git a/B4J/ojdbc6.jar b/B4J/ojdbc6.jar new file mode 100644 index 0000000..8240f40 Binary files /dev/null and b/B4J/ojdbc6.jar differ diff --git a/B4J/ojdbc8.jar b/B4J/ojdbc8.jar new file mode 100644 index 0000000..2ebb05e Binary files /dev/null and b/B4J/ojdbc8.jar differ diff --git a/B4J/postgresql-42.2.27.jre6.jar b/B4J/postgresql-42.2.27.jre6.jar new file mode 100644 index 0000000..38a168f Binary files /dev/null and b/B4J/postgresql-42.2.27.jre6.jar differ diff --git a/B4J/postgresql-42.2.27.jre7.jar b/B4J/postgresql-42.2.27.jre7.jar new file mode 100644 index 0000000..c4c4591 Binary files /dev/null and b/B4J/postgresql-42.2.27.jre7.jar differ diff --git a/B4J/postgresql-42.7.0.jar b/B4J/postgresql-42.7.0.jar new file mode 100644 index 0000000..87af579 Binary files /dev/null and b/B4J/postgresql-42.7.0.jar differ diff --git a/B4J/postgresql-9.2-1003-jdbc4.jar b/B4J/postgresql-9.2-1003-jdbc4.jar new file mode 100644 index 0000000..34b2b93 Binary files /dev/null and b/B4J/postgresql-9.2-1003-jdbc4.jar differ diff --git a/B4J/sqlite-jdbc-3.44.1.0.jar b/B4J/sqlite-jdbc-3.44.1.0.jar new file mode 100644 index 0000000..46024e8 Binary files /dev/null and b/B4J/sqlite-jdbc-3.44.1.0.jar differ diff --git a/B4J/sqlite-jdbc-3.7.2.jar b/B4J/sqlite-jdbc-3.7.2.jar new file mode 100644 index 0000000..2030ea0 Binary files /dev/null and b/B4J/sqlite-jdbc-3.7.2.jar differ diff --git a/Base64EncodeDecodeImage.b4xlib b/Base64EncodeDecodeImage.b4xlib new file mode 100644 index 0000000..81caa89 Binary files /dev/null and b/Base64EncodeDecodeImage.b4xlib differ