[android-beginners] Re: Force Close when trying to use getApplication()

2010-05-11 Thread Jon Jacob
droid.com/intl/zh-CN/guide/appendix/faq/framework > > Carmen > -- > Carmen > Delessiohttp://www.twitter.com/CarmenDelessiohttp://www.talkingandroid.comhttp://www.facebook.com/BFFPhotohttp://www.twitter.com/DroidDrop > > > > On Tue, May 11, 2010 at 11:13 AM, Jon Jacob wrote: &

[android-beginners] Re: Force Close when trying to use getApplication()

2010-05-11 Thread Jon Jacob
le in the world... > Those who know binary and those who don't. > ------ > > > > On Tue, May 11, 2010 at 8:02 AM, Jon Jacob wrote: > > I am a newbie both to Java and Android and have been reading the bo

[android-beginners] Force Close when trying to use getApplication()

2010-05-11 Thread Jon Jacob
I am a newbie both to Java and Android and have been reading the book "Unlocking Android" and trying to learn by adapting their code to my ideas for a project to play with and learn Android. But, I have run into a brick wall that I need help with. The following code gives me a force close when I

[android-beginners] Re: How to create a new folder on the SD card?

2010-05-07 Thread Jon Jacob
You hate finding the answer ;) This is good to know, anyway. Thanks for posting the answer. On May 6, 4:56 pm, DonFrench wrote: > I hate it when I find the answer two minutes after posting the > question!   All I needed was this: > > android:name="android.permission.WRITE_EXTERNAL_STORAGE

Re: [android-beginners] Re: Optimizing drawing on a canvas

2010-04-22 Thread Jon mailinglists
assume that checking both if any portion of the image is inside the screen and adjusting the src rect to be the visible part would make sense? > On Apr 21, 7:29 am, Jon mailinglists wrote: >> Hi all, >> >> I just wonder if Canvas.draw... checks if I want to draw outside its &

[android-beginners] Optimizing drawing on a canvas

2010-04-21 Thread Jon mailinglists
Hi all, I just wonder if Canvas.draw... checks if I want to draw outside its bounds and skips thoose parts or if I should do the math myself. The case I'm having is that I have an update and the user has scrolled away from that part of the screen. Should I bother adding an if statement around the

Re: [android-beginners] Re: Audio Processing

2010-03-18 Thread Jon 'maddog' Hall
Bob, >I consider myself an Expert doing digital signal acquisition and >processing on microcontrollers an PCs in c. Last few weeks I've found >out that non of that helps me learn java. Zilch. Zero. Nada. I bet >they used c in phones 10 years ago. Whose idea was it to switch >everything to java?!?

Re: [android-beginners] Re: Prevent uninstallation of app?

2010-03-18 Thread Jon 'maddog' Hall
rity into the code and distributes it. Warmest regards, maddog -- Jon "maddog" Hall Executive Director Linux International(R) email: mad...@li.org 80 Amherst St. Voice: +1.603.672.4557 Amherst, N.H. 03031-3032 U.S.A. WWW: http://www.li.org Board Member: Unif

[android-beginners] Re: Android 2.0 SDK is here!

2009-10-29 Thread Jon
I was able to disable the Japanese? characters by going to Settings application, then Language & Keyboard settings, and unticking the Japanese stuff. On Oct 29, 5:20 pm, Mitch wrote: > My emulator is showing what looks like Chinese characters when I try > to enter names into the address book.  I

[android-beginners] Re: Checking Internet Connection

2009-03-10 Thread Jon Phenow
You might also try and be careful. It seems that many applications on many hand-held devices, if they are attempting to have a persistent connection with anything such as GPS or internet will drain a battery fast. I realize these devices are getting better at handling such demanding applications bu

[android-beginners] Re: irc client using pircbot

2009-02-13 Thread Jon Smith
If it is dumping it to the console, do you have a Catch(){}? If so, instead of sending the details to wherever the Catch sends it, replace it with the place you want the text to go Hope this helps (I am a noobie at this) Jon On 12 Feb, 20:31, Roman Romano wrote: > Forgive me if what foll

[android-beginners] ProgressDialog Problems

2009-02-13 Thread Jon Smith
gh the For loop, then stop when it has reached the end. I have tried countless tutorials and have tried different methods, all of which fail (as in the example above) any help would be appreciated, or just a point in the right direction. Thanks Jon --~--~-~--~~~---~--~-

[android-beginners] syncing with pc

2008-12-02 Thread jon
I need to write an offline application that will be able to sync with the pc to transfer its data. The app provides some data entry capability, then the user connects it to the pc and view these data in a desktop version of the app. Will android be a good platform for what I described? Does it p