[android-developers] Re: New to Android
http://developer.android.com/training/basics/firstapp/index.html Go through the lessons. On Wednesday, April 17, 2013 6:40:28 AM UTC+5:30, rlloyd wrote: I have a java file that I would like to incorporate in to an android application. I'm not sure where in the code I put my java that I've made. I use Eclipse with the newest SDKs. Where in the following code am I supposed to input my code? Also, The code of mine takes input data, manipulates it, and gives back 5 data sets (words, letters etc.). How on the interface builder do I connect text boxes to use for input and output? I have used xcode before but I am completely lost with the JAVA and the whole android thing. I didn't think this would be a necessarily hard project though. Code that appears with new project: package com.example.f; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class DNA extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_dn); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.dn, menu); return true; } } My Code: Begins with: import java.util.Scanner; class beta { //entire program brackets public static void main (String[] args) { //meat of program Scanner scan = new Scanner( System.in ); -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: New to Android
You will want to put your code in a file called beta.java. Then you can add this to your onCreate function: * * *beta.main(null);* * * * * * * Thanks. On Tuesday, April 16, 2013 8:10:28 PM UTC-5, rlloyd wrote: I have a java file that I would like to incorporate in to an android application. I'm not sure where in the code I put my java that I've made. I use Eclipse with the newest SDKs. Where in the following code am I supposed to input my code? Also, The code of mine takes input data, manipulates it, and gives back 5 data sets (words, letters etc.). How on the interface builder do I connect text boxes to use for input and output? I have used xcode before but I am completely lost with the JAVA and the whole android thing. I didn't think this would be a necessarily hard project though. Code that appears with new project: package com.example.f; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class DNA extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_dn); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.dn, menu); return true; } } My Code: Begins with: import java.util.Scanner; class beta { //entire program brackets public static void main (String[] args) { //meat of program Scanner scan = new Scanner( System.in ); -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: New to Android
On Fri, May 3, 2013 at 10:30 AM, bob b...@coolfone.comze.com wrote: You will want to put your code in a file called beta.java. Then you can add this to your onCreate function: * * *beta.main(null);* * * That's a joke, right? - 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: New to Android App Development need Advice in Designing UI
Thanks for the information..i'll check it out -- 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: New to Android App Development need Advice in Designing UI
Hello Aadi, Have you tried with compatible jar for fragments and action bar. The compatible jar works well with version 2.3 API level 10. FYI. On Tuesday, October 9, 2012 12:39:08 PM UTC+5:30, Aadi Rockzz wrote: Hi Everyone, I'm going to develop an application for Android2.2 platform. I have some doubts while started creating UI Screen for my application. - In my one UI i have 10 Text Views and 10 edit-text and i wanted to accommodate One List View also in my UI but i felt difficulty while adding ListView in my UI. Please Help me by giving suggestions. Thanks in Advance. Aadi -- 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: New to Android App Development need Advice in Designing UI
While I do not like to advertize for anyone, except maybe friends, I have been using this here: CommonsWare http://commonsware.com/ It may be the very best I have come across to getting me started on android app development. And they just updated to version 4.2. On Tuesday, October 9, 2012 2:09:08 AM UTC-5, Aadi Rockzz wrote: Hi Everyone, I'm going to develop an application for Android2.2 platform. I have some doubts while started creating UI Screen for my application. - In my one UI i have 10 Text Views and 10 edit-text and i wanted to accommodate One List View also in my UI but i felt difficulty while adding ListView in my UI. Please Help me by giving suggestions. Thanks in Advance. Aadi -- 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: New to android development
It is an eclipse problem. It happens when you try to run an application juste after modifiying a .xml file. You need to remove the .out.xml file created. Then simply click on your project name in the project tree in eclipse and run it. Le samedi 18 août 2012 23:21:02 UTC+2, Saudademaru Envy a écrit : So I have the android SDK and eclipse and I wanted to try to make my first app. Of course I followed the directions on the lessons about starting the hello world, then the one after that. Well now I can't seem to make anything. When I start something new, I may change some names of the activity, app name and stuff just to something different and as soon as the app is created it should be a simple hello world but I can't seem to compile it or test it. As soon as I try it gives me an error having to do with the layout xml file. It creates another one with the same name but also with a .out before the .xml then it tells me it is already defined. Does anyone know what the problem is? I will post a link so you can download my source files to check. It also says no xml content but my original file did have content. I even tried the one where we make a text box and button but it still says that for some reason https://docs.google.com/open?id=0B4I48TCTXOKFQ1k0ekZZc2VLWDg -- 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: New to android..which API to choose?
http://developer.android.com/about/dashboards/index.html On Monday, July 23, 2012 10:27:19 PM UTC+1, Carlos Oneil wrote: Im new to android programming and would like to know is it best to build apps on the latest API or the one that has the broadest deployment ? If i develop a ICS based app, will it run on a Gingerbread device? Thanks. -- 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: new to android
http://developer.android.com/sdk/index.html Everything is explained on this web site. Good luck and enjoy it. -- 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: new to android
It would also help to have an understanding of Java or at least some type of OOP experience... If you have none I'd start with learning some basics of java and OOP. Or if you are a fast learner just go through the tutorials and examples. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Ali Chousein Sent: Wednesday, May 25, 2011 4:37 PM To: Android Developers Subject: [android-developers] Re: new to android http://developer.android.com/sdk/index.html Everything is explained on this web site. Good luck and enjoy it. -- 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
[android-developers] Re: New to Android
Hello, how about here: http://developer.android.com/resources/browser.html?tag=tutorial Cheers Ray On May 1, 3:46 pm, sudharsanan kodi.su...@gmail.com wrote: Hello Guys I am new to android application development,can you people help to me to develop the application?and also where i can get the sample application? Thanks in advance -- 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: new to Android wrld and I need some tips
thanks imsopov, I found some recommendation forAndroid Application Development For Dummies. Any thought from others please Thanks in advance -- 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: new to Android wrld and I need some tips
Hi Ahmad, You can find amazing videos at marakana.com provided by the author of learning android. Regards, Bala On Apr 29, 5:59 pm, Ahmad Alturki alturkiah...@gmail.com wrote: thanks imsopov, I found some recommendation forAndroid Application Development For Dummies. Any thought from others please Thanks in advance -- 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: new to Android wrld and I need some tips
THIS! I found the videos on Marakana.com to be exceptional. There's a lot of good stuff in there to learn Android from the ground up, especially if you're well-versed in Java already. -- 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: new to Android wrld and I need some tips
thanks all, are these courses free -- 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: new to Android wrld and I need some tips
Personally I started using Sam's teach yourself android application development I found it to be very useful for the teaching me the basics, it starts off slow and had downloadable code for each section of the book which helps. This was written for 2.1 but will still be relevant On Apr 29, 1:49 pm, Ahmad Alturki alturkiah...@gmail.com wrote: Hi folks I am very interested in developing application for smart phones like Galaxy,HTC but the problem I do not know where I start. I want to start from basics to advance concepts. I want to understand how underpinning things work and are related. Is there a good book to start from ... I checkedhttp://developer.android.combut I could not see the smoothness between sections like in some books. Kindly I beg your help and expertise -- 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: New to Android Need Help
No not offended, thank you very much for the input.. it really helped, but now i need to figure out how to make the images swap on their own when the system is playing (I am trying to do simon says) for my son :) Here is the improved code public class GameActivity extends Activity { /** Called when the activity is first created. */ ImageView imageView1; ImageView imageView2; ImageView imageView3; ImageView imageView4; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.myviewlay); imageView1= (ImageView)findViewById(R.id.ImageView01); imageView2= (ImageView)findViewById(R.id.ImageView02); imageView3= (ImageView)findViewById(R.id.ImageView03); imageView4= (ImageView)findViewById(R.id.ImageView04); imageView1.setOnTouchListener(mTouchListener); imageView2.setOnTouchListener(mTouchListener); imageView3.setOnTouchListener(mTouchListener); imageView4.setOnTouchListener(mTouchListener); } private OnTouchListener mTouchListener = new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { if (event.getAction() == MotionEvent.ACTION_DOWN) { v.setVisibility(View.INVISIBLE); try { Thread.sleep(100); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } else { try { Thread.sleep(100); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } v.setVisibility(View.VISIBLE); } return true; } }; } On Apr 22, 1:56 am, TreKing treking...@gmail.com wrote: On Fri, Apr 22, 2011 at 12:30 AM, edprog edwin...@gmail.com wrote: public class myView extends View implements OnTouchListener{} Sure. Or a member in the Activity that you then set on the ImageViews. private mTouchListener = new OnTouchListener() { /* CODE */ } ... imageView1.setOnTouchListener(mTouchListener); imageView2.setOnTouchListener(mTouchListener); imageView3.setOnTouchListener(mTouchListener); imageView4.setOnTouchListener(mTouchListener); Then you're still within the scope of the Activity which is usually handy. I think,... and yes it is a mess because in the main Activity is where at least I was able to make the user click on the images and swap them with another one while I tried the same from the view it did not work... it just shows a black screen, and I tried to look it up in the LogCat but did not tell me something that i would pick up right away. Yeah, graphics stuff is always a pain to debug and there's not much anyone can do to help with graphical issues like that. Just on the side note.., I am new to android, at least give me that,... Given :-) you might be an expert.. Hardly. I know what I need to know to do what I need to do. And I know where to look when I have to learn something new. ;-) Again, no offense, just going off what you said and the code you posted. Anyways, 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
Re: [android-developers] Re: New to Android Need Help
On Fri, Apr 22, 2011 at 2:10 AM, edprog edwin...@gmail.com wrote: but now i need to figure out how to make the images swap on their own when the system is playing Did you need help on that or are you just typing out loud? - 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: New to Android Need Help
I think eventually i will need help hehe, as of now I will try to do it see if I can figure it out. Now just one question do you recommend to create the Thread in the main Activity or do it in a separate class? On Apr 22, 11:32 am, TreKing treking...@gmail.com wrote: On Fri, Apr 22, 2011 at 2:10 AM, edprog edwin...@gmail.com wrote: but now i need to figure out how to make the images swap on their own when the system is playing Did you need help on that or are you just typing out loud? ----- 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: New to Android Need Help
On Fri, Apr 22, 2011 at 2:42 PM, edprog edwin...@gmail.com wrote: Now just one question do you recommend to create the Thread in the main Activity or do it in a separate class? Actually, neither. Don't use raw Threads unless you really have to. I don't think you really have to here. See this article: http://developer.android.com/resources/articles/timed-ui-updates.html - 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: New to Android Need Help
Basically I would like to draw from myView class and not from the main Activity, right now I have the OnTouch events in the main Activity as you can see, I want to move all that code (The ontiuch) to myView class. On Apr 21, 5:56 pm, TreKing treking...@gmail.com wrote: On Wed, Apr 20, 2011 at 10:38 PM, edprog edwin...@gmail.com wrote: what and how would I pass my code in the main activity so that it works from the View I created? That question makes no sense. What are you actually trying to do? ----- 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: New to Android Need Help
On Thu, Apr 21, 2011 at 8:47 PM, edprog edwin...@gmail.com wrote: Basically I would like to draw from myView class and not from the main Activity, right now I have the OnTouch events in the main Activity as you can see, I want to move all that code (The ontiuch) to myView class. You're missing the fact that you can create *ONE* touchlistener class that acts on an arbitrary view, then assign a new instance to each view that requires it. If this does not make sense, I think you need to spend some time brushing up on Java. - 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: New to Android Need Help
I understand java, inheritance, creating classes... I am just having trouble making it work on Android, when i add a thread or something.. it blacks out the screen... Thank you for the help On Apr 22, 12:02 am, TreKing treking...@gmail.com wrote: On Thu, Apr 21, 2011 at 8:47 PM, edprog edwin...@gmail.com wrote: Basically I would like to draw from myView class and not from the main Activity, right now I have the OnTouch events in the main Activity as you can see, I want to move all that code (The ontiuch) to myView class. You're missing the fact that you can create *ONE* touchlistener class that acts on an arbitrary view, then assign a new instance to each view that requires it. If this does not make sense, I think you need to spend some time brushing up on Java. ----- 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: New to Android Need Help
On Thu, Apr 21, 2011 at 11:46 PM, edprog edwin...@gmail.com wrote: I understand java, inheritance, creating classes... If you say so. No offense, but the fact that you called your own code a mess and the fact that you copied and pasted the exact same code 4 times instead of making a class would indicate that you're missing something. Did you understand what I said in my last post? I am just having trouble making it work on Android, when i add a thread or something.. Android is another piece of software written in (quasi) Java. There's nothing fundamentally different about it. This also doesn't explain what you're actually having trouble with. it blacks out the screen... OK. This also does not explain anything about the actual problem you're having. - 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: New to Android Need Help
Yes I did thank you, no its ok.. I am new in graphs that i can tell you... all this is new.. drawing and stuff. I know what you are saying.. to create something like public class myView extends View implements OnTouchListener{} I think,... and yes it is a mess because in the main Activity is where at least I was able to make the user click on the images and swap them with another one while I tried the same from the view it did not work... it just shows a black screen, and I tried to look it up in the LogCat but did not tell me something that i would pick up right away. Just on the side note.., I am new to android, at least give me that,... you might be an expert.. all i am trying to do is to learn how to place 4 images and be to change them.. I am trying to make a small game for my son, simon says... something to start learning.. Thats all! Thank you once again... On Apr 22, 1:03 am, TreKing treking...@gmail.com wrote: On Thu, Apr 21, 2011 at 11:46 PM, edprog edwin...@gmail.com wrote: I understand java, inheritance, creating classes... If you say so. No offense, but the fact that you called your own code a mess and the fact that you copied and pasted the exact same code 4 times instead of making a class would indicate that you're missing something. Did you understand what I said in my last post? I am just having trouble making it work on Android, when i add a thread or something.. Android is another piece of software written in (quasi) Java. There's nothing fundamentally different about it. This also doesn't explain what you're actually having trouble with. it blacks out the screen... OK. This also does not explain anything about the actual problem you're having. ----- 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: New to Android Need Help
On Fri, Apr 22, 2011 at 12:30 AM, edprog edwin...@gmail.com wrote: public class myView extends View implements OnTouchListener{} Sure. Or a member in the Activity that you then set on the ImageViews. private mTouchListener = new OnTouchListener() { /* CODE */ } ... imageView1.setOnTouchListener(mTouchListener); imageView2.setOnTouchListener(mTouchListener); imageView3.setOnTouchListener(mTouchListener); imageView4.setOnTouchListener(mTouchListener); Then you're still within the scope of the Activity which is usually handy. I think,... and yes it is a mess because in the main Activity is where at least I was able to make the user click on the images and swap them with another one while I tried the same from the view it did not work... it just shows a black screen, and I tried to look it up in the LogCat but did not tell me something that i would pick up right away. Yeah, graphics stuff is always a pain to debug and there's not much anyone can do to help with graphical issues like that. Just on the side note.., I am new to android, at least give me that,... Given :-) you might be an expert.. Hardly. I know what I need to know to do what I need to do. And I know where to look when I have to learn something new. ;-) Again, no offense, just going off what you said and the code you posted. Anyways, 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: new to android..............
You can follow that link http://developer.android.com/sdk/index.html after getting the sdk and all, you can follow this link http://android-codes-examples.blogspot.com/2011/02/running-emulator-from-eclipse.html On Mar 4, 8:16 pm, Kailash Adhikari adhi.fr...@gmail.com wrote: hi everyone..., as i am a newly introduced to android and i'm finding it difficult to install android adt tools,eclipse,sdk... so if anyone help me about complete installation ..i'll be very greatfull. -- 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: new to android..............
Hi,follow this link.they have given which revision is supported for which SDK n all.. http://developer.android.com/sdk/index.html if you have difficulty again let me know Thanks On Mar 4, 8:16 pm, Kailash Adhikari adhi.fr...@gmail.com wrote: hi everyone..., as i am a newly introduced to android and i'm finding it difficult to install android adt tools,eclipse,sdk... so if anyone help me about complete installation ..i'll be very greatfull. -- 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: new to android..............
What have you tried? And are you running Windows, Linux or OSX? On Mar 4, 10:16 am, Kailash Adhikari adhi.fr...@gmail.com wrote: hi everyone..., as i am a newly introduced to android and i'm finding it difficult to install android adt tools,eclipse,sdk... so if anyone help me about complete installation ..i'll be very greatfull. -- 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: New to Android - Can't add Platform
Hi James, I followed the instruction here http://developer.android.com/sdk/eclipse-adt.html#installing and it worked for me. BTW, I had my android installed at :C:\Android\android-sdk-windows . not sure if long paths would make a difference thanks, hari. On Nov 1, 7:05 am, James Thomas jamesothom...@gmail.com wrote: I am running into errors while setting up my environment using Eclipse Galileo. It appears to have loaded Eclipse and the SDK ok as I can see the Android Icon in the About Eclipse and the Android SDK and AVD Manager appear in the Window dropdown list. But when trying to add platforms in Window-Preferences its says: Location of the Android SDK has not been setup in preferences. I selected Android on the left and tried to add: C:\Documents and Settings\thomasji\My Documents\Android\android-sdk-windows but nothing is populated in the list of SDK targets when I click apply. Nothing happens. Please help. -- 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: New to Android - Can't add Platform
Setting up the Eclipse environment correctly is not easy. I have done it 3 times now, and seen this error a few times. I think that you have to install ADT first, and then use this to import the SDK. The other thing I vaguely remember is that the load preferences command looks for .zip or something else (.tar ???), and pointing it at a folder will not work - you need to point at the original zip file. At least take heart you are almost there On Nov 2, 1:05 am, James Thomas jamesothom...@gmail.com wrote: I am running into errors while setting up my environment using Eclipse Galileo. It appears to have loaded Eclipse and the SDK ok as I can see the Android Icon in the About Eclipse and the Android SDK and AVD Manager appear in the Window dropdown list. But when trying to add platforms in Window-Preferences its says: Location of the Android SDK has not been setup in preferences. I selected Android on the left and tried to add: C:\Documents and Settings\thomasji\My Documents\Android\android-sdk-windows but nothing is populated in the list of SDK targets when I click apply. Nothing happens. Please help. -- 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: New to Android and programming
I would go further than that. If the OP has no programming experience, then Java/Android is an almost impossible starting point: 1. The online doco is hopeless. Yes, as you say they all assume a pretty high level knowledge of Java to start with. Worse, for the beginner, is that unlike some other IDEs/environments I won't mention, the class library doco doesn't provide full functioning programs or even code snippets illustrating use. And these are hard and sometimes impossible to find. 2. Teach yourself OO programming? Are you kidding? Teaching yourself Fortran, C, Pascal etc is hard enough, and Java/C#/C++ are that squared. It would be easier to learn C, then jump from there into Java. And Android isn't just Java, its XML as well. Learn all that when you have never written a program in your life? 3. The environment is that much harder and slower to use because of the indirectness of cross-compling and running an emulator. When people first start coding, they are testing changes on a line-by-line basis, and the whole emulator thing is even more of a PITA. I love this stuff, don't get me wrong, and a lot of it is complicated and difficult because it has to be, but I can't think of a more difficult environment to learn programming for the first time than Java/Eclipse/Android. On Aug 26, 11:42 am, Indicator Veritatis mej1...@yahoo.com wrote: I'd even go one step of certainty further: it will definitely be a frustrating experience unless he learns enough Java first. Too many of the sample programs, whether in forums, in books on Android, or in the official Google tutorial, all use constructs that will otherwise appear mysterious and obscure, such as anonymous classes for Event Listeners, final static Strings for constants... But he does not need black belt level mastery of Java before starting Android. Orange belt is good enough;) On Aug 24, 5:29 am, TreKing treking...@gmail.com wrote: On Sun, Aug 22, 2010 at 1:32 AM, Droidblazer00 weilache...@gmail.comwrote: So would it be better for me to learn Java before getting started with the SDK and eclipse? Or is it just the same to jump right in on App development and learn on the fly? Well, it's definitely not the same, but whether it's better really depends. Do you have other programming experience? Are you good at learning quickly on your own? If no to either, probably a good idea to take some time to learn Java on it's own. It has some quirks you need to learn. Android has quirks you need to learn. Depending on your background, learning both those quirks, at the same time, will be an exercise in frustration. 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: New to Android and programming
Teach yourself OO programming? Are you kidding? The only programming class I ever had was one in Fortran, yet I know OO inside and out (literally). I'll agree that I don't get a lot of the UML stuff, but that's more because I can see flaws in it. But that's 40 years of experience. I'll agree that one isn't going to pick up OO in a few weeks, especially not starting out on Android. I would say that one needs at least 6 months of fairly intensive practice with other programming paradigms before advancing to Android. Or contact Tim. ;) On Aug 26, 2:53 am, Peter Webb r.peter.w...@gmail.com wrote: I would go further than that. If the OP has no programming experience, then Java/Android is an almost impossible starting point: 1. The online doco is hopeless. Yes, as you say they all assume a pretty high level knowledge of Java to start with. Worse, for the beginner, is that unlike some other IDEs/environments I won't mention, the class library doco doesn't provide full functioning programs or even code snippets illustrating use. And these are hard and sometimes impossible to find. 2. Teach yourself OO programming? Are you kidding? Teaching yourself Fortran, C, Pascal etc is hard enough, and Java/C#/C++ are that squared. It would be easier to learn C, then jump from there into Java. And Android isn't just Java, its XML as well. Learn all that when you have never written a program in your life? 3. The environment is that much harder and slower to use because of the indirectness of cross-compling and running an emulator. When people first start coding, they are testing changes on a line-by-line basis, and the whole emulator thing is even more of a PITA. I love this stuff, don't get me wrong, and a lot of it is complicated and difficult because it has to be, but I can't think of a more difficult environment to learn programming for the first time than Java/Eclipse/Android. On Aug 26, 11:42 am, Indicator Veritatis mej1...@yahoo.com wrote: I'd even go one step of certainty further: it will definitely be a frustrating experience unless he learns enough Java first. Too many of the sample programs, whether in forums, in books on Android, or in the official Google tutorial, all use constructs that will otherwise appear mysterious and obscure, such as anonymous classes for Event Listeners, final static Strings for constants... But he does not need black belt level mastery of Java before starting Android. Orange belt is good enough;) On Aug 24, 5:29 am, TreKing treking...@gmail.com wrote: On Sun, Aug 22, 2010 at 1:32 AM, Droidblazer00 weilache...@gmail.comwrote: So would it be better for me to learn Java before getting started with the SDK and eclipse? Or is it just the same to jump right in on App development and learn on the fly? Well, it's definitely not the same, but whether it's better really depends. Do you have other programming experience? Are you good at learning quickly on your own? If no to either, probably a good idea to take some time to learn Java on it's own. It has some quirks you need to learn. Android has quirks you need to learn. Depending on your background, learning both those quirks, at the same time, will be an exercise in frustration. 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: New to Android Programming
Dear Dave, If you are new to Android and the complexities of Java, you may wish to consider another approach to Android development such as our MobiForms rapid application development tool. MobiForms replaces the need to download 100's MB of files, configure Eclipse, learn the Android SDK, Java and XML. MobiForms is ideal for novice or expert programmers alike you do not want to spend hours learning a low level language like Java. MobiForms offers one compact tool for development and deployment with most programming done with drag and drop. MobiForms is the world's first rapid application development tool designed for Google Android smartphones. Additionally MobiForms apps will run on other platforms such as Windows Mobile without any changes. MobiForms is ideal for creating database orientated business apps. Apps that would traditionally take hours or days to create can be generated in minutes with MobiForms. For more information please have a look at http://www.mobiforms.com Kind regards, Tim @ MobiForms -- 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: New to Android and programming
I'd even go one step of certainty further: it will definitely be a frustrating experience unless he learns enough Java first. Too many of the sample programs, whether in forums, in books on Android, or in the official Google tutorial, all use constructs that will otherwise appear mysterious and obscure, such as anonymous classes for Event Listeners, final static Strings for constants... But he does not need black belt level mastery of Java before starting Android. Orange belt is good enough;) On Aug 24, 5:29 am, TreKing treking...@gmail.com wrote: On Sun, Aug 22, 2010 at 1:32 AM, Droidblazer00 weilache...@gmail.comwrote: So would it be better for me to learn Java before getting started with the SDK and eclipse? Or is it just the same to jump right in on App development and learn on the fly? Well, it's definitely not the same, but whether it's better really depends. Do you have other programming experience? Are you good at learning quickly on your own? If no to either, probably a good idea to take some time to learn Java on it's own. It has some quirks you need to learn. Android has quirks you need to learn. Depending on your background, learning both those quirks, at the same time, will be an exercise in frustration. 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: New to Android and programming
Heck, the examples are mysterious and obscure even if you've worked with Java for 12 years! On Aug 25, 8:42 pm, Indicator Veritatis mej1...@yahoo.com wrote: I'd even go one step of certainty further: it will definitely be a frustrating experience unless he learns enough Java first. Too many of the sample programs, whether in forums, in books on Android, or in the official Google tutorial, all use constructs that will otherwise appear mysterious and obscure, such as anonymous classes for Event Listeners, final static Strings for constants... But he does not need black belt level mastery of Java before starting Android. Orange belt is good enough;) On Aug 24, 5:29 am, TreKing treking...@gmail.com wrote: On Sun, Aug 22, 2010 at 1:32 AM, Droidblazer00 weilache...@gmail.comwrote: So would it be better for me to learn Java before getting started with the SDK and eclipse? Or is it just the same to jump right in on App development and learn on the fly? Well, it's definitely not the same, but whether it's better really depends. Do you have other programming experience? Are you good at learning quickly on your own? If no to either, probably a good idea to take some time to learn Java on it's own. It has some quirks you need to learn. Android has quirks you need to learn. Depending on your background, learning both those quirks, at the same time, will be an exercise in frustration. 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: New to Android and programming
The best way to learn, is by doing, as in just write apps with no prior experience. There are many introductory Java tutorials and Android tutorials (official and unofficial) online for free. You can also buy books or take a course. I spent 4 years (and a lot of money) in college working on a Bachelor of Science in Information Technology, and I didn't learn as much as I did just from writing apps. I wrote this article to help folk like you get started, so that at least you can have a full toolbox to start playing around with some demo apps. http://www.thebitsource.com/featured-posts/getting-started-with-the-android-sdk-in-10-minutes/ I hope it helps. On Aug 24, 8:00 am, Chris Stewart cstewart...@gmail.com wrote: I'll likely echo what TreKing said. While it's definitely possible to jump in without prior Java experience, even just a bit, it will be hard. That kind of hurdle often knocks someone's interest off the rails. While this won't directly answer your question, it's related and might help you or someone else. I've come to the mailing list a few times and have seen people asking very basic Java questions, or even some intermediate questions. The issue then becomes their ability to design, from a technical perspective, their application even when they get their Java problem solved. I think having that Java background gives you the freedom to think about how you're structuring your Android application for reuse and performance. While it's not a requirement to do that, it absolutely helps when adding new features and maintaining existing code. -- Chris Stewarthttp://chriswstewart.com Fantasy Footballhttp://chriswstewart.com/android-applications/fantasy-football/- Android app for MFL fantasy football owners Fantasy Football Insiderhttp://chriswstewart.com/android-applications/fantasy-football-insider/- Android app for all fantasy football fanatics Social Updaterhttp://chriswstewart.com/android-applications/social-updater/- An easy way to send your status blast to multiple social networks On Tue, Aug 24, 2010 at 8:29 AM, TreKing treking...@gmail.com wrote: On Sun, Aug 22, 2010 at 1:32 AM, Droidblazer00 weilache...@gmail.comwrote: So would it be better for me to learn Java before getting started with the SDK and eclipse? Or is it just the same to jump right in on App development and learn on the fly? Well, it's definitely not the same, but whether it's better really depends. Do you have other programming experience? Are you good at learning quickly on your own? If no to either, probably a good idea to take some time to learn Java on it's own. It has some quirks you need to learn. Android has quirks you need to learn. Depending on your background, learning both those quirks, at the same time, will be an exercise in frustration. 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%2Bunsubs cr...@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: New to Android and programming
On Tue, Aug 24, 2010 at 11:22 AM, msacks ntw...@gmail.com wrote: The best way to learn, is by doing, as in just write apps with no prior experience. If no prior experience means you have never programmed, you've never heard of Eclipse, and you haven't touched the SDK, you're simply not going to jump straight into writing an app. You could certainly try, but good luck understanding the Android Activity Lifecycle before you know what a class is. I agree that the best way to learn is to do, but there are steps involved in what you do and what you learn. If you put the cart before the horse, you're going to step in it's manure ... or whatever the saying is. I spent 4 years (and a lot of money) in college working on a Bachelor of Science in Information Technology, and I didn't learn as much as I did just from writing apps. I'm willing to bet though that in those 4 years you learned enough to allow you to get started writing apps. I wrote this article to help folk like you get started, so that at least you can have a full toolbox to start playing around with some demo apps. http://www.thebitsource.com/featured-posts/getting-started-with-the-android -sdk-in-10-minutes/ Nice article indeed (good work), but again, if the OP has no programming experience at all (which he hasn't clarified), all the playing around with demo apps isn't going to help until he understands the language. - 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: New to Android and programming
If indeed you are new to programming I'd suggest you see if you can take a college course somewhere on intro programming. At the very least you should find yourself a good Java Self Taught book and get through at least the first few chapters. While much of Android programming isn't really programming in the conventional sense, you still need a solid basis in programming fundamentals in order to make progress with Android. I think some people here have managed sort of OK without any formal programming background, but they tend to be the ones asking stupid question and writing porn apps, not the ones doing productive work. On Aug 22, 1:32 am, Droidblazer00 weilache...@gmail.com wrote: HI everyone, as the title says i'm new to the Android community, and i don't have much experience on the development side either. but i am very interested in getting started. I see that Android apps are based off of Java... So would it be better for me to learn Java before getting started with the SDK and eclipse? Or is it just the same to jump right in on App development and learn on the fly? Thank you for the help Dave -- 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: New to android finally leaving Windows !!!
On Thu, Aug 5, 2010 at 4:48 AM, String sterling.ud...@googlemail.comwrote: On Aug 4, 8:51 pm, Tommy droi...@gmail.com wrote: Why should a user have to go out of the way to figure out how to use ADB to do this. A user shouldn't have to. I absolutely agree with you, and think it's pretty crappy of ATT to have done this. Well, even though ATT removed the settings option, they didn't actually disable sideloading entirely. I've used the Android Central Sideload Wonder Machine with the Captivate and it works great. (As long as you're using .Net 4.0+) Windows: http://www.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine Linux/Mac: http://www.androidcentral.com/android-central-sideload-wonder-machine-linux-and-mac-talented-forum-member (Don't let the irreverence of the name deter you. It was a name that came out during one of their podcasts and stuck.) However, the OP asked about a dev phone, and [as a dev] he will be using ADB already. This wasn't a discussion about end-user experience, hence I felt inclined to post my counterpoint. Not trying to start a fight, just trying to stay on topic. :^) String --Phill W. -- 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: New to android finally leaving Windows !!!
On Aug 5, 12:04 am, Mark Murphy mmur...@commonsware.com wrote: Bear in mind, though, that you can't test installs this way, in terms of seeing what the user will see (e.g., security screens). OK, that's a fair point. However, that aspect can be accurately tested on the emulator. String -- 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: New to android finally leaving Windows !!!
I would recommend the Captivate. It's Hummingbird processor is very nice (basically the same as what is in the IPhone 4... samsung sold them their chips as I understand it... though the IPhone 4 SOC has one other component (though CPU and GPU are the same)). If it's okay to say it now... it is rootable (legally I suppose as things are now...) and I'm quite happy with it. The driver setup, however, to get it hooked up to my computer was a tad difficult... but it is the one and only Android device worth getting on ATT. The Aria (forget the manufacturer) is nice, but doesn't have the same caliber of CPU. On Jul 7, 10:17 am, Martin martinj...@gmail.com wrote: I would love to start developing for Android- I am currently on the ATT network. How does one acquire a test device? -- 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: New to android finally leaving Windows !!!
STAY AWAY FROM ATT WITH ANDROID IF YOU CAN!!! I currently own the HTC Aria with ATT. Don't get me wrong HTC makes great phones I love the aria. BUT ATT had to go in and fiddle with everything totally locking down their android phones just like an IphoneWhats the point? Unless you feel like rooting the phone which will void your warranty you will not be able to download whatever apps you want unless they are from the Market app. I am very disappointed in ATT. I also owned a Moto Backflip before I yelled enough they game me the HTC. Backflip = 1 giant POS btw don't even bother same on MOTO and Massive shame on ATT for marketing it in such horrible conditionandroid OS 1.5 WTF? Honestly you could go to Verizon and get the new droid X for a 149.99 with a 2 year contract This is my personally Experience as I also own a Droid with Verizon and I can tell you Verizon ATT when it comes to android. I hope this helps you make an informed decision and not get bent over the bench like me. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Jeremiah Sellars Sent: Wednesday, August 04, 2010 11:42 AM To: Android Developers Subject: [android-developers] Re: New to android finally leaving Windows !!! I would recommend the Captivate. It's Hummingbird processor is very nice (basically the same as what is in the IPhone 4... samsung sold them their chips as I understand it... though the IPhone 4 SOC has one other component (though CPU and GPU are the same)). If it's okay to say it now... it is rootable (legally I suppose as things are now...) and I'm quite happy with it. The driver setup, however, to get it hooked up to my computer was a tad difficult... but it is the one and only Android device worth getting on ATT. The Aria (forget the manufacturer) is nice, but doesn't have the same caliber of CPU. On Jul 7, 10:17 am, Martin martinj...@gmail.com wrote: I would love to start developing for Android- I am currently on the ATT network. How does one acquire a test device? -- 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
[android-developers] Re: New to android finally leaving Windows !!!
You can also buy a developer device:http://android.brightstarcorp.com/index.htm. Honestly though, the dev phone 2, while unlocked (and perfect for ATT) is a bit pricey for the hardware you get. The N1 is a better option IMO:http://www.google.com/phone(there is an ATT version, while they last, but not cheap). Can we use *any* Android-based phone for testing and debugging? That is, can we download, run, and debug our applications from the Eclipse environment? Can we do that with just the device itself and no phone service? I would like to test on at least 2 real devices, but probably can't afford any service plan at all. -- 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: New to android finally leaving Windows !!!
Can we use *any* Android-based phone for testing and debugging? That is, can we download, run, and debug our applications from the Eclipse environment? The Dev Guide actually answers this one as yes: You can use any Android-powered device as an environment for running, debugging, and testing your applications. The tools included in the SDK make it easy to install and run your application on the device each time you compile. So if I buy a ridiculously expensive Droid from amazon.com, with no service, will I be able to download, run, and debug on it? -- 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: New to android finally leaving Windows !!!
On Wed, Aug 4, 2010 at 2:40 PM, A Curious Developer imdb...@yahoo.com wrote: Can we use *any* Android-based phone for testing and debugging? Any that has the Android Market on it should be safe. That is, can we download, run, and debug our applications from the Eclipse environment? See above. Can we do that with just the device itself and no phone service? Yes, though some phones may require phone service with a data plan to get the phone up and running. If you choose a GSM phone, all you need to do is borrow a friend's SIM for five minutes, long enough for you to get the phone activated and get WiFi working, and then you no longer need the SIM. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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: New to android finally leaving Windows !!!
On Aug 4, 6:41 pm, Tommy droi...@gmail.com wrote: BUT ATT had to go in and fiddle with everything totally locking down their android phones just like an IphoneWhats the point? Unless you feel like rooting the phone which will void your warranty you will not be able to download whatever apps you want unless they are from the Market app. I'm no friend of ATT, and am as disappointed as anyone about the restrictions they've put on all their Android phones to date, but please get your facts straight before launching into a rant. They've only disabled installing non-Market apps using the phone itself; there's nothing stopping you from pushing APKs onto the phone using ADB. And someone's even written a Windows application to do that. For a dev phone, an ATT 'set is not intrinsically a bad choice. Except, perhaps, on ethical grounds. String -- 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: New to android finally leaving Windows !!!
I realize that you can push apps to the phone but you shouldn't have to, that is the point of my rant. Why should a user have to go out of the way to figure out how to use ADB to do this. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of String Sent: Wednesday, August 04, 2010 3:24 PM To: Android Developers Subject: [android-developers] Re: New to android finally leaving Windows !!! On Aug 4, 6:41 pm, Tommy droi...@gmail.com wrote: BUT ATT had to go in and fiddle with everything totally locking down their android phones just like an IphoneWhats the point? Unless you feel like rooting the phone which will void your warranty you will not be able to download whatever apps you want unless they are from the Market app. I'm no friend of ATT, and am as disappointed as anyone about the restrictions they've put on all their Android phones to date, but please get your facts straight before launching into a rant. They've only disabled installing non-Market apps using the phone itself; there's nothing stopping you from pushing APKs onto the phone using ADB. And someone's even written a Windows application to do that. For a dev phone, an ATT 'set is not intrinsically a bad choice. Except, perhaps, on ethical grounds. String -- 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: New to android finally leaving Windows !!!
On Wed, Aug 4, 2010 at 3:24 PM, String sterling.ud...@googlemail.com wrote: I'm no friend of ATT, and am as disappointed as anyone about the restrictions they've put on all their Android phones to date, but please get your facts straight before launching into a rant. They've only disabled installing non-Market apps using the phone itself; there's nothing stopping you from pushing APKs onto the phone using ADB. And someone's even written a Windows application to do that. Bear in mind, though, that you can't test installs this way, in terms of seeing what the user will see (e.g., security screens). The Windows app presumably uses the same mechanism as the SDK, and therefore probably does not prompt the user for security-related stuff. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- 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: New to android finally leaving Windows !!!
On Aug 4, 11:46 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Aug 4, 2010 at 2:40 PM, A Curious Developer imdb...@yahoo.com wrote: Can we use *any* Android-based phone for testing and debugging? Any that has the Android Market on it should be safe. Reportedly, some devices do not push logs out through the USB port. Those are rather helpful, contain stack traces and your strategic logs. Also, you typically need the proper drivers for your development environment. Make sure you can get those. And if you wish to pull screenshots from the device, don't bother with a Motorola Milestone/ Verizon Driod; can't do it (at least when they were running 2.1), in my experience. -- 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: New to android finally leaving Windows !!!
You really need at least two devices for testing. High-end 2.1+ devices and a pre-2.0 device. I find that the emulator does a good job of matching pre-2.0 device behavior but you can get really burned trusting the emulator to behave the same for the later devices. I've found differences between the emulator and the device, in everything from NPE's being thrown on the device to completely different layouts in the UI. On Wed, Aug 4, 2010 at 11:46 AM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Aug 4, 2010 at 2:40 PM, A Curious Developer imdb...@yahoo.com wrote: Can we use *any* Android-based phone for testing and debugging? Any that has the Android Market on it should be safe. That is, can we download, run, and debug our applications from the Eclipse environment? See above. Can we do that with just the device itself and no phone service? Yes, though some phones may require phone service with a data plan to get the phone up and running. If you choose a GSM phone, all you need to do is borrow a friend's SIM for five minutes, long enough for you to get the phone activated and get WiFi working, and then you no longer need the SIM. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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 -- Shane Isbell (Founder of ZappMarket) http://apps.facebook.com/zappmarket/ -- 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: New to android finally leaving Windows !!!
On Aug 4, 9:06 pm, Shane Isbell shane.isb...@gmail.com wrote: You really need at least two devices for testing. High-end 2.1+ devices and a pre-2.0 device. I find that the emulator does a good job of matching pre-2.0 device behavior but you can get really burned trusting the emulator to behave the same for the later devices. I've found differences between the emulator and the device, in everything from NPE's being thrown on the device to completely different layouts in the UI. This pretty much matches my experience. The more devices, the merrier, but two seems a decently reasonable setup. Considerably more devices are needed for more advanced work that relies heavily on sensors, use camera preview, and, thoughest of them all, need to maintain a constant FPS rate to deliver a reasonable user experience. -- 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: New to android finally leaving Windows !!!
To get started you can use the SDK and the emulators it provides (you don't need a device to dive in, though yes you will want one at some point for further testing). http://developer.android.com/intl/es/guide/index.html You can also buy a developer device: http://android.brightstarcorp.com/index.htm. Honestly though, the dev phone 2, while unlocked (and perfect for ATT) is a bit pricey for the hardware you get. The N1 is a better option IMO: http://www.google.com/phone (there is an ATT version, while they last, but not cheap). That or if your contract is up you can wait a bit and get a subsidized Samsung Captivate: http://www.wired.com/gadgetlab/2010/06/samsung-android-phone-heads-to-att/. Really none of the other ATT phones are very promising (Backflip, etc, shrug). On Jul 7, 1:17 pm, Martin martinj...@gmail.com wrote: I would love to start developing for Android- I am currently on the ATT network. How does one acquire a test device? -- 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: New to android. Listview problem
Hi, Put the line setContentView(R.layout.main); after line super.onCreate(savedInstanceState); On May 26, 6:15 am, Somebodyconfused til...@jcs.k12.oh.us wrote: All, I'm trying to get the following code to work. It should just be a textview with a listview underneath it. What is going wrong? MAIN.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / ListView android:id=@+id/lista android:layout_width=wrap_content android:layout_height=wrap_content/ /LinearLayout public class TestApp extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TextView meh = new TextView(this); ListView ls = (ListView) findViewById(R.id.lista); String[] COUNTRIES = {Afghanistan, Albania, Algeria}; meh.setText(HI THERE); setContentView(R.layout.main); ls.setAdapter(new ArrayAdapterString(this,android.R.layout.simple_list_item_1, COUNTRIES)); } -- 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: New to android
http://developer.android.com/guide/index.html On Mar 29, 6:53 am, iftekhar iftekhar...@gmail.com wrote: Hi, I am new to android/mobile application .I have exp in developing applications using Java/J2EE but no knowledge of mobile application/ games etc. Please suggest me any link/help from where I can study and develop application using android. Thanks Iftekhar -- 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 To unsubscribe, reply using remove me as the subject.
[android-developers] Re: New to android
hello ,I‘m new too. The google's example is a good way to step into android. and there is a book named ’ android essentials‘ can help you. On 3月29日, 下午7时53分, iftekhar iftekhar...@gmail.com wrote: Hi, I am new to android/mobile application .I have exp in developing applications using Java/J2EE but no knowledge of mobile application/ games etc. Please suggest me any link/help from where I can study and develop application using android. Thanks Iftekhar -- 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 To unsubscribe, reply using remove me as the subject.
[android-developers] Re: New to android
Yea... Check out the tutorials and API Demos under the Resources tab. Great starting point. On Mar 29, 12:30 pm, Felipe Silveira webfel...@gmail.com wrote: The first place you need to go is:http://developer.android.com Felipe Silveirawww.felipesilveira.com.br On Mon, Mar 29, 2010 at 8:53 AM, iftekhar iftekhar...@gmail.com wrote: Hi, I am new to android/mobile application .I have exp in developing applications using Java/J2EE but no knowledge of mobile application/ games etc. Please suggest me any link/help from where I can study and develop application using android. Thanks Iftekhar -- 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%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Felipe Silveira Engenharia da Computação Universidade Federal de Itajubáhttp://www.felipesilveira.com.br MSN: felipeuni...@hotmail.com Skype: fsunifei - -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: New to android
just go to *developer*.*android*.com where u can get details and basic knowlege of android On Tue, Mar 30, 2010 at 11:56 AM, patbenatar patbena...@gmail.com wrote: Yea... Check out the tutorials and API Demos under the Resources tab. Great starting point. On Mar 29, 12:30 pm, Felipe Silveira webfel...@gmail.com wrote: The first place you need to go is:http://developer.android.com Felipe Silveirawww.felipesilveira.com.br On Mon, Mar 29, 2010 at 8:53 AM, iftekhar iftekhar...@gmail.com wrote: Hi, I am new to android/mobile application .I have exp in developing applications using Java/J2EE but no knowledge of mobile application/ games etc. Please suggest me any link/help from where I can study and develop application using android. Thanks Iftekhar -- 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.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Felipe Silveira Engenharia da Computação Universidade Federal de Itajubáhttp://www.felipesilveira.com.br MSN: felipeuni...@hotmail.com Skype: fsunifei - -- 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 To unsubscribe from this group, send email to android-developers+ unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: New to Android...how does android handle application versions/updates...
Okay, great! So, if I needed to make changes to the existing database, would I need to perform any kind of backup of the old database? Thanks for your help! On Mar 1, 11:40 pm, TreKing treking...@gmail.com wrote: On Mon, Mar 1, 2010 at 10:08 AM, MaTT macte...@gmail.com wrote: Specifically, does an update blow away my database? No, all data stored locally by the app is preserved. Is there a way to preserve the users' settings as well? All settings saved in SharedPreferences are also preserved. --- -- TreKing - Chicago transit tracking app for Android-powered deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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: New to Android...how does android handle application versions/updates...
MaTT wrote: Okay, great! So, if I needed to make changes to the existing database, would I need to perform any kind of backup of the old database? If you use SQLiteOpenHelper to assist you, you will be notified when your database schema differs from the schema your upgraded app wants to use. Then, you will be able to use ALTER TABLE statements or temp tables or whatever you want in order to modify your schema in-place in your application. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Online Training: 26-30 April 2010: http://onlc.com -- 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: New to Android...how does android handle application versions/updates...
Thanks Mark. You guys have both been very helpful. On Mar 2, 8:47 am, Mark Murphy mmur...@commonsware.com wrote: MaTT wrote: Okay, great! So, if I needed to make changes to the existing database, would I need to perform any kind of backup of the old database? If you use SQLiteOpenHelper to assist you, you will be notified when your database schema differs from the schema your upgraded app wants to use. Then, you will be able to use ALTER TABLE statements or temp tables or whatever you want in order to modify your schema in-place in your application. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Online Training: 26-30 April 2010:http://onlc.com -- 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: New in android developement
On Jan 3, 10:54 pm, Neilz neilhorn...@googlemail.com wrote: Dear Rohit. When you have found your answers, please come back here and post them so we can all share in your new found knowledge. Thanx in advance... ;-) Q. Handler and Looper? Handler The most flexible means of making an Android-friendly background thread is to create an instance of a Handler subclass. You only need one Handler object per activity, and you do not need to manually register it or anything—merely creating the instance is sufficient to register it with the Android threading subsystem. Your background thread can communicate with the Handler, which will do all of its work on the activity’s UI thread. This is important because UI changes, such as updating widgets, should only occur on the activity’s UI thread. You have two options for communicating with the Handler: messages and Runnable objects. Messages To send a Message to a Handler, first invoke obtainMessage() to get the Message object out of the pool. There are a few flavors of obtainMessage(), allowing you to just create empty Message objects, or ones populated with message identifiers and arguments. The more complicated your Handler processing needs to be, the more likely it is you will need to put data into the Message to help the Handler distinguish different events. Then, you send the Message to the Handler via its message queue, using one of the following sendMessage...() family of methods: • sendMessage() puts the message on the queue immediately • sendMessageAtFrontOfQueue() puts the message on the queue immediately, and moreover puts it at the front of the message queue (versus the back, as is the default), so your message takes priority over all others • sendMessageAtTime() puts the message on the queue at the stated time, expressed in the form of milliseconds based on system uptime (SystemClock.uptimeMillis()) • sendMessageDelayed() puts the message on the queue after a delay, expressed in milliseconds. To process these messages, your Handler needs to implement handleMessage(), which will be called with each message that appears on the message queue. There, the handler can update the UI as needed. However, it should still do that work quickly, as other UI work is suspended until the Handler is done. Looper Getting tasks into a separate thread, then getting results back to the main UI thread is where the Handler, and related classes, come into play. When a Handler is created, it is associated with a Looper. A Looper is a class that contains a MessageQueue and processes Message or Runnable objects that are sent via the Handler. In the Handler usage. With this approach, the Handler is automatically associated with the Looper of the current running thread, typically the main UI thread. The main UI thread, which is created by the process of the running application, is an instance of a HandlerThread, which is basically an Android Thread specialization that provides a Looper. Q.. What is a ContentProvider? How to involve it from ContentResolver? Content Providers Any Uri in Android that begins with the content:// scheme represents a resource served up by a content provider. Content providers offer data encapsulation using Uri instances as handles you neither know nor care where the data represented by the Uri comes from, so long as it is available to you when needed. The data could be stored in a SQLite database, or in flat files, or retrieved off a device, or be stored on some far-off server accessed over the Internet. A shareable data store. Content Providers are used to manage and share application databases. Content Providers are the preferred way of sharing data across application boundaries. This means that you can configure your own Content Providers to permit access from other applications and use Content Providers exposed by others to access their stored data. Android devices include several native Content Providers that expose useful databases like contact information. Content Providers are a generic interface mechanism that lets you share data between applications. By abstracting away the underlying data source, Content Providers let you decouple your application layer from the data layer, making your applications data-source agnostic. Content Providers feature full permission control and are accessed using a simple URI model. Shared content can be queried for results as well as supporting write access. As a result, any application with the appropriate permissions can add, remove, and update data from any other applications — including some native Android databases. Many of the native databases have been made available as Content Providers, accessible by third-party applications. This means that your applications can have access to the phone’s Contact Manager, media player, and other native database once they’ve been granted permission. By publishing your own data sources as Content Providers, you make it possible for you (and other
[android-developers] Re: New in android developement
Dear Rohit. When you have found your answers, please come back here and post them so we can all share in your new found knowledge. Thanx in advance... ;-) -- 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: New to Android
Joe, The developer's site is always an excellent resource http://developer.android.com/ Here is their notepad tutorial (in 4 parts) http://developer.android.com/guide/tutorials/notepad/index.html Some fantastic videos from Google IO. Check out the Debugging and Lightning talks. http://code.google.com/events/io/2009/sessions.html#mobile And the newbie videos http://developer.android.com/videos/index.html#v=opZ69P-0Jbc -theSmith On Dec 8, 10:33 pm, smithkjnc smithk...@gmail.com wrote: Hello. I am new to the Android coding but not to programming as I learned on Pascal a LONG time ago. I would like to do some programming in this new language but need some tips and help. Sample code and video are always good for me as I am a visual learner but I welcome any and all help. Thanks! -Joe -- 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: New to android and java - Cannot run or debug with eclipse 3.5.1 on windows
I'm experiencing the same problem (I just installed the SDK into Eclipse and installed the AVD). It compiles correctly, opens the AVD, but I can't get the text within the AVD to change. Were you successful in fixing this? -- 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: New to android
Hey ctap, since you're just getting started I'd recommend visiting the android-beginners group which is better suited to these getting going type questions. Cheers, Justin Android Team @ Google On Jun 30, 11:01 am, ctap105 ctap...@gmail.com wrote: I am new to android and google groups. I dl the sdk and tried to install into eclipse and nothing really happens. I don't have virtual device and I can't even start a new android xml. I recently got together a forum widget for a fourm that I am part of and wish to bring it onto the android platform. Can someone help me? --~--~-~--~~~---~--~~ 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: New to Android
Thanks, I have the same problem and I think the JDK 5 or 6 install is the problem too. My problem is that I HAVE installed JDK 6 (update 13), A quick look in the Add/Remove Programs app shows Java(TM) SE Development Kit 6 Update 13 is installed...HOWEVER when I do $ java -version, I get: java version 1.3.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01) Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode) What the heck? That doesn't seem match up. Are these apples and oranges java apps? What should I see when I do $ java -version? According to the Android Dev page on java.lang.UnsupportedClassVersionError, the error is Thrown when an attempt is made to load a class with a format version that is not supported by the virtual machine. Can I at least assume that format version refers to Unsupported major.minor version 49.0 and that virtual machine refers to JDK? Egads, this is a show-stopper! Help! --~--~-~--~~~---~--~~ 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: New to Android
While trying to create an AVD for my first Eclipse-made Android app, I get the same java.lang.UnsupportederrorClassVersionError...49.0 error as in the OP. At that time, the $ java -version said I had: java version 1.3.1_01 Java (TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01) Java Hotspot (TM) Client VM (build 1.3.1_01, mixed mode) BTW: This 1.3.1_01 doesn't match any of the Java versions that I can see in Explorer. Anyway, I went ahead and installed JDK 6. I verified that it installed by finding it in (Explorer), (Add/Remove Programs), and in (IE Tools Internet Options Advanced). I then restarted the machine for good measure. Then did the $ java -version command again...but got the same 1.3.1_01. I feel like I'm taking crazy pills. Help! --~--~-~--~~~---~--~~ 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: New to Android
BriBri wrote: While trying to create an AVD for my first Eclipse-made Android app, I get the same java.lang.UnsupportederrorClassVersionError...49.0 error as in the OP. At that time, the $ java -version said I had: java version 1.3.1_01 Java (TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01) Java Hotspot (TM) Client VM (build 1.3.1_01, mixed mode) BTW: This 1.3.1_01 doesn't match any of the Java versions that I can see in Explorer. I do not know what you mean by that. Anyway, I went ahead and installed JDK 6. I verified that it installed by finding it in (Explorer), (Add/Remove Programs), and in (IE Tools Internet Options Advanced). Neither of those particularly matter. I then restarted the machine for good measure. Then did the $ java -version command again...but got the same 1.3.1_01. That means you need to update your PATH, as you are still picking up some older JDK when Windows searches for the java.exe program. http://www.java.com/en/download/help/path.xml -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ 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: New to Android
If it is not working , try to uninstall your JDK 1.3 . On May 7, 6:06 am, Mark Murphy mmur...@commonsware.com wrote: BriBri wrote: While trying to create an AVD for my first Eclipse-made Android app, I get the same java.lang.UnsupportederrorClassVersionError...49.0 error as in the OP. At that time, the $ java -version said I had: java version 1.3.1_01 Java (TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01) Java Hotspot (TM) Client VM (build 1.3.1_01, mixed mode) BTW: This 1.3.1_01 doesn't match any of the Java versions that I can see in Explorer. I do not know what you mean by that. Anyway, I went ahead and installed JDK 6. I verified that it installed by finding it in (Explorer), (Add/Remove Programs), and in (IE Tools Internet Options Advanced). Neither of those particularly matter. I then restarted the machine for good measure. Then did the $ java -version command again...but got the same 1.3.1_01. That means you need to update your PATH, as you are still picking up some older JDK when Windows searches for the java.exe program. http://www.java.com/en/download/help/path.xml -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ 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: New to Android
Exactly; there are multiple installations of Java on a single machine. On May 6, 4:33 pm, Wendal Chen wendal1...@gmail.com wrote: If it is not working , try to uninstall your JDK 1.3 . --~--~-~--~~~---~--~~ 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: New to Android
It's been a while since I've seen majorminor-49er. Here's the usual cause: http://forums.sun.com/thread.jspa?threadID=736596 You see this is likely a problem with your Java installation. I suspect you have an old Java version, probably 1.4.2. The bytecode of the android tool has been compiled against a newer version. You need at least JDK 5, according to the documentation here: http://developer.android.com/sdk/1.5_r1/requirements.html Check your Java version with the following command: $ java -version Update as necessary. BTW, there's an Android Beginner group... On Apr 30, 5:32 am, sreemon sreekumar@gmail.com wrote: Hello Friends, I am very new to Android. I am having a problem in creating avd. Please see the execption occured D:\Stabilix\Personal\Android\android-sdk-windows-1.5_r1\toolsandroid Exception in thread main java.lang.UnsupportedClassVersionError: com/ android/sdkmanager/Main (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Urgent help needed. Thanks in advance.. --~--~-~--~~~---~--~~ 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: new to android
Android Programmers Guide is a good book for beginner. Anddev.org http://anddev.org u'll get tutorials On 1/7/09, google swapna.annaman...@gmail.com wrote: hi, can any one suggest good way to practice android. good books or any free applications --~--~-~--~~~---~--~~ 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: new to android
google wrote: hi, can any one suggest good way to practice android. good books or any free applications In terms of books, I have a running list of available books up on the Android Programming knol: http://knol.google.com/k/mark-murphy/android-programming -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Published! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---