Re: [android-developers] Compilation error on my if else statement

2011-10-07 Thread Nick Risaro
First learn java, then remove the ; at the end of the lines inside the if condition On Thu, Oct 6, 2011 at 12:28 AM, Isaac Ng isaac.n...@gmail.com wrote: if (item.equalsIgnoreCase(I. The Global Business Environment)); Should be if (item.equalsIgnoreCase(I. The Global Business Environment))

Re: [android-developers] Re: filewriter

2011-10-05 Thread Nick Risaro
First learn java, then read about streams, readers and writers, if still you can work it out come back with some code. On Wed, Oct 5, 2011 at 9:06 AM, leigh8347 leigh8...@aol.com wrote: Well that is the problem. I cant seem to fine any info on how to do it. I can fine bit and bobs. But when

Re: [android-developers] Changing package name in eclipse

2011-09-28 Thread Nick Risaro
On Wed, Sep 28, 2011 at 12:50 PM, Keith leftcont...@gmail.com wrote: I renamed a package in eclipse and checked off change name in all subfiles . Now when I try to load my app it crashes . Define Crashes :) Did you changed the package name in the manifest? I tried to rename back to the

Re: [android-developers] weird crash

2011-09-24 Thread Nick Risaro
It looks like the server is sending a bad response to your phone's request. Check both ends, the client and the server and try to figure out why the server is sending the string Acc in the response code field. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: maths in android

2011-09-20 Thread Nick Risaro
thanks On Sep 20, 2:50 am, Nick Risaro nris...@gmail.com wrote: Read thishttp:// download.oracle.com/javase/1.4.2/docs/api/java/lang/Math.html(orhttp://download.oracle.com/javase/1.4.2/docs/api/java/lang/Math.html%28ora newer version) and try to implement the formula. If you have any problem

Re: [android-developers] Cheap, rapid solution for disasters

2011-09-19 Thread Nick Risaro
And some peanuts, and cheese... maybe a pizza? On Mon, Sep 19, 2011 at 10:46 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Sir Would you like a glass of beer along with this also?? On Sat, Sep 17, 2011 at 2:16 AM, david davidg...@googlemail.com wrote: Hello, I am looking for a

Re: [android-developers] Need help with problem reading local variables

2011-09-19 Thread Nick Risaro
On Mon, Sep 19, 2011 at 3:50 PM, Ab Caballero a...@mac.com wrote: StringBuffer fileBuf = new StringBuffer(); String tripName = null; String origin = null;

Re: [android-developers] Re: Need help with problem reading local variables

2011-09-19 Thread Nick Risaro
On Mon, Sep 19, 2011 at 5:10 PM, Ab Caballero a...@mac.com wrote: Thanks, Nick! Your welcome I had written a method to do that an inadvertently forgot to call it. It was driving me crazy. Sometimes the only you need are some fresh eyes On Sep 19, 12:29 pm, Nick Risaro nris

Re: [android-developers] maths in android

2011-09-19 Thread Nick Risaro
Read this http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Math.html (or a newer version) and try to implement the formula. If you have any problem come back. On Sep 19, 2011 9:42 PM, leigh8347 leigh8...@aol.com wrote: I am currently working on an app that takes 4 user input values and

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

2011-09-17 Thread Nick Risaro
Te respondieron en el 4 mail you'll probably have to show the content on a webview on your own app if you want to control what is displayed or not (address bar and so on) Lo que te conviene hacer es mostrar un webview dentro de tu aplicación, de esa manera tenés más flexibilidad para

Re: [android-developers] Problem of Android RSS Reader

2011-09-14 Thread Nick Risaro
It's the phone connected to internet? Can you browse to the site with the mobile browser? On Wed, Sep 14, 2011 at 6:05 AM, Rathna Kumara Premadasa rathnakumar...@gmail.com wrote: Hi all, When i'm going to load RSS feed getting an Exception called

Re: [android-developers] Re: OutOfMemory exceptions

2011-09-11 Thread Nick Risaro
On Sun, Sep 11, 2011 at 4:11 AM, gjs garyjamessi...@gmail.com wrote: These are typically OutOfMemory errors (not exceptions) which you can catch in a try catch block, you can then hide these errors from the user or display a friendly message. In general you can't do that. If you have an

Re: [android-developers] Re: BufferedReader hangs on readline

2011-09-11 Thread Nick Risaro
On Sun, Sep 11, 2011 at 5:54 PM, petter petter.gus...@gmail.com wrote: Are end of line characters handled differently in Android? Probably, the EoL is encoding dependent. Try forcing the encoding to something like UTF-8 in both ends of the socket. -- You received this message because you are

Re: [android-developers] Re: project contains many error

2011-09-04 Thread Nick Risaro
Also, start with just a Hello World to check if everuthing is correctly installed and configured. On Sun, Sep 4, 2011 at 7:24 PM, nadam a...@anyro.se wrote: Go to the menu Window - Show View - Problems to see what the problem is. On 2 Sep, 11:25, dhanaraj chaudhari dbchaudhari...@gmail.com

Re: [android-developers] remarkable slowness

2011-09-04 Thread Nick Risaro
On Sun, Sep 4, 2011 at 9:02 PM, bob b...@coolgroups.com wrote: I am seeing some remarkable slowness in code like this: String html = htmlheadstyle type=\text/css\tr:nth-child(odd) { background-color: rgba(0, 0, 0, 1.0); } + tr:nth-child(even) {

Re: [android-developers] Service callback references ghost instance of my activity

2011-09-03 Thread Nick Risaro
On Sat, Aug 27, 2011 at 1:56 PM, Jason dummytes...@gmail.com wrote: 1) Is it possible for instance A to be referenced even after onDestroy() is called on it? Yes, because the instance is still loaded and the service holds a reference to it. 2) Is there a way to immediately invoke the

Re: [android-developers] Re: How to 'delete' allocated class by 'new'??

2011-08-31 Thread Nick Risaro
On Wed, Aug 31, 2011 at 6:40 AM, Build account newandroi...@gmail.comwrote: Hi, Thank you very much to let me know clearly. I tired to use your code snippet, but counldn't get sure. Another question here, If I use below code String a = new String(test); String b = a; b =

Re: [android-developers] Re: Can Android devices got normal computer viruses?

2011-08-29 Thread Nick Risaro
On Mon, Aug 29, 2011 at 5:14 PM, Zwiebel hunzwie...@gmail.com wrote: Ok, but people how can defend their devices againt these attacks? With the normal antivir programs like avg antivir or lookout? Check the market ;-) -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: IndexOf on the toString Value of a object?

2011-08-28 Thread Nick Risaro
Also you can 1 - redefine the equals method on your object. 2 - use java.util.Collections and a comparator. In both cases you meed to pass an instance of your object with, at least, the string attribute setted. On Aug 28, 2011 12:12 PM, blake blake.me...@gmail.com wrote: Use a Map. See

Re: [android-developers] Read ms word document

2011-08-28 Thread Nick Risaro
On Aug 28, 2011 10:20 PM, imsmooth hoffi...@erols.com wrote: I know how to read a text file How do I read a ms word (doc) file? Doc files are text files (docx are zip files) with MS format, but just plain text. Is it like a webview? -- You received this message because you are subscribed

Re: [android-developers] SQLite exceptions?

2011-08-25 Thread Nick Risaro
If you are not using the DB don't worry, maybe it's from another app in your phone On Thu, Aug 25, 2011 at 12:47 AM, kypriakos demet...@ece.neu.edu wrote: Hi all, I am getting this exception but I am not sure what it's all about - I am not really using a DB in my app and this started

Re: [android-developers] Re: what are the best practices for good coding skills and classes, methods, and variables naming +android

2011-08-25 Thread Nick Risaro
On Aug 25, 2011 6:48 PM, Indicator Veritatis mej1...@yahoo.com wrote: That is much too vague an answer. A less vague and more helpful answer would be, start with what is best practices for good coding skills and classes in Java itself, and apply the same principles to Android's classes. Now

Re: [android-developers] quotes

2011-08-24 Thread Nick Risaro
On Wed, Aug 24, 2011 at 5:32 PM, bob b...@coolgroups.com wrote: How do I make it so Eclipse doesn't give me two quotes when I ask for one? How are you asking to eclipse? Eclipse only understands english, if you asked in other language he can't understand you. -- You received this message

Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-22 Thread Nick Risaro
On Mon, Aug 22, 2011 at 4:48 PM, Raziel23x raziel...@gmail.com wrote: The files on on a webpage that I want the applcation to handle not it launching the web browser The files are on a FTP server or on a HTTP server? If the server is an FTP server you can connect to the server, list the

Re: [android-developers] Using socket programing to communicate between two emulators in eclipse

2011-08-21 Thread Nick Risaro
2 basic things: 1. Show us the exception! 2. Shorten the code, let only the relevant stuff -- 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

Re: [android-developers] Re: java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread Nick Risaro
Hey, RichardC, this problem is solved, check the third mail of the thread. -- 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

Re: [android-developers] turn off screen lock

2011-08-20 Thread Nick Risaro
On Sat, Aug 20, 2011 at 7:29 PM, hectordu...@yahoo.com hectordu...@yahoo.com wrote: hi guys, i would like to turn off programmatically the screen lock function ... how can i do it ? 3 easy steps. 1. Go to google.com 2. Type: android turn off screen 3. Implement the functionality

Re: [android-developers] Listview with image

2011-08-20 Thread Nick Risaro
On Sat, Aug 20, 2011 at 10:03 PM, TreKing treking...@gmail.com wrote: Stick an Image to the left of the title in your layout? With glue? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] knowing when garbage collection occurs on a real device

2011-08-19 Thread Nick Risaro
On Aug 19, 2011 12:46 AM, rukiman ruksh...@optushome.com.au wrote: Hi, I noticed on the real device the garbage collection logs do not appear in logcat. Any way of knowing when a garbage collection occurred and how long it took? I am looking at animation performance and using the emulator

Re: [android-developers] I need a simple android application that can view and create excel spreadsheets

2011-08-19 Thread Nick Risaro
On Sat, Aug 20, 2011 at 1:56 AM, vineeshkc kcvine...@gmail.com wrote: any idea Yes -- 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,

Re: [android-developers] Andriod Ebooks

2011-08-18 Thread Nick Risaro
On Thu, Aug 18, 2011 at 12:09 AM, Moul Kakada moul.kak...@gmail.com wrote: Hello all developer I am new in andriod, so would you mind sending me the ebook download link or web tutorial? Sure, developer.android.com Best Regard Kakada -- You received this message because you are

Re: [android-developers] Realidad Aumentada Android

2011-08-17 Thread Nick Risaro
Hasta donde yo sé no se puede. Te recomiendo que escribas en inglés si querés tener más respuestas. 2011/8/16 danielgo0307 danielgo0...@gmail.com Hola, quiero desarrollar una aplicación para Android q use Realidad Aumentada usando patrones de textura, inicialmente instalé Eclipse pero el

Re: [android-developers] someone please suggest me how can i get notification on my smart phone when i will be getting e-mail from third-party mail server...

2011-08-17 Thread Nick Risaro
Read the documentation and implement it ;) On Tue, Aug 16, 2011 at 7:53 AM, shailendra pathak shailendra.path...@gmail.com wrote: someone please suggest me how can i get notification on my smart phone when i will be getting e-mail from third-party mail server... -- You received this

Re: [android-developers] Re: app inventor

2011-08-17 Thread Nick Risaro
Indicator I challenge you to translate *pamientras* jajajaj -- 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

Re: [android-developers] Glad to help

2011-08-17 Thread Nick Risaro
On Wed, Aug 17, 2011 at 7:45 AM, Luis Ramirez luisangelramir...@gmail.comwrote: Download adobe PDF viewer Good idea -- 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

Re: [android-developers] Translation handling

2011-08-17 Thread Nick Risaro
On Wed, Aug 17, 2011 at 3:26 PM, Daniel Rindt daniel.ri...@googlemail.comwrote: Hi droids, i am looking for a possibility to access to the translation via the translation key like my_cart. The reason is that the datasource is more complex and written in xml which is residing in res/raw. So

Re: [android-developers] Translation handling

2011-08-17 Thread Nick Risaro
On Wed, Aug 17, 2011 at 4:07 PM, Mark Murphy mmur...@commonsware.comwrote: Use getResources().getIdentifier() to convert the String into a resource ID. This uses reflection under the covers, so please cache the looked-up ID. Nice one! -- You received this message because you are subscribed

Re: [android-developers] How to read *.CHM File ?

2011-08-16 Thread Nick Risaro
Here is all you need http://tinyurl.com/42r8nb2 On Fri, Aug 12, 2011 at 1:53 PM, mahdi mahdi.farz...@gmail.com wrote: Hi , i want to read *.chm file im my application and show it on textView , how can i do this ? thanks -- You received this message because you are subscribed to the Google

Re: [android-developers] logic

2011-08-16 Thread Nick Risaro
On Tue, Aug 16, 2011 at 9:14 AM, TreKing treking...@gmail.com wrote: Put your device on a stove, then turn it on. You will have awesome smoke effect. logically ;) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] How to setup Android Development environment

2011-08-11 Thread Nick Risaro
Go to a place with a good connection. Browse to developer.android.com Download all the things you need. Put the things in a pendrive. Copy those things on your PC. On Aug 11, 2011 4:59 PM, Vishalbandre vshlbn...@gmail.com wrote: How to setup Android Development environment on Windows XP 2000

Re: [android-developers] I'm trying to retrieve twitter Json feed and display in list view. I've created service to retrieve it. When I call service in List activity service object gives null value.

2011-08-11 Thread Nick Risaro
Try with the debugger, maybe you can find a clue. On Aug 11, 2011 5:00 PM, Anoop Namdev nam...@gowebbaby.com wrote: Hi, I'm trying to retrieve twitter Json feed and display in list view. I've created service to retrieve it. When I call service in List activity service object gives null value.

Re: [android-developers] Force Close Issue

2011-08-11 Thread Nick Risaro
That's so sad :( Maybe if you attach some logs we can help you and stop being sad. On Fri, Aug 12, 2011 at 1:15 AM, Spica spicaneb...@gmail.com wrote: I am developing location based application which uses phone's gps. It works fine on my android device when i am not moving but as soon as i

Re: [android-developers] key from value in hash table

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 10:19 AM, TreKing treking...@gmail.com wrote: On Wed, Aug 10, 2011 at 7:19 AM, sktniran sktniranjanad...@gmail.comwrote: is it there any way to retrive key from value in hashtable? Assuming the value is unique... ... you can build another map and keep both

Re: [android-developers] Connection refused: connect socket

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 11:21 AM, N K Shrivastva kumarnaveen.si...@gmail.com wrote: Exception in thread main java.lang.NullPointerException at connection.run(connection.java:94) Check the connection class, specially the line 94 -- You received this message because you are subscribed

Re: [android-developers] Why does Long.decode fail?

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 4:29 PM, RLScott fixthatpi...@yahoo.com wrote: I am trying to convert a string of 16 hex digits to a 64-bit Long, but there is a run-time exception for negative values: Long a = Long.decode(0x3774d56d682e549c); //..works just fine Long a =

Re: [android-developers] Re: Why does Long.decode fail?

2011-08-10 Thread Nick Risaro
On Wed, Aug 10, 2011 at 4:48 PM, RichardC richard.crit...@googlemail.comwrote: The string may be an optional minus sign - followed by a hexadecimal (0x... or #...), octal (0...), or decimal (...) representation of a long. I agree it is unclear. It's not unclear at all This sequence of

Re: [android-developers] Re: Unable to open log device '/dev/log/main': No such file or directory

2011-08-08 Thread Nick Risaro
Did you read this http://developer.android.com/guide/developing/device.html? Sorry if that doesn't help. On Mon, Aug 8, 2011 at 6:08 PM, devgeeks to...@devgeeks.org wrote: Bumping as a last resort before buying another phone :( -- You received this message because you are subscribed to the

Re: [android-developers] help with sdk install

2011-08-08 Thread Nick Risaro
On Tue, Aug 9, 2011 at 12:00 AM, TreKing treking...@gmail.com wrote: On Fri, Aug 5, 2011 at 10:18 AM, Old Orange Juice kc2...@gmail.comwrote: Android sdk doesn't think I have a jdk installed, how do you get the sdk to learn where your jdk is? What makes you think that's what the SDK is

Re: [android-developers] Arrays and android

2011-08-07 Thread Nick Risaro
On Sun, Aug 7, 2011 at 6:24 AM, Romain Guy romain...@android.com wrote: What you want is not an array but a map. Look at java.util.HashMap for instance. What he needs is an object :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: Google contact name fetch

2011-08-06 Thread Nick Risaro
If you attach a logcat with the error maybe we can help you. -- 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

Re: [android-developers] Re: Google contact name fetch

2011-08-06 Thread Nick Risaro
, projection, where, whereParameters, null); Try whit less parameters in the query, use the debugger to check step by step whats happening and/or put some log in your code. can u check this please? On Sat, Aug 6, 2011 at 5:40 PM, Nick Risaro nris...@gmail.com wrote: If you attach a logcat

Re: [android-developers] Re: map does not displaying in device

2011-08-05 Thread Nick Risaro
On Fri, Aug 5, 2011 at 6:59 AM, Tonez apires...@gmail.com wrote: Hi Ratheesh, I've been having the same problem, up until a few minutes ago when I sorted it out. The way in which I resolved this issue was by making sure the debuggable property of my application tag in AndroidManifest.xml

Re: [android-developers] Still can't log in to update app...

2011-08-05 Thread Nick Risaro
If you are in a hurry you can send the signed apk to your client, or put it on some webserver for him to download it. I know it doesn't solve your problem but at least you can deliver the app to some critical users. On Fri, Aug 5, 2011 at 3:41 PM, Tobiah t...@tobiah.org wrote: I've been in

Re: [android-developers] Still can't log in to update app...

2011-08-05 Thread Nick Risaro
On Fri, Aug 5, 2011 at 5:23 PM, Tobiah t...@tobiah.org wrote: On 08/05/2011 12:09 PM, Nick Risaro wrote: If you are in a hurry you can send the signed apk to your client, or put it on some webserver for him to download it. I know it doesn't solve your problem but at least you can deliver

Re: [android-developers] Is it possible to stream audio or video from a computer to a android phone?

2011-08-05 Thread Nick Risaro
On Fri, Aug 5, 2011 at 6:04 PM, neuromit stuart.lay...@gmail.com wrote: I'm extremely interested in streaming audio and or video from a computer to an android device? Ideally an event on the computer would trigger the creation of the A/V stream, the computer would then notify the phone via

Re: [android-developers] EMAIL SMS

2011-08-04 Thread Nick Risaro
Cool, godspeed On Thu, Aug 4, 2011 at 10:51 AM, arun kumar hariarun2...@gmail.com wrote: Hello all, I am developing one application. In that application i want to send email and sms to a particular user. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Need Help

2011-08-04 Thread Nick Risaro
Why?? On Wed, Aug 3, 2011 at 10:46 AM, Deepak Sharma deepaksimple...@gmail.comwrote: I want to make an app in which i have to play a background song while user is on a call with someone and this song should be heard to both user and the caller . -- You received this message because you

Re: [android-developers] Android source line numbers in stack trace

2011-08-04 Thread Nick Risaro
I think that you need to look in the code of Button.java, not View.java. Check that the code you are looking is the same (version) that the one you are running. Just for curiosity, why are you trying to follow the error in that class? On Wed, Aug 3, 2011 at 5:20 PM, Caleb9

Re: [android-developers] Override Hint when EditText is fullscreen

2011-08-04 Thread Nick Risaro
You can try with one layout for each mode, in one you have the Enter User Name text and in the other don't. On Wed, Aug 3, 2011 at 9:12 PM, Karthz zkar...@gmail.com wrote: Can I override the hint of an EditText when it is in landscape mode and the ime is fullscreen? For example, in a login

Re: [android-developers] Need Help

2011-08-04 Thread Nick Risaro
allow you play a Media Stream when you are on a CALL. If you explore (Hack) the Audio Flinger + Telephony stack, you can make the song yourself. Not Sure, whether the latter part is doable. On Fri, Aug 5, 2011 at 7:34 AM, Nick Risaro nris...@gmail.com wrote: Why?? On Wed, Aug 3, 2011 at 10

Re: [android-developers] Google Map Road Showing In Dev But not When Signed for Deployment

2011-08-03 Thread Nick Risaro
I'm not TreKing :) I do it with a method like this private boolean isDebuggable(Context context) { return (context.getApplicationInfo().flags ApplicationInfo.FLAG_DEBUGGABLE) != 0; } On Wed, Aug 3, 2011 at 3:39 PM, Adam Ratana adam.rat...@gmail.com wrote: TreKing, would

Re: [android-developers] Publish .APK on a website, not in Android Market?

2011-08-02 Thread Nick Risaro
On Mon, Aug 1, 2011 at 8:15 PM, Molly_G mollygar...@gmail.com wrote: I need to limit the audience of an Android app I'm working on. Is it possible to publish the .apk on my password-secured mobile website for users to download directly? Yes Also, what's the process like on the users'

Re: [android-developers] HELP!!! Anyone know about streams real time video from an android to Facebook, and/or our own server????

2011-08-02 Thread Nick Risaro
Or use UStram On Tue, Aug 2, 2011 at 9:36 PM, TreKing treking...@gmail.com wrote: On Tue, Aug 2, 2011 at 3:12 PM, Morning Glorie canopy.sun...@gmail.comwrote: I just use it not developer ; ( We would like to create an Android application by using JAVA programming language(or other) that

Re: [android-developers] problem of using intent to start activity of an add-on package

2011-08-01 Thread Nick Risaro
Have you tried different names for the search activity in the manifest? Like .SearchActivity. BTW, I'm not sure if you can mix packages in one manifest, because you have to specify one base package for your application. On Tue, Aug 2, 2011 at 12:17 AM, dave dayong...@gmail.com wrote: Hi, I am

Re: [android-developers] Events on ListView's row components problemes

2011-08-01 Thread Nick Risaro
Aja, and then On Tue, Aug 2, 2011 at 1:31 AM, Yassine Serhane serhan...@gmail.com wrote: Hello all, well I wish you can help me with these, it's been about 2 days blocking on it _ 1 | | _|___ -- You received this message because you are subscribed

Re: [android-developers] context menu

2011-07-31 Thread Nick Risaro
Put a break point in the line if (item.getItemId() == 1) { And check with the debuger what's happening step by step. -- 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

Re: [android-developers] image view

2011-07-31 Thread Nick Risaro
Try this http://developer.android.com/reference/android/widget/ImageButton.html On Sun, Jul 31, 2011 at 2:45 AM, arun kumar arun.kata...@gmail.com wrote: HI how to make imageview as highlight i given imageview when i on click on that it has to become highlight(background has to become

Re: [android-developers] Re: Spurious Location ... not been setup error message on WindowAndroid SDK and AVD manager

2011-07-31 Thread Nick Risaro
Try moving your SDK to a path without blanks. -- 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

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
Is LiveWallpaperSettings an inner class? I think that you can't put an activity as an inner class. Try moving that to a normal class. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
On Sun, Jul 31, 2011 at 2:23 PM, Kostya Vasilyev kmans...@gmail.com wrote: 31.07.2011 21:20, Nick Risaro пишет: Is LiveWallpaperSettings an inner class? I think that you can't put an activity as an inner class. Try moving that to a normal class. You can, as long as: - It's static

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
Glad to hear that :) -- 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...@googlegroups.com For

Re: [android-developers] Re: import ca.uol.aig.fftpack.RealDoubleFFT;

2011-07-29 Thread Nick Risaro
Then you need to add the jar containing the ca package to your classpath On Fri, Jul 29, 2011 at 12:54 AM, Wan Cekang kesyahd...@gmail.com wrote: the info - The import ca cannot be resolved On Jul 28, 8:49 pm, Nick Risaro nris...@gmail.com wrote: Did you read the info about the error? What

Re: [android-developers] Problem in starting Android emulator

2011-07-29 Thread Nick Risaro
I readed about this in this same group... but I don't remember the answer, I think that was something about the blanks in the path to the emulator. On Thu, Jul 28, 2011 at 10:30 AM, SamShah sarmadl...@gmail.com wrote: Hej, I am having problem in setting it up and running for the first time.

Re: [android-developers] Re: Eclipse - Emulator is not running

2011-07-29 Thread Nick Risaro
Sounds like a zombie proccess, check for the pid of the emulator and kill it. You can try moving (or deleting) the img files. On Thu, Jul 28, 2011 at 10:17 PM, Dalton Cézane daltoncez...@gmail.comwrote: Someone, please? [ ]s On Thu, Jul 28, 2011 at 12:51 AM, Dalton Cézane

Re: [android-developers] hiii dearssssss

2011-07-29 Thread Nick Risaro
Thanks that worked for me ;) On Fri, Jul 29, 2011 at 6:43 PM, TreKing treking...@gmail.com wrote: Just include in your project and run. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Verifying Map API key

2011-07-29 Thread Nick Risaro
Define crash. Did you read the log? What does it say? -- 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

Re: [android-developers] Verifying Map API key

2011-07-29 Thread Nick Risaro
It looks like MapBackMarkActivity is an inner class, the upperCase M in the FQN points to that (mapBack.*M*apback.MapBackMarkActivity), if thats the case I don't now if dalvik can handle activities as inner classes, you can try promoting MapBackMarkActivity to a normal class. If it's not, it's

Re: [android-developers] Re: Curious NPE

2011-07-28 Thread Nick Risaro
Doug, may I point you to the JPA API, made by Gavin King and approved by the JCP, it's based on unchecked exceptions. Also you can read Clean Code, A Handbook of Agile Software Craftmanship by Robert C. Martin he talks about the bennefits of using unchecked exceptions over checked. I agree with

Re: [android-developers] Re: Static Initializers - interdependencies

2011-07-28 Thread Nick Risaro
I think that means that the JVM reads your code line by line and initialize the classes as needed, starting by your Main class. It only loads class A if your Main class has a reference to it, then stops loading the Main class and starts loading A, when A referrs to B, pauses the load of A and

Re: [android-developers] Re: The emulator died when I execute ping in adb shell repeatly

2011-07-28 Thread Nick Risaro
I think that making a simple HttpRequest for a file in the server is a best solution, I'm assuming you want to do a health check. On Thu, Jul 28, 2011 at 10:53 PM, nanhu tianlifeixue...@gmail.com wrote: our program need to ping a host repeatly -- You received this message because you are

Re: [android-developers] import ca.uol.aig.fftpack.RealDoubleFFT;

2011-07-28 Thread Nick Risaro
Did you read the info about the error? What does it say? On Fri, Jul 29, 2011 at 12:42 AM, Wan Cekang kesyahd...@gmail.com wrote: hi, when I want to import this : import ca.uol.aig.fftpack.RealDoubleFFT; got an error. (red underline bellow the code). Im new in android.how to solve this? --

Re: [android-developers] Package File is Invalid

2011-07-27 Thread Nick Risaro
If you have an unsigned version of your application you can't install a signed one, try deleting your unsigned apk and then installing the signed version. On Tue, Jul 26, 2011 at 6:37 PM, Eric yougote...@gmail.com wrote: I have a working app with a working debug APK file generated by

Re: [android-developers] Re: Curious NPE

2011-07-26 Thread Nick Risaro
OK, forget the second statement, the first one still is a valid one. If you follow the standard you have to throw a checked exception when something goes wrong but you expect that to happen. Like a violated FK in the DB. On Tue, Jul 26, 2011 at 3:23 AM, Zsolt Vasvari zvasv...@gmail.com wrote:

Re: [android-developers] Out of Memory Exception

2011-07-25 Thread Nick Risaro
I think the problem is with your background, try with a smaller picture On Mon, Jul 25, 2011 at 8:38 AM, chetan chetanchauha...@gmail.com wrote: bitmap size exceeds VM budget -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: CountDownTimer too slow ???

2011-07-25 Thread Nick Risaro
When you run your app in eclipse (or with debuggable=true) it runs in debug mode, this allows eclipse to hook the debugger to your app, this can slow down your app performance because of the overhead. On Mon, Jul 25, 2011 at 2:35 PM, Christophe christophe.lebesner...@gmail.com wrote: What is

Re: [android-developers] Re: CountDownTimer too slow ???

2011-07-25 Thread Nick Risaro
If you run your app on eclipse, i.e. without making an apk and installing it on the phone, you always run with the debug flag in true. If you want to run 100% in normal mode you have to make an APK file and install it on a real phone. On Mon, Jul 25, 2011 at 4:54 PM, Christophe

Re: [android-developers] Re: Sql query not working

2011-07-25 Thread Nick Risaro
To make some DBAs cry? :P On Mon, Jul 25, 2011 at 7:55 PM, lbendlin l...@bendlin.us wrote: Why Union All? Why not just a couple of ORs ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Curious NPE

2011-07-25 Thread Nick Risaro
A checked exception is an exceptional state that you expect to happen, like the user entering some wrong values, you check that ant throw the ckecked exception. In your case I think that your checked exception it's a hidden unchecked exception, something like a try-catch catching an unchecked

Re: [android-developers] Re: Curious NPE

2011-07-25 Thread Nick Risaro
+1 to that, I fight every week or so with my co-workers trying to convert them but they insist on work with checked exceptions :( On Tue, Jul 26, 2011 at 1:08 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: By now, it's pretty much universally accepted that checked exceptions were a bad

Re: [android-developers] CountDownTimer too slow ???

2011-07-24 Thread Nick Risaro
The calls to *onTick* are synchronized, maybe your code is taking more than a second to execute. Log can be expensive, and with debug symbols enabled your code will run a little bit slower than in real life. Or maybe the end of times is close!! :P On Sun, Jul 24, 2011 at 2:30 PM, Christophe

Re: [android-developers] Re: restart application after Android's killed it

2011-07-20 Thread Nick Risaro
mmm I think that you need to save all that data via shared preferences (or something like that) when your app is about to be killed. You can check the javadoc for Activity#onPause() and the Spinner sample that comes with the SDK. On Wed, Jul 20, 2011 at 10:56 AM, Fina Perez fina.pere...@gmail.com

Re: [android-developers] Eclipse, android and the emulator

2011-07-20 Thread Nick Risaro
What error you got? Did you checked the logCAT to see what's happening? Did you tested the app in a real phone? -- 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

Re: [android-developers] How to lock current orientation at runtime?

2011-07-16 Thread Nick Risaro
If you add android:configChanges=orientation to your activity in the manifest then the method onConfigurationChanged of your activity will be called, here you can decide what to do with the change, but most important, the activity will not be restarted. You can check this

Re: [android-developers] Re: Ayuda con el emulador Android

2011-07-15 Thread Nick Risaro
Nice answer Indicator Veritatis ;) The translation you made is pretty good but i'm not sure because i can't understand very well the original question in spanish (and it's my native language). Only a minor detail Jonathan says that the issue started after an upgrade of the SDK (for windows) and

Re: [android-developers] Eclipse - Android - can't connect my device to Eclipse

2011-07-15 Thread Nick Risaro
On linux you need a little script, check the developers site, all the info is in there. On Thu, Jul 14, 2011 at 8:27 PM, TreKing treking...@gmail.com wrote: On Thu, Jul 14, 2011 at 8:31 AM, Zwiebel hunzwie...@gmail.com wrote: What can I do? Thanks for help! If you're on Windows, you need