[android-developers] Re: Why my service in Broadcast Receiver gone in seconds.

2016-03-21 Thread 'Indicator Veritatis' via Android Developers
Hi, Kai- We cannot tell from what you posted what is going on. Please take a look at how and when you create the Application, the BroadcastReceiver and the Service. Are they all in the same process? Recall that, for example, if you create the BroadcastReceiver using the tag in the Manifest, if

[android-developers] Re: Custom exception in AIDL

2013-10-26 Thread Indicator Veritatis
"From an AIDL service"? Some, even many Services use AIDL, but the AIDL file only describes the data-marshaling for the Service. So if you mean "can I throw an exception from the AIDL file", the answer is no. But why would you want to? You can throw an exception from the Service itself exactly

[android-developers] Re: GLSurfaceView lag/delay on Galaxy S3.

2013-07-30 Thread Indicator Veritatis
The best solution to your problem is probably to "bite the bullet" and rewrite your code to use shaders in OpenGL ES 2.0. All major phones and quite a few minor ones support it now. It may be your only solution, if the Galaxy S3 has to move too many more bits than the P350 did, or has a slower

Re: [android-developers] Maps api key v1?

2013-04-24 Thread Indicator Veritatis
Google. And not to dream about the possibility to get >> some human-generated consideration about my case and a key for v1. >> >> And I'm not afraid of writing this, because Google will not even read it >> :) >> >> So I'll delay my release and post so

[android-developers] Re: Ler e Retornar os aplicativos instalados no android

2013-04-23 Thread Indicator Veritatis
Yes, I know Google offers to translate the post, and the translation is even pretty good: but you will always get better answers if you post in English, even if the English is not so good. Furthermore, in your case, you need to be more specific in your request for help. What are these 'dificul

Re: [android-developers] how to do JUnit testing

2013-04-23 Thread Indicator Veritatis
The android.developer.com sites that SO post refers to are good, despite the low votes both the question and the answers got on SO. Couldn't you find an SO post that got better votes? The rest of the SO post is quite worthy of being completely ignored. On Monday, April 22, 2013 3:19:01 AM UTC-7

[android-developers] Re: Session management in android application

2013-04-23 Thread Indicator Veritatis
Have you looked at the tutorial on Android session managment using Shared Preferences at http://www.androidhive.info/2012/08/android-session-management-using-shared-preferences/ ? On Tuesday, April 9, 2013 1:47:34 AM UTC-7, rohan.d...@gmail.com wrote: > > Hi > > I have one application build on

Re: [android-developers] Maps api key v1?

2013-04-22 Thread Indicator Veritatis
In your message starting this thread, you say: "The context: I finished an app a few months ago. I want to release it now." Well, it appears Google has, in its infinite wisdom, decided during those "few months" not to give anyone a v1 key. Of course, this is inconsiderate to developers, but Goo

Re: [android-developers] Force Close just restarts the app?

2013-04-22 Thread Indicator Veritatis
"A future version of the platform will probably just remove all activities owned by the app when it crashes. " -- but doesn't this fit user expectations better? When the user sees "your application has stopped working" and the button "force close", of course he thinks it is the entire applicati

[android-developers] Re: Android 4.2 introduced SELinux enabled by default on kernel. am I right?

2013-04-08 Thread Indicator Veritatis
First of all, DroidMaster, this looks like you copied it verbatim from another website forum. Such crossposting is not always welcomed. Secondly, ignore the lmgtfy.com links, since he did not even give you the right set of keywords for useful Google queries. Thirdly, there seems to be some conf

Re: [android-developers] Loading Images Using HttpURLConnection Concurrently

2013-04-08 Thread Indicator Veritatis
It should not cause a 400 error, since the 400 error is caused by bad syntax. Specifying HTTPS is not bad syntax, and it should handle the exact same URL as HTTP (only the scheme being different). But do you know that the server you are using conforms well to the HTTP 1.1 spec? On Saturday, Ap

Re: [android-developers] bluetooth file transfer failure

2013-03-15 Thread Indicator Veritatis
, one must resist the temptation to fail to do it because of the time it takes. The time really is well spent. On Thursday, March 14, 2013 6:26:31 PM UTC-7, Lew wrote: > > Indicator Veritatis wrote: > >> In order to answer your question, we need to see the code where you >>

Re: [android-developers] Re: Can this variable become null?

2013-03-15 Thread Indicator Veritatis
Both mentalities are bad. I would actually venture to say that the "singletons are evil" mentality is worse, since enthusiasts tend to grow out of the "singletons are awesome" phase. But if someone believes that all singletons are always evil, how do you persuade them of the depth of their erro

Re: [android-developers] bluetooth file transfer failure

2013-03-14 Thread Indicator Veritatis
In order to answer your question, we need to see the code where you create and set mmInstream, too. For all we know, you might have forgotten to connect it to any stream, On Wednesday, March 13, 2013 9:28:08 PM UTC-7, akash roy wrote: > > here i am trying to send a file over bluetooth but its n

Re: [android-developers] Re: two activities running at same time

2013-03-04 Thread Indicator Veritatis
A Service is a lot like an Activity w/o a UI, but the lifecycle is different: you have to override a rather different set of callbacks, for example. Especially for a bound service.The rules for keeping the hosting process alive are different, too. Services do not go on the Activity Stack either

Re: [android-developers] Re: two activities running at same time

2013-03-04 Thread Indicator Veritatis
No, Kristopher is right. You came into a free forum asking for free help without providing much detail, and then told the unpaid assistance they could see the app itself only if they paid a few bucks. That IS unprofessional. It certainly does not encourage people to help you. On Saturday, March

[android-developers] Re: two activities running at same time

2013-03-01 Thread Indicator Veritatis
Both Stack Overflow posts your refer to assume that both Activities try to control the display. But the whole point of his post was that he has one that does not use the display at all. So these do not apply. That said, I am a little surprised it works, too. After all, though there is no requir

[android-developers] Re: Hearing Aid

2013-03-01 Thread Indicator Veritatis
Well, of course you are right. The only right way to proceed is to give up on the whole idea of using an Android phone as a hearing aid. But you know how it is: the OP may have been hired specifically to do such a thing, and not be at liberty to say, "no, it is a bad idea". On Thursday, Februar

Re: [android-developers] Debugging beta apps

2013-02-18 Thread Indicator Veritatis
It appears Guy misread the note. It has happened to lots of people on lots of issues. The note really is not talking about discontinuing ACRA, but about discontinuing storage of the ACRA report results as spreadsheets on Google Drive. This leaves us free to continue to use ACRA, as long we find

[android-developers] Re: Thread Loop

2013-01-31 Thread Indicator Veritatis
And since Blake was too shy to mention his own web site and book, let me do it for him;) The coverage of these issues in "Programming Android" is better than in many Android books, and in his webcast "Concurrent Programming in Android" is even better. IntentService is so handy, I am amazed it g

[android-developers] Re: get last connected bluetooth device

2013-01-24 Thread Indicator Veritatis
I don't see an API for this, but if you can add your own BroadcastReceiver to listen for ACTION_ACL_DISCONNECTED, and ACTION_ACL_CONNECTED you can at least maintain your own list of connected devices, and keep track yourself of which was last connected at the (low) ACL level. It is a broadcast,

Re: [android-developers] Uncaught exception thrown by finalizer - java.io.IOException: close failed: EIO (I/O error)

2013-01-24 Thread Indicator Veritatis
Especially since in his final comment, he does not tell us on which object he called 'close()';) After all: most of us are using HTTP 1.1 these days, with "connection: keep-alive" (the default), so it is mysterious that he is calling close() on the connection in the thread's constructor in the

[android-developers] Re: How to start again if some third party task killer has killed my app ?

2012-12-27 Thread Indicator Veritatis
The link you give is all very good background on tasks and the activity stack (a.k.a. 'back stack), but how does that help the OP understand what is different in third-party task killers and why it has such a different effect on his program? If the third party task killer does it by killing the

[android-developers] Re: AsyncTask design question

2012-11-15 Thread Indicator Veritatis
I see several people have already replied, and correctly explained that having just one AsyncTask is a bad idea. But none seem to have commented: the very question, posed as a choice between one AsyncTask vs. one for each screen, seems to imply a fundamental misunderstanding of the purpose of A

[android-developers] Re: Android training

2012-11-06 Thread Indicator Veritatis
> > If the hotkeys don't work, there are a small number of possibilities. The > possibilities that come to my mind are: 1) you listed the hotkey for both > Windows machines and the Mac, but tried only the Mac; but are not running a > Mac, or are running too old a version of the Mac OS 2) someth

[android-developers] Re: I want to translate courses about Android on Russian.

2012-10-17 Thread Indicator Veritatis
That depends, of course, on whose lessons you want to translate. Google's? I would think they already have arrangements for that. On Friday, October 12, 2012 1:58:03 PM UTC-7, Нерон Спарда wrote: > > Where can i get a permission for it? -- You received this message because you are subscribed to

[android-developers] Re: Html implementation in android

2012-10-10 Thread Indicator Veritatis
The question is poorly put. These technologies ARE already implemented in Android. They are supported by the browser control, which you can use with the APIs WebView, JavaScriptInterface, WebViewClient, and WebChromeClient, all in the android.webkit package. If you find the online SDK documenta

[android-developers] Re: abstract Uri?

2012-10-04 Thread Indicator Veritatis
You question the 'naturalness' of his desire to use 'new', but you don't seem to notice: you have merely moved the question, not answered it. Of course it is 'unnatural' to call 'new' on an abstract class, but he was asking why it was made abstract in the first place. You did not address this.

[android-developers] Re: What is the best phone to buy for Android Development?

2012-10-04 Thread Indicator Veritatis
Everything you cay about command line vs. Eclipse window could be true yet there would still be one overwhelming advantage for the command line: the Eclipse UI and documentation for how to do all this filtering is limited and put in odd places; it is much easier to find out how to use command-l

Re: [android-developers] Re: What is the best phone to buy for Android Development?

2012-10-04 Thread Indicator Veritatis
It is true, but misleading that "the emulator may work for most cases". Unless you are doing a very simple app, you should not even think of uploading it to the market until you have tested it on a real phone, preferably unrooted, since that is what most users will use. It is imperative if you

Re: [android-developers] Accessing a database hosted on a server

2012-10-04 Thread Indicator Veritatis
Your reply, TreKing, reminds me of the classic joke: you ask a programmer if he knows what time it is, and he says 'yes';) But a little more of a hint would have been quite appropriate. I take an especial interest in this because if I had been the one designing the Android database API, I like

[android-developers] Re: What is the best phone to buy for Android Development?

2012-10-03 Thread Indicator Veritatis
Yes, testing on real devices is important and useful for all the reasons you gave. But there are others. For one, it takes a ridiculously long time to launch the emulator. Hook up a real phone via USB instead, and it is ready in under 10 seconds. Another: the permissions are different on a real

[android-developers] Re: Google has received a subpoena seeking information related to Android applications

2012-10-02 Thread Indicator Veritatis
Good assumption, even if it turns out not to be true in this case. I would not, for example, have assumed that the phone number in the message was a genuine FBI office number unless independently verified. Why the FBI would need that much detailed information for the stated purposes is also sus

[android-developers] Re: how to make a video player.

2012-10-02 Thread Indicator Veritatis
Your question has a lot more to do with Flash than with Android. On Sunday, September 30, 2012 9:39:51 AM UTC-7, Sukhchain wrote: > > hey. > > i want to play an online live video from a server. > for that i want to develop a flash embeded player... > can any1 tell me hw can i develop that player..

[android-developers] Re: NDK - What is "host system"?

2012-10-01 Thread Indicator Veritatis
I am pretty sure "host system" in this context means the system the build will actually run on, i.e. the phone itself. 'androideabi' looks like a typo. 'armeabi' does occur. Could that be what you meant? 'android' goes without saying, after all. The list of supported abis is in the doc subdir o

[android-developers] Re: checking WI-FI

2012-09-26 Thread Indicator Veritatis
Judging from Harry's link, where neither the documentation nor the code sample say what it will do if there is the wi-fi is off, I would guess you get the return value for "no connection". But nothing to differenetiate between wi-fi present and on but w/o connection and wi-fi not present, off,

[android-developers] Re: Where to download the Lenovo A2901 ADB interface USB driver?

2012-09-26 Thread Indicator Veritatis
If it is a Windows driver you are interested in, go to the Lenovo website for your Lenovo and select the right USB package (including lots of drivers, I forget the exact name). Download from there. On Tuesday, September 25, 2012 3:48:38 AM UTC-7, mw1 wrote: > > > I can't find the Lenovo A290

[android-developers] Re: How to publish paid apps when your country is not in Merchant list?

2012-09-26 Thread Indicator Veritatis
Using a bank in a country on the merchant list is one alternative, another is to use a different Android market, such as slideme.org, which has more flexible payment arrangements. I would not use getjar.com, since they only allow the 'freemium' model, which is useless outside of games. On Tuesd

Re: [android-developers] Offline Maps Won't Calculate Route Without a Data Connection

2012-09-21 Thread Indicator Veritatis
I a sure it does require a lot of data, but as the OP described, all that data should have still been in cache. It is not at all clear why you believe "there is absolutely no way ... stored on a mobile device"; not when the user can see the map data for the whole route. On Thursday, September 2

[android-developers] Re: Getting started with Android. Love the overall system architecture and SDK except for one thing...

2012-08-21 Thread Indicator Veritatis
Google's approach to documentation has its frustrating points, and to be sure, finding the right XML name for the concept/class/value you find in the API documentation has always been a frustrating experience. But it should not be THAT frustrating. Also, some of the gaps in concept presentation

[android-developers] Re: how to get reference to GLSurfaceView's rendering thread?

2012-08-06 Thread Indicator Veritatis
Well, I may have overstated my case: it is not THAT bad, like stop() or suspend(), which fully deserve their deprecation, since they are so broken. But neither is it that good. If you are using it a lot, it is a strong hint, though not a proof, that you are going about something the wrong way.

[android-developers] Re: how to get reference to GLSurfaceView's rendering thread?

2012-08-03 Thread Indicator Veritatis
Of my two favorite books on concurrency in Java, one recommends never using join() in the first place, the other uses it only for a "poison-pill" in an implementation of producer-consumer when you know you want to shut it down if the queue ever empties completely. Now I realize it is not very h

[android-developers] Re: "adb devices" is showing the device as offline.what is reason? How can i switch the device from online -> offline viceversa?

2012-07-23 Thread Indicator Veritatis
You are right to be skeptical of the answers already give you. Clearly, adb is running. But what is not clear is whether or not adb has already got itself into a confused state. Although I have not had the exact same problem you report, I have been able to address similar problems by stopping a

[android-developers] Re: Error codes

2012-06-28 Thread Indicator Veritatis
A lot of wish we had that information! If it doesn't show up in Google searches (especially in Stack Overflow), then you can always search the source code at AOSP. If you can't find it even there, then it is likely proprietary, in which case we are just out of luck. On Wednesday, June 27, 2012

Re: [android-developers] which is best Handler or Timer ?

2012-03-24 Thread Indicator Veritatis
This answer is true and correct, but could have used a little more explanation. The Timer class is included because it is expected in Java. But it is not particularly suitable for the way tasks and processes should be handled on an Android phone. Handler is. The OP can define an arbitrary messa

[android-developers] Re: How to keep activity running

2012-03-19 Thread Indicator Veritatis
I see the thread has progressed quite a bit from this original question, but I still feel the need to answer this original question clearly: you should certainly not "override the onDestroy". If it gets called the need for you to release resources is genuine, you should just do it. Others have

Re: [android-developers] Suspend from market?

2012-03-12 Thread Indicator Veritatis
I would also expect that the email NOT come from a gmail.com address: it should come from google.com. On Sunday, March 11, 2012 8:24:21 PM UTC-7, James Black wrote: > > I have never got a suspension, but on this page they have an example of a > message that would seem more likely to be legit, th

[android-developers] Re: draw texture in OpenGL Android from 0,0 coordinates

2012-03-03 Thread Indicator Veritatis
"Use absolute screen coordinates in OpenGL"? That defeats the purpose of much of OpenGL. The reason it takes you from world coordinates to object coordinates to camera coordinates to clip coordinates to device coordinates is (among other things) so that you never DO need to know the device (abs

[android-developers] Re: reading pdf

2012-03-02 Thread Indicator Veritatis
Please do not post essentially the same question under slightly different titles. It tends to attract trolls. As for how to read a PDF file, please see the answer I gave in the other thread on that. Use the same tutorial, but look further down: you are looking at the part where he is teaching ho

[android-developers] Re: reading pdf file in my android app

2012-03-02 Thread Indicator Veritatis
You are looking at the wrong part of the vogella tutorial. Look a little further down at section 5, titled, " 5. Read an existing pdf" On Wednesday, February 29, 2012 5:16:03 AM UTC-8, Jags wrote: > > hi all, i am trying to read a pdf file in my android app. i realised, > unlike safari in iphone

[android-developers] Re: Getting problem in adding GSON Jar library

2012-02-27 Thread Indicator Veritatis
Replace "com.google.gson.Gson" with "com.google.gson.*" and see if that does the trick: that is what I have in my working code using Gson. I should know Java well enough to know why one works and the other does not, but I keep forgetting;) You might want to check Order and Export tab under Java B

[android-developers] Re: Beginner Question

2012-02-27 Thread Indicator Veritatis
As you say, "this structure is kind of messy", and even the name for it may strike you as a little 'messy';) It is called an "anonymous class". You might want to look it up in the classic online tutorials originally created by Sun and now maintained by Oracle. I found it messy too, and I still fin

[android-developers] Re: Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Indicator Veritatis
:37 пользователь Indicator Veritatis > написал: > > > > > So the REAL question is: why are you trying to call addView on an > > AdapterView? > > He's not, the framework is -- since the ListView in the XML has children > (and one of those is another ListView, oh my

[android-developers] Re: Hello Everybody, i am developing an android App with Bluetooth.

2012-02-13 Thread Indicator Veritatis
Correction: they are line numbers, just not in YOUR code: e.g., 461 is a line number in AdapterView.java, which doesn't help much. As for your original logcat listing, what you need to do here is notice that this is a Runtime exception thrown because you don't have a method for addView(View, Layout

[android-developers] Re: A proof for being Android developer

2012-02-08 Thread Indicator Veritatis
That is by far the best proof. Get an app on the Android Market. Even getting it up on one of its far less well known competitors is good, but the Android Market is so much better known, you may as well start there. On Feb 8, 10:22 am, Todd Grigsby wrote: > Have him download one of your apps. > O

[android-developers] Re: Logcat is broken every time phone is unplugged

2012-01-27 Thread Indicator Veritatis
Although I dont' remember encountering exaclty the same problem, the unreliability of logcat display from inside Eclipse is the reason I long ago got into the habit of runnig logcat in a Terminal window (I run Eclipse under Linux, not Windows) instead. But even then, when I disconnect the USB cable

[android-developers] Re: How to Printf in Android development ??

2012-01-17 Thread Indicator Veritatis
What 'Console'? Are you referring to DBMS output? In that case, as others have alreeady answered, use android.util.Log, either Log.d or Log.w methods. There is no 'console' on the device itself, output should instead go to a View. On Jan 13, 1:19 pm, Haider Ali wrote: > Hello every one, > > Can a

[android-developers] Re: MVC Architecture

2012-01-14 Thread Indicator Veritatis
Why? Because the Wikipedia entry on the topic just is not that good. In fact, MOST of the sites that show up in a Google search for MVC are just not that good. The only sites I found on the topic that are good are: 1) apple developer sites on it and 2) IBM developer works. (in the developer works

[android-developers] Re: how to convert morse sound to text???

2012-01-12 Thread Indicator Veritatis
It would if there were an Android API for it. I am not aware of one, and I doubt one exists. This is rather a fairly simple (audio) signal processing task. What does have to do with Android is the question: how can he use the phone's microphone to listen to the sound, what APIs should he use to ge

[android-developers] Re: OpenGLES Double Buffer malfunctions

2011-12-29 Thread Indicator Veritatis
Do you have to use 8 bits for each of RGB? Surfaces and textures on many Android devices only support 565, as has often been reported in this group. What has not been so clearly reported is what goes wrong if you specify the wrong (unsupported) values. Are you checking for EGL error codes after set

[android-developers] Re: Found solutions

2011-12-28 Thread Indicator Veritatis
Well, Jim tnx fr the amusement, bt it is more fruitful to refer the OP to http://catb.org/~esr/faqs/smart-questions.html On Dec 27, 9:57 pm, Jim Graham wrote: > On Mon, Dec 26, 2011 at 03:02:32AM -0800, theinfor wrote: > > So, who anyone found solutions ? > > 42 > > > I got the same problem, but

[android-developers] Re: OpenGL ES 2.0 for Android

2011-12-27 Thread Indicator Veritatis
The best way? Probably to use the Orange Book (see post below) and study the sample code in both Android and Apple iPhone online documentation, which is quite good on OpenGL ES. On Dec 26, 2:05 am, bob wrote: > What is the best way to learn OpenGL ES 2.0 for Android? -- You received this messa

[android-developers] Re: OpenGL ES 2.0 for Android

2011-12-27 Thread Indicator Veritatis
I'll take your word on that one, since I haven't had time to look at at that thoroughly myself yet; but I do know that a genuine "must read" is The Orange Book, which is downloadable in an earlier edition from http://wiki.labomedia.org/images/1/10/Orange_Book_-_OpenGL_Shading_Language_2nd_Edition.

[android-developers] Re: Problem about passing intent between two activities

2011-12-16 Thread Indicator Veritatis
I would if I could, but you are the one who has to do it. On Dec 13, 3:01 am, Abhishek Chaudhari wrote: > unsubscribe my email id from this group please. > > >  From: SH > To: Android Developers > Sent: Monday, 12 December 2011 10:22 AM > Subject: [android-devel

[android-developers] Re: Android videoview fullscreen problem

2011-12-16 Thread Indicator Veritatis
You may not admit it, Pavan, but if the admins were to take any punitive/disciplinary action, you would be at least as worthy a target as Jim. For just as he said, everything he said about the difference between what you did and what you should have done is true. You do not have to take my word fo

[android-developers] Re: How to root Android 2.3.3

2011-12-16 Thread Indicator Veritatis
While your response may have been somewhat harsh, I think it is fair to say that the OP's command of English is nowhere near the level required to understand any of the lists of instructions for 'rooting' that he might find at any of the forums you so vaguely direct him to. He should focus on learn

[android-developers] Re: how to block application installation

2011-12-16 Thread Indicator Veritatis
Yes, it really does sound like malware. I hope someone is tracking who asks these questions useful only for writing malware. On Dec 15, 11:58 pm, Anil Jagtap wrote: > Sounds more malware than an application. You cannot do it, installing > and removing apps is users choice. > -- > anil jagtap > An

[android-developers] Re: Connecting to a server on a LAN

2011-12-06 Thread Indicator Veritatis
How else would you want to connect? There is no Ethernet connector on most Android phones. So your only other option would be some non- standard kludge using USB as your Layer 0. After all: your 3G or 4G connection is outside the LAN. On Dec 5, 4:21 am, Wernher wrote: > Hi members! > I'd like to

[android-developers] Re: Open Raw Socket in Android

2011-11-29 Thread Indicator Veritatis
The Java Sockets API does not support raw sockets for security reasons. On Nov 28, 6:30 pm, Sai wrote: > Does anybody know how to open raw socket "s = socket(AF_INET, > SOCK_RAW, IPPROTO_RAW)"  in an Andriod device which is not rooted? I > am going to develop some Apps which need to open raw sock

[android-developers] Re: URGENT HELP : Bypassing Default Camera Viewfinder

2011-11-18 Thread Indicator Veritatis
JPEG (see Bitmap.Config). Then > no conversion is necessary. In fact, it is not useful with a Canvas, > since it is not among the formats listed on Bitmap.Config. > > "..pain is temporary.quitting lasts forever.." > > On Fri, Nov 18, 2011 at 8:33 AM, Indicator

[android-developers] Re: Is there Android RS232 sample code ?

2011-11-17 Thread Indicator Veritatis
Why would there be sample code for this when you can get a USB-RS232 converter for under $30 at Fry's Electronics? Just do it through USB, let the converter do the rest. On Nov 17, 2:54 am, mark2011 wrote: > Dear All : > >    I am a new learner of  Android. My cell phone is android 2.1. I > want

[android-developers] Re: URGENT HELP : Bypassing Default Camera Viewfinder

2011-11-17 Thread Indicator Veritatis
What "continuous jpeg frames"? The only 'continuous' frames in the viewfinder are the preview frames, and those are not jpeg: they are YCrCb at 15 fps. Unless you make your own jpeg out of YCrBb, but why bother? You need a Bitmap for the Canvas for SurfaceView anyway: you may as well use RGB or ARG

[android-developers] Re: Android SDK is the must buggy SDK in the entire mobile ecosystem.

2011-10-28 Thread Indicator Veritatis
They really do not like Windows at Google. I remember a news item claiming that they were requiring all of their own developers to get off of Windows and use either Ubuntu Linux or Apple OS X for development. Of course, they were supposed to continue to test for Windows compatibility before releas

[android-developers] Re: protected mode?

2011-10-28 Thread Indicator Veritatis
The ARM processor family has one unprivileged user mode and six privileged ones. In order for VIZIO's explanation to hold water, someone would have to have written bad code for one of these modes, almost certainly in the kernel. Did VIZIO do their own build of Android and its kernel for this table

[android-developers] Re: Should I use the same certifcate for all my apps or a different one per app?

2011-10-28 Thread Indicator Veritatis
If you only release one app that will be available in both free and paid version, then I see no advantage. If you plan to release other apps, you could achieve the same effect by adding to your test checks on the package names as well as on the certificate. So I still see no need for multiple certi

[android-developers] Re: how to calculate area of ​​a polygon of points on the map?

2011-10-18 Thread Indicator Veritatis
Like Justin said, yes, there is a way. But you will have to write the code yourself. I suggest you do a little calculus using the formula INT(xdy-ydx) going around the curve traced by the polygon, where INT stand for integration along a path. On Oct 18, 10:40 am, Turim wrote: > is there any way o

[android-developers] Re: What is the use of Handler object in the constructor of the ContentObserver class?

2011-10-12 Thread Indicator Veritatis
And now for a more direct answer to your immediate question: yes, you are right. The Handler is for passing a message to the thread on which it (the Handler) was created. But that is precisely what a ContentProvider needs for receiving a message telling it that the relevant database view has been u

[android-developers] Re: What is the use of Handler object in the constructor of the ContentObserver class?

2011-10-12 Thread Indicator Veritatis
That is not the introductory article on the topic. You would have been far better off saving taht deoc for reference and starting with http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html, which has long been the classic tutorial for covering database usage and ContentProvider.

[android-developers] Re: GL-related Crash on Xoom/Tab 10.1 requiring removal of battery or shell reboot?

2011-10-12 Thread Indicator Veritatis
When I read the bug description, it does not sound that severe, because it is easily reproducible only on Nexus. Other devices are described as either not having the problem at all or only after a long time of running OpenGL mixed with other apps. So if you have sound data that it is happening mor

[android-developers] Re: capture video

2011-10-11 Thread Indicator Veritatis
See the SimpleVideo example in the download files for Chapter 10 of Android In Action, which source files you can download from http://code.google.com/p/android-in-action/ On Oct 11, 10:28 pm, mohana priya wrote: > I am created new instance of class for camera.I need to know how to > capture vid

[android-developers] Re: Android is worst os mobile is this true

2011-10-05 Thread Indicator Veritatis
Why are you so sure Android Bluetooth "works perfectly fine"? Have you tested it on a sampling of devices typical of the market? What version are you using? Android 2.2 Bluetooth does NOT work perfectly fine on my phone (HTC G2). On the contrary: I have had lots of trouble with it dropping packets

[android-developers] Re: suspend a Thread

2011-10-03 Thread Indicator Veritatis
But why would you want to suspend the thread? There is a good reason for the deprecation of the Thread.suspend() API: you make it too hard to avoid deadlock if you use it. Just let the scheduler do its job. On Oct 1, 8:42 pm, bob wrote: > How do you suspend a Thread on Android?  I have a backgrou

[android-developers] Re: Fwd: Compuetr Vision Applications on Android

2011-10-03 Thread Indicator Veritatis
If you spelled it 'compuetr', then that would explain why you were not able to answer your own question with a Google search. Simply googling "computer vision tutorial" comes up with a LOT of tutorials. The Robotics Society one should be pretty good. As for computer vision on Android, take a look

[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-09-27 Thread Indicator Veritatis
oint attenuation a part of the Android OpenGL standard? > Shouldn't HTC and LG support it in that case? > > On Sep 27, 3:34 am, Indicator Veritatis wrote: > > > Short answer: no. Longer: why do you need point attenuation? There are > > other ways to do anti-aliasing, and so

[android-developers] Re: How to install APK programmatically without user prompt

2011-09-27 Thread Indicator Veritatis
I hope and assume that by 'nigher', you meant, 'neither'. For it is a security hole. Then again, every rooted device is like swiss cheese when it comes to security holes. Now that I know you are developing this for a rooted device (it would have helped had you mentioned this in your first post on

[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-09-26 Thread Indicator Veritatis
Short answer: no. Longer: why do you need point attenuation? There are other ways to do anti-aliasing, and some really cool graphics have been done for Android phones using that instead of point attenuation. On Sep 26, 6:26 am, MobileVisuals wrote: > I have found that everything implemented with

[android-developers] Re: How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread Indicator Veritatis
Also, while you are on the topic of Threads and Loopers, 99% of the time, if you think you need to create your own Looper instead of using one created by the system, your design has a mistake in it. Handler, HandlerThread and pre-existing Loopers should be enough. Even then AsyncTask is often easie

[android-developers] Re: How to install APK programmatically without user prompt

2011-09-26 Thread Indicator Veritatis
More importantly, sometimes these business people who come up with "special requirements in a business environment" do not know what they are talking about. What you are asking for, as Dianne explained, is breaking the security model of Android. We will NOT help you do this. On Sep 26, 4:49 am, ny

[android-developers] Re: How to install APK programmatically without user prompt

2011-09-26 Thread Indicator Veritatis
What you need to do is pick your customers/clients more carefully. Any client who asks you for such a feature either has completely failed to understand the Android ecosystem or is up to no good. As already explained, what you are asking for would break the security of Android. This is NOT tolerabl

[android-developers] Re: Image processing using android

2011-09-26 Thread Indicator Veritatis
#1 necessary thing: don't cross-post or double post. It risks alienating the people otherwise mostly likely to help you. Also, see http://catb.org/~esr/faqs/smart-questions.html, far more important than mere image processing technical knowledge. On Sep 26, 8:01 am, Venki wrote: >   I know java, j

[android-developers] Re: Image processing

2011-09-26 Thread Indicator Veritatis
You should start with the chapter on running Sobel Edge Detection on Android using the NDK in "Android in Action", 2nd or 3rd edition. The 3rd edition is really written for Honeycomb, so you might want to go ahead and buy the 2nd which is already available. Or go to the website for the book and do

[android-developers] Determing Camera Capabilities BEFORE calling setParameters(Camera.Parameters)

2011-09-22 Thread Indicator Veritatis
The documentation at http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setPreviewSize%28int,%20int%29 is quite emphatic: we are supposed to check for a camera capability BEFORE calling setParameters(). But what it does not say is HOW to do this. It only gives one exampl

[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Indicator Veritatis
I never understood the logic behind that decision: why isn't the 3.x code being open sourced just like the others? It leaves one doubting Google's word, when they say, "We wanted to make sure that there was no central point of failure... why we created Android, and made its source code open." For

[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Indicator Veritatis
Does that mean that the unclean offspring of an unholy union between RIM and WebOS might be better? On Sep 21, 8:49 am, Lew Bloch wrote: > Android is the worst form of mobile OS except for all those other forms that > have been tried from time to time ... > -- Apologies to unknown source as cited

[android-developers] Re: Android is worst os mobile is this true

2011-09-21 Thread Indicator Veritatis
Which is considered OK only when done with smart bombs and/or B-52s:( But at least Google can justly claim that Android kills babies only if you do not use as directed;) On Sep 20, 6:47 pm, Dianne Hackborn wrote: > Also, Android kills babies. > > On Tue, Sep 20, 2011 at 12:02 PM, wanyce ashoura

[android-developers] Re: Android Alarm application

2011-09-16 Thread Indicator Veritatis
If the data is not going to be searched on, nor shared with other applications, a database is overkill. Simply writing it out as a data file or a Preference is adequate. The sample code for chapter 5 of Android in Action has samples that do all three approaches. It is freely downloadable even if y

[android-developers] Re: How to encode the integer(30digit in to 10 digit) and decode it

2011-09-16 Thread Indicator Veritatis
Is this a Java question or an Android question? In either case, please read and study: http://catb.org/~esr/faqs/smart-questions.html On Sep 14, 1:38 am, GopalaKrishnan D wrote: > How to encode the integer(30digit in to 10 digit) and decode it > > -- > ~* Regards* > *GopalaKrishnan D* -- You re

[android-developers] Re: Is my brother authorized to buy and review my app?

2011-09-15 Thread Indicator Veritatis
H-m-m. In general, that is good advice, but expensive. Especially when, as shown in this thread, the would-be lawyer's client is not very clear about what he is trying to do, and would have to pay for the lawyer's time while he explains it. So best if first he polishes his explanation by explainin

[android-developers] Re: Abrir URL desde android y no mostrar barra de direcciones o fuente del sitio

2011-09-15 Thread Indicator Veritatis
ying to do. Then he can rationally expect people to reply with links that help him out. On Sep 14, 8:35 pm, Francisco Dalla Rosa soares wrote: > Indicator Veritatis>> > as you already bullied the spanish speaking people, how about providing the > information he might be looking for?

[android-developers] Re: How make Bluetooth constantly discoverable

2011-09-15 Thread Indicator Veritatis
I gave up on bump a long time ago. It fails too often. There is a limit to how often I can ask the same person to bump again. After the third time, it is embarrassing how much easier it would have been to scan a physical business card. On Sep 14, 11:05 pm, Kristopher Micinski wrote: > On Thu, Sep

  1   2   3   4   5   6   7   8   9   >