[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-07 Thread Indicator Veritatis
But that assumes that people tag them accurately, so that they CAN be found. That assumption is wildly optimistic: look at how many meaningless variations of the non-descript tag 'android' there are in Stack Overflow. I have yet to find a way to do a meaningful tag-based search in Stack Overflow

[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-07 Thread Indicator Veritatis
But just how thorough is this daily walk through? Today, there are 14645 questions tagged 'android'. How do you choose which ones you really look at? Worse yet, some idiot decided there should be ONE tag for 'android- sdk', but then three separate tags for 'android-sdk-2.1', 'android- sdk-2.2'

[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-07 Thread Indicator Veritatis
BTW: if you do a daily walk-through, why is MY question still unanswered? It was not even that hard a question. It was: http://stackoverflow.com/questions/2603391/how-do-we-get-polygon-antialiasing-in-opengl-es-on-android-1-5 On Aug 6, 1:52 pm, fadden fad...@android.com wrote: On Aug 6, 1:20 pm,

[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-04 Thread Indicator Veritatis
Yes, the distinction has been getting blurred. This is a bad thing. Discontinuing this group only makes the blurring worse, as more and more beginners will move to android-developers -- where beginning questions really do not belong. On Aug 3, 11:49 am, Mark Murphy mmur...@commonsware.com wrote:

[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-03 Thread Indicator Veritatis
When I first saw Google announce the existence of Stack Overflow and suggest it for posting questions instead of this forum, I found it mildly amusing. I wondered if it meant Google had plans to discontinue this forum! But then to my surprise, I started seeing not only more traffic in Android

[android-beginners] Re: how to self-close an Activity

2010-07-30 Thread Indicator Veritatis
I have the same question. And even if they are done with it, I have another question: how do you suppose the user will react when he sees it auto-close? That is, do you really think the user expects this? I am not aware of any other app that does this, the user's expectation is based on these

[android-beginners] Re: how to self-close an Activity

2010-07-30 Thread Indicator Veritatis
Also, if it is a things are progressing display rather than an About box, why aren't you using an android.Widget.ProgressBar instead? People are used to seeing a Progress Bar disappear when the underlying things are done. But they are not so used to About boxes (or things like them) disappearing.

[android-beginners] Re: Passing an int value from one activity to another

2010-07-09 Thread Indicator Veritatis
What 'putIntExtra'? There is a getIntExtra, there is a putExtra, but I don't see a 'putIntExtra'. Besides: surely the type conversion rules of Java guarantee that he is calling putExtra(String, int) here. On Jul 7, 9:38 pm, Yousuf Faheem yousuf.syed@gmail.com wrote: Hi, Use putIntExtra

[android-beginners] Re: adb shell command gives very inconsistent results

2010-07-08 Thread Indicator Veritatis
This sounds somewhat different from the problems I have seen with adb. So I am not sure how helpful my advice will be, but what I would do is: before ever even entering the shell of adb, make sure that adb can see the emulator with adb devices. Yes, unlike the distinction between emulator and

[android-beginners] Re: Regarding language support

2010-07-08 Thread Indicator Veritatis
If you follow the localization procedures advised in http://developer.android.com/guide/topics/resources/localization.html (especially under Using Resources for Localization, the system will automatically make sure that unsupported languages will not be displayed in the UI. You do not need to

[android-beginners] Re: screen orientatios

2010-07-05 Thread Indicator Veritatis
Concerning screen orientation: no, the programmer does not set this. Why would he? The phone sets it, based on what it thinks the orientation is, based on accelerometer and/or keyboard slide. My G1, for example, will usually switch orientation correctly based on how I am holding the phone. But

[android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-04 Thread Indicator Veritatis
have found other similar contradictions in the docs. Take a look at my previous posts on this and see for yourself: I provided the direct quotations. On Jul 4, 2:14 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 3, 2010 at 7:42 PM, Indicator Veritatis mej1...@yahoo.com wrote

[android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-03 Thread Indicator Veritatis
This is certainly wrong. Pressing the Back key does NOT cause onDestroy() to be called. It causes onPause() to be called. I have run this in the emulator too many times myself to believe that it does. The application goes into the background, but it remains in memory, on the activity stack. Only

[android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-02 Thread Indicator Veritatis
But what about when the user presses the home key? According to the docs, onPause() is called WHENEVER the application goes invisible, not just on the Back key, not just when another application is launched. So no, it is not just on the Back key. On Jun 26, 9:13 am, mahesh askmah...@gmail.com

[android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-01 Thread Indicator Veritatis
That is what the diagram says, yes. But the text of the table says something different: it says onPause() is called when the system is about to resume another activity. But it also says that onStop() may be called when the activity is no longer visible to the user. More importantly, it says that

[android-beginners] Re: Application still consumes battery even tough it is closed

2010-06-30 Thread Indicator Veritatis
That link is a good start, and required reading, but I see they have still left in the vague and contradictory language concerning which callback must come next. I am referring to the wording in the state diagram and the table concerning whether onStart() or onRestart() are next, and which

[android-beginners] Re: LogCat

2010-06-27 Thread Indicator Veritatis
That was completely uncalled for and even completely unjustifiable. Why, your own response is more like that of a petulant child than any thing DonFrench said. After all Don French gave an excellent list of reasons why it is better to view DDMS LogCat output in Eclipse rather than running it

[android-beginners] Re: Factory Reset

2010-06-07 Thread Indicator Veritatis
Most users would be very unhappy to find Factory Reset being executed from an application. Why do you think this is what you want? It is with good reason that Factory Reset is 'difficult'. The user must be really sure that is what he wants, the procedure must do all that is possible to guarantee

[android-beginners] Re: Way To develope the android application ?

2010-06-04 Thread Indicator Veritatis
Hi, Mayank- The best two books I have found and read on Design Patterns are not the 'classics' everyone keeps referring too. But if you read either of them, you will see why they are much more accessible than any of the classics, especially the Gang of Four books. They are

[android-beginners] Re: Android SIM Card API

2010-06-02 Thread Indicator Veritatis
By asking specifically for SIM card, you are asking for implementation, where the API provides interface instead, as is good Object Oriented practice. See the SDK online references for packages android.telephony. Even there, SmsMessage.getIndexOnSim() has been deprecated -- no doubt because it

[android-beginners] Re: Android SIM Card API

2010-06-02 Thread Indicator Veritatis
class does not provide those methods for me to accomplish the above. I have checked other classes but none seem to expose the functionality for me to call them. Thanks. On Jun 2, 5:36 pm, Indicator Veritatis mej1...@yahoo.com wrote: By asking specifically for SIM card, you are asking

[android-beginners] Re: Android SIM Card API

2010-06-02 Thread Indicator Veritatis
classes but none seem to expose the functionality for me to call them. Thanks. On Jun 2, 5:36 pm, Indicator Veritatis mej1...@yahoo.com wrote: By asking specifically for SIM card, you are asking for implementation, where the API provides interface instead, as is good Object Oriented practice

[android-beginners] Re: debugging the (suddenly) crippling slowness of the emulator

2010-05-27 Thread Indicator Veritatis
Shall we compare experiences? I regularly run the SDK and emulator not on Ubuntu, but Fedora, which is similar enough. You say even 10 minutes later, you are still looking at boot animation: what I see that is so similar is: about 1 launch in 7 or 10, it gets stuck early on. I never let it go for

[android-beginners] Re: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread Indicator Veritatis
Well, it depends on your understanding of the concept of 'success';) Seriously: the reason for the test you ripped out is that Java 6 introduced a change in the way '@Override' is interpreted, one that does not mesh well with the way Android wants to use it. So you have stuff that compiled, but

[android-beginners] Re: Newbie looking to buy a handset

2010-05-23 Thread Indicator Veritatis
Or you could buy a G1 on Craigslist for anywhere from $80 to $100 dollars. Expect to pay about $30-$40 bucks to get it unlocked unless you buy it already unlocked. Then once you do the setup with a SIM card in the phone, you should see an offer to upgrade the ROM to 1.6. There is no reason not to

[android-beginners] Re: Which Widget/UI Component to use for Gameboard?

2010-05-15 Thread Indicator Veritatis
to check outhttp://www.droidnova.com/create-a-scrollable-map-with-cells-part-ii,6... That blog has a ton of great android tutorials that might help you. On May 10, 5:13 pm, Indicator Veritatis mej1...@yahoo.com wrote: If I want to create a gameboard, like a checker board or chess board

[android-beginners] Re: Android Emulator - Eclipse cannot see it

2010-05-14 Thread Indicator Veritatis
That might not be good enough. I found, for example, that my system runs Eclipse a LOT better after being upgrade from .5 to 2.5 Gigs of RAM. But I still have occasional problems with Eclipse locking up the system completely, usually only when using Ctl-Tab to switch BACK to Eclipse. On May 14,

[android-beginners] Re: Force Close when trying to use getApplication()

2010-05-11 Thread Indicator Veritatis
Unlocking Android is a good book, but I have learned from my own experience with it that it is not a good idea to type in code from the text and expect it to work. Much better to get the code from the book's website and run that. Download it from the website, compare that to what you already have,

[android-beginners] Re: Problem with IDE.

2010-05-10 Thread Indicator Veritatis
He is already using Eclipse. The problem is that when he relies on Eclipse to create the folder, it fails. He has to recreate it manually everytime he executes ProjectClean Project. It sounds like something is wrong with the Ant script Eclipse has built for the project, but based on the evidence

[android-beginners] Re: How to debug

2010-05-10 Thread Indicator Veritatis
Even before running the application under the debugger, a good first step is to look at LogCat in the DDMS Perspective: there will probably be a Java Exception logged there, that Exception is what caused the shutdown. Look for your own source code's line number in the stack trace. On May 9, 2:55 

[android-beginners] Which Widget/UI Component to use for Gameboard?

2010-05-10 Thread Indicator Veritatis
If I want to create a gameboard, like a checker board or chess board, and allow the user to select a square by tapping on it, which widget should I use? The obvious approach would be to make each individual square a button, but that sounds like too many objects. Is there some sort of

[android-beginners] Re: Your feedback on Samples/Tutorials/Articles

2010-05-10 Thread Indicator Veritatis
I do not share this enthusiasm for videos for two reasons: 1) I rarely see a video tutorial that tells me something valuable an HTML text tutorial with screenshots does not 2) a video tutorial is not searchable using Ctl-F in your text-editor or web-browser. On May 7, 3:48 am, Pankaj Sharma

[android-beginners] Re: what happens exactly when android goes to sleep?

2010-05-04 Thread Indicator Veritatis
All this document says is that when Android goes to sleep, it calls onPause(). But that does not tell what ELSE Android does when it goes to sleep. For that matter, the same doc says that onPause() is also called when another app takes the foreground, so the application developer cannot even rely

[android-beginners] Re: Why does my app Stop Unexpectedly every time I remove an item from myListView.

2010-04-27 Thread Indicator Veritatis
I know Justin has been helping people in this forum for a long time, so perhaps he is tired of repeating it, but since this is a beginner's group, it is worth repeating the detailed steps for how to do this. To see the Logcat output in Eclipse, it is easiest to: 1) switch to DDMS perspective:

[android-beginners] Re: Question about UI Handling

2010-04-24 Thread Indicator Veritatis
Well, of course the docs will not be clear on that, as YOU are not very clear on it. What is continuous different UI screens moving around with the user input supposed to MEAN? Usually, you want a UI screen to stay in one place while it has focus so that the user CAN enter data. But you seem to

[android-beginners] Re: Android number formatting question

2010-04-24 Thread Indicator Veritatis
IOW, the same way you do that formatting in any other Java program. So not entirely appropriate for this group. On Apr 23, 8:53 am, ~ TreKing treking...@gmail.com wrote: On Fri, Apr 23, 2010 at 10:23 AM, Traveler jadkins...@gmail.com wrote: How do I format a floating point number to 2 decimal

[android-beginners] Re: Downgrading 2.1 app to 1.5

2010-04-23 Thread Indicator Veritatis
 'R.layout.main cannot be resolved', even though I have and R.java.layout.main in the gen folder. Do I need to manually check/change a path somewhere that's got corrupted? On 22 Apr, 18:44, Indicator Veritatis mej1...@yahoo.com wrote: And above all, don't confuse your own 'R' with 'android.R

[android-beginners] Re: Android Development Phones

2010-04-22 Thread Indicator Veritatis
As you noticed, the official developer phone is a bit pricey. But since it is still generally best to target application for 1.5, an unlocked G1 phone is just as viable, and a lot less pricey. You have probably already noticed that you cannot upload an app from the emulator to the Android Market.

[android-beginners] Re: Downgrading 2.1 app to 1.5

2010-04-22 Thread Indicator Veritatis
And above all, don't confuse your own 'R' with 'android.R'. They are different files. To get setContentView(R.layout.main) to work, Eclipse needs to find your 'R', not Android's. 'R' is supposed to be automatically generated by Eclipse whenever you add a line to the relevant XML file. But there

[android-beginners] Re: Any idea why the following code crashes the app? It happens in calculateGmt()

2010-04-21 Thread Indicator Veritatis
I'm not seeing enough info for me to run this myself under Eclipse DDMS and see the exception -- which is probably your best bet for diagnosing the problem. Or, if it crashes before it waits for user input, you should use Debug: 1) set a breakpoint by double-clicking on the bar to the left of the

[android-beginners] Re: Any idea why the following code crashes the app? It happens in calculateGmt()

2010-04-21 Thread Indicator Veritatis
All good points! In particular, the OP should have told us what the warning suppressed really was. It might have been the hint he needed to solve the problem. Or it might have been just another attempt to suppress the spurious warning messages from Eclipse -- which sometimes says you need to

[android-beginners] Re: Optimizing drawing on a canvas

2010-04-21 Thread Indicator Veritatis
Are you calling the Drawable method setBounds()? Android Graphics will check to make sure the rendering is inside this rectangle before actually putting pixels on the screen. On Apr 21, 7:29 am, Jon mailinglists jon.ml...@gmail.com wrote: Hi all, I just wonder if Canvas.draw... checks if I

[android-beginners] Re: How often does an activity run?

2010-04-20 Thread Indicator Veritatis
It is most definitely not a zombie process. A zombie process, by definition, is one not even the shell command 'kill' can kill. The process you just described is still able to receive events -- and will the next time the OS decides to call onDraw. It is Android that decides when to call onDraw().

[android-beginners] Re: Android Emulator don't show up (Linux Fedora 12 x86_64)

2010-04-20 Thread Indicator Veritatis
. It is used now with Gnome, MS Windows, and the Palm Pre. Try to fix the problem rather than strip down the OS. Read about Pulse Audio here: http://en.wikipedia.org/wiki/PulseAudio Regards, Michael Cheselka 650-488-4820 On Fri, Apr 16, 2010 at 15:37, Indicator Veritatis

[android-beginners] Re: Is there a concept like DLL in Andoirds?

2010-04-20 Thread Indicator Veritatis
So the short answer to his original question, whether or not there is a 'DLL concept' in Android, is 'no'. If he really wants to, he can use the NDK as you suggest, but that sounds like a lot of custom work for trying to support a C/C++ paradigm in a Java world, an approach that is likely to

[android-beginners] Re: Android Emulator don't show up (Linux Fedora 12 x86_64)

2010-04-16 Thread Indicator Veritatis
You should not have to disable audio to run the emulator. I wish I could be sure my proposal would work for this problem, but I don't: since it is a good idea anyway, I will go ahead and say you should try removing pulse-audio from your Fedora installation, since nobody uses it anymore anyway,

[android-beginners] Re: Any good site for searching Android API

2010-04-16 Thread Indicator Veritatis
I downloaded all the *.html fies (well, all of android-sdk- linux_x86-1.6_r1/docs) and I search the whole thing using Linux command line as follows: find . -name *.html | xargs grep ArrayAdapter Or, I can put some other keyword in place of ArrayAdapter, not necessarily a class name or method

[android-beginners] Re: R.id cannot be resolved

2010-03-31 Thread Indicator Veritatis
Yet another option is to turn on ProjectBuild Automatically (put a check in the checkbox) in Eclipse. This will make sure R gets regenerated when it should. Unfortunately, it also generates a lot of spurious error message while you are typing in new code, which can make Eclipse run slower and

[android-beginners] Re: I want to find source file which controls wifi signal icon on status bar.

2010-02-24 Thread Indicator Veritatis
Isn't this a better question for the developer's mail list? On Feb 23, 10:52 pm, bf wang wangyl...@gmail.com wrote: which file control it ? Tell me please! -- Best Regards! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking

[android-beginners] Re: Scrollbars Problem

2010-02-23 Thread Indicator Veritatis
He explicitly said he wanted horizontal scroll bars. Those are for horizontal scrolling; ScrollView supports only vertical. If the OP wants to scroll a TextView, he should look at http://developer.android.com/reference/android/R.styleable.html#TextView_scrollHorizontally. On Feb 19, 3:00 pm,

[android-beginners] Re: Deactivate any calls to Log methods before publishing app

2010-02-23 Thread Indicator Veritatis
Hi, Justin- True to from, the official Android documentation on this property on http://developer.android.com/reference/android/R.attr.html is not all that clear, but it seems to say just as you do: that it concerns using the debugger, NOT logging. But the OP had another closely related question

[android-beginners] Re: tutorials for a beginner?

2010-02-23 Thread Indicator Veritatis
There are lots of alternative tutorials. But they tend to be even more out of date than Google's. So the best course of action is to be persistent, live with the bugs you find in the online tutorials, finding workarounds by searching this group, Stack Overflow, and the open internet. There you

[android-beginners] Re: Dont understand contexts.

2010-02-19 Thread Indicator Veritatis
getSystemService is a method of Activity, not of LunarView nor of LunarView.LunarThread. That is why the first one works and the second does not. On Feb 18, 12:27 pm, cellurl gpscru...@gmail.com wrote: This works: public class Translate extends Activity implements OnClickListener {        

[android-beginners] Re: setting the volume of a media player

2010-02-17 Thread Indicator Veritatis
Yes, you are right, they should have documented there. They didn't. Fortunately, though, others have asked this question before in this group, and the answer may thus be found at the much earlier post, http://groups.google.com/group/android-beginners/browse_thread/thread/f1848285f8f3b60c David

[android-beginners] Re: illegal characer in URI ?

2010-02-15 Thread Indicator Veritatis
to know that either was better than the other... for URIs this is good to know. On Sun, Feb 14, 2010 at 3:44 PM, Indicator Veritatis mej1...@yahoo.comwrote: RFC2396 does list '^' as one of the 'unwise' characters. The inference is that '^' should be escaped, though the RFC does not say so

[android-beginners] Re: illegal characer in URI ?

2010-02-14 Thread Indicator Veritatis
RFC2396 does list '^' as one of the 'unwise' characters. The inference is that '^' should be escaped, though the RFC does not say so explicitly. The Java API docs on URI and URLencode, OTOH, recommend always using URI rather than URLEncode, converting from URI to URL only as needed, using toURL.

[android-beginners] Re: Emulator error cause?

2010-02-12 Thread Indicator Veritatis
I have seen the message Terminate it in an unusual way several times now, all from different circumstances. So I would not assume that it was because the swap file can't grow -- there could be other causes. But your swap file should not be so constrained if you are running no other large apps,

[android-beginners] Re: Emulator takes too much time to show up - any solution?

2010-02-09 Thread Indicator Veritatis
2 seconds is not worth the extra effort. On Feb 8, 2:46 pm, Greg Donald gdon...@gmail.com wrote: On Mon, Feb 8, 2010 at 4:25 PM, Peace_in_mind say...@gmail.com wrote: I'm using Eclipse (with android plugin, dalvik) to try out few android app development. But every time I try to run anything

[android-beginners] Re: Emulator takes too much time to show up - any solution?

2010-02-09 Thread Indicator Veritatis
Unfortunately, such a small setting for SD card size is not always an option. It has already been pointed out by others in this forum, for example, that to get the Google Maps examples (from the tutorial etc) to run, you need an SD card greater than 8M. I use 10M for each AVD intended for use with

[android-beginners] Re: Can't create new class in Eclipse (Google Map View official tutorial)

2010-02-08 Thread Indicator Veritatis
Your choice of package name is suspicious. It must match the package name you used for HelloMapView. Did you use the same name? Was the finish button grayed out just before you clicked on it? Eclipse is buggy, but this does not sound like a familiar bug. You should have got an error message if it

[android-beginners] Re: Can't create new class in Eclipse (Google Map View official tutorial)

2010-02-08 Thread Indicator Veritatis
of the Create New Class  Wizard is not greyed, that's why I can't figure out how to resolve this issue. I must mention that I'm running Eclipse under Windows XP On 8 fév, 20:15, Indicator Veritatis mej1...@yahoo.com wrote: Your choice of package name is suspicious. It must match the package

[android-beginners] Re: 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-02 Thread Indicator Veritatis
Thanks for the suggestions. I thought I already tried the Refresh, but I will try that again. I did not try the Clean Project, so that will be worth trying, too. But for now, I have to admit my enthusiasm for this particular tutorial is somewhat dampened by the problems I found running it under

[android-beginners] 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-01 Thread Indicator Veritatis
It seems the online tutorials have not been rewritten to reflect Android 2.1. For they still refer to 'drawable' and 'res/drawable', but when I create a new project for 2.1 using the wizard, I do not GET any such directory. Instead, I get 'res/drawable-hdpi', 'res/drawable- ldpi' and

[android-beginners] Re: 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-01 Thread Indicator Veritatis
South Bay mochama...@gmail.com wrote: I just created a new folder within eclipse called 'drawable' and then created my new files there.  It worked for me. On Feb 1, 2010 12:18 PM, Indicator Veritatis mej1...@yahoo.com wrote: It seems the online tutorials have not been rewritten to reflect

[android-beginners] Re: 'drawable' vs. 'drawable-hdpi' in Online Tutorial

2010-02-01 Thread Indicator Veritatis
as a newbie to eclipse...it was not to painful :-). On Mon, Feb 1, 2010 at 3:28 PM, Indicator Veritatis mej1...@yahoo.comwrote: And switching back to 1.5 usually works for me. But both your approach and mind sound like kludges. There should be a better solution. I really do not want

[android-beginners] Re: Eclipse can't seem to locate R.java

2010-01-30 Thread Indicator Veritatis
I had this problem on every other build until I turned on the Eclipse flag ProjectBuild Automatically. I believe that is the default when Eclipse is installed, but I unchecked it because I thought it was unnecessary. Even now, I think it is necessary only to cover up a bug in Eclipse when it

[android-beginners] Re: أدخل السحب على منتدى vb مجانى مقدم من منتدى أجدع أصحاب

2010-01-25 Thread Indicator Veritatis
I looked at the Google Translate translation of it, chuckled and clicked 'Report Spam'. How long does it take for Google to respond to this? I assume you did similarly. On Jan 24, 8:26 pm, Justin Anderson janderson@gmail.com wrote: Anybody else tired of this spammer's crap?

[android-beginners] Re: I still don't get XML's...!?

2010-01-24 Thread Indicator Veritatis
Well, I can't claim to be the guru you are looking for, but I can say this much: I see the code to create the layout, supply it with In and Out animation, but not to display the animation itself. I would study the Google tutorial on Tween Animation (or the immediately following section on Frame

[android-beginners] Re: problems with emulator

2010-01-21 Thread Indicator Veritatis
, thinking that there may be some incompatibility with the new ones... On Jan 19, 5:14 pm, Indicator Veritatis mej1...@yahoo.com wrote: 1..0_r1 is really old. At this point, I would not use anything older than 1.5_r3, and that only if you had a strong reason to avoid 2.0. Remember

[android-beginners] Re: how to put button in list activity?

2010-01-21 Thread Indicator Veritatis
The examples you ask for are in the tutorial at, for example: http://developer.android.com/resources/tutorials/views/index.html These examples in this tutorial are a great way to familiarize yourself with views and how to modify the XML file to get what you want out of the views. On Jan 21, 1:56 

[android-beginners] Re: problems with emulator

2010-01-19 Thread Indicator Veritatis
1..0_r1 is really old. At this point, I would not use anything older than 1.5_r3, and that only if you had a strong reason to avoid 2.0. Remember that you can always target an early API level, so it is very rare that you would actually need to use the old SDK. On Jan 19, 3:47 am, jj

[android-beginners] Re: Android development on Netbeans

2010-01-18 Thread Indicator Veritatis
There is a netbeans plugin for it, but I could never get it to work. A lot of other people have had the same problem, so I would not recommend wasting time on it. Eclipse has its own problems, but since the entire Android development world is using Eclipse and the ADT plugin, it is and will

[android-beginners] Re: SDK Download Issues

2010-01-18 Thread Indicator Veritatis
Are you downloading it from within Eclipse using the Android SDK and AVD Manager? Does it show any error messages? On Jan 14, 1:31 pm, 224.0@android 224.0@googlemail.com wrote: Hi, Has anyone had problems downloading the new SDK? I'm new to Android and curiosity has led me to download

[android-beginners] Re: Hello World / Emulator Problem

2010-01-18 Thread Indicator Veritatis
Until when? How long should the user continue to wait before he can conclude that something really has gone wrong? Remember: he said the message waiting for Home android.process.acore was STILL displaying on the screen. Can we count on this message to be accurate? Sure, I know that the emulator

[android-beginners] Re: problem with adb

2010-01-06 Thread Indicator Veritatis
A number of questions come to mind: 1) what operating system are you on? 2) how did you do the install of Eclipse? 3) how did you install the Android Plugin? 4) how did you install the Android SDK? On Jan 5, 5:00 pm, Rc3375 rcobb3...@gmail.com wrote: Had to do a reinstall of Eclipse.  All

[android-beginners] Re: Error in Building Hello World

2010-01-06 Thread Indicator Veritatis
the tutorial? What tutorial? There is no tutorial in the Android SDK for running C programs built via Eclipse on Windows. This is an Android group, not an Eclipse one. On Jan 6, 4:13 am, rocky84 rocky84 hulkman...@gmail.com wrote: hi, thanks for replying .. below is the excerpt of the

[android-beginners] Re: Eclipse Galileo Build path 1.6 Win XP Newbie

2009-12-27 Thread Indicator Veritatis
It is not just you. I have been having the problem off and on ever since I first downloaded Eclipse. But for me, the workaround you describe does not always work. I just flail around trying different things until the system finally decides to launch the emulator despite the build errors and then

[android-beginners] Re:

2009-12-09 Thread Indicator Veritatis
Isn't this question already answered by the release notes? Please recall the release notes for 1.5 are still on the developer website at http://developer.android.com/sdk/android-1.5.html. At that site, everything above API level concerns the whole platform, everything below concerns the target.

[android-beginners] Re: New Android Project in Eclipse - Build Target Section Not Selectable

2009-12-06 Thread Indicator Veritatis
I think this is just random Eclipse/ADT flakiness. I had (what sounds like) the same problem when I tried to install the WinXP Galieo build of Eclipse (and Android 1.5); I followed all the steps exactly as in the directions until I could not, because the directions insisted there would be a choice

[android-beginners] Re: send String to pc using wifi

2009-12-04 Thread Indicator Veritatis
That depends on what you mean by send a string. Usually, people don't just send a single string and then stop there. Instead, they implement a client on one device and a server on the other. So in your example, you would need to open a socket on the PC, too, and get the OS to 'listen' on its end

[android-beginners] Re: Error in helloandroid tutorial

2009-11-23 Thread Indicator Veritatis
I haven't seen that error message. But since the name of the application in the tutorial is certainly not Android Keyboard, you can safely force close it. My guess is that you should go ahead and do that, and then look for the application (Hello Android or HelloAndroid) you made during the build

[android-beginners] Re: Absolutely Infuriating

2009-11-22 Thread Indicator Veritatis
So how was it that he got this error, and you did not? You did say the API demos all compiled for you out of the box, didn't you? Yet they were missing this declaration of mTabHost, and the package imports. On Nov 19, 11:17 pm, Lance Nanek lna...@gmail.com wrote:

[android-beginners] Re: random problem

2009-11-22 Thread Indicator Veritatis
True. Even then, this is probably not the code he really wants. Instead of using casts on a Random method returning doubles, he could use the java.lang.util.Random.nextInt() method to get an integer in the range he specifies. Then instead of (int( (Math.random()*9)+1 he could have, after a

[android-beginners] Re: detect if there is a connection to internet

2009-11-15 Thread Indicator Veritatis
Now maybe Marton will figure it out, he was, after all, the person who asked the question. But I cannot figure out how to tell whether the phone is connected to the Internet from NetworkInfo, not even from the more detailed version, 'NetworkInfo.DetailedState' Rather, the questions this object

[android-beginners] Re: R cannot be resolved

2009-11-14 Thread Indicator Veritatis
on is the one referring to 'R.layout.main' in the @Override for onCreate(Bundle) in the Activity being defined. On Nov 13, 10:39 pm, Indicator Veritatis mej1...@yahoo.com wrote: In general, the procedure you give is a useful one. Unfortunately, for this particular problem (Eclipse complaining

[android-beginners] Re: R cannot be resolved

2009-11-14 Thread Indicator Veritatis
cleaning the project (Project Clean) magically solves this for me. Mehdi On Sat, Nov 14, 2009 at 11:37 AM, Indicator Veritatis mej1...@yahoo.comwrote: One correction to what I wrote earlier: it is 'R.layout.main' that is problematic, not 'R.main.java'. Fortunately, I am not getting

[android-beginners] Re: Referenced part does not exist yet

2009-11-14 Thread Indicator Veritatis
to download JDK 5 or 6 http://developer.android.com/sdk/requirements.html 2009/11/14 Indicator Veritatis mej1...@yahoo.com Shouldn't you be using Java 1.5 instead of 1.6? Also, since the choice of Eclipse Perspective affects which views are presented, could you tell us which perspective

[android-beginners] Re: Passing a Hashtable in Intent Extras..

2009-11-13 Thread Indicator Veritatis
The ClassCastException means that the Java Runtime does not like your request to convert a Serializable into a HashMap. What is less clear is why: but the J2SE API docs give a pretty good clue when they say: Thrown to indicate that the code has attempted to cast an object to a subclass of which

[android-beginners] Re: Referenced part does not exist yet

2009-11-13 Thread Indicator Veritatis
Shouldn't you be using Java 1.5 instead of 1.6? Also, since the choice of Eclipse Perspective affects which views are presented, could you tell us which perspective you were using when this happened? On Nov 13, 10:01 am, Marton Kodok pentiu...@gmail.com wrote: Having two weird errors with one

[android-beginners] Re: changing a package name

2009-11-13 Thread Indicator Veritatis
it without incident. Have you been omitting this annotation? On Nov 11, 12:05 pm, Mark Murphy mmur...@commonsware.com wrote: Indicator Veritatis wrote: NB: the tutorials go on and on glowingly about Java 1.6, but you really want 1.5 for Android. Why do you say that? I've been using 1.6

[android-beginners] Re: string.xml

2009-11-13 Thread Indicator Veritatis
Bingo! The original question needs to be re-worded. Until that happens, the OP is not going to get an answer he will find useful. On Nov 11, 1:54 pm, Justin Anderson janderson@gmail.com wrote: Unless I misunderstood your question...  If that is the case, then can you please explain a little

[android-beginners] Re: How hard would it be to make a second language of sorts for the Android?

2009-11-13 Thread Indicator Veritatis
I second the motion. Not that I share Stephen's enthusiasm for the 'greatness' of Java, but I do recognize that it has the market momentum now that makes it well worth the effort to learn. Especially now that Android uses it. The tutorials at Sun/Javasoft are pretty good, too. You would be hard

[android-beginners] Re: AVD (broken?)

2009-11-13 Thread Indicator Veritatis
Yes, Shadana is right. But don't panic if you see something a little different. Usually, I see the home screen or lock screen, but sometimes the first thing I see after the word 'Android' finally disappears is the running application. I haven't been able to figure out the pattern yet. But that may

[android-beginners] Re: R cannot be resolved

2009-11-13 Thread Indicator Veritatis
In general, the procedure you give is a useful one. Unfortunately, for this particular problem (Eclipse complaining that R.main.java does not resolve), that procedure will bring in the wrong 'R'. Instead, what the user needs to do is get the IDE to launch the emulator. That will rebuild the

[android-beginners] Re: Unable to update TextView on a scheduled-basis

2009-11-12 Thread Indicator Veritatis
Why, yes. The blog post is good. But it inspires me to wonder: what is Guy's native language? I ask because he gave a classic learner's mistake confusing the gerund with the participle. I refer to: Since everything happens on a single thread performing long operations, like network access or

[android-beginners] Re: LinearLayout View Tutorial, weight behavior

2009-11-12 Thread Indicator Veritatis
Hi- The most likely explanation is that you did not modify the weight you thought you did. The very first occurrence of the layout_weight attribute is in the outermost LinearLayout, so it applies to the entire screen, not to the upper half alone (the color bands). To change the weight only for

[android-beginners] Re: LinearLayout View Tutorial, weight behavior

2009-11-12 Thread Indicator Veritatis
the weight in the green band, changing from 1 to 2: then the green band is approximately twice as big as the red and blue, but the yellow falls somewhere in between! It looks like the layout manager is not perfect. On Nov 12, 5:19 pm, Indicator Veritatis mej1...@yahoo.com wrote: Hi- The most likely

[android-beginners] Re: Unable to select build target for new Android project

2009-11-11 Thread Indicator Veritatis
You run Eclipse on a netbook? I have refrained from even trying Eclipse on my netbook since I assumed it would slow to a painful crawl running on an Atom processor. On Nov 10, 5:20 pm, mconstant david.b.w...@gmail.com wrote: I need help with this, too On Nov 5, 1:31 pm, Songmak

[android-beginners] Re: changing a package name

2009-11-11 Thread Indicator Veritatis
Explains more about packages and libraries. More than what? As you admitted, this is really a Java question, not an Android one. Almost any source will explain more about packages and libraries than the Android docs, since they assume it is understood. Or are you looking for something that

[android-beginners] Re: how to remove completely the SDK and ADB

2009-11-11 Thread Indicator Veritatis
Are you running them under Windows or Linux? Windows has its uninstall somewhere in the Control Panel, and most distibutions of Linux have their own package manager for the uninstall (e.g. apt-get, yum). And did you install the SDK using the Eclipse package manager (supported since 1.6), or did

  1   2   >