question

robin avatar image
robin asked

Overflow menu icon on soft key bar - Html5 hybrid app

I wish to duplicate the soft key bar overflow menu functionality of the WebAppTester in order to allow maximum viewable screen dimensions with a hidden action bar. In order to submit a hybrid app, one must support the Amazon WebView, not Android WebView This by design requires SDK API level 17 "Note: To support Amazon WebView you must install the API level 17 SDK package." [1] The documentation states not to do this for SDK version 14 or later, yet clearly the WebAppTester ver 2 is able to perform this task as the Amazon WebView functions using SDK API level 17, which is a more recent release or later. "You can show the overflow menu on the soft key bar if the targetSdkVersion is 13 or earlier" uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" "Warning: Do not set the value for android.targetSdkVersion to 14 or later and apply a theme with NoTitleBar. If you do this, on some devices the user may not be able to access the overflow menu because the menu button is not visible, as illustrated below." [2] Even more confusing is the current API level of the KF HD7 I'm testing on KF HD7 - Based on Android 4.0.3, API level 15 [3] as level 15 occurs later, e.g. more recent than level 14, as is confusing the requirement to start at level 17 to support the Amazon WebView for hybrid apps. Since the warning indicates not to set the value after 14, e.g. 15-16-17 is later than 14 as the API 15 release is more recent (later than) than the older (earlier) API level 14 release, implies only KF 1st gen devices are capable per [3] as KF 2nd gen devices started with Android 4.x Android menus [4][5] Android 3.0 (API level 11) [5] uses-sdk manifest attributes [6] So, how does one code for all versions of Kindle 2nd gen and newer, e.g. KF HD 7 and more recent 3rd gen releases, using the required SDK API level 17 to prevent the action bar from being seen, but allow the overflow icon to appear on the soft key menu as the current ver 2 WebAppTester does? Is this specific to Kindle devices only [e.g. the soft key menu seems Kindle specific and the action bar all Android devices] and other Android devices may differ? Note: Am primarily a Html5 developer, so will need reference links to Java-Android code to support the response. Thank you Runtime version 2.0 Web App Tester build: 1.0.40.3 15 Apr 2014 08:37 The Android developer site consistently uses higher rather than earlier, which to me is more intuitive and less ambiguous as a higher value implies more recent and not that of an earlier older lower value reference. Robin [1] https://developer.amazon.com/sdk/fire/IntegratingAWV.html [2] https://developer.amazon.com/appsandservices/solutions/devices/kindle-fire/app-development/03--soft-key-bar [3] https://developer.amazon.com/public/solutions/devices/kindle-fire/specifications/01-device-and-feature-specifications [4] http://developer.android.com/guide/topics/ui/menus.html [5] http://developer.android.com/guide/topics/ui/menus.html#options-menu [6] http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
web apps
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Robin, Thank you for posting. I am checking with concerned team about this issue. I will get back to you on this shortly.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Robin, In your post I see - "In order to submit a hybrid app, one must support the Amazon WebView, not Android WebView" This is not quite true, you can use Android Web View as well in a hybrid app.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.