[android-developers] Re: Looking for Android language translation partners

2011-06-27 Thread Indicator Veritatis
I see the app is also getting rather poor ratings. I am sure this has nothing to do with the bad translations, but is due to poor performance of the app. Why would a dog quiet down just because he heard a metallic noise? It just doesn't make sense. On Jun 26, 11:46 pm, Bernard T. Higonnet

[android-developers] Re: Bluetooth Serial Port Question

2011-06-26 Thread Indicator Veritatis
Si- How can the device not support pairing? It is required by the Bluetooth spec. On Jun 24, 12:35 am, Si simonstewartke...@googlemail.com wrote: Hi, Can someone point me in the right direction please?! I am trying to connect to an industrial product using Android over Bluetooth. The

[android-developers] Re: How to configure Bluetooth in android emulator

2011-06-25 Thread Indicator Veritatis
Yes, you are right, one needs a device. But the G1, unless you root it and put on a custom ROM like CyanogenMod, has only up to SDK 1.6, which as API Level 4 has only very limited Bluetooth support in the API itself. You need 2.0 or later to get classes like BluetoothAdapter. I used 2.2 for my

[android-developers] Re: HTTP Error Debugging HELP!!!!!

2011-06-25 Thread Indicator Veritatis
Isn't AMReceiver part of your app? You need to register it, most likely by adding a receiver tag to the manifest. On Jun 21, 10:52 am, Abhilash Cherukat abhi.cheru...@gmail.com wrote: package com.HttpTest; import java.io.*; import java.util.ArrayList; import java.util.List; //import

[android-developers] Re: Eclipse Project Error

2011-06-25 Thread Indicator Veritatis
Turn off automatic build at least temporarily, then do a clean on the project and start the build over. If that doesn't work, repeat the same steps but exit and re-enter Eclipse before starting the build over. If even that doesn't work, you may have a build configuration problem. Check project

[android-developers] Re: When starting two emulators, each Logcat Messages will be printed twice

2011-06-24 Thread Indicator Veritatis
You can try not using DDMS perspective to view the Logcat output. Instead, launch two Terminal windows, run adb in each one, and connect specifically to the two distinct emulator instances. Then the two windows should show the logcat output of the two emulators with no mixing. Of course, if you

[android-developers] Re: Join us for Android Programming June 23rd, 2011 Webinar - Testing

2011-06-23 Thread Indicator Veritatis
Please don't niggle, Mr. Niggle;) Most likely the reason is that the software for connecting you to the Webinar only runs on Windows or Mac OS, NOT because they really have anything against developing for Android under Linux (I use Fedora, not Ubuntu, with few complaints). On Jun 23, 9:35 am,

[android-developers] Re: ANR in process

2011-06-23 Thread Indicator Veritatis
It always helps to give an explicit example of a Google query he could have used to answer his question. I found the answer in the top item listed after searching google with android developer anr, which is titled Design for responsiveness and says: Generally, the system displays an ANR if an

[android-developers] Re: update spinner

2011-06-23 Thread Indicator Veritatis
Well now, TreKing, I have read the documentation on both, and I still don't consider the answer obvious. Not even after also noticing from the Spinner Tutorial that he should use an Adapter too, most likely SpinnerAdapter. Even what seems 'obvious' after reading all that just looks and feels

[android-developers] Re: circular rotating and vertically aligned Image switcher

2011-06-23 Thread Indicator Veritatis
Well thanks a lot, ZZsolt! Now, as Android slowly takes over the mobile world and generations of programmers search Google to find this post, they will curse your name for wasting their time with your childish sarcasm. Juicy Fruit indeed! You should be allowed to use only the Durian version

[android-developers] Re: About Location Service

2011-06-19 Thread Indicator Veritatis
It sounds to me like you may have run up against the same problem I noticed when building and running the WindAndWaves app from Android in Action: LocationManager.requestLocationUpdates does a logical AND operation on the two conditions, minimum distance and minimum time. This sounds pretty

[android-developers] Re: career in android

2011-06-18 Thread Indicator Veritatis
I see people are having a lot of fun with your post. But seriously now: the abbreviations you are using are acceptable for SMS text messages and sometimes even for Twitter, but NOT for serious purposes, such as posts to an email list or Google group. There are many reasons for this, I will

[android-developers] Re: Android - SQLLite

2011-06-18 Thread Indicator Veritatis
Actually, people have worked hard at making systems where even if the attacker has a logic analyzer hooked up to the CPU and/or memory bus, he cannot break the encryption (in a practical amount of time). However, that usually requires that the key not be stored on the device anywhere, it comes

[android-developers] Re: Is there something wrong?

2011-06-18 Thread Indicator Veritatis
Incredible clarity may apply only to somewhat experience developers who have been staring at logcat messages for months and have 'grokked' the way of thinking behind the twisted mind that came up with those messages and exceptions;) Seriously: those messages may be incredibly clear' to you, but

[android-developers] Re: android celebrites api

2011-06-17 Thread Indicator Veritatis
Actually, I was going to suggest subsuming all those categories under a new class, 'Scandals', so that the class looks like: public class CelebrityInfo { String name; int fame; // scale from 0 to 10: 10 being like Michelle Obama's fame int health; // on a scale from 1 to 10? Or

[android-developers] Re: NullpointerException using put method on a LinkedHashMap

2011-06-17 Thread Indicator Veritatis
You may be 100% sure, but we cannot be until we see more of the stack trace, to wit: the line in your code where the object was put. On Jun 17, 9:57 am, fr4gus fggar...@gmail.com wrote: I'm using a LinkedHashMap as cache. I've overridden removeEldestEntry in order to force this cache to have a

[android-developers] Re: Encryting password using server

2011-06-17 Thread Indicator Veritatis
My suggestion is: use SSL. On Jun 15, 2:30 am, Look cibin.p.oom...@gmail.com wrote: Hi, I need to encrypt password using my local server. please sent me your suggestions at the earliest. Thanks in advance Cibin -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Emulator shows the lock screen rather than my app's screen for the first time. MENU key has to be clicked.

2011-06-17 Thread Indicator Veritatis
The problem is that by the time the emulator has finished al lthe initialization, the phone has timed out and locked the screen. So no, there is no solution. We all just live with it. Now I suppose if you had a fast enough host computer for running the emulation, and a smaller SD card (one of the

[android-developers] Re: problem in installation of android sdk

2011-06-17 Thread Indicator Veritatis
Check the environment variables. If PATH does not contain the path to the newly installed JDK, then either the installer is broken, or you are supposed to edit it by hand. It has been too long since I have used the JDK installer on Windows, so I can't remember which is the case. On Jun 14, 11:12 

[android-developers] Re: super.onCreate(savedInstanceState)

2011-06-17 Thread Indicator Veritatis
Now the next thing they/we need to know to keep from breaking things in future implementations is: do these calls always come first in the overrides, or can they come at any point, as long as they get called? On Jun 15, 12:42 am, Dianne Hackborn hack...@android.com wrote: Are you just asking why

[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-17 Thread Indicator Veritatis
Actually, though he expressed it with the sarcasm emoticon, I have to agree with Romain Guy's assessment as more accurate: he overdid it a little bit. I would have eliminated only maximum and 'effects' as way too broad, and Best, Great, Fun, Cool, Coolest, Widget as claiming too much. Also

[android-developers] Re: Activity and Method

2011-06-17 Thread Indicator Veritatis
К сожалению, Вы не дописывали всё что надо, чтобы мы Вам помогли. Прочитайне очень внимательно http://www.catb.org/~esr/faqs/smart-questions.html и попробуйте ещё раз. Иначе, Вы скоро будете читать ответы очень похожие на слова из Закорючки Зощенка! Дура-голова, ты в окно влез? On Jun 14, 6:37 

[android-developers] Re: Diagram of Android internals

2011-06-17 Thread Indicator Veritatis
You probably already know, but I will just say it to make sure it isn't forgotten: 'Virtual' is mis-spelled. On Jun 13, 8:05 am, Constantine conan...@gmail.com wrote: Hi Android developers, I am designing detailed diagram of Android internals. You can find it

[android-developers] Re: Android - SQLLite

2011-06-17 Thread Indicator Veritatis
But then where do you keep the key? On Jun 13, 8:38 am, Sivaprakash sivaprakashshanmu...@gmail.com wrote: It is like this, - I am creating database in default way hence it will be created in my application private storage and other applications will not get access to it. Still I the user

[android-developers] Re: How can i learn to make a android application

2011-06-15 Thread Indicator Veritatis
Unfortunately, many of the tutorials are either poorly written, paying no attention to even basic pedagogical principles, or quite outdated. And the android programming examples often follow poor coding practices, and fail to explain what the code actually does and why the example had to do it

[android-developers] Re: encrypt GPRS in Android?

2011-06-14 Thread Indicator Veritatis
If you are getting the data from Facebook, why do you care about GPRS? You should be using HTTP, HTTPS (SSL) for private data, and pay no attention to the physical layer. On Jun 10, 12:26 am, raman singa singa.ra...@gmail.com wrote: I'm going to develop an android application that get some

[android-developers] Re: Fonts on Android, how are they manage by the OS?

2011-06-14 Thread Indicator Veritatis
I can see doing that for the Kanji, which look similar enough, but what about the katakana and hiragana in Japanese text? These characters do not exist in Chinese, and the Japanese would be really unreadable if they were mapped to the kanji they were originally derived from. On Jun 9, 10:30 pm,

[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread Indicator Veritatis
Also, don't forget that there are alternatives to Google's Android Market: it costs you very little to put the same app on slideme.org, getjar.com and amazon.com. Now I have to admit, none of these gives you the exposure that Google's does, but they wey they treat developers is generally more

[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread Indicator Veritatis
So much for the alleged Google slogan, don't be evil! Any company so proud of their allegedly high intellectual caliber employees (thanks to their 'selective' hirinc processes) should be able to see quite easily that such behavior is indeed evil. The case of keyword relevance is particularly

[android-developers] Re: value of timer

2011-06-14 Thread Indicator Veritatis
Unfortunately, I can see only one thing wrong here: you do not know Java well enough to develop Android apps. How do I know? The question you are asking makes no sense: why WOULD there be a getTime() method for SMSReceiver? Did you define it yourself? There is certainly none in BroadcastReceiver.

[android-developers] Re: In Android, how to get the keyevent of 'home Key' ?

2011-06-13 Thread Indicator Veritatis
@TreKing Yet another of my typos! I meant Mark M., not Bob M. On Jun 8, 2:26 pm, TreKing treking...@gmail.com wrote: On Wed, Jun 8, 2011 at 4:14 PM, Indicator Veritatis mej1...@yahoo.comwrote: But you are wrong to deny the causal link between pressing Home and the lifecycle in turn causing

[android-developers] Re: In Android, how to get the keyevent of 'home Key' ?

2011-06-13 Thread Indicator Veritatis
But as Mark Murphy already pointed out in this thread, Do not request the HOME category unless *you are a home screen*. Mark Murphy is not only an outstanding Android programmer, one with experience from very early in Android's short history, but one of the star contributors to this forum, as

[android-developers] Re: How can I know when the home button has been pressed?

2011-06-12 Thread Indicator Veritatis
but it does.' On Jun 11, 1:02 am, Indicator Veritatis mej1...@yahoo.com wrote: @Droid- You do realize, I hope, since it is the level of logic that should be easily expected of any programmer, that what you wrote here makes no sense. If, after all, on the one hand, My thread is a timer thread

[android-developers] Re: SSL Socket Connection fails after network cut

2011-06-12 Thread Indicator Veritatis
I think you may be jumping the gun by assuming that read() returning -1 means the stream is invalid: what it REALLY means is only that the end of the stream has been reached, there are no more bytes to read: it does not explain WHY there are no more to read. How can you exclude the possibility

[android-developers] Re: Stop Thread started by bindService

2011-06-12 Thread Indicator Veritatis
What did you to do to register the Service? Did you include a service tag in AndroidManifest.xml? For that matter, are you sure the Service is still connected when you call unbindService()? I have got this same exception when calling unbindService on a ServiceConnection object that was not

[android-developers] Re: Java book (like C KR and C++ Programming Language)

2011-06-11 Thread Indicator Veritatis
All the books 'fadden' recommends are quite good. Eckel even makes earlier editions of his book available for free online. But there is one more book that I think seriously deserves mention here, even though none of these is a Java equivalent for KR (there isn't one): that is O'Reilly Press's

[android-developers] Re: How can I know when the home button has been pressed?

2011-06-10 Thread Indicator Veritatis
@Droid- You do realize, I hope, since it is the level of logic that should be easily expected of any programmer, that what you wrote here makes no sense. If, after all, on the one hand, My thread is a timer thread that brings my activity back to view after the home button is pressed. then no, it

[android-developers] Re: Is there any way I can start activity running in different process using Instrumentation?

2011-06-09 Thread Indicator Veritatis
This is too big a topic for one post. Have you looked at http://developer.android.com/guide/topics/testing/testing_android.html and http://www.netmite.com/android/mydroid/development/pdk/docs/instrumentation_framework.html? You are more likely to be pleased with the response you get if you study

[android-developers] Re: In Android, how to get the keyevent of 'home Key' ?

2011-06-08 Thread Indicator Veritatis
Your blog post IS the best explanation I have seen to date of what the Home key really means. I thought it was particularly interesting that it emphasized something I have been dimly aware of but keep forgetting: unlike the Back key, pressing Home does NOT cause finish() to be called. I assume

[android-developers] Re: In Android, how to get the keyevent of 'home Key' ?

2011-06-08 Thread Indicator Veritatis
-- unless he is really unlucky with his choice of customer:( On Jun 8, 10:49 am, TreKing treking...@gmail.com wrote: On Wed, Jun 8, 2011 at 12:31 PM, Indicator Veritatis mej1...@yahoo.comwrote: But shouldn't it trigger onStop() too? After all, the application is no longer visible. And what about

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-07 Thread Indicator Veritatis
H-m-m-m. I see I was using my local copy instead of the online URLs when coming up with the URLS for the online docs. But I am sure the reader can figure out how to transform the one into the other. On Jun 6, 3:27 pm, Indicator Veritatis mej1...@yahoo.com wrote: You are right. It is not well

[android-developers] Re: java.net.SocketException: Address family not supported by protocol

2011-06-07 Thread Indicator Veritatis
Could be. Or it could be he really does have a mismatch between address family and protocol. I seem to recall getting this error message while developing my custom FTP client, but I can't figure out where I put the log files from that, so I can't verify the exact circumstances that caused the

[android-developers] Re: How to add a Greek description of my App in android market

2011-06-07 Thread Indicator Veritatis
This is evidence for what I have long suspected: for international support and reach, alternative markets really are better than Google's, despite the enormous advantav\ge the Google Market has of being pre-installed on almost every phone. My application is on Getjar.com and slideme.com. I have

[android-developers] Re: What is the default behavior of the MediaPlayer

2011-06-06 Thread Indicator Veritatis
That would make it impossible to use the MediaPlayer with DRM. But whether that was the motive or not, the API does not expose this information: it is an implementation detail you are not supposed to need to know. On Jun 3, 12:06 pm, maddesa madd...@gmail.com wrote: Greetings, I am attempting

[android-developers] Re: why keyboard not launched from status bar edittext ??

2011-06-06 Thread Indicator Veritatis
Теперь ясно, почему они не смогли найти Бин Ладена! On Jun 4, 12:39 pm, abdul waheed sayfrnds...@gmail.com wrote: I am having problem to run my first example hello world. :( On Sun, Jun 5, 2011 at 12:37 AM, Eric Carman ewcarma...@gmail.com wrote: I was wondering if you ever found an answer

[android-developers] Re: packet sniff

2011-06-06 Thread Indicator Veritatis
Ueda-san- Do you mean Shark Reader or Shark for Root? I had to search the Market for 'wireshark' to filter these out of the crowd of games with the work 'shark' in them, and it is still not clear from the descriptions which program does what, except that they seem to be based on tcpdump, not on

[android-developers] Re: Unable to connect to internet using wired connection and emulator

2011-06-06 Thread Indicator Veritatis
Two questions: 1) does the system on which you run the emulator go through a proxy to reach the Internet? 2) What happens when you use the IP address instead of the URL? On Jun 5, 10:56 pm, Vicky erjain.vi...@gmail.com wrote: I am trying to open a website using browser from android emulator but

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-06 Thread Indicator Veritatis
Better pattern The Portland pattern Repository classifies double locking as an anti-pattern, not a pattern. The Wikipedia page on it (http://en.wikipedia.org/wiki/Double-checked_locking) gives a pretty good sense of why, though when they talk of pertinent java bugs, they are, of course, referring

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-06 Thread Indicator Veritatis
You are right. It is not well documented. The information a developer needs is scattered in various different places in the documentation, such as file:///home/mejohnsn/android-sdk-linux_x86-1.6_r1/docs/guide/topics/fundamentals.html#lcycles,

[android-developers] Re: How does one app let another let it draw into its view

2011-06-03 Thread Indicator Veritatis
Right. But he has to get the video info from one process into another. This is the hard part. He will have to use an IBinder and either send Messages or write AIDL. See http://developer.android.com/reference/android/app/Service.html and look at Remote Messenger Service Sample. On Jun 3, 2:58 am,

[android-developers] Re: Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

2011-05-27 Thread Indicator Veritatis
In my experience, Bluetooth is often a little flaky, requiring pairing when already paired, timing out before the user has the chance to enter the code, etc. But I haven't seen anything quite as bad as what you describe for the Galaxy Tab, and the flakiness I have seen never seemed specific to

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-27 Thread Indicator Veritatis
That is a good example of the many cases where it is NOT a good thing to do as IOS does! On May 26, 2:05 pm, Dianne Hackborn hack...@android.com wrote: On Thu, May 26, 2011 at 1:46 PM, dipu contac...@gmail.com wrote: Developing apps for android is fun. I just do not want to put a nail on

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-25 Thread Indicator Veritatis
The risk you complain about is real, but it was a legitimate question: I had serious doubts about what you meant by 'legs', too. I am sure there are many others who have no idea what you were trying to say. On May 24, 10:54 am, DanH danhi...@ieee.org wrote: I figured you would, and I'm not

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-25 Thread Indicator Veritatis
But quite a few other people have complained -- with no less evidence -- that Agile methods have failed to deliver on their promise. On May 25, 3:26 pm, Ali Chousein ali.chous...@gmail.com wrote: Dan, you are looking from a very classical point of you. I mean the following: 1. how much

[android-developers] Re: How to disable orientation changing?

2011-05-23 Thread Indicator Veritatis
Rather than outright disabling it, Android allows you to declare that your application handles it. You can then do nothing -- if that really is the right thing to do. So in AndroidManifext.xml, add as a child of the appropriate activity element, 'android:configChanges=orientation'. However, you

[android-developers] Re: Android Emulator -- Long Wait on Splash Screen, then Nothing

2011-05-23 Thread Indicator Veritatis
Unfortunately, 2G is really not enough for running Eclipse and the Android emulator. I saw a dramatic improvement on my system when I replaced my 2G DIMM with a 4G DIMM. But the emulator really does take a very long time to do its initialization of the phone even now. 3+ minutes is not unusual.

[android-developers] Re: Displaying Heat Map in Android

2011-05-17 Thread Indicator Veritatis
Look: I do appreciate it when you give their comeuppance to people who fail to follow the advice/directions of http://www.catb.org/~esr/faqs/smart-questions.html and the like, but really: this is a Google group, you should Google heat map or even Wikipedia heat map yourself rather than post naive

[android-developers] Re: Logcat empty

2011-05-17 Thread Indicator Veritatis
The most common reason is that Eclipse automagically decided to select a different device. Click on the right device icon in the DDMS perspective. Or don't bother using the Perspective, run adb logcat in a dos/terminal window. On May 16, 5:46 pm, quique123 quique...@gmail.com wrote: im new to

[android-developers] Re: Min SDK version vs target SDK vs actual android version app runs on

2011-05-17 Thread Indicator Veritatis
this, it is fundamentally broken to do so.  The results you see will vary across different devices and hardware depending on how they work internally. On Mon, May 16, 2011 at 8:08 PM, Indicator Veritatis mej1...@yahoo.comwrote: It is not a good idea to mix on the same surface, draws using OpenGL

[android-developers] Re: Min SDK version vs target SDK vs actual android version app runs on

2011-05-16 Thread Indicator Veritatis
It is not a good idea to mix on the same surface, draws using OpenGL and draws using the SDK's graphics. That is asking for confusing bugs -- like what you are seeing. Nor should it be necessary, as OpenGL supports drawing text. That said, I cannot assert with any certainty that this is the cause

[android-developers] Re: MapActivity - Cannot perform locations

2011-05-16 Thread Indicator Veritatis
I have two suggestions: 1) Google 'android developer MapActivity : Couldn't get connection factory client' and try whichever of the 'fixes' sounds like it is most likely to be appropriate for your problem. There are lots of mentions of this problem, they seem to be followed by either no answer of

[android-developers] Re: how do i send mouse/touch event system wide

2011-05-13 Thread Indicator Veritatis
Yes, Android does not support the requested operation (global mouse event 'signalling'). And this is a GOOD thing! The Listener pattern is a far superior design, we should be thankful that we cannot broadcast the mouse click event to all apps and services. If the OP is not convinced, he should see

[android-developers] Re: Async Task or Spawn a Thread?

2011-05-08 Thread Indicator Veritatis
All the answers I have seen so far are true, but yours is the most informative. I would be a little careful about the generalization though, that if he has to ask, then AsyncTask is the answer. AsyncTask is not so convenient for recurring tasks, unless you are OK with having to start it up all

[android-developers] Re: Suspended my dev account without any explanation, Why?

2011-05-08 Thread Indicator Veritatis
Copyright law is international, governed by the Treaty of Paris (originally Berne Convention). I find it hard to believe the country where you live is not a signatory, though they may be very lax about enforcing it themselves. Don't be too sure about what other mobile platforms do concerning DCMA

[android-developers] Re: Suspended my dev account without any explanation, Why?

2011-05-08 Thread Indicator Veritatis
Your advice to the OP that he seek legal counsel is certainly safe advice. However, before he takes that route, he really should brush up on IP law himself, so that he will understand what the legal counsel will say to him. Besides: if he is an attentive reader, he can learn most of what he needs

[android-developers] Re: Android - Socket Client side

2011-05-06 Thread Indicator Veritatis
You say you are in a hurry, but you give so little information, as if it were not urgent after all. WHAT is not working? Do you get an exception? What exception? On May 5, 11:23 pm, Yondaime koueik.anth...@hotmail.com wrote: I am able to connect and send data to the server, but i cant read from

[android-developers] Re: Google Maps API Key not working? Only Grid!

2011-05-06 Thread Indicator Veritatis
I know it is hard to be 100% certain, but his phrase, I have both the debug key and production keys. was probably meant to imply that he knew this, and used the debug key for debug, and the production for the signed production app. But it is hard to be certain, because the very next sentence, ...

[android-developers] Re: Parts of words in TextView are out of the screen

2011-05-03 Thread Indicator Veritatis
See http://stackoverflow.com/questions/2025282/difference-of-px-dp-dip-and-sp-in-android and reconsider your use of 15sp. You may want to set other attributes too, but it seems that using 'sp' for android:padding alone is probably not what you want. It might be a good idea to test it out with

[android-developers] Re: is a privacy mode possible with android?

2011-05-03 Thread Indicator Veritatis
Mocana seems to think it it possible. But it does require a special build of the ROM. See http://www.mocana.com/dsf-android.html and take a close look at what they have and have not accomplished. On May 2, 5:49 pm, bbtad lawrencebe...@yahoo.com wrote: with all the commotion around privacy around

[android-developers] Re: System.exit

2011-04-29 Thread Indicator Veritatis
.  As such developers shouldn't make attempts to make their apps compatible with task managers. On Thu, Apr 28, 2011 at 4:54 PM, Indicator Veritatis mej1...@yahoo.comwrote: You are directing this to the wrong person. I do not call System.exit() in any of my shipping code, not in Android, not in Sun

[android-developers] Re: System.exit

2011-04-29 Thread Indicator Veritatis
...@android.com wrote: On Thu, Apr 28, 2011 at 5:43 PM, Indicator Veritatis mej1...@yahoo.comwrote: I have worked for companies where even highly experienced and otherwise valuable employees were fired for making posts like the one you made here. I don't work at those companies. I post

[android-developers] Re: how to debug android device driver with ddd or gdbserver between Phone and PC

2011-04-29 Thread Indicator Veritatis
Have you checked http://omappedia.org/wiki/Android_Debugging#DDD_.28Data_Display_Debugger.29 for what it has to say? It seems to be focused on using with the emulator rather than the phone, but at least it does use DDD instead of the Eclipse built-in debugger -- which is much more widely used.

[android-developers] Re: php environment on windows

2011-04-29 Thread Indicator Veritatis
The OP said PHP for Android, but mentioned WinXP and xamp. So it was unclear whether he meant PHP running on a WindowsXP system, for an Android system to connect to or PHP running ON Android. The website Miguel gave is for the latter, an idea I too find rather amusing, but apparently Irontec

[android-developers] Re: Developing Android apps for someone else

2011-04-29 Thread Indicator Veritatis
I am glad they were that responsive in your case. But please do not generalize to the general case when it is so obvious that others have already found them so much less responsive. On Apr 29, 11:32 am, Michael Schollmeyer mich...@mictale.com wrote: Despite of your beliefs and as a matter of

[android-developers] Re: JSon parsing has been taking more time on Android

2011-04-28 Thread Indicator Veritatis
The Jackson JSON parser is reputed to be quite fast. I believe it is faster than the one built into Android. Download the JAR from http://jackson.codehaus.org/, include it in Eclipse ADT under the project's properties, i.e. ProptertiesJava Build PathLibrariesAdd External JARs. On Apr 27, 10:28 

[android-developers] Re: Activity Lifecycle Documentation Question

2011-04-28 Thread Indicator Veritatis
Eric is not the first to observe that the documentation on these topics is too confusing. But where should he make this 'contribution' you suggest? Is the documentation somewhere under the Android Open Source project at http://source.android.com/? On Apr 27, 10:23 pm, Dianne Hackborn

[android-developers] Re: Activity Lifecycle Documentation Question

2011-04-28 Thread Indicator Veritatis
Eric is not over-thinking. Rather, he is showing a mindset towards software quality that has become all too rare these days. That mindset is: if the documentation says one thing, but the software does another, then it is a bug. Now I know that in today's FOSS atmosphere, that sounds quaint, even

[android-developers] Re: System.exit

2011-04-28 Thread Indicator Veritatis
. On Tue, Apr 26, 2011 at 9:33 AM, Indicator Veritatis mej1...@yahoo.comwrote: Actually, I think the post has had the desired effect, since Dianne has updated her answer with one that more directly addresses the OP's question, explaining that calling System.exit() can actually be harmful

[android-developers] Re: System.exit

2011-04-28 Thread Indicator Veritatis
practices. On Thu, Apr 28, 2011 at 2:43 PM, Indicator Veritatis mej1...@yahoo.comwrote: I have worked for companies where even highly experienced and otherwise valuable employees were fired for making posts like the one you made here. On Apr 26, 6:37 am, Dianne Hackborn hack

[android-developers] Re: Best Practice for Activities that Absolutely Depend on Services

2011-04-28 Thread Indicator Veritatis
Shouldn't the OP also consider implementing all data access over the net with a ContentProvider and then using a managed Cursor to access it? It seems to me that would remove the need to frequently check for null, since the managed Cursor will manage many of the lifecycle issues for him. On Apr

[android-developers] Re: Activity Lifecycle Documentation Question

2011-04-28 Thread Indicator Veritatis
PM, Indicator Veritatis mej1...@yahoo.comwrote: Eric is not over-thinking. Rather, he is showing a mindset towards software quality that has become all too rare these days. That mindset is: if the documentation says one thing, but the software does another, then it is a bug. Now I know

[android-developers] Re: Android OOM exception and SoftReferences

2011-04-27 Thread Indicator Veritatis
Well, you didn't post your code, so I can't be 100% sure, but my guess is that there are other references to the same Drawables somewhere, references that are NOT SoftReferences. That would keep it from being garbage-collected. Also, there is a difference between weak references and soft ones. It

[android-developers] Re: Android OOM exception and SoftReferences

2011-04-27 Thread Indicator Veritatis
I think I know why it is not full[sic] proof. Some time ago, I carefully read and compared side by side the Java Sun Javadoc description of System.gc() and Android's. One shocking difference emerged. In both, the call is only a hint, but in Android, it is a much weaker hint: unlike in Sun, you are

[android-developers] Re: Debugging a separate thread.

2011-04-27 Thread Indicator Veritatis
What you describe using F7 is fairly normal. But since single-stepping through code is tedious, and the tedium is fruitless when you don't have the source, I usually use Step UP instead of Step Over once I land in Android system code. I also use breakpoints in Android more heavily than I do in

[android-developers] Re: Debugging a separate thread.

2011-04-27 Thread Indicator Veritatis
The Eclipse debugger does support multi-thread debugging, but I can't say I am all that impressed with the support for it. When, for example, you set a breakpoint, you have no control over which thread is running when it hits it. Whatever thread is running, it will stop when it reaches that

[android-developers] Re: System.exit

2011-04-26 Thread Indicator Veritatis
://plato.stanford.edu/entries/square/ Contraries go straight up and down in the Square, contradictories go along the diagonals. On Apr 25, 5:46 pm, TreKing treking...@gmail.com wrote: On Mon, Apr 25, 2011 at 7:39 PM, Indicator Veritatis mej1...@yahoo.comwrote: In fact, one could believe you had answered it only

[android-developers] Re: App restarts when screen is rotated

2011-04-26 Thread Indicator Veritatis
Of the two approaches lbendlin mentions, the latter is more commonly recommended. I used to know why. On Apr 26, 1:58 pm, lbendlin l...@bendlin.us wrote: Activities are destroyed and recreated by default when the orientation changes. If you don't like that you can use various methods to either

[android-developers] Re: DalvikVm issue

2011-04-26 Thread Indicator Veritatis
javax.crypto alone is not enough, unless he wants to do a lot of extra work himself setting up the certificate fields and signing it. How to do all this with other classes in the Java security API is described in some detail at

[android-developers] Re: System.exit

2011-04-25 Thread Indicator Veritatis
Dianne- What you say is true, at least for those of us who accept the party line Google has been preaching for years, but you have not answered the question. In fact, one could believe you had answered it only if you confused the contrary and the contradictory of a non-null affirmative

[android-developers] Re: System.exit

2011-04-25 Thread Indicator Veritatis
System.exit() as a feature for the paranoid user? I wish that were never necessary. But there is yet another case where I wish I had the app calling system.exit() itself: when the app has done a bad job of keeping track of state, and leaves the user, yes, even the sophisticated user, with no idea

[android-developers] Re: Possible to use OpenGL in both C++ and Java?

2011-04-25 Thread Indicator Veritatis
The normal way is to use the NDK. There is a separate Google group for that. But if you really need to port a large body of C++ code, that is the way to go. Otherwise you could have to rewrite using the Android Java OpenGL interface, which is basically JSR-239 with some glue code for connecting to

[android-developers] Re: State of in-app billing

2011-04-20 Thread Indicator Veritatis
When I read your reply to Nikolay, I remembered the line form the Natsume Souseki's 'Ten Nights of Dreams', Hyaku nen, watasi no hako no soba ni suwatte matte ite kudasai. Of course, you won't really have to wait that long;) On Apr 18, 6:07 pm, ishihata ishihata.k.t...@gmail.com wrote: Hello

[android-developers] Re: Calling a system service in fixed intervals within another service

2011-04-20 Thread Indicator Veritatis
Dianne- I expect your suggestion is sound, since you do know Android so well, and in particular, what Handlers are good for and how to use them. I also expect that the reason Diego did not use a Handler was that he could easily find copious documentation on how to use a raw thread, but nothing

[android-developers] Re: java.lang.NullPointerException

2011-04-20 Thread Indicator Veritatis
Null Pointer exception means exactly that. Somehow, a variable was declared, initialized only to null and the referenced. Take a look at the whole stack trace (use logcat for this) and see a) what method threw the exception and b) which method of yours is in the stack. 99% of the time that is

[android-developers] Re: java.lang.NullPointerException

2011-04-20 Thread Indicator Veritatis
Oh: and when you copy-pasted java files, what did you do with AndroidManifest.xml? You can't just copy that from the 2.2 project too. You need to set android:minSDKVersion to 8, not 9 for 2.2. That will also give you better warning/error message to find what else you have to change. On Apr 17,

[android-developers] Re: Get text to string from website

2011-04-18 Thread Indicator Veritatis
But why would he ever want to do it synchronous? On Apr 16, 11:41 pm, lbendlin l...@bendlin.us wrote: very early on you will have to decide if you want to do a synchronous or asynchronous web request. That has a big impact on how you will proceed. -- You received this message because you are

[android-developers] Re: ANDROID IMAGE TRANSMISSION

2011-04-18 Thread Indicator Veritatis
Of course, it also helps if the title of the post is relevant to the problem Image transmission does not sound like it has anything to do with animation: animation and transmission are two very different things, even if it is image transmission. On Apr 16, 10:56 pm, TreKing treking...@gmail.com

[android-developers] Re: Amazon Rejected My App - Missing application identifier?

2011-04-08 Thread Indicator Veritatis
I hope they gave you a more complete snippet from the log than that. And is this BlackListDecisionPoint something they put on it, or something you did? I have never seen it before, and I am using an HTC Android 2.2 device, too. Usually, force close means somebody threw a runtime exception (or

[android-developers] Re: Android InetAddress.isReachable always returns False

2011-04-08 Thread Indicator Veritatis
But why are you sure it is reachable? There may be a firewall between them, the phone may have the wrong IP address for it... we really cannot tell based on so little information. Did you check for exceptions? On Apr 8, 1:26 pm, David Tabernero davidt...@gmail.com wrote: Hi, Whenever I use

[android-developers] Re: Memory Leaks in application

2011-04-08 Thread Indicator Veritatis
A situation requiring the urgent but careful implementation of the RMI and XPR instructions http://www.physics.ohio-state.edu/~bcd/humor/instruction.set.html On Apr 7, 9:14 pm, TreKing treking...@gmail.com wrote: On Thu, Apr 7, 2011 at 5:16 AM, NURAIZ yousuf_...@yahoo.com wrote: Why our

<    1   2   3   4   5   6   7   8   9   >