Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old March 25th, 2011, 07:44 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2011
Location: here
Posts: 15
 
Device(s): Droid
Thanks: 0
Thanked 0 Times in 0 Posts
Default no enclosing instance of the type…?

Please help me out I have this code and it keeps giving me this error :

"No enclosing Instance of the type SoftwarePassionView is accessible in scope"
here is the code its giving me the error on:

Thread thread = new Thread(null, vieworders, "MagentoBackground");
thread.start();
m_progressDialog=ProgressDialog.show(SoftwarePassi onView.this,
"Please wait...", "Retrieving data...", true);
I think this is more of a Java problem from what I have been reading. Is there a quick fix?

shutup7742 is offline  
Reply With Quote
Sponsors
Old March 27th, 2011, 11:37 AM   #2 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,090
 
Device(s): GalaxyNexus(LTE), NexusOne, OG Droid, GalaxyTab 10.1(LTE), Eris, Logitech Revue (fishtank)
Thanks: 4,164
Thanked 3,126 Times in 1,292 Posts
Default

Where is this code running? Inside a view? Inside an activity?
alostpacket is offline  
Reply With Quote
Reply

Bookmarks

Tags
android, android sdk, eclipse


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 11:39 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo