[android-developers] Best way to prevent multiple clicks -> multiple activity starts??

2010-10-01 Thread DanH
If I have a button that starts an activity, and the activity sometimes takes a second or two to throw up its own view, how can I most simply and reliably protect against the button being clicked multiple times and kicking off multiple (identical) activities? -- You received this message because y

[android-developers] Re: USB driver issues on Vista + Droid

2010-10-01 Thread DanH
I've got rev 3 on Vista, but using a Google phone. Have not had any of these problems that I've noticed. On Oct 1, 10:23 am, dashman wrote: > the driver works - but after a few sessions it's in la la land. > > for example i can't download apps via eclipse and also cannot > mount - if mounted can

[android-developers] Re: VerifyError reloaded

2010-09-30 Thread DanH
Of course, the real problem is that the verifier is mis-designed. I'm guessing it uses reference chains. I redid the one for iSeries to use sparse bit vectors and cut the heap requirements by about a factor of 100, and made it much faster as well. On Sep 30, 12:29 pm, fadden wrote: > On Sep 29,

[android-developers] Re: PDF Libraries for android

2010-09-30 Thread DanH
Certainly you can install a 3rd-party viewer as a separate app. I don't know why you wouldn't be able to install something as a part of another app. On Sep 30, 9:44 am, viktor wrote: > Hi, > > Is it possible to use third-party libraries for display pdf? > > I mean to use custom pdf view, in whic

[android-developers] Re: Avoiding compression on large files

2010-09-30 Thread DanH
Thanks -- that article was helpful, even if it didn't really provide a good answer besides "cheat". Silly thing is, there's really no need for the limitation -- a larger file could easily be compressed/ decompressed in chunks, and still be seamlessly readable as a sequential file. You probably wo

[android-developers] Re: Viewing app features (MIME types, etc)

2010-09-29 Thread DanH
mpsys package" to see the top-level maps of the > resolver tables for the various components (though that doesn't supply > details of all of the attributes of each filter). > > > > On Tue, Sep 28, 2010 at 7:07 PM, DanH wrote: > > What I'm interested in mostly is

[android-developers] Re: VerifyError reloaded

2010-09-29 Thread DanH
Java has some fairly arbitrary restrictions on the size of programs. Most are fairly reasonable, but one that isn't so much is the one that limits the number of bytecodes in a method to 65535. (Curiously, methods can have more.) In general, a verifier should be able to handle any large method up

[android-developers] Re: Avoiding compression on large files

2010-09-29 Thread DanH
The issue has nothing to do with speed. The issue is getting a large file to be readable AT ALL. When you open a compressed file larger than 1M you get an exception: Data exceeds UNCOMPRESS_DATA_MAX On Sep 29, 2:50 pm, Bret Foreman wrote: > In many cases, I/O speeds are slower than decompressi

[android-developers] Avoiding compression on large files

2010-09-29 Thread DanH
Apparently you can't have a file in "assets" larger than 1MB (except for certain file types) because it's considered too large to uncompress. But I'm finding mixed info about how to circumvent this limitation. Some say that you can put the files in "raw" and avoid the limitation but others say tha

[android-developers] What is a "binder thread"?

2010-09-29 Thread DanH
I tried Google, but the only answer I could find is "They were created by the system and they don't do any harm." I'm not worried about them per se, but was just curious about what they actually do and why they're there. -- You received this message because you are subscribed to the Google Group

[android-developers] Re: what function should i use to control memory in java

2010-09-28 Thread DanH
And it should be noted that all storage is pre-zeroed. You don't need to clear an array, eg, after you allocate it. For copying arrays from one place to another you can use System.arraycopy(). On Sep 28, 9:12 pm, n2v2rda2 wrote: > im newbie in java and android > > in c, c++  , there are many me

[android-developers] Re: Viewing app features (MIME types, etc)

2010-09-28 Thread DanH
ager to > interrogate most of the stuff the system knows about it. > > On Tue, Sep 28, 2010 at 4:22 PM, DanH wrote: > > Is there any way (and preferably a pre-existing tool) to view the > > external features of an app, in particular the MIME types an activity > > supports

[android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread DanH
Yeah, I've never played with split, and the documentation is less than helpful, but it may be that it's necessary to use ".*\t" or some such. (Regex has always made my head hurt.) On Sep 28, 3:18 pm, Filip Havlicek wrote: > Hi, > > with regexps you can pretty much start > herehttp://download.or

[android-developers] Viewing app features (MIME types, etc)

2010-09-28 Thread DanH
Is there any way (and preferably a pre-existing tool) to view the external features of an app, in particular the MIME types an activity supports? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread DanH
You might want to try using \u0009 instead of \t for the tab character. And, of course, make sure your source really contains tab characters and some process hasn't expanded them to blanks. On Sep 28, 12:06 pm, john brown wrote: > Hello, > > My understanding of String.split() and "\t" and "\n" s

[android-developers] Re: Is SQLite built for concurrency on Android?

2010-09-27 Thread DanH
I was just quoting the spec there. On Sep 27, 4:55 pm, Bret Foreman wrote: > I would expect locks to be expensive only in the case where there was > actually a lot of lock contention. But excessive lock contention is > usually the sign of a poorly thought-out schema. -- You received this messag

[android-developers] Re: SQLite Database (secure?)

2010-09-27 Thread DanH
Best thing to do to learn SQLite is to go to http://www.sqlite.org/ and just start reading. You can download a PC/Mac/Linux version of the executables and play around with SQLite on a desktop/laptop where experimenting is a lot easier. And if you want a GUI instead of the command-line SQLite inte

[android-developers] Re: VerifyError reloaded

2010-09-27 Thread DanH
VerifyError occurs for two basic reasons: 1) An error in the bytecodes. 2) An error due to a mismatch between two different class files. It's really unusual to find a case for reason (1) but you apparently "lucked out". If this is code that runs OK in a regular Java environment but fails on Andro

[android-developers] Re: Is SQLite built for concurrency on Android?

2010-09-27 Thread DanH
be used by a single thread then you should set this to false. The default is true. Parameters lockingEnabled set to true to enable locks, false otherwise On Sep 27, 3:28 pm, DanH wrote: > First off, no lectures -- I know you're supposed to use a provider for > DB access, but I'm

[android-developers] Re: retrive values from database?

2010-09-27 Thread DanH
Another idea: If you don't know how to access a DB, don't use a DB. There's no great shame in using a plain old file to hold data. On Sep 27, 2:02 pm, Gold wrote: > Hi..All, > >                   I create database using sqlite in command prompt. > >                    In my login screen user can

[android-developers] Is SQLite built for concurrency on Android?

2010-09-27 Thread DanH
First off, no lectures -- I know you're supposed to use a provider for DB access, but I'm looking at a bug in an existing application -- SQLite can be built with or without support for concurrent (multi- thread/multi-process) access. Does anyone know if the Android version has concurrency turned

[android-developers] Re: Passing arguments to JSON c# .net web service

2010-09-27 Thread DanH
JSON is, at the first approximation, an alternative to XML. Like XML, the general form is standardized (it looks vaguely like Java or JavaScript) but you need to know the specific "tags" used to interchange data for a specific purpose. A JSON string might look like this: { "filter": { "appName":

[android-developers] Re: SQLite Database (secure?)

2010-09-27 Thread DanH
//www.androidsnippets.org/snippets/39/ > > This seems to be secure, but, can someone get this code and read seed > value and therefore get access to whole database? > > On Sep 27, 2:52 am, DanH wrote: > > > There is an open source SQLite-crypto package which I've used o

[android-developers] Re: SQLite Database (secure?)

2010-09-26 Thread DanH
There is an open source SQLite-crypto package which I've used on Symbian and seen used on iPhone. But you basically have to load an entirely new version of SQLite onto the phone, and I suspect that on Android there's no way to switch it in in place of the existing version, so it wouldn't interface

[android-developers] Re: javax.net.ssl.SSLException: Not trusted server certificate

2010-09-26 Thread DanH
Not true. Likely, but not certain. On Sep 26, 1:18 pm, Kostya Vasilyev wrote: >   With the server located at 192.168.1.2 it most certainly is a > self-signed certificate. > > -- Kostya > > 26.09.2010 21:39, DanH пишет: > > > > > Note that this most likely means

[android-developers] Re: javax.net.ssl.SSLException: Not trusted server certificate

2010-09-26 Thread DanH
Note that this most likely means that the server's certificate is signed by an "authority" that the phone doesn't recognize, because it doesn't have that "authority's" root certificate installed. It seems to be a problem with most phones that they only come with a small subset of the root authorit

[android-developers] Re: UnsatisfiedLinkError: Library XXXX not found

2010-09-24 Thread DanH
If you say so. On Sep 24, 5:29 pm, fadden wrote: > On Sep 24, 10:11 am, DanH wrote: > > > Ah, it kinda came back to me a little more.  In your particular case > > where you have multiple classes referencing the lib you see this: > > Native class A is loaded under lo

[android-developers] Re: Internet connection is not working in emulator

2010-09-24 Thread DanH
Here are a few ideas: http://stackoverflow.com/questions/2039964/how-to-connect-android-emulator-to-the-internet Would help to know what OS you're running, whether hard-wired or wireless, whether you're using a proxy, etc. On Sep 13, 1:01 am, viral wrote: > Hi, > > I am not able to run the inte

[android-developers] Re: UnsatisfiedLinkError: Library XXXX not found

2010-09-24 Thread DanH
loader. But a lib can only be loaded once, under one loader. On Sep 24, 11:54 am, ls02 wrote: > But we have one single shared library that is used by numerious > classes and instances. Note, the problem occurs very seldom. I never > personally saw it. > > On Sep 24, 7:38 am, DanH wrot

[android-developers] Re: UnsatisfiedLinkError: Library XXXX not found

2010-09-24 Thread DanH
s used by numerious > classes and instances. Note, the problem occurs very seldom. I never > personally saw it. > > On Sep 24, 7:38 am, DanH wrote: > > > You've got to be real careful about loading native classes, and, in > > particular, not load them twice under two di

[android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread DanH
Why are you specifying an initialization vector for decrypt and not encrypt? On Sep 24, 10:37 am, Donal Rafferty wrote: > Another update: > > I have changed the code to test encryption first and then decryption so the > code is now as follows: > > [CODE]Cipher c = Cipher.getInstance("AES/CFB8/NoP

[android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread DanH
There are a lot of subtleties to encryption/decryption having to do with block size, pre-priming the buffers, and padding at the end. It's more than just getting the algorithm and key right. On Sep 24, 4:44 am, "draf...@gmail.com" wrote: >  0  down vote  favorite > > I am trying to to download an

[android-developers] Re: UnsatisfiedLinkError: Library XXXX not found

2010-09-24 Thread DanH
You've got to be real careful about loading native classes, and, in particular, not load them twice under two different loaders. (At least that's my vague recollection.) On Sep 23, 10:12 pm, ls02 wrote: > So what's the proper way to deal with such issue? > > On Sep 2

[android-developers] Re: UnsatisfiedLinkError: Library XXXX not found

2010-09-23 Thread DanH
On regular Java systems this can occur when the native class gets loaded by the wrong class loader. And there are a couple of other obscure causes with regard to class loading, IIRC. On Sep 23, 7:34 pm, ls02 wrote: > From time to time we get from customers the following error > > java.lang.Unsat

[android-developers] Re: How to remove a notification with flag FLAG_NO_CLEAR ?

2010-09-23 Thread DanH
What happens if you clear the flag before trying the cancel? On Sep 22, 2:52 am, NRV wrote: > Hi, > > I create a notification for a background service : > > [...] > notification = new Notification(icon, tickerText, when); > notification.flags = Notification.DEFAULT_ALL | > Notification.FLAG_NO_CL

[android-developers] Re: Intercept launching of apps

2010-09-23 Thread DanH
There is Intent.createChooser, which kind of nibbles at the edges of this topic. On Sep 23, 11:42 am, TreKing wrote: > On Thu, Sep 23, 2010 at 8:07 AM, Dirk Vranckaert > wrote: > > > So when I intercept, and the user choses my application to start default, > > when I want to let open the applicat

[android-developers] Re: How to send a string to server

2010-09-23 Thread DanH
Note that a lot depends on how you break up the large array into smaller pieces. The absolute worst thing you can do is to "break" the original array into two pieces -- reducing the length of the "remainder" with each cycle. This beats the hell out of the garbage collector and sends performance d

[android-developers] Re: App working but GoogleMap not coming (proxy settings working)

2010-09-23 Thread DanH
Note that that site has a bad cert. On Sep 23, 2:09 am, ramindroid wrote: > Maps API key is correct. (I verified using in-correct API and got the > error in that case) > Internet permission for App are also given via manifest file. > > Today saw another error in logs: > checkin failed:https://and

[android-developers] Re: How much money do you make?

2010-09-22 Thread DanH
In short, apps are like show business. How many actors/musicians even get to give up their day jobs? On Sep 22, 3:55 pm, Indicator Veritatis wrote: > You make some very good points in this post, supplying the balance > lacking in all the previous posts on this topic. But there is one > thing I h

[android-developers] Re: How much money do you make?

2010-09-22 Thread DanH
Just FYI, in any other "first world" country, exceptiing Japan and South Korea, it would be (considerably) more. On Sep 21, 11:57 pm, JonFHancock wrote: > @Angus > I don't do ads in the app or on the website that  powers the app. > That is just sales.  I've considered doing a free version with ad

[android-developers] Re: New to Developing, Need Insight

2010-09-22 Thread DanH
sort of coherent description of the Android environment. They're all mainly random collections of tutorials, "organized" by topic. On Sep 22, 4:22 pm, TreKing wrote: > On Wed, Sep 22, 2010 at 3:50 PM, DanH wrote: > > And, as I've said several times here, unfortun

[android-developers] Re: New to Developing, Need Insight

2010-09-22 Thread DanH
For once I agree with IV. Learn some sort of programming language on a desktop first. Java is easy to learn, or Qt ( http://qt.nokia.com/ ). (Unfortunately PCs no longer come with a viable Basic interpreter, as that was one of the best intro languages.) Start with an "Idiots Guide" type book an

[android-developers] Re: TableLayout - span 2 columns

2010-09-22 Thread DanH
http://developer.android.com/reference/android/widget/TableRow.LayoutParams.html#attr_android:layout_span On Sep 22, 2:56 pm, dashman wrote: > i've got a simple TableLayout > > 2 rows - first row 2 columns and second row 3 columns > > i'd like the second view in first row to span to column. > > X

[android-developers] Re: LogCat and threads

2010-09-22 Thread DanH
You do need to be careful when reading various fora (and even some textbooks), though, as the confusion between "process" and "thread" runs deep. Further confusing things is the fact that sometimes a "process" is referred to as a "task", while in other cases "task" refers to a "thread". (Depends

[android-developers] Re: How to prevent aImageView from Overlapping a textview

2010-09-22 Thread DanH
Seems like you want to request that the layout be recomputed after changing the image. Just a guess, but something like ViewGroup.recomputeViewAttributes might be the answer. On Sep 21, 10:33 pm, Jacob wrote: > I currently have a linearayout that contains a textview and an > imageview. My Imagev

[android-developers] Re: Automatic testing tool for Android?

2010-09-22 Thread DanH
OK, the tools IS Monkey, and the command is "tap", as discussed in this post: http://groups.google.com/group/android-developers/browse_thread/thread/a3141be2636688e0 On Sep 22, 11:41 am, DanH wrote: > (There is a tool that lets you send button clicks.  Don't know > anything

[android-developers] Re: Automatic testing tool for Android?

2010-09-22 Thread DanH
(There is a tool that lets you send button clicks. Don't know anything about it, but it was mentioned in a post a few days ago. My impression was that it's a daemon of sorts that runs on the phone (perhaps through adb) and that you can send commands to it like "press 100 100" to press the button

[android-developers] Re: Automatic testing tool for Android?

2010-09-22 Thread DanH
Oops -- I see you mentioned Monkey in your original post. On Sep 22, 11:35 am, DanH wrote: > Are you talking about Monkey?   > http://developer.android.com/guide/developing/tools/monkey.html > > On Sep 17, 1:38 am, Dajinsol Jeon wrote: > > > Hi all, > > I&#

[android-developers] Re: Automatic testing tool for Android?

2010-09-22 Thread DanH
Are you talking about Monkey? http://developer.android.com/guide/developing/tools/monkey.html On Sep 17, 1:38 am, Dajinsol Jeon wrote: > Hi all, > I'm new to Android programming. > > Yesterday, I heard that there is a program to test Android application > automatically after installing apk onto

[android-developers] Re: Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread DanH
The (preliminary) word that folks at Nokia are giving me is that the site is legit, though the posts are suspicious, at least. They're trying to figure out whether it's a true bad actor or just someone in marketing run amok. On Sep 22, 7:44 am, DanH wrote: > (I've reported thi

[android-developers] Re: Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread DanH
(I've reported this problem to Nokia through a couple of routes.) On Sep 22, 7:32 am, DanH wrote: > OK, checked that domain name, and it appears to be hosted out of > Houston TX.  Not at all what I'd expect for a Nokia site.  So odds are > it's a phishing site. > &

[android-developers] Re: Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread DanH
OK, checked that domain name, and it appears to be hosted out of Houston TX. Not at all what I'd expect for a Nokia site. So odds are it's a phishing site. Odd that so much work went into the site -- hard to see what they expect to gain. On Sep 22, 7:16 am, DanH wrote: > The No

[android-developers] Re: Nokia inviting Developers to become an Ovi store publisher.

2010-09-22 Thread DanH
The Nokia platforms running Qt are probably generally friendlier to the programmer than Android, and market penetration of the Nokia phones in Europe is quite high. Plus problems with piracy are much less. The main downsides are the crummy pressure-sensitive touch screens and the short battery li

[android-developers] Re: JSON Parsing Error

2010-09-21 Thread DanH
> Unable to resolve superclass of Lnet/sf/json/JSONException; This suggests that the JSON parser never even loaded. Presumably there's something wrong with its configuration. On Sep 19, 9:45 pm, Sachin wrote: > Hi everyone, > > I'm hitting a wall on this one. I'm trying to parse a JSON file and

[android-developers] Re: Android better than iPad

2010-09-21 Thread DanH
Dunno -- I think you can get 404 errors on iPad too. On Sep 19, 9:29 am, Abin Awale wrote: > Latest feature of Andoid that iPad don't have and knowone knows. to > know plz visit.www.infotech2you.blogspot.com -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: sending c2dm: java.security.cert.CertificateException: No subject alternative DNS name matching android.apis.google.com found.

2010-09-21 Thread DanH
http://jafag.blogspot.com/2008/12/java-ssl-no-subject-alternative-matched.html http://www.forumeasy.com/forums/archive/ldappro/200707/p118350300716.html http://discussion.forum.nokia.com/forum/showthread.php?182747-javax.microedition.pki.CertificateException On Sep 21, 12:31 pm, Sean Liao wrote

[android-developers] Re: android spoofing

2010-09-21 Thread DanH
You know, like Shields and Yarnell. On Sep 21, 6:50 am, String wrote: > On Sep 21, 12:05 pm, Rosebeat wrote: > > > Does anyone know how to do android spoofing? > > What is it you want to spoof? > > String -- You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread DanH
> (to avoid synchronization overhead for the message queue) That's kind of odd -- synchronization between threads takes microseconds (or should) -- far cheaper than even the simplest UI operation. On Sep 20, 8:51 pm, Mark Murphy wrote: > On Mon, Sep 20, 2010 at 9:33 PM, DanH wrote:

[android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread DanH
te: > On Mon, Sep 20, 2010 at 9:16 PM, DanH wrote: > > No sort of "wait on event" at all?? > > None you would want to use for your targeted use case. > > There are, of course, lots of classes that implement wait logic in > java.util.concurrent, such as Sem

[android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread DanH
No sort of "wait on event" at all?? On Sep 20, 7:49 pm, Mark Murphy wrote: > On Mon, Sep 20, 2010 at 8:35 PM, DanH wrote: > > I'm just learning -- no particular task in mind -- but I'm thinking of > > a case where, for the sake of argument, I'd put

[android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread DanH
og kick off the next bit of logic and so on, but that really chops up the "main program" logic vs having it all in a single sequence with "calls" out for the dialogs. On Sep 20, 5:16 pm, TreKing wrote: > On Mon, Sep 20, 2010 at 4:52 PM, DanH wrote: > > What is t

[android-developers] Re: projecting the Android screen

2010-09-20 Thread DanH
the update rate isn't great.  You can also > run in the emulator. > > On Sep 20, 1:32 pm, DanH wrote: > > > Some Nokia phones let you plug a special adapter into the audio port > > and get a VGA output.  I suppose it's purely a matter of the phone > > mfgr be

[android-developers] Android pattern for waiting on event

2010-09-20 Thread DanH
What is the Android technique/pattern for effectively waiting on an event in another thread? Eg, waiting for an onClicked in a dialog? (I'm sure someone's going to tell me "Don't do that!!", so let's skip over that discussion entirely and instead discuss the ways of synchronizing between threads,

[android-developers] Re: How wrong is this?

2010-09-20 Thread DanH
Well, they MIGHT be legit. Their Ts&Cs appear to be fairly "normal" (if a little ragged in places) -- no worse than your average credit card agreement. They have a valid address listed in the Chicago area, but it appears (from nearby real estate listings) to be a townhome in the $200-350K range (

[android-developers] Re: Application checksum at runtime

2010-09-20 Thread DanH
e pirate > patches the code, the checksum won't match any more. I'm trying to > detect an altered apk. > > On Sep 20, 8:51 am, DanH wrote: > > > The pirate would have to crack a more complex algorithm, but > > again, once he figured out where to patch he could j

[android-developers] Re: Application checksum at runtime

2010-09-20 Thread DanH
e checksum dynamically. On Sep 20, 11:18 am, Bret Foreman wrote: > This is why I want to do the checksum at runtime. If the pirate > patches the code, the checksum won't match any more. I'm trying to > detect an altered apk. > > On Sep 20, 8:51 am, DanH wrote: > >

[android-developers] Re: projecting the Android screen

2010-09-20 Thread DanH
Some Nokia phones let you plug a special adapter into the audio port and get a VGA output. I suppose it's purely a matter of the phone mfgr being motivated to provide the facility. On Sep 20, 11:20 am, Bret Foreman wrote: > I have a Motorola Droid phone and I want to demo an app on it. The > dem

[android-developers] Re: Application checksum at runtime

2010-09-20 Thread DanH
I think her point is that the checksum is verified during install, so if you can access the checksum there's no real need to re-verify it. (I didn't see that she said HOW to access the checksum, though.) But of course if a pirate can find the code where you fetch the checksum and patch in his own

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-20 Thread DanH
One could potentially go after the credit card companies for racketeering. However, lawyer$ would be needed, and who's going to pay them? Kinda need an app writer's union of a sort. On Sep 19, 10:23 pm, chrispix wrote: > Obviously they have to get their money some how. Sign up for an > account

[android-developers] Re: Application checksum at runtime

2010-09-19 Thread DanH
I wonder if there's a way to access the application's signature. On Sep 19, 5:07 pm, Bret Foreman wrote: > As an additional anti-pirating strategy, I'd like to compute a > checksum on my application at runtime. Since my app communicates with > a back-end server, I can send the checksum with each

[android-developers] Re: Using Eclipse - can it get faster?

2010-09-19 Thread DanH
Yes on two points: 1) Not just for Android, but with just about any use of Eclipse you want to turn off auto build. I probably did that subconsciously when I set up Android. 2) There are several different versions of Eclipse and several different versions of the JDK. I used what seemed to be re

[android-developers] Re: File extensions and MIME type

2010-09-19 Thread DanH
I'd suggest that you get yourself a good Android reference ... only there isn't one. However, even a mediocre reference such as "Pro Android 2" covers this topic in more complete detail than you're likely to get asking here. On Sep 19, 9:08 am, ls02 wrote: > My app has two private file formats w

[android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread DanH
Can an application not place images or music in directories on the device, and have those files persist beyond the persistence of the app? On Sep 19, 7:23 am, Mark Murphy wrote: > On Sun, Sep 19, 2010 at 8:12 AM, ayanir wrote: > > I want to share data between 2 applications. > > the idea is both

[android-developers] Re: Using Eclipse - can it get faster?

2010-09-19 Thread DanH
Runs pretty well out of the box on my laptop -- 2MHz dual CPU with 4G RAM, running Vista. Not lightning fast, mind you, but certainly not painfully slow (though emulator startup the very first time can be benchmarked with a calendar). I'm guessing that having enough RAM is important. On Sep 19,

[android-developers] Re: zapfino

2010-09-18 Thread DanH
Sure. You can get it from Linotype for $39. On Sep 18, 3:59 pm, intbt wrote: > Anyone know where I can find zapfino for Android CHEAP!! (<$40) > > intbt -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Re: Same color specified in xml file and png appear differently?

2010-09-18 Thread DanH
There's a way, using one of the tools shipped with the emulator, to determine what color is actually being displayed. (The tool, which I've never used, is described in "Pro Android 2" -- don't remember the name.) Probably some 3rd party tools can be used for this as well. On Sep 16, 8:51 am, Mar

[android-developers] Re: Exception Logging

2010-09-18 Thread DanH
First off, you are to be commended for putting this much effort into diagnostics. Even the big players are just catching onto this (as witnessed by the fact that there's no facility for this built into the phone). "Real time" diagnostics are much friendlier for the user than saying "Please reprod

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-18 Thread DanH
ngry language shows that you > have not learned the most important lessons your allegedly longer > experience could have taught you. Small wonder, then, that you show > such limited understanding of UX principles. > > On Sep 17, 7:25 pm, DanH wrote: > > > With all due respec

[android-developers] Re: To the Moderators: is there a way to find my earlier post threads?

2010-09-18 Thread DanH
aied wrote: > Is it unreasonable to expect to find my posts, and their replies, here > on the web interface? > > On Sep 17, 7:29 pm, DanH wrote: > > > Are you working via email or the web interface?  If you're using the > > web interface you can click "Edit my m

[android-developers] Re: How much money do you make?

2010-09-18 Thread DanH
It's hard to compete against free. I've not installed many phone apps, but in terms of desktop apps I find that quality/fit is so variable that I'm reluctant to pay up front for an app (have only done it on a couple of occasions), and I would imagine the same is true for phone apps. I have on a h

[android-developers] Re: To the Moderators: is there a way to find my earlier post threads?

2010-09-17 Thread DanH
Are you working via email or the web interface? If you're using the web interface you can click "Edit my membership" just to the right of this thread to change your email preferences. If you're working via email I assume there's a way to email change requests, but I don't know what it is. On Sep

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread DanH
a lot about your old situation, since I know only what > you so briefly described. What I CAN say is that it really does go > against the grain in Android, and in a way that can only detract from > the UX. And that if the OHA or Google had the kind of strict UI > guidelines that

[android-developers] Re:

2010-09-17 Thread DanH
Let me see if I've got this right: You want to search for all of the mp3, wma, and ogg files on the SD card and then show them in a ListView. Correct? Which parts of the above do you not understand how to do? There are several steps, and I can certainly understand not knowing how to do one or t

[android-developers] Re: android emulator is slow on vmware

2010-09-17 Thread DanH
Of course, keep in mind that it takes longer than 5 minutes (something like 15) to cold-start the Android emulator on straight windows. On Sep 17, 11:11 am, Ahmad Musa wrote: > hi all, > >     I am using windows XP, and my android development environment is > on ubuntu installed inside vmware. >

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-17 Thread DanH
Thing is, the laws in many countries make libel suits fairly easy, and hard to defend against. They would be unlikely to win, of course, but they could make your life miserable enough to keep others from saying nasty things about them. Think of the Texas "veggie libel" laws and the trouble they m

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-17 Thread DanH
Have you read their procedure for reporting pirated software? They tell you how to prepare a complaint (including all sorts of discouraging steps), and then don't tell you where to send it -- the "Designated Agent" is never "identified below". Nowhere can you find an address. Pretty clever, real

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-17 Thread DanH
True, but the second and third options could set you up for a lawsuit. "Scam" is reasonably safe, though, since selling pirated software IS a sort of scam. On Sep 17, 2:29 pm, "Maps.Huge.Info (Maps API Guru)" wrote: > The problem with publicizing that they are pirates is that people > looking fo

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-17 Thread DanH
wamp out the dozen or so discussions. What's needed is a few hundred sites saying "AppBucket == pirated software" in phrasing that will tend to show up unambiguously on Google. On Sep 17, 2:20 pm, TreKing wrote: > On Fri, Sep 17, 2010 at 1:57 PM, DanH wrote: > > With

[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-17 Thread DanH
I suspect a lot of people who buy from AppBucket really don't know they're dealing in pirated software. If there were some way to make it well known that outfits like AppBucket are pirates, that would probably help a lot. (One trick that comes to mind is simply "spamming" Google: Have lots of fo

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread DanH
Yes, regarding the transparent overlay trick, I did that in buckets on the application to which I refer. On Sep 17, 12:14 pm, TreKing wrote: > On Fri, Sep 17, 2010 at 12:04 PM, DanH wrote: > > In this particular context there was a simulated scroll wheel superimposed > > over

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread DanH
ll desires to continue in that direction, and he's not obviously going in over his head (as in the guys who ask questions like "What does 'new String' mean?") then one should either politely respond with helpful information or STFU. On Sep 17, 12:14 pm, TreKing wrote: >

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread DanH
> So, please, when you ask questions, also try to explain WHY In his second post the OP said: > I'm experimenting with different behaviors. Seems to me that's reason enough. On Sep 17, 12:13 pm, Kumar Bibek wrote: > @DanH: Agreed. But the situation you put forth, t

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread DanH
n far fewer -- it's basically "whatever works", combined with a modest respect for convention/precedence. On Sep 17, 11:48 am, TreKing wrote: > On Fri, Sep 17, 2010 at 11:44 AM, DanH wrote: > > In a particular context "normal" scroll behavior was (almost) univ

[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-17 Thread DanH
On a different phone we ran into this. In a particular context "normal" scroll behavior was (almost) universally judged by users as "backwards", even though a few screens later the situation was reversed. I think some folks need to come down off their high horses and accept that ultimately one sh

[android-developers] Re: Converting Bitmap to ASCII

2010-09-17 Thread DanH
Use any of several binary to ASCII algorithms (such as "base64"). Of course, you have to convert it back on the other end. On Sep 17, 2:20 am, perumal316 wrote: > Hi All, > > I have a picture taken using the phone's camera and in bitmap format. > I want to send it over HTTP usinf Http post in AS

[android-developers] Re: Mechanism to ensure request comes from my app

2010-09-17 Thread DanH
You can in theory use your app's certificate in reverse to sign the requests. Check the signature on the other end using your private key. Not sure how you can access your app's certificate from the app, though, and it doesn't protect you from an outright stolen copy of the app. On Sep 17, 2:03 

[android-developers] Re: Can't find my posts :(

2010-09-17 Thread DanH
That would be a hat trick. On Sep 16, 11:46 pm, Bret Foreman wrote: > I used to think Google was a one trick pony - search. But Android's > pretty good. So it's a two trick pony. Getting Google Groups right > would be a third trick and I just don't think they're up to it. -- You received this m

[android-developers] Re: Problem with HttpsURLConnection

2010-09-17 Thread DanH
It's fairly normal for messages to take from a few minutes to several hours to appear after posting. On Sep 17, 9:15 am, Neilz wrote: > Very odd, sorry about double post. Browser crashed the first time, and > the message wasn't showing up. -- You received this message because you are subscribed

[android-developers] Re: How can i access the /data/data//files/my_file.txt on a real android device

2010-09-17 Thread DanH
Yes, the file system on Android is SQL-centric to a fault. On Sep 17, 10:41 am, john brown wrote: > Linda, > > I am new to Android. I had my app on a Microsoft phone and used .txt > files for data storage. It seemed like a good idea on the Microsoft > smartphone and it worked. > > I did the same

[android-developers] Re: Can't find my posts :(

2010-09-16 Thread DanH
Sometimes posts don't show up for hours, and when they do they're out of order, time-wise, relative to other posts. The Google Groups implementation kinda sucks. On Sep 16, 3:47 pm, Moto wrote: > I have had this problem a couple times where I post something and I > can never find it again... One

<    1   2   3   4   5   6   7   8   9   >