Important information for buyers!
- Responding to questions or problems regarding the item and its features
- Fixing bugs and reported issues
- Customization and installation services
- Support for third party software and plug-ins
Important information for buyers!
What tools do I need in order to customize / edit the product?
You need Android Studio. You can download it from here
Ho does it works?
It uses the Android’s Webview component to display your website.
What kind of website can be integrated with this application?
Do I need programing skills to customize the code?
No, you can customize the code very easy without any programing skills. You just need to follow our detailed guide.
What kind of website do I need to have to use the product?
You can use the product with all kind of websites (Static, Wordpress, Joomla, Magento, Prestashop, OpenCart and etc.).
How can I change application’s name?
Open your project in Eclipse and open to edit the following file:
After that find the following line:
Just change the “WebViewSplash” with desired name.
Is there a limit for the scrollable tabs?
No there is no limit. The area for the tabs is scrollable so you can put there as many as you need.
Should I have a “Responsive” website to use the product?
It is recommended to have “a Responsive” website if you want to left good user experiece to your customers, but of course it’s not mandatory so you can display every single website in our application.
Is there a way to keep the scrollable tabs visible at start?
If you want the tabs’ menu to be visible at start add these two lines of code (in WebViewActivity.java file):
scroller = (View) findViewById(R.id.scroller);
How can I remove the tabs?
Open WebViewActivity.java file and find the following line of code:
After that just comment this line with // in front of the initSlider(); Example: //initSlider();
How to change the package name, to my own?
Check the following reply: http://stackoverflow.com/a/29092698
Prevent the webview to reload the page when you change the phone’s orientation.
Replace the following line >
in AndroidManifest.xml file > in android:name=”.WebViewActivity” activity with the following code >
How to prevent the app to be on the fullscreen?
<activity android:name=".WebViewActivity" android:configChanges="orientation|screenLayout" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
Remove the last line (android:theme=”@android:style/Theme.NoTitleBar.Fullscreen”) and the webview will not be on fullscreen and you will have Notifications Bar.
How to export certified apk file for Google Play Store?
Please read the official documentation provided by Google: http://developer.android.com/tools/publishing/app-signing.html
How to disable ZOOM?
To disable pinch to zoom. Open the WebViewActivity.java and put after:line 198
(webviewProgress = (ProgressBar) findViewById(R.id.webview_progress) ; )this:
webview.getSettings().setSupportZoom(false);Regards, dmb TEAM
How to remove/disable the Loading Animation?
Open the MyProgressDialog.java file and go to line 87, where you will find the following code snippert:
You just have to comment this line by adding double slash // before the code:
Save the file and you are ready.
How to move AdMob to the bottom?
Open WebViewActivity.java and find the following line of code:
Modify this line to the following:
How can I enable cookies?
Open WebviewActivity.java and add the following line
Can I controll the time of displaying the Splash Screen?
Yes you can control that time. Please open the SplashScreenActivity.java and find the following line:
Change the 4000 number with the desired delay. This value is in milliseconds.
How Can I disable the Ads?
You can control the ads in WebviewActivity.java, where you have a constant, which can be set to true or false:
// -------------------AdMob configuration ------------------- /** * Boolean flag for enable/disable AdMob funtionality */ private static boolean isAdmobEnable = true;
Just set this variable IsAdmobEnable to false and you will disable the ads.
The app doesn’t display my website’s mobile version, how to fix this?
Please try the following:
1) Open WebViewActivity.java and find the following line:
2) Replace that line with the following code snippet:
webview.getSettings().setUserAgentString("Mozilla/5.0 (Linux; Android 4.4; Nexus 4 Build/KRT16H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/220.127.116.11 Mobile Safari/537.36");
webview.getSettings().setUserAgentString("Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; Nexus One Build/FRG83) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1");
If none of the described above works, please try with more variants provided here: http://www.useragentstring.com/pages/Android%20Webkit%20Browser/
How to set the app to work only in Portrait mode?
So the final variant for .SplashScreenActivity would be:
<activity android:name=".SplashScreenActivity" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:configChanges="orientation" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity>
How I can change the background color of the tabs container?
There is an XML file that is responsible for the background color: /res/values/colors.xml
Inside there is a defined color:
In order to understand how to define the color, please read this article: http://stackoverflow.com/a/17239853
So, before defining the hex color – in our case ffffff – you should define the transparency – in our case CC, which is 80% transparent white.