Maybe it should be static, like the NotePad example has in
http://developer.android.com/guide/samples/NotePad/src/com/example/android/notepad/NoteEditor.html:
public static class LinedEditText extends EditText { ...
On Sep 20, 10:19 am, Justin Anderson janderson@gmail.com wrote:
It is
But I still think his inner class should be static (as in the
document) because to instantiate an inner non-static class, you'd
first need the super class object
sorry, *outer* class, not 'super' class ...
On Sep 20, 12:53 pm, John P. johnny.d.p...@gmail.com wrote:
He's taking the inner
However, accodring to the Dev Guide documentation it shouldn't matter if it
is static or not. In fact, it gives an alternative way to reference it if
it is static, but states that you can use either approach.
Hm, could you point out where in the doc it gives an alternative
approach to static
and those who don't.
--
On Sun, Sep 20, 2009 at 9:29 AM, John P. johnny.d.p...@gmail.com
wrote:
Maybe it should be static, like the NotePad example has in
http://developer.android.com/guide/samples/NotePad/src
I'm confused because if you've successfully done step 2 where you
presumably clicked on the radio button to Create project from
existing source, you should get an enabled textfield where you can
specify the location of the said existing source. If it is indeed
true that such textfield does not
Wow, great job taking the initiative to develop on Android!
I'm not sure of your Java level, but if you have a hard time following
through the SDK documentation (http://developer.android.com/guide/
index.html), particularly the Tutorial section, try to get more
familiarized with programming in
It is true that when the Back button is pressed, onDestroy() is
called. But hitting the Home button invokes the activity's onStop()
for me. Now, it is true that if Android determines it needs memory,
it may then invoke onDestroy() on the stopped activity.
It sounds like if you want your
To display different dialogs, you have couple options.
1. Continue to use dialogs managed by the activity, but pass
different ids in showDialog(int), and in your onCreateDialog(int id),
check the parameter id and return the appropriate dialog. In your
current code, you're passing 0 in both bt1
My bad about the dismiss(). I read over your code again and it's in
the dialog's onClick() event, which is right.
On Sep 5, 9:50 am, John P. johnny.d.p...@gmail.com wrote:
To display different dialogs, you have couple options.
1. Continue to use dialogs managed by the activity, but pass
The question is a bit broad. Sure, you can use a SQL server to store
your rankings. You can also use flatfiles if your data is small.
If you're asking how to implement SQL server and network
communication, I'd first get your data working locally on a SQL server
first, then achieve a simple
that it is EXTREMELY slow even on my new
double Pentium PC.
It takes nearly 2 minutes to launch and display the application in the
emulated terminal.
Not very useful for development !!
The better way to view the screen is by displaying main.xml.
On Sep 4, 12:12 am, John P. johnny.d.p...@gmail.com wrote
Regarding the cases when the R class does not get generated/updated in
time, try the following (in no particular order):
- Manually delete the R.java class, so the next time it will generate
a completely new one.
- Right click on the project - Android Tools - Fix Project
Properties
- Clean the
I don't think you want to use sockets if the receiving end isn't setup
to listen for them (in your case of www.google.com). If you want to
communicate with http protocol, use a Http class. It may be possible
to build your own HTTP reader using sockets, but there's already one
available from
Hi,
The GPS band and data bands are separate, so you can get GPS
information for free even if you don't have any carrier data plans.
Even if you don't have wifi, you can still pickup GPS information.
Note that accessing websites such as Google Maps requires data plan or
wifi connection.
Sure, download the SDK and it's at $SDK/docs/guide/.
On Aug 11, 5:53 pm, Thomas tot...@gmail.com wrote:
So I just started out and I am still reading through the Developer's
guide. However I will be taking a flight later on and I will not have
access to the internet while flying. I was curious
It seems that it's not currently support. Take a look at bottom of
http://code.google.com/android/devel/resources-i18n.html#i18n
On Apr 9, 1:56 pm, Raul Bocter [EMAIL PROTECTED] wrote:
nobody knows ? ... Digit, Megha ?
regards,
Raul
On Tue, Mar 25, 2008 at 11:12 PM, Raul Bocter [EMAIL
16 matches
Mail list logo