Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Kwan Cheng
You would think java sucks until you try objective c. Imo c#.net is the best language out of the bunch. On Aug 13, 2010 1:54 AM, "Miguel Morales" wrote: > I used to hate Java, I think that it's ok to good now. (Even better > with the framework google provided to make apps) > The thread handling

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-13 Thread JP
On Aug 13, 5:05 am, DanH wrote: > Oracle upset about Android.   Take it from me, the people who drive these lawsuits are the types who give a ratsass about anything that we think matters. Plenty of those hired at other firms up and down the 101 as well, of course. -- You received this messag

[android-developers] htc aria not showing up as a device in eclipse

2010-08-13 Thread mhuman1
Hi, My HTC aria shows up when I run adb devices. It even shows the correct serial number. However, I can't find it as a target in eclipse. I am clicking on Run/Run Configurations. It brings up my project and a "target" tab. The emulator is the only thing listed, not my HTC aria. Is there anoth

[android-developers] Re: how many versions of an image should I make for the different device screen sizes?

2010-08-13 Thread Michael A.
The biggest problem I, I find, is with the use of background images. There you not only require l/m/h dpi images, but also portrait and landscape (if you allow these). Haven't really found a good solution to this other than either ignoring the problem (which doesn't look as good) or generating a bu

Re: [android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-13 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/13/10 14:05 , DanH wrote: > Acually, SUN has one of the worst JVMs available, and that's probably > a big part of what's got Oracle upset about Android. (That and the > money, of course.) > > I would assume that Google got one of the standard de

[android-developers] Re: Getting Object from ContentProvider

2010-08-13 Thread Natanael Arndt
Am 12.08.2010 16:17, schrieb Kostya Vasilyev: The serialization can be any kind you want or are able to implement. It can be Java Serialization, sure. But doesn't have to be. I am not at all familiar with Jena, so this is sort of generally speaking ...for relatively simple objects with fe

[android-developers] Re: Application state when Home pressed

2010-08-13 Thread RichardC
You should not assume that your parent activity exists when your child activity is being displayed. Try what I wrote above and see what happens. It is permissible (although very unlikely that) your parent activity is killed (by the OS) while you are using your child activity. On Aug 13, 11:04 a

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-13 Thread DanH
User side Java has been limited mostly by the lack of a decent UI. On Aug 13, 4:55 am, Fabrizio Giudici wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 8/13/10 11:39 , Miguel Morales wrote:>> I don't know of any popular fast > java applications, despite all > >> these features. A

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-13 Thread DanH
Acually, SUN has one of the worst JVMs available, and that's probably a big part of what's got Oracle upset about Android. (That and the money, of course.) I would assume that Google got one of the standard development licenses from Sun, where they could do pretty much whatever they wanted -- it

[android-developers] Re: String Array

2010-08-13 Thread DanH
Yeah, "String[] arrStrings" makes more sense, since the full type description is in one unit, separate from the name. But C/C++ syntax is "String arrStrings[]" (with the prior order being illegal) so some people prefer that order. You may use either, but the first is probably slightly preferred.

[android-developers] Re: Read from sdcard problem (version 1.6)

2010-08-13 Thread John-Z80
One interesting detail, the code (and some variants tryint to use Bitmap and BitmapFactory...) did not work in a 1.6 android Tattoo mobile, BUT I've just tried in a magic (1.6 version too) and another Android mobile (2.1 version) and the above code WORKED. Tried in another Tattoo from another frine

[android-developers] Re: Saving SMS to SENT messages

2010-08-13 Thread Suzann
Is there a way to check if such content exists? If yes the message will get stored, else it will not. - This will at least prevent app from crashing once the sms content is not available anymore. Thx, Suzann On Aug 12, 10:31 pm, Mark Murphy wrote: > Bear in mind that your technique will break o

[android-developers] Re: LVL buy now button.

2010-08-13 Thread sblantipodi
You told us that http:// works well only if the user "understood" that it should click on Details. As far as I'm understood using the HTTP:// the user will be prompted with a list of possible software that can manage that URL, so the default browser, Opera Mini for example, other browsers and than

Re: [android-developers] String Array

2010-08-13 Thread Filip Havlicek
Yes it should be, although when I just tried it in Eclipse, the arrStrings[] didn't give me arrStrings.length in the context menu (don't know why), so I thought Ajay might be experiencing the same problem and thus asking the question. 2010/8/13 Farjad Habib > @Filip > > it doesn't matter both St

[android-developers] Re: LVL buy now button.

2010-08-13 Thread String
I can't believe I keep letting myself get sucked back into this discussion... On Aug 13, 11:30 am, sblantipodi wrote: > at the moment I really can't understand why they used http:// instead > of market:// LET IT GO. Both protocols work, if somewhat differently. Use whichever one you'd prefer, a

[android-developers] Re: ERROR IN "C:\Users\lenovo\Desktop\android-sdk_r06-windows\android-sdk-windows>>SDK Setup.exe"

2010-08-13 Thread Bob Kerns
Can you access the URL from your web browser? https://dl-ssl.google.com/android/repository/repository.xml If not, you have some sort of network, firewall, or similar problem. You should be able to view that URL above in your browser. Also check: http://dl-ssl.google.com/android/repository/repos

[android-developers] Re: String Array

2010-08-13 Thread Ajay
Yes both the syntax are allowed...Thanks for the replies!! On Aug 13, 4:05 pm, Farjad Habib wrote: > @Filip > > it doesn't matter both String[] arrStrings and String arrStrings[] are legal > in java... > > On Fri, Aug 13, 2010 at 4:01 PM, Filip Havlicek > wrote: > > > > > Hi Ajay, > > > shouldn'

Re: [android-developers] String Array

2010-08-13 Thread Farjad Habib
@Filip it doesn't matter both String[] arrStrings and String arrStrings[] are legal in java... On Fri, Aug 13, 2010 at 4:01 PM, Filip Havlicek wrote: > Hi Ajay, > > shouldn't it be more like: > > String[] arrStrings ... ? > > Then of course use the usual arrStrings.length > > 2010/8/13 Ajay > >

Re: [android-developers] String Array

2010-08-13 Thread Filip Havlicek
Hi Ajay, shouldn't it be more like: String[] arrStrings ... ? Then of course use the usual arrStrings.length 2010/8/13 Ajay > Hi, > I have defined a string array in the resource and access it using: > > String arrStrings[] = > getResources().getStringArray(R.array.arrayname); > > But, h

Re: [android-developers] String Array

2010-08-13 Thread Farjad Habib
it ll have all the functions/variables that an array has... simply use arrStrings.length; On Fri, Aug 13, 2010 at 3:58 PM, Ajay wrote: > Hi, > I have defined a string array in the resource and access it using: > > String arrStrings[] = > getResources().getStringArray(R.array.arrayname); > >

[android-developers] String Array

2010-08-13 Thread Ajay
Hi, I have defined a string array in the resource and access it using: String arrStrings[] = getResources().getStringArray(R.array.arrayname); But, how can I get the size of this array? Thank you, AJ -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Read from sdcard problem (version 1.6)

2010-08-13 Thread John-Z80
Hello I'm trying to make a photo calling the CAMERA Intent an after returning to my application read the file, but altough I get a File like /sdcard/DCIM/camera/.jpg if I try to open the file, it exist and can be read (check with File.exist or File.canread BUT the length of the file is always 0

[android-developers] Re: Record audio problem on the LG Ally

2010-08-13 Thread skooter500
Jeff I did some benchmarking first. I have versions of my algorithms in both C++ and Java. I sample at 22KHz for 12 seconds and perform an SFTF on 2048 sample frames with a 75% overlap in order to transcribe what the user has played on their instrument. I do some other stuff on the spectrum to fig

[android-developers] Re: Google browser certificate issue

2010-08-13 Thread Zsolt Vasvari
Yes, you are probably right. This happens to me all the time in Singapore, or at least used to. I don't remember seeing it for the past month or so. On Aug 12, 11:44 pm, MB wrote: > My guess is that the date/time on Mathew's device is wrong.  Digital > certificates have an expiry date that the

[android-developers] Oracle sues Google over Android and Java

2010-08-13 Thread sblantipodi
Link http://news.cnet.com/8301-30684_3-20013546-265.html -- 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@googlegroups.com To unsubscribe from this group, send email to android-develope

[android-developers] Re: LVL buy now button.

2010-08-13 Thread sblantipodi
excellent answer indicator. at the moment I really can't understand why they used http:// instead of market:// On Aug 13, 2:24 am, Indicator Veritatis wrote: > You are misusing the principle behind the old saying, "to err is > human, to forgive, divine". Sure, they writers are only human, but the

Re: [android-developers] Tiff Codec

2010-08-13 Thread Anurag Singh
LibTiff is the right place. http://www.libtiff.org/ - Anurag Singh On Thu, Aug 12, 2010 at 2:37 PM, Reddy wrote: > Hi, > > I am not sure whether it is the right place to ask this question. > > Has any one implemented the codec for Tiff formated image? If any one > is having any idea please sha

[android-developers] Re: Application state when Home pressed

2010-08-13 Thread viktor
On 12 Сер, 20:26, Frank Weiss wrote: > There are two levels of foreground/background, onPause/onResume and > onStart/onStop. Please read the Activity documentation. Then explain > what you issue is. OK, I write more clear my issue. I have parent activity, other activities extends that. I want

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/13/10 11:39 , Miguel Morales wrote: >> I don't know of any popular fast java applications, despite all >> these features. Again, Java is ok, great for what it does. But >> > just not as good as its alternatives. It's great for android > because

[android-developers] Re: Bind the pushpin on image

2010-08-13 Thread Beena
@Frank Weiss >I suppose you need to scroll the pushpin as well. I cant scroll the pushpin. @Farjad Habib >use map layout... I am not using any map api. This is image of building which shows rooms/shop, where I can plot the small images on the main image of building. Hope you can understand. An

Re: [android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-13 Thread Miguel Morales
I'm sure not all of us have the cash to pay for the amount of servers the app engine requires. Also, they pretty much use jetty for the frontend, they use an rpc system to communicate with whatever their backend is coded in. (at least from briefly scanning the the gae docs) 2010/8/13 François Masu

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Miguel Morales
> I don't know of any popular fast java applications, despite all these > features. > Again, Java is ok, great for what it does. But > just not as good as its alternatives. It's great for android because it's popular. It's stable, there's tons of libraries, it's fast/efficient enough. You can o

[android-developers] Re: Chilling news: Oracle sues Google over Android

2010-08-13 Thread François Masurel
What about the Google App Engine for Java platform ? It's powered by Jetty though, not Tomcat. François On 13 août, 11:28, Miguel Morales wrote: > > Do you know that most of the web sites, services and whatever on the > > internet are powered by Java and by a good percentage by Tomcat? Java > >

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Ralf Schneider
I forget! There is hope: NaCl is doing it right (IMHO)! May be Android will one day get fast apps via PNaCl ( nativeclient.googlecode.com/svn/data/site/pnacl.pdf) 2010/8/13 Ralf Schneider : > I was just pointing out a logical flaw in another post: The poster was > defending Java and in the last pa

[android-developers] Re: Invoking A Web Service Through A Button

2010-08-13 Thread Bob Kerns
Look at AsyncTask. The key thing is that you should never do anything that blocks or takes a long time on the main (UI) thread. That especially includes anything related to the network -- IO, opening/closing connections, or even resolving hostnames. A service by itself does not solve that, as it

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Ralf Schneider
I was just pointing out a logical flaw in another post: The poster was defending Java and in the last part he suddenly told: C will rule Android development as soon as there is video and audio access via the NDK Actually I agree. For: implementation, maintenance, and debugging ... Java is far bett

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Miguel Morales
> Do you know that most of the web sites, services and whatever on the > internet are powered by Java and by a good percentage by Tomcat? Java > = slow is bullishit at least since five years, so please don't spread > FUD any longer. Yes, I know. I used to be a sysadmin for a few datacenters. I k

Re: [android-developers] Activity getting killed and automatically starting again on screen off button press

2010-08-13 Thread Shashidhar
Thanks for the reply habib. But my programs is doing none of the 2 things you have mentioned... On Fri, Aug 13, 2010 at 1:30 PM, Farjad Habib wrote: > see if ur activity is persistent or is it getting modified by the phone > state... > > On Fri, Aug 13, 2010 at 11:56 AM, Shashidhar wrote:

Re: [android-developers] OpenGL ES 2.0 available on the updated HTC Hero? (Android 2.1)

2010-08-13 Thread { Devdroid }
On 12 August 2010 21:52, Johan Gardell wrote: > I'm trying to run some of the hello-gl2 code on my HTC Hero updated to > Android 2.1 but i keep getting the error > "java.lang.IllegalArgumentException: No configs match configSpec", > which is in GL2JNIView.java on line 168. get glInfo app from Ma

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/13/10 10:18 , Miguel Morales wrote: > > Eclipse is not snappy, at all. Not even close. KDevelop is > snappy. XCode is snappy enough. Azureus is slow too, you have to > really tune the settings to get some decent performance, same with > Eclipse

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Dianne Hackborn
On Fri, Aug 13, 2010 at 1:34 AM, Ralf Schneider wrote: > If Java is so great, why will the NDK(C/C++) become the language of > choice - as soon as google provides a useable API? > The language of choice for what? Not most app developers. Except for certain apps, Java is going to be a far better

RE: [android-developers] Application Lock

2010-08-13 Thread sachin.ravi
I think this can be done. In settings application, we need to add privacy lock features to lock the defferent applications. So suppose camera is selected for lock, then this entry has to be maintained in DB. >From camera hardware side, 1st function to open the camera is Camera.open(). This fu

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Ralf Schneider
> sucks? Do you back this up in some way? Java is a very good language. I am > curious what you find so bad, what languages you think are vastly superior? ... > it sucks". Anyway.. I am not opposed to other languages.. NDK.. as soon as > it allows for direct audio and video access.. will be the l

Re: [android-developers] Re: How to install package without asking user just like market app?

2010-08-13 Thread Dianne Hackborn
Sorry you can't do that without being built into the system image. On Fri, Aug 13, 2010 at 1:19 AM, Alex Xin wrote: > Sorry for my poor English. I'm from China, speaking English is always > a difficult task for me. > I mean, if I try to use Intent to install a package, an install activity > will

[android-developers] Application Lock

2010-08-13 Thread perumal316
Hi All, I came across an Application in Android Market which locks the use of application. Meaning after locking an application can only unlock it using password. My question is, can this be done for hardware? E.g. Password protect camera for example, so only can unlock it using the same passwor

Re: [android-developers] Re: How to install package without asking user just like market app?

2010-08-13 Thread Alex Xin
Sorry for my poor English. I'm from China, speaking English is always a difficult task for me. I mean, if I try to use Intent to install a package, an install activity will activate and ask user if it could install that app, but market will ask user only once, no that install activity shown up. Can

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Miguel Morales
> Actually, I don't agree with your use of "slow" with the apps you mentioned. > Eclipse is very snappy... I've not seen any difference in it over any other > native IDE. Netbeans on the other hand I have found sluggish at times, but > is usually snappy. Azureus is built on the same underpinnings t

Re: [android-developers] Re: Is android 2.2 emulator support any flash or flash lite?

2010-08-13 Thread Raju Bitter
The interesting thing is that the AIR for Android 2.5 emulator runs Flash content in the emulator without any problems, but the emulation is very slow compared to the device. On Mon, Aug 9, 2010 at 8:16 PM, jeff.rinker wrote: > How About Now? > it's now a month later than the original post... > d

Re: [android-developers] Activity getting killed and automatically starting again on screen off button press

2010-08-13 Thread Farjad Habib
see if ur activity is persistent or is it getting modified by the phone state... On Fri, Aug 13, 2010 at 11:56 AM, Shashidhar wrote: > Hi, > We are experiencing this strange problem. If I press screen off button > When my activity is running, its again starting a new activity. If I press > the

Re: [android-developers] Hi, really need help with Android Camera

2010-08-13 Thread Pedro Teixeira
Just don't know anymore where to do the stopPreviews and releases... just before the Intent onClick ?! That order is not working for me.. On Aug 11, 2010, at 5:32 PM, Mark Murphy wrote: You are getting "Method called after release()" triggered by a call to stopPreview() from your surfaceDestr

Re: [android-developers] Chilling news: Oracle sues Google over Android

2010-08-13 Thread Kevin Duffey
I'm not going to pull any numbers as to why I say that most people think java sucks, maybe it's just some. I've gathered this from workplaces, forum/irc chats, etc. A lot of java applications are hated upon due to being slow (Eclipse, Azureus, Tomcat?). Java browser apps are generally slower t

[android-developers] Re: Whats first onCreate or the constructor

2010-08-13 Thread Scott Herbert
Thaks all for your helpful tips. -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googleg

[android-developers] Bluetooth headset connection establishment

2010-08-13 Thread Anzi
Hi, I am using Bluetooth APIs to establish the connection. I using the Bluetooth chat application as a reference to communicate with the Bluetooth headset. When I try to connect with Bluetooth headset I am getting IOException with the reason Connection refused. Can any one tell me the reason for

Re: [android-developers] Re: How do you create a custom Preference which needs to invoke a "activity for result" like RingtonePreference?

2010-08-13 Thread Kostya Vasilyev
Pino, You can always implement your own subclass of Preference. The same thing can be done differently inside Android and in "regular" applications, that's Ok. Subclassing Preference is actually quite nice, since the base class handles the drawing of title and subtitle strings, so your own

[android-developers] FrameLayout in webview

2010-08-13 Thread Shrenik Vikam
Is it possible to add FrameLayout in webview ? Thanks in advance -- 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@googlegroups.com To unsubscribe from this group, send email to android

<    1   2