[android-developers] Re: Android Beginner Having Problems
wow.. thanks. dont know what i was missing but it works now. I just used: import android.view.*; ~Matt -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android Beginner Having Problems
Are your imports listed? import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; On Mar 20, 12:46 am, Matt Clark mrclark32...@gmail.com wrote: I tried using the MenuInflation off of the android developers site: @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.game_menu, menu); return true; } with an xml in the res/meno directory by the name of game_menu. when I try to compile this, i get an error saying that the symbol 'menu' on line inflater.inflate(R.menu.game_menu, menu); can not be found. I have all of my imports set, the code shows no errors, just will not compile. Any and all help is greatly appreciated. -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android Beginner Having Problems
Is there a typo in res/meno? Regards, Anay On Mar 20, 9:46 am, Matt Clark mrclark32...@gmail.com wrote: I tried using the MenuInflation off of the android developers site: @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.game_menu, menu); return true; } with an xml in the res/meno directory by the name of game_menu. when I try to compile this, i get an error saying that the symbol 'menu' on line inflater.inflate(R.menu.game_menu, menu); can not be found. I have all of my imports set, the code shows no errors, just will not compile. Any and all help is greatly appreciated. -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
dude! you are by far my favorite! LOVE your responses to lazy people!!! On Feb 5, 2011 12:00 PM, TreKing treking...@gmail.com wrote: On Sat, Feb 5, 2011 at 1:40 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Pls send me this link I have faith that, if you have been able to build an Android application and successfully upload it to the Android Market, you have the technical prowess required to navigate through the documentation to find the information you seek. Regardless this will be a worthwhile endeavor as knowing your way around the documentation will benefit you immensely. Good luck. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android beginner
Oh it's simple! - Write your application using Eclipse or any IDE that you prefer - Set the version number to 2 in the ApplicationManifest.xml - Export application as a signed apk - ??? - Profit! Seriously, man find a class or a tutor and pay him/them to teach you things. If you are really smart, then http://developer.android.com/intl/de/guide/index.html will be enough. On 7 фев, 06:19, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi! How to build my android application(version2). On Sat, Feb 5, 2011 at 10:30 PM, TreKing treking...@gmail.com wrote: On Sat, Feb 5, 2011 at 1:40 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Pls send me this link I have faith that, if you have been able to build an Android application and successfully upload it to the Android Market, you have the technical prowess required to navigate through the documentation to find the information you seek. Regardless this will be a worthwhile endeavor as knowing your way around the documentation will benefit you immensely. Good luck. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
I have not uploaded an app to Android market yet. But am in a circumstance that requires me to upload a version(2) of the existing app. So request to guide me as to how to create a SIGNED APK. As this seems to be the main hurdle. We have done Export unsigned app after that have no idea how to proceed We have done signing using debug mode but for Release have no idea. So request help regarding the above. On Mon, Feb 7, 2011 at 3:11 PM, JAlexoid (Aleksandr Panzin) jalex...@gmail.com wrote: Oh it's simple! - Write your application using Eclipse or any IDE that you prefer - Set the version number to 2 in the ApplicationManifest.xml - Export application as a signed apk - ??? - Profit! Seriously, man find a class or a tutor and pay him/them to teach you things. If you are really smart, then http://developer.android.com/intl/de/guide/index.html will be enough. On 7 фев, 06:19, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi! How to build my android application(version2). On Sat, Feb 5, 2011 at 10:30 PM, TreKing treking...@gmail.com wrote: On Sat, Feb 5, 2011 at 1:40 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Pls send me this link I have faith that, if you have been able to build an Android application and successfully upload it to the Android Market, you have the technical prowess required to navigate through the documentation to find the information you seek. Regardless this will be a worthwhile endeavor as knowing your way around the documentation will benefit you immensely. Good luck. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
On 7 February 2011 12:06, subhashini alaguchokku subhashini.andr...@gmail.com wrote: I have not uploaded an app to Android market yet. But am in a circumstance that requires me to upload a version(2) of the existing app. adjust versionCode in your app's manifest file to 2 and versionName to 2.0 and you are done. We have done Export unsigned app after that have no idea how to proceed We have done signing using debug mode but for Release have no idea. Ue RMB (over project name) - Android Tools - Export signed application package -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
subhashini, I think Tre and others are basically scratching their head wondering how you got such an assignment yet are not able to figure out anything for your self. There are books you can buy, including Mark Murphy's who provides 3 books for a very fair price and frequents this forum all the time. He explains in there how you upload/update your app. As well, google is by far the best resource you got if you're not going to buy a book to learn from. Google has provided a ton of documentation on android as well. I don't think anyone minds helping, but you are asking questions in a manner that makes it sound like you want someone in the forum to do all your work. Dig in my man. It's fun, may take a little time, but it is a lot of fun to figure out, learn about and see results. If you're in a position that you have to update an existing app, surely you must have gotten into that position because it was assumed you could write java code, compile/deploy/run it, so get to it. Read for a few days, experiment. You'll figure it out. Good luck. On Mon, Feb 7, 2011 at 3:20 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 7 February 2011 12:06, subhashini alaguchokku subhashini.andr...@gmail.com wrote: I have not uploaded an app to Android market yet. But am in a circumstance that requires me to upload a version(2) of the existing app. adjust versionCode in your app's manifest file to 2 and versionName to 2.0 and you are done. We have done Export unsigned app after that have no idea how to proceed We have done signing using debug mode but for Release have no idea. Ue RMB (over project name) - Android Tools - Export signed application package -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
Hi! How to build my android application(version2). On Sat, Feb 5, 2011 at 10:30 PM, TreKing treking...@gmail.com wrote: On Sat, Feb 5, 2011 at 1:40 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Pls send me this link I have faith that, if you have been able to build an Android application and successfully upload it to the Android Market, you have the technical prowess required to navigate through the documentation to find the information you seek. Regardless this will be a worthwhile endeavor as knowing your way around the documentation will benefit you immensely. Good luck. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
On Sat, Feb 5, 2011 at 1:40 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Pls send me this link I have faith that, if you have been able to build an Android application and successfully upload it to the Android Market, you have the technical prowess required to navigate through the documentation to find the information you seek. Regardless this will be a worthwhile endeavor as knowing your way around the documentation will benefit you immensely. Good luck. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android beginner
*sorry How to update my existing app in andoid market* On Sat, Feb 5, 2011 at 10:27 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi all, how to upload my app in android market. tel me steps Thanks A.Subhashini -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
On Fri, Feb 4, 2011 at 10:59 PM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: sorry How to update my existing app in andoid market Read the documentation. This is explained. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
*Pls send me this link* On Sat, Feb 5, 2011 at 12:45 PM, TreKing treking...@gmail.com wrote: On Fri, Feb 4, 2011 at 10:59 PM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: sorry How to update my existing app in andoid market Read the documentation. This is explained. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
the same kind of error is the one which i get when i downgrade my app from 2.2 to 2.1 and i am not using any specific library. I have done all the changes like in manifest file and project properties then cleaned the project and still it gives the error. I dont knw much how to debug but all i can give you the information is that the splash screen comes up in 2.1 and when it disappears then i get force close due to null pointer while all this work fine in 2.2 On Wed, Feb 2, 2011 at 1:25 PM, Thomas thomasjakw...@gmail.com wrote: You tried to access an object you haven't constructed yet, meaning you're using only a reference. The reference has to be constructed or point to an object somewhere, should look like this: Foo f = new Foo(); f.func(); if you just have: Foo f; f.func(); You're trying to access memory that isn't there. The line: new Foo(); Allocates memory and points the reference 'f' to it. f can then be used to access that memory. Its called a nullpointerexception because currently your reference is pointing to a null memory address (invalid). On Feb 1, 9:16 pm, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi, I get following compile time error, pls give any solutions [2011-02-02 10:37:46 - Mcatalog] Unknown error: java.lang.NullPointerException Thanks and regards, subha -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android beginner
NullPointerException is so common and so general that you can't know anything from I got a NullPointerException. One this I can tell you, you're new to Java programming(or a lousy programmer) if you don't know what it means. On 2 фев, 10:13, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: the same kind of error is the one which i get when i downgrade my app from 2.2 to 2.1 and i am not using any specific library. I have done all the changes like in manifest file and project properties then cleaned the project and still it gives the error. I dont knw much how to debug but all i can give you the information is that the splash screen comes up in 2.1 and when it disappears then i get force close due to null pointer while all this work fine in 2.2 On Wed, Feb 2, 2011 at 1:25 PM, Thomas thomasjakw...@gmail.com wrote: You tried to access an object you haven't constructed yet, meaning you're using only a reference. The reference has to be constructed or point to an object somewhere, should look like this: Foo f = new Foo(); f.func(); if you just have: Foo f; f.func(); You're trying to access memory that isn't there. The line: new Foo(); Allocates memory and points the reference 'f' to it. f can then be used to access that memory. Its called a nullpointerexception because currently your reference is pointing to a null memory address (invalid). On Feb 1, 9:16 pm, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi, I get following compile time error, pls give any solutions [2011-02-02 10:37:46 - Mcatalog] Unknown error: java.lang.NullPointerException Thanks and regards, subha -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android beginner
JAlexoid is right. You should know what this means, unless you are a rank beginner at Java. And even then, you should have known to provide us not just any more log details, but specifically the stack trace printed by Throwable. Not the whole thing, mind you, but at least the 3-4 lines around the message java.lang.NullPointerException. Without that info, we cannot help you. With that info, you might not even need our help; you might see for yourself what you forgot to initialize. Also, please read http://www.catb.org/~esr/faqs/smart-questions.html thoroughly before posting again. Pay special attention to the Before You Ask section. Especially if you are posing a question about some work for hire you are doing. On Feb 1, 9:16 pm, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi, I get following compile time error, pls give any solutions [2011-02-02 10:37:46 - Mcatalog] Unknown error: java.lang.NullPointerException Thanks and regards, subha -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android beginner
Hai thanks to all. On Thu, Feb 3, 2011 at 8:52 AM, Indicator Veritatis mej1...@yahoo.comwrote: JAlexoid is right. You should know what this means, unless you are a rank beginner at Java. And even then, you should have known to provide us not just any more log details, but specifically the stack trace printed by Throwable. Not the whole thing, mind you, but at least the 3-4 lines around the message java.lang.NullPointerException. Without that info, we cannot help you. With that info, you might not even need our help; you might see for yourself what you forgot to initialize. Also, please read http://www.catb.org/~esr/faqs/smart-questions.htmlhttp://www.catb.org/%7Eesr/faqs/smart-questions.html thoroughly before posting again. Pay special attention to the Before You Ask section. Especially if you are posing a question about some work for hire you are doing. On Feb 1, 9:16 pm, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi, I get following compile time error, pls give any solutions [2011-02-02 10:37:46 - Mcatalog] Unknown error: java.lang.NullPointerException Thanks and regards, subha -- 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android beginner
You tried to access an object you haven't constructed yet, meaning you're using only a reference. The reference has to be constructed or point to an object somewhere, should look like this: Foo f = new Foo(); f.func(); if you just have: Foo f; f.func(); You're trying to access memory that isn't there. The line: new Foo(); Allocates memory and points the reference 'f' to it. f can then be used to access that memory. Its called a nullpointerexception because currently your reference is pointing to a null memory address (invalid). On Feb 1, 9:16 pm, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi, I get following compile time error, pls give any solutions [2011-02-02 10:37:46 - Mcatalog] Unknown error: java.lang.NullPointerException Thanks and regards, subha -- 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 more options, visit this group at http://groups.google.com/group/android-developers?hl=en