Lillyharkness
Lost but trying
Profile
Posts: 5
Reg: Aug 14, 2012
Huntsville
1,500
09/07/12 08:39 AM (13 years ago)

First time try with 184 warnings

So I'm working on my very first app and i've imported in the file. It compiled to 184 errors. They follow: AdapterView is a raw type. References to generic type AdapterView<T> should be parameterized. ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized Dead Code List is a raw type. References to generic type List<E> shouldbe parameterized. The import android.app.Activity is never used. The import android.app.AlertDialog is never used The import android.app.Dialog is never used The import android.app.TabActivity is never used The import android.content.pm.ApplicationInfo is never used The import android.content.pm.PackageManager is never used The import android.content.res.AssetFileDescriptor is never used The import android.content.res.Configuration is never used The import android.content.res.Resources is never used The import android.graphics.Bitmap is never used The import android.graphics.Color is never used The import android.graphics.drawable.BitmapDrawable is never used The import android.graphics.drawable.Drawable is never used The import android.graphics.Typeface is never used The import android.net.Uri is never used The import android.os.AsyncTask is never used The import android.os.Environment is never used The import android.os.Message is never used The import android.view.animation.AlphaAnimation is never used The import android.view.animation.Animation is never used The import android.view.Menu is never used The import android.view.View is never used The import android.view.View.OnClickListener is never used The import android.view.ViewGroup is never used The import android.view.WindowManager is never used The import android.widget.Button is never used The import android.widget.FrameLayout is never used The import android.widget.ImageButton is never used The import android.widget.ImageView is never used The import android.widget.ImageView.ScaleType is never used The import android.widget.ListView is never used The import android.widget.RelativeLayout is never used The import android.widget.TabHost is never used The import android.widget.TabHost.OnTabChangeListener is never used The import android.widget.TabWidget is never used The import android.widget.TextView is never used The import android.widget.ZoomButtonsController is never used The import java.io.File is never used The import java.io.FileInputStream is never used The import java.io.IOException is never used The import java.lang.reflect.Constructor is never used The import org.json.JSONArray is never used The import org.json.JSONObject is never used The static field Context.CONNECTIVITY_SERVICE should be accessed in a static way The static field Context.LOCATION_SERVICE should be accessed in a static way The static field Context.TELEPHONY_SERVICE should be accessed in a static way The static field Context.WINDOW_SERVICE should be accessed in a static way The static field TelephonyManager.PHONE_TYPE_NONE should be accessed in a static way The static method setState(Drawable, int) from the type OverlayItem should be accessed in a static way So those are my issues. Most of them come up more than once. If anyone can help me it would be much apreciated.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/07/12 08:47 AM (13 years ago)
Hi @Lillyharkness, Welcome to buzztouch! You can safely ignore those warnings. It's only errors that you really have to be concerned about. Here is a step-by-by step, illustrated guide to developing for Android that should keep you going: http://www.buzztouch.com/files/howtos/buzztouch_For_Android-A_Users_Guide.pdf You must be doing alright to start, thought, because a lot of people get stuck on the errors that often show up! So, congrats there! Let us know how we (the forum) can help you! Mark
 
Lillyharkness
Lost but trying
Profile
Posts: 5
Reg: Aug 14, 2012
Huntsville
1,500
like
09/07/12 09:15 AM (13 years ago)
Thank you. :)
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
09/08/12 05:26 PM (13 years ago)
This warning i cant fig out: <?xml version="1.0" encoding="utf-8"?> No grammar constraints (DTD or XML Schema) referenced in the document
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/08/12 05:43 PM (13 years ago)
If its a warning, and not an error that prevents you from compiling, I wouldn't worry about it. There are tons of errors that will remain during the duration of your project. Mark
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
09/08/12 05:46 PM (13 years ago)
No it wont let me compile to check to see if I have my screens correct
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/08/12 10:16 PM (13 years ago)
Hi LA, Try extracting the source code you downloaded. It seems like perhaps you have a bad AndroidManifest.xml file. Mark
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
09/09/12 02:21 PM (13 years ago)
I did that...u want to drive sometime?
 
Lillyharkness
Lost but trying
Profile
Posts: 5
Reg: Aug 14, 2012
Huntsville
1,500
like
09/10/12 07:05 AM (13 years ago)
I'm trying to work my way through the different lessons but I just was wondering about something. I know the AVD can run as different systems(or I think I'm saying it right) Is there away to run the app as it would look on a galaxy tablet?
 
Lillyharkness
Lost but trying
Profile
Posts: 5
Reg: Aug 14, 2012
Huntsville
1,500
like
09/10/12 07:09 AM (13 years ago)
I'm trying to work my way through the different lessons but I just was wondering about something. I know the AVD can run as different systems(or I think I'm saying it right) Is there away to run the app as it would look on a galaxy tablet?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/10/12 07:20 AM (13 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.