[android-beginners] Re: Hello, Stack Overflow!
What belongs here, what belongs on the Android Developers Group, what belongs on the Android Discuss Group, and what belongs on Stack Overflow? On Dec 21 2009, 12:38 pm, Roman (Google Employee) api.ro...@google.com wrote: Hi Android beginners! Just wanted to let everyone know that we've just opened up an official *developer* QA channel on Stack Overflow! Here's our blog post on the launch: http://android-developers.blogspot.com/2009/12/hello-stack-overflow.html Stack Overflow is very well-suited for asking programming questions, and has some great features like syntax highlighting and tagging. I'd recommend you all try it out. Bookmark this link for a current list of Android developer questions on the site: http://stackoverflow.com/questions/tagged/android **NOTE** When asking a new question, make sure to use the 'android' tag! Lastly, if your question is more advanced and might warrant a threaded- style discussion, post that to the existing android-developers Google Group at: http://groups.google.com/group/android-developers Thanks, and happy coding! Roman Nurik, Android Developer Relations -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Looking for a bit of design advice
Hi, I'm hoping that someone could provide me with a bit of advice around managing the threads in my application. I'm implementing an application for android that consists of several activities. All work in the application is done using a series of tasks, which are atomic units of work that are processed by what is basically a threadpool. The threadpool is a singleton, so anywhere within the application, I can do something like: LoginTask login = new LoginTask(credentials) BackgroundProcess.getInstance().addTask(login); This fires off a message to our server asking to authenticate the user. The application then polls for a resonse and handles it accordingly when it receives it. This is a pretty basic example. There are many other asynchronous tasks occurring within the application. My confusion/uncertainty revolves around initializing and shutting down the threadpool singleton. There appears to be no way to know when the application is shutdown, since an application is simply a bunch of interacting activities. I know when a given activity is destroyed or stopped or paused, but that doesn't mean that the application is shutdown. I've read up on services. Might this be the way to go? Implement a service that starts the threadpool in onCreate and that shuts it down in onDestroy? My understanding is that the service can go on running long after all activities have been destroyed. I may not quite understand this correctly, though. Any advice is appreciated and I'd be happy to provide more detail if clarification is needed. Thanks, Matt -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] NFC support
Hi all. Looking to develop an application to read rfid's and transmit the data over the internet. First of all, anyone got any recommendations on how to accomplish this? I've been looking at using libnfc.org in conjunction with an android phone. I was hoping to use the emulator however it appears that the emulator doesn't support usb plug in, hence I'm assuming it won't support the emulation of reading an rfid tag? Thanks all, Matt -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: getApplicationContext() AlertDialog.Builder
@TreKing I did get the exact same error (token null is not for an application). Because of curiosity I put the following in my source code: Log.v(TAG, this is + this); Log.v(TAG, getApplicationContext() is + getApplicationContext()); I found that these two values are in fact NOT equal. While 'this' points to the current Activity (e.g. com.example.mypackage.MyActivityClass), 'getApplicationContext()' returns a reference to an android.app.Application class. So you and Dianne Hackborn are right. The problem is that the Dialog cannot display properly because the provided Context is not an Activity. Thank you so much! Finally some enlightenment. @Mark Murphy Your guess that the cause of the error could be the fact that Toast lives outside any Activity, while Dialogs are tied to an Activity proved absolutely right! I agree that it would be nice to reflect that fact in the parameter list of those methods. However, in the future I will also try to avoid using 'getApplicationContext()' if it can cause these annoying runtime errors. In fact you two people helped me out tremendously. Thank you very much for putting your time and thought into this. Best wishes, Matt On 10 Nov., 22:49, TreKing treking...@gmail.com wrote: I ran into this before. Are you seeing token null is not for an application in the log cat? Might be related to this thread:http://groups.google.com/group/android-developers/browse_thread/threa... Specifically, this quote from Dianne: One cause of this error may be trying to display an application window/dialog through a Context that is not an Activity. I'll bet if you check the type returned from getApplicationContext() it's not the same as this. On Nov 10, 2:53 pm, Justin Anderson janderson@gmail.com wrote: Shoot... I was kinda hoping they were in different parts of your code. I'm going to have to punt this one off to someone else... Anyone? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Nov 10, 2009 at 1:27 PM, Matt reisc...@googlemail.com wrote: I have all the following code in my onCreate() method. Toast.makeText(getApplicationContext(), Hello World!, Toast.LENGTH_SHORT).show(); AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); [Dialog configuration] b.show(); While the Toast message gets displayed right away, the AlertDialog won't. Instead there is a runtime error. Like I said, if you replace the getApplicationContext() with this, it works flawlessly. On 10 Nov., 20:44, Justin Anderson janderson@gmail.com wrote: That's interesting. I've never run into that problem before. It probably has something to do with what classes you are in or something like that. Here's a question... did you try the Toast in the same place where using AlertDialog.Builder gives an error or were they in different parts of your code? Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Nov 10, 2009 at 12:16 PM, Matt reisc...@googlemail.com wrote: Hi everybody, can somebody please explain why AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); will result in a runtime error, while AlertDialog.Builder b = new AlertDialog.Builder(this); will run just fine? I can use this and getApplicationContext() with Toast.makeText() interchangeably without any problems. What is different with that AlertDialog.Builder? Any ideas? Cheers, Matt -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com android-beginners%2bunsubscr...@googlegroups.comandroid-beginners%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android
[android-beginners] Re: How to set clickable areas of a single image?
You can put the image in a FrameLayout, and put other transparent clickable views on top of the image. I'm not at all sure this is the best way to do this. On Oct 28, 2:07 pm, Chris chris.mil...@gmail.com wrote: Hi All I have one image (it's a guitar fretboard), and I want to identify/act on touch of events when different parts of the image are touched/ selected. I can set the whole image to be clickable with setClickOnListener of ImageView. Is there a way to either: 1. Identify the coordinates of which point has been touched? 2. Define sub areas on the image and setClickOnListener for those areas? Otherwise, I'm thinking I must implement a GridView and dissect my image into individual images and arrange them so they look like one large image. Thanks for any help! Chris -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] getApplicationContext() AlertDialog.Builder
Hi everybody, can somebody please explain why AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); will result in a runtime error, while AlertDialog.Builder b = new AlertDialog.Builder(this); will run just fine? I can use this and getApplicationContext() with Toast.makeText() interchangeably without any problems. What is different with that AlertDialog.Builder? Any ideas? Cheers, Matt -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: getApplicationContext() AlertDialog.Builder
I have all the following code in my onCreate() method. Toast.makeText(getApplicationContext(), Hello World!, Toast.LENGTH_SHORT).show(); AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); [Dialog configuration] b.show(); While the Toast message gets displayed right away, the AlertDialog won't. Instead there is a runtime error. Like I said, if you replace the getApplicationContext() with this, it works flawlessly. On 10 Nov., 20:44, Justin Anderson janderson@gmail.com wrote: That's interesting. I've never run into that problem before. It probably has something to do with what classes you are in or something like that. Here's a question... did you try the Toast in the same place where using AlertDialog.Builder gives an error or were they in different parts of your code? Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Nov 10, 2009 at 12:16 PM, Matt reisc...@googlemail.com wrote: Hi everybody, can somebody please explain why AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); will result in a runtime error, while AlertDialog.Builder b = new AlertDialog.Builder(this); will run just fine? I can use this and getApplicationContext() with Toast.makeText() interchangeably without any problems. What is different with that AlertDialog.Builder? Any ideas? Cheers, Matt -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: getApplicationContext() AlertDialog.Builder
I should mention that the runtime error does not occur in this line here AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); but when calling b.show() later on. According to DDMS, the WindowManager crashes because it is trying to add a new Window (the dialog) with a token=null. How can that be? Especially when the Toast message gets displayed properly and that is created and shown even before creating that Builder instance. I thought that maybe the application context wasn't fully initialized yet, so I moved all the code to the onStart() method. Well, needless to say that did not work either. Any clues? Best wishes, Matt On 10 Nov., 21:53, Justin Anderson janderson@gmail.com wrote: Shoot... I was kinda hoping they were in different parts of your code. I'm going to have to punt this one off to someone else... Anyone? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Nov 10, 2009 at 1:27 PM, Matt reisc...@googlemail.com wrote: I have all the following code in my onCreate() method. Toast.makeText(getApplicationContext(), Hello World!, Toast.LENGTH_SHORT).show(); AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); [Dialog configuration] b.show(); While the Toast message gets displayed right away, the AlertDialog won't. Instead there is a runtime error. Like I said, if you replace the getApplicationContext() with this, it works flawlessly. On 10 Nov., 20:44, Justin Anderson janderson@gmail.com wrote: That's interesting. I've never run into that problem before. It probably has something to do with what classes you are in or something like that. Here's a question... did you try the Toast in the same place where using AlertDialog.Builder gives an error or were they in different parts of your code? Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Nov 10, 2009 at 12:16 PM, Matt reisc...@googlemail.com wrote: Hi everybody, can somebody please explain why AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); will result in a runtime error, while AlertDialog.Builder b = new AlertDialog.Builder(this); will run just fine? I can use this and getApplicationContext() with Toast.makeText() interchangeably without any problems. What is different with that AlertDialog.Builder? Any ideas? Cheers, Matt -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com android-beginners%2bunsubscr...@googlegroups.comandroid-beginners%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: getApplicationContext() AlertDialog.Builder
I tried b.create().show(); but that did not solve the problem. This is very strange. If I can use 'getApplicationContext()' and 'this' interchangeably when dealing with Toast messages, I assume that those two are in fact pretty much the same. Now, on the other hand, when dealing with that AlertDialog.Builder class, where I can use 'this', but using 'getApplicationContext()' results in a runtime error when showing the dialog, I must assume that 'this' and 'getApplicationContext()' are NOT the same. How is that possible? Anyway, here is a error log. Maybe someone can think of a solution while looking at the actual error message. ... WARN/WindowManager(56): Attempted to add window with non-application token WindowToken{43be4580 token=null}. Aborting. DEBUG/AndroidRuntime(233): Shutting down VM WARN/dalvikvm(233): threadid=3: thread exiting with uncaught exception (group=0x4001b188) ERROR/AndroidRuntime(233): Uncaught handler: thread main exiting due to uncaught exception ERROR/AndroidRuntime(233): android.view.WindowManager $BadTokenException: Unable to add window -- token null is not for an application ... Oh, and thank you Justin for your effort! I really appreciate your help! Best wishes, Matt On 11 Nov., 00:51, Justin Anderson janderson@gmail.com wrote: This may seem weird, but try doing this: b.create().show(); I have never actually used the show method on the Builder class (I didn't realize it existed) and have never had any problems displaying a dialog. -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Nov 10, 2009 at 4:31 PM, Matt reisc...@googlemail.com wrote: I should mention that the runtime error does not occur in this line here AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); but when calling b.show() later on. According to DDMS, the WindowManager crashes because it is trying to add a new Window (the dialog) with a token=null. How can that be? Especially when the Toast message gets displayed properly and that is created and shown even before creating that Builder instance. I thought that maybe the application context wasn't fully initialized yet, so I moved all the code to the onStart() method. Well, needless to say that did not work either. Any clues? Best wishes, Matt On 10 Nov., 21:53, Justin Anderson janderson@gmail.com wrote: Shoot... I was kinda hoping they were in different parts of your code. I'm going to have to punt this one off to someone else... Anyone? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Nov 10, 2009 at 1:27 PM, Matt reisc...@googlemail.com wrote: I have all the following code in my onCreate() method. Toast.makeText(getApplicationContext(), Hello World!, Toast.LENGTH_SHORT).show(); AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); [Dialog configuration] b.show(); While the Toast message gets displayed right away, the AlertDialog won't. Instead there is a runtime error. Like I said, if you replace the getApplicationContext() with this, it works flawlessly. On 10 Nov., 20:44, Justin Anderson janderson@gmail.com wrote: That's interesting. I've never run into that problem before. It probably has something to do with what classes you are in or something like that. Here's a question... did you try the Toast in the same place where using AlertDialog.Builder gives an error or were they in different parts of your code? Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Nov 10, 2009 at 12:16 PM, Matt reisc...@googlemail.com wrote: Hi everybody, can somebody please explain why AlertDialog.Builder b = new AlertDialog.Builder(getApplicationContext ()); will result in a runtime error, while AlertDialog.Builder b = new AlertDialog.Builder(this); will run just fine? I can use this and getApplicationContext() with Toast.makeText() interchangeably without any problems. What is different with that AlertDialog.Builder? Any ideas? Cheers, Matt -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from
[android-beginners] Re: SDK Setup on Windows
maybe try deleting/uninstalling the old sdks first? mellery451 wrote: I'm refreshing my android SDKs as I had some very old versions on my Windows XP machine. I grabbed the latest package for the windows tools - specifically: http://developer.android.com/sdk/download.html?v=android-sdk_r3-windows.zip I unpack it and put the tools directory in my path. When I try to run SDK Setup.exe, it does nothing. No output, nothing. Anyone else had this problem? How should I start diagnosing the issue? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: new'ing an Intent
Mark Murphy wrote: btw, I have class called RootGameScreen in my workspace, namespace button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Intent startGameIntent = new Intent(this, RootGameScreen.class); In Java, this refers to the narrowest possible scope by default. So, in your Intent constructor, this is the View.OnClickListener anonymous inner class you are defining. Change your code to: Intent startGameIntent = new Intent(WelcomeScreen.this, RootGameScreen.class); and you may have better luck. yes that was it. A newbie error. :) Thnx Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Visual Studio Android Development
I have to ditto what RichardC says. Same experiences. Eclipse its very mature and robust. Yes, the UI is a little bit different. Wording/Terms different, so it will take a little time getting used to the differences. Matt RichardC wrote: BermudaLamb wrote: one of the largest communities of non-Java developers is probably the Visual Studio developers. As you say non-Java - but Andoid development is Java (with the option of excursions to native C/C++) so starting with Visual Studio is like taking a spade to drill a hole. More than templates would be needed a complete VS-plugin would be required (this would also rule out VS Express users). As a long time VS user (back to the days of 1.4 and 16bit Windows) I have had no trouble picking up Eclipse and the getting start instructions worked 1st time for me. However I might switch to Ant (XML based make equivalent) as I have not yet found a way to automate the checkout, build, release cycle in Eclipse for larger multi-project applications. -- RichardC On Oct 27, 2:51 pm, BermudaLamb thoml...@gmail.com wrote: I spend my entire day in Visual Studio 2005 and 2008. I want to develop Android applications as well. I have taken a look at Eclipse. I am Windows, not Mac, and not Linux. With that said ... Eclipse is not Visual Studio. They may both be IDEs but they are so different. I am looking for a step-by-step guide to gearing my Visual Studio environment for Android development. I know that thishttp://developer.android.com/guide/developing/other-ide.html talks about other IDEs. Lets be honest though, one of the largest communities of non-Java developers is probably the Visual Studio developers. Why not just recognize that and provide the necessary templates and steps to embrace this group, and kick the android market place into high gear. Anything is better that the i... world. Most of you may not remember, or even know the 70s and 80s. But Microsoft did it when they released Basic on the first PCs, and Borland did it again in the 80s when thye came out with the 29.95 Turbo Pascal. This is akin to the same thought ... Sure I can restructure my thinking, and learn yet another way to develop my applications, but in this day and age why should I. Since the the advent of the first GUI operating system I have been avidly waiting the developers panacea of point, click, drag and drop aplication development. We are not there yet, but everytime someone comes out with yet another IDE we seem to all sigh in relief while taking two steps backward in productivity. So, please, please, please ... provide a step by step visual guide (with templates) for Android Development in Visual Studio. Including, if necessary, steps for downloading and installing the various supporting stuff. I admit I'm spoiled by the VS development environment. I click on one EXE installation, answer a few simple questions, and in a few minutes my entire development environment is ready for me. I don't have to download this, then download that, and don't forget to get some of those, and a few of these. It is like the bad old days of Linux, when it would weeks to get the environment set up just right. However, don't breath on it because then Linux might think you installed something new and you would have to start all over again. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to begin with android
Windows works too. :) I happen to be old school XP for my windows box. I dl/install android sdk, Eclipse, the adroid plug-in, etc... I found the information somewhere at this site: http://developer.android.com/guide/developing/eclipse-adt.html Matt neha wrote: Hi, I am new to android. I want to get the android source code,compile it and run it. I have read the instructions on the website http://source.android.com/download but there a big list of requirements is mentioned. I dont have any experience to work with Ubantu rather I use windows. Can anyone please let me know with all the details how to build and run android source code using both Windows XP and Linux. I also wanted to know about android browser.How to get its source code,how to compile it and run it and what are its prerequisites. It will be helpful to me if anyone can give me the list of good books or documentation to which i can refer and understand easily so that I can proceed. Please make it as soon as possible as I am stuck up. Thanks and Regards, Neha. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android 2.0 SDK is here!
how does this apply if my phone is currently 1.5 and I wanted my app to work on it? Do I stick to 1.5? Matt Xavier Ducrohet wrote: Hello everyone! We've just announced the Android 2.0 SDK http://android-developers.blogspot.com/2009/10/announcing-android-20-support-in-sdk.html If you already have the 1.6 SDK, note that you can simply use the SDK Manager to add Android 2.0 to your SDK. Make sure you also get the new SDK Tools (revision 3), as the SDK Manager in revision 2 (the one that shipped with 1.6) doesn't enforce dependencies between platforms and Tools (fixed in rev 3) For more information about using the SDK Manager, see: http://developer.android.com/sdk/adding-components.html Have fun! Xav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to Align button to button of screen???
So that does not put my button at the bottom of the screen. Is that because I am using a LinearLayout? ?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 android:background=@drawable/blankscreen TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / Button android:layout_width=fill_parent android:layout_height=wrap_content android:gravity=bottom android:text=@string/btn_start_game / /LinearLayout brucko wrote: Matt, The second text view cannot have height = fill parent On Oct 27, 6:23 am, Matt Raffel matt.raf...@gmail.com wrote: I tried that :) I created a second textview control. It ends up pushing the button off the bottom of the screen. TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / TextView android:layout_width=fill_parent android:layout_height=fill_parent -- this will fill screen and leave no room for Button android:text=@string/empty_string / Button android:layout_width=fill_parent android:layout_height=wrap_content android:gravity=bottom android:text=@string/btn_start_game / Use a Relative Layout instead as recommended by paul. Something like this may work ( I haven't checked - but you get the idea) ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent android:background=@drawable/blankscreen TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / Button android:layout_width=fill_parent android:layout_height=wrap_content android:layout_alignParentBottom =true android:text=@string/btn_start_game / /RelativeLayout --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to Align button to button of screen???
I tried that :) I created a second textview control. It ends up pushing the button off the bottom of the screen. TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / TextView android:layout_width=fill_parent android:layout_height=fill_parent android:text=@string/empty_string / Button android:layout_width=fill_parent android:layout_height=wrap_content android:gravity=bottom android:text=@string/btn_start_game / Matt Justin Anderson wrote: Depending on what you want to do, with the space in the middle, you could create a view that acts as an empty space holder and set its layout_height attribute to fill_parent. One simple way of doing this would be to use a TextView that only displays an empty string -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Sun, Oct 25, 2009 at 7:59 PM, tatman matt.raf...@gmail.com mailto:matt.raf...@gmail.com wrote: I have two elements: I want the text at the top of the screen and the button at the bottom with space between the two controls.How can I get the button to appear at the bottom of the screen? ?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 android:background=@drawable/blankscreen TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / Button android:layout_width=fill_parent android:layout_height=wrap_content android:gravity=bottom android:text=@string/btn_start_game / /LinearLayout --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: plz help with sdcard image file and push command not working!!
I am having the same issue, SDK 1.6, on snow leopard. I recall the pictures showing up in the default agllery applciation more easily on an earlier versions of the SDK, on windows. I'll try with more images of different types to see if that fixes it. On Oct 7, 6:15 pm, wahib haq wahib.t...@gmail.com wrote: i want to know how to push images to the emulator gallery. I tried using with push command but its not displayed in gallery and not accessed by my code. Actually i have to access the image taken by the camera in my code. i tried to push a jpeg image to sdcard/DCIM/Camera and file is shown there using shell. but its not displayed in camera pictures folder in gallery and also not accessible by my code :S plz help On 10/8/09, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://developer.android.com/guide/tutorials/views/hello-gallery.html On 10/7/09 5:03 PM, wahib haq wrote: thanks john. how to enter images in the gallery ??? On 10/7/09, jbrohanjbro...@gmail.com wrote: I'm a beginner too. I use ddms. Run the command window in Windows, then type ddms here. If you have the paths set up properly it will work, else you need to go toandroid sdk folder/tools and enter ddms. This program links with the debugger and provides real time readings of logcat and also devicefile explorer shows the files and offers an easy upload and download. Images as such do not show up in teh gallery, they need to be entered into the gallery which creates a thumbnail for them. best of luck John On Oct 5, 10:40 pm, wahibwahib.t...@gmail.com wrote: hi !! I have created a image file in a folder /androidimages and when i try to run emulator from terminal giving path to this image file it gives error: i try = $ emulator -sdcard /home/soms/androidemuimages/androidnew.img -avd androidnew error= SDL init failure, reason is: No available video device as a second alternative i give path to this image file in AVD manager in eclipse but even it doesnt recognises it i guess. coz when i try to use camera it display the toast that sdcard is not enabled. = second problem is that when i try to push a .bmp file to sdcard using $ adb push bar3.bmp /sdcard there is no error but there is no change in logcat and no image added to gallery. or is it somewhere else?:S Plz forgive if i sound childish. Thanks in advance, regards, wahib -- -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan.www.sizzlotech.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: plz help with sdcard image file and push command not working!!
Restarting the emulator didn't help. Shutting it down then going to my run configuations-target and selecting wipe user data worked. I think forced it to rebuild the database of images. The wipe user data option doesn't wipe the virtual sdcard I had attached to the emulator. On Oct 21, 10:21 am, Matt Kanninen mathias...@gmail.com wrote: I am having the same issue, SDK 1.6, on snow leopard. I recall the pictures showing up in the default agllery applciation more easily on an earlier versions of the SDK, on windows. I'll try with more images of different types to see if that fixes it. On Oct 7, 6:15 pm, wahib haq wahib.t...@gmail.com wrote: i want to know how to push images to the emulator gallery. I tried using with push command but its not displayed in gallery and not accessed by my code. Actually i have to access the image taken by the camera in my code. i tried to push a jpeg image to sdcard/DCIM/Camera and file is shown there using shell. but its not displayed in camera pictures folder in gallery and also not accessible by my code :S plz help On 10/8/09, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://developer.android.com/guide/tutorials/views/hello-gallery.html On 10/7/09 5:03 PM, wahib haq wrote: thanks john. how to enter images in the gallery ??? On 10/7/09, jbrohanjbro...@gmail.com wrote: I'm a beginner too. I use ddms. Run the command window in Windows, then type ddms here. If you have the paths set up properly it will work, else you need to go toandroid sdk folder/tools and enter ddms. This program links with the debugger and provides real time readings of logcat and also devicefile explorer shows the files and offers an easy upload and download. Images as such do not show up in teh gallery, they need to be entered into the gallery which creates a thumbnail for them. best of luck John On Oct 5, 10:40 pm, wahibwahib.t...@gmail.com wrote: hi !! I have created a image file in a folder /androidimages and when i try to run emulator from terminal giving path to this image file it gives error: i try = $ emulator -sdcard /home/soms/androidemuimages/androidnew.img -avd androidnew error= SDL init failure, reason is: No available video device as a second alternative i give path to this image file in AVD manager in eclipse but even it doesnt recognises it i guess. coz when i try to use camera it display the toast that sdcard is not enabled. = second problem is that when i try to push a .bmp file to sdcard using $ adb push bar3.bmp /sdcard there is no error but there is no change in logcat and no image added to gallery. or is it somewhere else?:S Plz forgive if i sound childish. Thanks in advance, regards, wahib -- -- Wahib-ul-haq Communications Engineering Student, NUST, Pakistan.www.sizzlotech.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: DDMS doesn't show my G1
Hi Mark, I seem to be having the same problem. I thought I could remedy it by getting the G1 drivers in there, and I finally figured out how to do it. In the device manager, when the G1 is plugged in, it now shows Android Phone Android Composite ADB Interface. I've also installed the Java Development Kit (JDK) as per the instructions of this site which was recommended to me: http://www.simplehelp.net/2009/07/21/how-to-take-screenshots-of-your-android-based-phone-from-windows/. This has no effect. I've also installed Eclipse as per the developer instructions, and added the Android plugin. Still nothing in ddms. No matter what I do, connect, or install in any order, the ddms.bat will not see my G1. I'm just looking to get a few screen shots for an article. Is there any hope here? Thanks for any insight. Matt On Oct 9, 2:05 pm, Mark Murphy mmur...@commonsware.com wrote: heartbraden wrote: I've been working at this for hours now, and I can't figure out what's going wrong. I've got USB debugging turned on, I have eclipse, I have android-sdk-1.6, but when I clickddms.bat, I get a blank command prompt, and Dalvik Debug Monitor comes up, but it doesn't show any devices at all. I'm on Windows XP 32 bit. What could I be doing wrong? Did you install the G1 driver? -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: DDMS doesn't show my G1
Hi Wayne. USB debugging was turned on at the time. However, it did end up seeing the device after all, though I'm not sure why. In reading the installation instructions for the Android SDK, I messed around with the Environment/System Variables of Win XP. Changing the PATH to the SDK directory (as instructed) messed up the computer a bit (a few errors, some programs wouldn't run, including ddms). Changing the PATH System Variable back to the default (actually, a default setting I found online) brought everything back to normal, and then the ddms began recognizing the G1. I'm not sure what this change jogged, or why, but I'm happy with the outcome. Any thoughts? Thanks for your help. Matt On Oct 20, 3:08 pm, Wayne Wenthin wa...@fuligin.com wrote: is USB debugging on? On Mon, Oct 19, 2009 at 8:29 PM, Matt m...@camerashymedia.com wrote: Hi Mark, I seem to be having the same problem. I thought I could remedy it by getting the G1 drivers in there, and I finally figured out how to do it. In the device manager, when the G1 is plugged in, it now shows Android Phone Android Composite ADB Interface. I've also installed the Java Development Kit (JDK) as per the instructions of this site which was recommended to me: http://www.simplehelp.net/2009/07/21/how-to-take-screenshots-of-your-... . This has no effect. I've also installed Eclipse as per the developer instructions, and added the Android plugin. Still nothing in ddms. No matter what I do, connect, or install in any order, the ddms.bat will not see my G1. I'm just looking to get a few screen shots for an article. Is there any hope here? Thanks for any insight. Matt On Oct 9, 2:05 pm, Mark Murphy mmur...@commonsware.com wrote: heartbraden wrote: I've been working at this for hours now, and I can't figure out what's going wrong. I've got USB debugging turned on, I have eclipse, I have android-sdk-1.6, but when I clickddms.bat, I get a blank command prompt, and Dalvik Debug Monitor comes up, but it doesn't show any devices at all. I'm on Windows XP 32 bit. What could I be doing wrong? Did you install the G1 driver? -- Mark Murphy (a Commons Guy)http://commonsware.com| http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year -- Writing code is one of few things that teaches me I don't know everything. http://www.fuligin.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Development on the MyTouch 3G
can i do everything on my g1 that i can on a mytouch? On Sun, Sep 13, 2009 at 6:45 PM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: Don't worry. You have not to send back your MyTouch. You can do what you can do with the G1 or developer phone. I assume that the web page is not updated with newer information. Changes on myTouch - improved battery life - system RAM from 192MB to 288MB - ROM storage from 256MB to 512MB - Cupcake Android 1.5 firmware ... and of course the look changed ... -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 12, 7:52 am, Sid sida...@gmail.com wrote: Hi - I just ordered a T-Mobile myTouch 3g to develop Android apps on. I read on the Android Developers URL http://developer.android.com/guide/developing/device.html that the suggested devices to test/develop apps on are the Android dev phone and the classic G1. Can I test and/or develop apps on a myTouch 3g also? Apart from the virtual kbd, are there any differences, as far as app development goes? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Development on the MyTouch 3G
I for one would never buy a phone without a keyboard. MyTouch is ridiculous for exactly that reason. On Sep 13, 2009 9:27 PM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: Well, a myTouch user isn't t likely to inadvertently write applications that don't work without... Hm, he could ... but testing might me tough :-) -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and st... On Sep 13, 8:17 pm, Chris Stratton cs07...@gmail.com wrote: On Sep 13, 9:45 pm, Roman ( T-Mobil... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Change color to another color in Drawable
I'm working on an android application, and I have a drawable that I'm loading up from a source image. On this image, I'd like to convert all of the white pixels to a different color, say blue, and then cache the resultant Drawable object so I can use it later. So for example say I have a 20x20 PNG file that has a white circle in the middle, and that everything outside the circle is transparent. What's the best way to turn that white circle blue and cache the results? Does the answer change if I want to use that source image to create several new Drawables (say blue, red, green, orange, etc)? I'm guessing that I'll want to use a ColorMatrix in some way, but I'm not sure how. Thanks Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Change color to another color in Drawable
Sorry if this shows up twice, I sent it via email to the list a few days ago and it never showed up, so I'm trying from the web page. I'm working on an android application, and I have a drawable that I'm loading up from a source image. On this image, I'd like to convert all of the white pixels to a different color, say blue, and then cache the resultant Drawable object so I can use it later. So for example say I have a 20x20 PNG file that has a white circle in the middle, and that everything outside the circle is transparent. What's the best way to turn that white circle blue and cache the results? Does the answer change if I want to use that source image to create several new Drawables (say blue, red, green, orange, etc)? I'm guessing that I'll want to use a ColorMatrix in some way, but I'm not sure how, and I couldn't find anything from searching on the list. Thanks Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Removing ListItems
I created a ListView from an array of strings. I also set an OnItemLongClickListener. Inside that listener I actually want to remove the list item that has been long-clicked on from the list, but I don't know how. Is that even possible? Greetings, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Removing ListItems
On 16 Aug., 01:23, Mark Murphy mmur...@commonsware.com wrote: You don't remove it from the list. You remove it from the data source underlying the list. -- ArrayAdapter? Remove it straight from the adapter. -- CursorAdapter? Remove it from the database or content provider, then requery(). -- Other adapter? U...it should have similar stuff. How exactly do I remove something from the adapter? Do you really mean the adapter or do you mean the actual array? Here is what I did so far: String[] names = {John, George, Jim}; ArrayAdapterString adapter = new ArrayAdapterString( this, android.R.layout.simple_list_item_1, names); setListAdapter(adapter); I tried to use the method adapter.remove(John); but that resulted in a runtime error. What am I doing wrong? --- Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Removing ListItems
On 16 Aug., 03:07, Mark Murphy mmur...@commonsware.com wrote: You gave it an array. To be able to modify it at runtime, you need to give it an ArrayList. Alright, that did work. But why? Why is there an ArrayAdapter with a method called remove that you cannot use to remove an item from an array? The solution with that ArrayList seems to be not very obvious, if I may say so. --- Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Question about checkbox and gravity in layout
Hi, here I have a part of my layout, where I want to position a checkbox to the right of the screen while it with two lines of text. I was trying to mimic the look of the layout on the settings pages in the emulator. Here is the layout XML: LinearLayout android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content android:padding=4dp LinearLayout android:orientation=vertical android:layout_width=wrap_content android:layout_height=wrap_content android:padding=2dp TextView android:text=Use colored text android:textSize=18sp android:layout_width=wrap_content android:layout_height=wrap_content /TextView TextView android:text=Check to output colored text android:textSize=12sp android:layout_width=wrap_content android:layout_height=wrap_content /TextView /LinearLayout LinearLayout android:orientation=vertical android:gravity=right android:layout_gravity=right android:layout_width=fill_parent android:layout_height=wrap_content android:padding=2dp CheckBox android:id=@+id/check android:layout_width=wrap_content android:layout_height=wrap_content /CheckBox /LinearLayout /LinearLayout Now this works fine, but I was wondering why I need to wrap the checkbox in another LinearLayout to actually get it to stick to the right side. If I would remove the LinearLayout that's wrapping the checkbox, it wouldn't be at the right side of the screen, even if I would put gravity=right in the checkbox properties. Any idea why? Or any suggestion on how to create this layout more efficiently? Thank in advance! Cheers, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: microSDHC?
I use an 8GB Sandisk microSDHC just fine. On May 23, 6:58 pm, Kent Loobey k...@uoregon.edu wrote: Does the G1 support microSDHC chips? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: android.bat - NullPointerException for making AVD file !
hello Peter, deleteing the .Android file in my Users folder thank you very much! It solved my problem too. Regards 2009/4/29 peter.kullm...@googlemail.com peter.kullm...@googlemail.com I had the same problem. I was able to solve it by deleteing the .Android file in my Users folder, which was there from the previous SDK installation. Note, that deleting this file will delete your previous SDK settings. Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Listening for Volume / Ring Mode changed?
I am writing a simple application that will turn off the ringer for a period of time and then turn it back on automatically. I would use this to turn off the ringer for an hour before a meeting or something, and then I wouldn't have to remember to turn it back on. I am using AudioManager.setRingerMode(RINGER_MODE_VIBRATE) to set the phone to vibrate. I am using AlarmManager with a PendingIntent to set the ringer mode to RINGER_MODE_NORMAL after a delay. I would like my application to be aware if the user is changing the ringer on/off with the volume keys or some other system setting. If the user turns the ringer back on by them self, then I want to detect this and cancel the my broadcast with the AlarmManager. How can I detect if the volume is changing? Is there some intent I should register for? Is there some sort of onRingModeChanged function I need to implement? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: is there a way to install android on another phone besides the G1?
Check Android Porting http://groups.google.com/group/android-porting On Nov 2, 3:13 pm, crazyman07 [EMAIL PROTECTED] wrote: I've been looking around for a way to install android on my Razor but i couldn't find anything is Android just for the G1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android for flip phones and smaller devices
http://groups.google.com/group/android-porting On Nov 2, 8:03 am, marc0047 [EMAIL PROTECTED] wrote: I'm having little luck finding discussions for Android on smaller devices: for now I'm specifically curious about what kind of UI Android supports if non-touch is not capable on a phone? Basically, what are the minimum *hardware* requirements of a device that will make Android usable? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Terminal Emulation
I've searched all the SDK help pages the group messages, all I find about Telnet are posts about telnetting to the phone emulator. Anyone know if it's possible to use Telnet on Android? Specifically, I'd like to be able to open a Telnet session to an IBM AS/400 (or iSeries or IBMi or whatever they're calling them this month). Then I'd like to be able to show a 25x80 screen with some F- keys, Reset, Field Exit, etc around it. I just can't find any way to open the Telnet. It could be as simple as telnet://ip.address but that hasn't worked for me. Any help would be greatly appreciated. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---