I have some complex graphics to draw using Canvas but I am confused by
the documentation.
I can get the size of the screen using
getResources().getDisplayMetrics() and looking at widthPixels and
heightPixels. For my AVD this is 1250x800. I can also check this in my
onDraw() method by using
My app has two activities. The main activity uses WebView to interact
with the user. When the user has selected certain options the second
activity is intented.
WebView creates a top margin in the emulator showing battery state and
time (among other things). Under this is the title bar of the web
On Feb 12, 5:36 pm, Mark Murphy mmur...@commonsware.com wrote:
On Sun, Feb 12, 2012 at 10:59 AM, atcal alan.williams...@ya.com wrote:
My app has two activities. The main activity uses WebView to interact
with the user. When the user has selected certain options the second
activity
On Feb 1, 6:46 pm, Ted Scott t...@hootinholler.com wrote:
On 2/1/2012 11:01 AM, atcal wrote:
On Feb 1, 4:25 pm, Ted Scottt...@hootinholler.com wrote:
On 2/1/2012 4:11 AM, atcal wrote:
I'm trying to define my own View subclass.
public class myView extends View {
myView
On Feb 1, 10:23 am, sourabh sahu souruit...@gmail.com wrote:
I think you should write super(context)
Sourabh
On Wed, Feb 1, 2012 at 2:41 PM, atcal alan.williams...@ya.com wrote:
I'm trying to define my own View subclass.
public class myView extends View {
myView(Context context
On Feb 1, 10:23 am, sourabh sahu souruit...@gmail.com wrote:
I think you should write super(context)
Sourabh
On Wed, Feb 1, 2012 at 2:41 PM, atcal alan.williams...@ya.com wrote:
I'm trying to define my own View subclass.
public class myView extends View {
myView(Context context
.
I'd recommend spending a couple hours on a Java crash course, they can
be easily found with Google Search.
-- Kostya
02.02.2012 12:27, atcal пишет:
my problems with it as an Android issue, not a
Java issue
--
Kostya Vasilyev
OK. So why is the documentation so misleading? View
On Feb 2, 3:41 pm, Kostya Vasilyev kmans...@gmail.com wrote:
On 02/02/2012 05:27 PM, atcal wrote:
OK. So why is the documentation so misleading? View() is shown as a
public method in teh android documentation.
Not for me:
http://developer.android.com/reference/android/view/View.html
I'm trying to define my own View subclass.
public class myView extends View {
myView(Context context) {
View(context);
}
}
Eclipse flags the first line of my constructor with an error Implicit
super conctructor View() is undefined. Must explicitly invoke another
constructor and
On Feb 1, 4:25 pm, Ted Scott t...@hootinholler.com wrote:
On 2/1/2012 4:11 AM, atcal wrote:
I'm trying to define my own View subclass.
public class myView extends View {
myView(Context context) {
View(context);
}
}
Eclipse flags the first line of my
I'd like to use html (with images, btw) to provide documentation for
my app. I thought to store my documentation pages in assets and use
webview but I cannot find a way to link the webview to the assets.
Does anyone know if this is possible?
--
You received this message because you are
Thanks. It was the form of URL I was missing.
On Jan 31, 1:19 pm, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Jan 31, 2012 at 5:31 AM, atcal alan.williams...@ya.com wrote:
I'd like to use html (with images, btw) to provide documentation for
my app. I thought to store my documentation
I'd like to store my app documentation as web pages (mixed text and
images) in the assets then display them in webview. Is this possible?
I've done my best to look through the on line documentation but I
can't find how to do it.
--
You received this message because you are subscribed to the
I'm trying to create two rows of display, each consisting of an image
to the left and accompanying text to the right. My XML file looks
like:
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
I can run the hello android example on a phone AVD.
I have a slightly modified Hello Android app which I want to run on a
tablet AVD (1250x800). But after installing the apk on the emulator,
eclipse grinds to a halt. The last console messages are (for example):
[2012-01-27 12:17:21 -
15 matches
Mail list logo