Adding an help window to my android application - java

i need to add an help window to my android application.
But actually i don't know how to do it if there is a best practice, or some prepare objects.
I simply want to add an help option in the application menu, and when it is chooesed the help is showed. What is the best way to do that?
I think about several solution, but i'm not sure they are good.
Add another activity that contains only a text view or a webview and print the contente of the help
Use a Dialog Box? Maybe a custom dialog?
Launch a web activity and retrieve the help page from the web.
They are good ideas? Btw what is the best way to provide a basic help page into an android application?
Thanks.

Is suitable if your amount of help is small and does not need formatting
Is good for formatted text, bigger amounts of text and does not require internet connection or your server to be present when user likes to have help
Is the most flexible, as you can change help information without updating application,
but requires dedicated web page and internet connection.
Now it's your choice. My personal preference is #2.

What you want to do is make a xml layout containing all the help information and just create an activity that displays it, if you need help with code just ask me.

Related

How to implement context sensite help for dialogs in Eclipse RCP?

I have already read Lars Vogel's tutorial on creating dynamic help in Eclipse RCP. However, it does not cover one topic - how to create side-pop-up help for dialog's (Like the one in screenshot) and integrate it with the rest of the help mechanism. Surprisingly, I could not find any materials describing this matter.
Derive your dialog from org.eclipse.jface.dialogs.TrayDialog to get the support for the side tray and the help button.
You may need to call the TrayDialog method setHelpAvailable(true)
You can also base your class on TitleAreaDialog (which extends TrayDialog) to get a dialog with a title and message area at the top of the dialog.

Audio/Video Capture in PhoneGap/Cordova using external Java plugin

I am developing an android application using PhoneGap/cordova and Javascript. I want to include audio/video capturing functionality in a particular html Div of my application using external Java plugin.
Or some mechanism where I can have a native Java based widget which will come in the same screen at a particular location (rather than replacing the current view completely and occupying the entire screen)
I have searched across the web but could not find an efficient way to do it. Can anyone suggest me any way to handle this?
Is it an option to use the built-in feature?
http://docs.phonegap.com/en/1.9.0/cordova_media_capture_capture.md.html
Try to read this blog,hope will be helpful
http://www.raymondcamden.com/2013/5/20/Capturing-camerapicture-data-without-PhoneGap
Might not be exactly what you want: Instead of DIV use overlay android fragment.
CordovaWebView is part of an Android activity. That means we can overlay a fragment or say dialog at a location we want. Similar to native android development.
Challenge: If you want to show DIV/Dialog in between HTML you will have to take care of lot of positioning related issue.
Solution: You can target to have your DIV/Dialog positioned at the start or end and can then re-position your HTML placeholders.
Things you would require: Cordova Plugin creation, Dialog/Fragment understanding, JavaScript to reposition the DOM elements (if required), Then all is native.
Here is a SO link which can help you.
Please let us know if it helps and it would be great if you share your end solution.

Android Menu Layout Front page

I want to make a menu sort of similar to Yelps front page.
The left image in particular. I feel like I've seen this on multiple apps, and I also remember thinking that this was actually something built into the default android layouts, but I can't seem to find anything on it anywhere.
How would I go about making this layout? Is there something already built for you, or do I have to make using image buttons and a relative layout?
Google+ also uses something like this on their first page; a lot of apps do now. It's called a dashboard layout. You can see an overview of that here and an explanation of how to create it here.
Using button images and a relative layout is an easy way to do this. For help on that look at this tut: http://developer.android.com/resources/tutorials/views/hello-relativelayout.html

How to render a web page with android jdk?

I want to show the web page normally,but still keep the user in my app,
how to make use of the available web render engines programmatically?
UPDATE
I'm now using the webview ,but can't render the page,reporting 404 page not found.
However,when I pack my project and run in another computer,it works like charm!
How to solve this?
Use a webview and implement webkitclient if needed.
More info here
Please explain your question. I cant understand that you want to open the webview with the URL or by the html code. Both of them is totally different. Please explain how do you want to open the webview in application by URL or by HTML
You, as of now, probably let your app open the device web browser to let the user see the content of the URL, via an Intent Action.
Use your activity which uses a WebView and implements its own WebKitClient. Then you can make the user stay in your app and control what and how content is fetched.
#Achie has a nice link for you which explains how Web things work in Android.
To know how to work with WebViews, go to this URL and read the nice article-cum-tutorial

Questions regarding BlackBerry BrowserField2

does anyone know how to specify the height of a net.rim.device.api.browser.field2.BrowserField? I cannot find how to do so in the BlackBerry API.
Also, when I use a browser field within my application, am I able to load one page, and from that page click a link and go to another? I am having issues doing that with the BrowserField2...If not, how can I achieve new page loading?
Thanks!
You could implement your own manager and override sublayout
After that you can create your own browser field and inherit your manager you created earlier.
As for the link stuff, this might help

Categories

Resources