Closed parmindersingh1 closed 8 years ago
@parmindersingh1 Ah-ha! What you are saying is you want the method to remove close button on the top bar?
yes, I want to open directly my website in webview, Now it is opening as second activity
@parmindersingh1 Can you explain more about your suggestion? I don't think I understand it throughly. So, you want to open a webpage without any new activity creation right? Maybe you want me to make the webview using Fragment not Activity?
actually i am learning android, that's why i cannot tell you more technically, Actually now when i open app i go to mainactivity which open finestviewactivity on event like click, if i directly want to open in finestviewactivity webview (my website), if i dont set setContentView(R.layout.main) in oncreate of main activity and call finest webview like this new FinestWebView.Builder(this)....... Now it works but when i click cross button on top bar it takes me to blank page
@parmindersingh1 Ah~ you are making your own website as an app right? I've done that before (https://github.com/TheFinestArtist/TheFinestArtist-Android) haha. Anyway, you need to open TheFinestWebview as your launching Activity and there is no way to do this right?
@parmindersingh1 Here is what I would like to do to solve your problem. I will make more method such as
What you can do is
TheFinestWebview
such as you did right now.favicon
ok thank you for your support
Use android:noHistory="true"
option in your Manifest.xml
.
<activity
android:name=".activities.EmptyActivity"
android:label="@string/app_name"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
thank you sir
@parmindersingh1 I just updated FinestWebView
with version 1.1.0
. There is new options such as
showIconClose(boolean showIconClose);
disableIconClose(boolean disableIconClose);
showIconBack(boolean showIconBack);
disableIconBack(boolean disableIconBack);
showIconForward(boolean showIconForward);
disableIconForward(boolean disableIconForward);
showIconMenu(boolean showIconMenu);
disableIconMenu(boolean disableIconMenu);
You can use showIconClose(false)
or disableIconClose(false)
!
i want to open my website in webview, how can i use finestwebview to open my website directly, and without cross button on title bar (which take me back to main activity layout)