[android-developers] Re: Some Jar files visible while others are not not

2012-08-20 Thread Capt Spaghetti
nday, August 19, 2012 10:29:52 PM UTC+1, Capt Spaghetti wrote: >> >> I am trying to use a Jar file I downloaded from Maven(poi-3.8.jar). I >> have checked the jar file and all methods are there. My program finds all >> except the AggregateFunction and the NumericFunction. When

[android-developers] Some Jar files visible while others are not not

2012-08-19 Thread Capt Spaghetti
I am trying to use a Jar file I downloaded from Maven(poi-3.8.jar). I have checked the jar file and all methods are there. My program finds all except the AggregateFunction and the NumericFunction. When you view the problem the errors are: The type AggregateFunction.ValueCollector is not visi

[android-developers] Re: Options for Too Many Views

2011-06-13 Thread Capt Spaghetti
kborn wrote: > Let me promise you -- it is not taking 18 seconds to load just because you > have 100 views. > > Where is traceview showing you spending most of your time? > > On Sun, Jun 12, 2011 at 2:16 PM, Capt Spaghetti wrote: > > > > > > > I took the time to

[android-developers] Re: Options for Too Many Views

2011-06-12 Thread Capt Spaghetti
gt; On Mon, May 30, 2011 at 10:11 AM, Capt Spaghetti > wrote: > > I have it functioning but it is slow to load because of the number of views. > > And your proof of this is... what, exactly? > > Use Traceview to determine where your time is being spent. Don't just guess.

[android-developers] Options for Too Many Views

2011-05-30 Thread Capt Spaghetti
I am creating a run of the mill golf game and I need to track 76 data items. I have it functioning but it is slow to load because of the number of views. I ran layoutopt and received the following output. -1:-1 This layout has too many views: 100 views, it should have <= 80! -1:-1 This layou

[android-developers] Re: Delete all rows from a table throws nullpointer

2011-05-13 Thread Capt Spaghetti
s null. > > > > > > On Mon, May 9, 2011 at 7:49 AM, Capt Spaghetti wrote: > > I have been using the debugger to step through and the error is caused > > by the line: > > >         db.delete("TempCourses", null, null); > > > The error occurs whe

[android-developers] Re: Delete all rows from a table throws nullpointer

2011-05-10 Thread Capt Spaghetti
> On Mon, May 9, 2011 at 7:49 AM, Capt Spaghetti wrote: > > I have been using the debugger to step through and the error is caused > > by the line: > > >         db.delete("TempCourses", null, null); > > > The error occurs whether I check if there is da

[android-developers] Re: Delete all rows from a table throws nullpointer

2011-05-09 Thread Capt Spaghetti
ables are not null > before you access them. > > -- Kostya > > 07.05.2011 19:42, Capt Spaghetti пишет: > > > 05-07 15:12:07.201: ERROR/AndroidRuntime(318): > > java.lang.RuntimeException: Unable to start activity > > ComponentInfo{com.oys.gfa.acecapper/ > > com.oy

[android-developers] Delete all rows from a table throws nullpointer

2011-05-07 Thread Capt Spaghetti
My problem would appear to be simple but I can find no information which tells me how to correct the problem. There must be people who use a temporary table and then delete all the rows and reuse it. I create a temporary table. I can display the table using a ListView and am able to select a singl

[android-developers] Re: Error Parsing JSON data

2010-10-25 Thread Capt Spaghetti
RESOLVED ISSUE. It turns out my variable jnow was not initialized correctly. Thanks for all those who helped rattle my grey matter. = On Oct 25, 12:51 am, Capt Spaghetti wrote: > I appreciate your assitance. I removed the "System.out

[android-developers] Re: Error Parsing JSON data

2010-10-24 Thread Capt Spaghetti
I appreciate your assitance. I removed the "System.out.println(jnow);" statement from my program and I modified the server side php to eliminate the first line and then I stepped through the program and followed the Variables. When it grabs the data it is only grabbing the data I need with "echo(js

[android-developers] Re: A request about MySQL Connection from Android

2010-10-23 Thread Capt Spaghetti
Marco, I haven't gotten all the bugs out yet but I was looking for a similar suggestion. I use php on the server side to manipulate the MySQL database and then I'm trying to bring back the response to my Android application. See the code below: public class SelectLocation extends Activity {

[android-developers] Re: Error Parsing JSON data

2010-10-22 Thread Capt Spaghetti
--- > > Everything in moderation, including abstinence (paraphrased) > > Every person is born with a brain... Those who learn to use it well are the > successful happy ones - Brad Gies > > Adversity can make

[android-developers] Re: Error Parsing JSON data

2010-10-12 Thread Capt Spaghetti
don't know how to get rid of all the HTML since I will actually need to have the user enter a city and state and then "down select" from the response. The php file I am using is a hard coded SELECT since I figured dealing with JSON would be the more difficult problem to tackle.

[android-developers] Error Parsing JSON data

2010-10-12 Thread Capt Spaghetti
If I run my php file manually I am getting the output as follows: = [{"org_id":"39575","orgname":"ARTHRITIS FOUNDATION - VIRGINIA CHAPTER","orgcity":"RICHMOND","orgstate":"VA"}] The php code is as follows: = Error performing query: " . mysql_error() . "

[android-developers] Re: Pulling specific information from XML files quickly

2010-07-24 Thread Capt Spaghetti
load periodically and use > locally on the device. > > Expecting a phone to be able to do bulk data parsing and processing > quickly is unrealistic, even in today's Snapdragon-y world. > > On Fri, Jul 23, 2010 at 3:05 PM, Capt Spaghetti > wrote: > >   I have 50 XML fil

[android-developers] Re: Pulling specific information from XML files quickly

2010-07-24 Thread Capt Spaghetti
I will take another look at XML pull parsing. Thanks, Gene Augustine On Jul 23, 3:28 pm, DanH wrote: > You might want to look into XML "pull > parsing":http://www.xmlpull.org/v1/download/unpacked/doc/quick_intro.html > > There is support for it on the phone. > &

[android-developers] Re: Pulling specific information from XML files quickly

2010-07-24 Thread Capt Spaghetti
> Expecting a phone to be able to do bulk data parsing and processing > quickly is unrealistic, even in today's Snapdragon-y world. > > On Fri, Jul 23, 2010 at 3:05 PM, Capt Spaghetti > wrote: > >   I have 50 XML files located on a remote server, one formatted for &g

[android-developers] Pulling specific information from XML files quickly

2010-07-23 Thread Capt Spaghetti
I have 50 XML files located on a remote server, one formatted for each state. I am able to read each of the 50 files by selecting a state from a spinner and using a SAX parser but I cannot seem to find out how to pull out information from each file by city. I have tried unsuccessfully to pass a

[android-developers] Pass Variable to XMLReader.parse event

2010-07-12 Thread Capt Spaghetti
Is it possible to pass a variable to the characters method event in the XMLReader.parse() of a SAX2 driver? If so does anyone have an example? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve