[android-beginners] Re: Error in the project, unable to track
You may see a tab near the bottom of Eclipse that called Problems. Click on that and see what it says. Also, in some cases Eclipse complains that you haven't auto-generated some files yet, such that if you run the application, it generates them and is happy. So try to run your app and see if it runs or if the Console tab shows any errors. Yusuf Saib Android ·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 Oct 16, 2:30 am, Carl cm.sandens...@gmail.com wrote: Hi, I have an error somewhere in the code but i don't know were. There is just a cross on the project folder and nowhere else. And when i try to start it tells me to correct the error. The only thing that i see errors in are some wrong spellings according to eclipse. Thanks Calle --~--~-~--~~~---~--~~ 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: 2 O/S on same mobile?
I'm not aware of an Android port to that hardware. In general, to port an OS to a hardware platform, you need drivers for that hardware which are compatible with your OS. I'm guessing there are no Android drivers for the neotouch/F1/s200, but I could be wrong. As for running two operating systems on one phone, I don't believe that the needed virtual-device software is available yet. Yusuf Saib Android ·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 Oct 15, 8:32 am, P B belgrad...@googlemail.com wrote: I'm buying a phone (the acer neotouch (a.k.a the F1 or s200)) which has windows mobile 6.5 preinstalled. Is it possible to install the Android O/S onto the same phone and be able to choose which O/S to use whenever - similar to partitioning the hard drive on a pc with Windows and Ubuntu for example? --~--~-~--~~~---~--~~ 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 make a child activity?
If you are more specific about what the 3+ buttons are supposed to do, we may be able to suggest alternatives. To answer your question, setContentView is needed with ActivityGroup. Yusuf Saib Android ·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. P.S. You can only make a child activity when a mommy activity and a daddy activity love each other very much enough to get married first. On Oct 15, 12:50 am, vchris80 vuc...@gmail.com wrote: hi james, thanx for reply. I try to explain what I want to achieve. It is actually very simple, but maybe I am walking on the wrong path since I think in the Windows way other than in the Android way :) My app is a window with 3 buttons (can't use tab since the buttons will increase in the future and since this is a porting from other platform and I have to follow the same UI guidelines as far as possible). Each button launch an activity and needs a reference to the main activity (parent) in order to use some common utility classes. I thought to do so by implementing the main activity as an ActivityGroup (thank to you first suggestion) and launch each child activity by getLocalActivityManager().startActivity() as I said in the previous post. But, as said, this doesn't update the screen with the new activity view. I have to explicitly call setContentView and put the child activity view (obtained by getDecorView()). Is this the right way or am I doing a mess? Then, when I finish() the child I restore the old view. On 14 Ott, 20:50, James Yum j...@google.com wrote: Hi, I'm still not sure what you're trying to achieve. Are you really trying to embed an activity within another? You can look at the TabActivity source for a pretty clean example: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;... http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;... Cheers, James On Wed, Oct 14, 2009 at 1:31 AM, vchris80 vuc...@gmail.com wrote: thank for your reply, but I still have some troubles: now I have my main activiy been a ActivityGroup and the child activity been a simple Activity. I start the child with this code: Intent startIntent = new Intent(MyMainActivity.this, ChildActivity.class); getLocalActivityManager().startActivity(and.mypackage.ChildActivity, startIntent); this way, in the onCreate of the child activity, I can get the parent and the activity results child of something by calling isChild() method. Fine. But the screen actually doesn't appear. The documentation of startActivity of LocalActivityManager says that The caller needs to take care of adding this window to a view hierarchy, but I can't figure out how to do that. I watched the WindowManager for a suitable method but with no luck. On 13 Ott, 19:09, James Yum j...@google.com wrote: Hi, Those are meant for an ActivityGroup and its embedded activities, for example a TabActivity. What you might want to look into, is this introduction on opening screens (activities): http://developer.android.com/guide/appendix/faq/commontasks.html#open... Cheers, James On Tue, Oct 13, 2009 at 7:25 AM, vchris80 vuc...@gmail.com wrote: Hi all, I have a simple question: how I make an activity that is child of another? I use this code to start an activity from another: Intent startIntent = new Intent(MyMainActivity.this, ChildActivity.class); startActivity(startIntent); but on the onCreate method of ChildActivity, if I watch for getParent () I get null, and if I ask for isChild() I get false,... so what I miss? thank you --~--~-~--~~~---~--~~ 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: Can we develop android apps in C or C++?
http://developer.android.com/sdk/ndk/1.5_r1/index.html#overview Yusuf Saib Android ·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 Oct 13, 4:52 am, SSuman185 aluvala.su...@gmail.com wrote: Hi All, I am very new to android and also for JAVA. Untill now i am working on C. Is there any way to develop the Android apps on C or C++. Please let me know, whether it is possible or not. Thanking you all, Regards, SSuman#SS185 --~--~-~--~~~---~--~~ 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: Host is unresolved
This means Android could not find the host you told it to connect to. Can you connect to that host with the browser? Yusuf Saib Android ·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 Oct 10, 4:37 pm, Lee Jarvis ljjar...@googlemail.com wrote: Everytime I try to make a HTTP get request I get a 'Host is unresolved' error, I have searched around posts and found stuff about using proxys server, but I'm not using one. Any any how I could resolve this? Thanks in advance. Regards, Lee --~--~-~--~~~---~--~~ 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: Doubt
I can't resist these kind of questions. Some day when I'm a superhero and my nemesis fails to lure me into his arctic lair with offers of riches or maidens, he will ensnare me with a challenge to code a solution to a puzzle. 0. Represent the parking lot as a grid. Each node is either part of a road or is a parking spot (use inheritance). Each parking spot has a parent road node, and a boolean for being occupied. 1. Draw the blueprint with android.graphics.Canvas. Blue background, white lines. 2. Find the route via a search algorithm. Greedy Hill Climbing is simple and works. A-star is less simple and works better. 3. Draw the route the search algorithm finds with yellow lines. Yusuf Saib Android ·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 Oct 5, 2:06 pm, kruti shah kruti...@gmail.com wrote: how do i show a blueprint of a parking lot which has got empty as well as occupied places.How do we show whther tht parking spot is occupied or no?And when the driver gets the info abt a vacant parking spot he selects and when he selects the route from the driver to tht location has to get highlighted .how do we do tht? -- Kruti Kumar Shah Graduate Student MS CS Georgia Institute of Technology +1-(201)-668-0249 --~--~-~--~~~---~--~~ 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: Multi-User Logins on Android?
Android does not support that, sorry. Yusuf Saib Android ·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 Oct 5, 5:38 pm, ClarkBattle clarkbat...@gmail.com wrote: Hello, I am just learning about Android development and am wondering if Android has any support for multiple users, each with their own password. Since Android is mainly intended for single user devices, i would be surprised if it did. However, I will be using it on a non- mobile device, so this approach makes sense. Is there any such thing as a login on Android? Is there a location where each user's data is stored (like their home address for mapping applications, or a list of their contacts)? Basically, does the design of Android assume that there will only be one user per device or is there some kind of support for multiple logins? Much Thanks! Clark --~--~-~--~~~---~--~~ 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: Emulator file transfer
http://developer.android.com/guide/developing/tools/emulator.html#copying Yusuf Saib Android ·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 Oct 6, 10:25 am, abhi rkabhi1...@gmail.com wrote: Hi, Is there a way to transfer files to the Android emulator? I am creating a media player and I'd like to transfer some files to the emulator file system so that my media player can play it. I am using eclipse with the Android SDK for development. 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 CLIENT FOR WEB-SERVICES ON ANDROID
Are you required to use a particular type of web service, like SOAP or REST? If it's SOAP as you mentioned, this fellow had useful and mercifully brief writeup: http://groups.google.com/group/android-developers/browse_thread/thread/9b246db7d612a6b5 Yusuf Saib Android ·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 Oct 6, 2:57 am, luca luca_parad...@libero.it wrote: Hi guys, i need an expert about android. I have to develop a framework to create clients for web-services on android. I thought to write a mapping from wsdl to java, but now i think is more usable to develop it through some tools like axis. After have developed my web services, i tried to develop a client on android but axis requires java.rmi class, that's not supported by android. Then i triedto import it such as an external library but in compile time, dalvik doesn't build and returns this error string: trouble processing java/rmi/AccessException.class Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the --core-library option to suppress this error message. If you go ahead and use --core-library but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. And does anybody know how to set this option on eclipse? Does anybody already developed something like this using k2soap? --~--~-~--~~~---~--~~ 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: A new Android language?
If you wish to write C/C++ programs on Android, Mr. Kulkarni's new language (which does sound like a neat project) may not help you. I recommend you look at the Android NDK: http://developer.android.com/sdk/ndk/1.6_r1/index.html#overview Yusuf Saib Android ·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 Oct 3, 3:14 am, cookiemonsta mohamed.suh...@gmail.com wrote: i would love to follow this and get updates on how the thing is progressing. i've been searching all over for a compiler which would let me write and compile C/C++ programs on my android phone. good luck with your project :D On Oct 3, 6:43 am, niksbin niks...@gmail.com wrote: Thanks. I will get right to this, and hope that it helps. Thanks, again. Sincerely, Nikhil Kulkarni On Oct 2, 5:54 pm, Mark Murphy mmur...@commonsware.com wrote: I am not sure if I need permission to create the language, so I am asking it here. You do not need permission to create the language. Unlike some platforms, interpreters are welcome on Android. -- Mark Murphy (a Commons Guy)http://commonsware.com Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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 receive an incoming call programmatically?
Sorry, no. Yusuf Saib Android ·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 Oct 2, 10:47 pm, Nemat nemate...@gmail.com wrote: I mean when we have an incoming call,phone should not be notified and call should be received automatically On Oct 1, 11:47 am, naG mano...@gmail.com wrote: can you explain it more... On Sep 30, 4:12 am, Nemat nemate...@gmail.com wrote: is it possible to intercept an incoming call? I want my application to receive the call automatically through programming.Can we do this in SDK-1.6? Thanks Nemat- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: Ode to the tmobile g1 serial port
Pritee tarry not for to gamble thither. On Oct 2, 6:33 pm, Mark Murphy mmur...@commonsware.com wrote: I love thee tmobile g1 serial port, let me count the ways: 1. I made a serial cable to thee that works with your serial debugger I was told to get access to the serial port for my own writing the following would have to occur: 1. The serial debugger would have to be disabled 2. mknod may have to be used to create the device like /dev/tty0 When I do a logcat and plug in the serial cable no logging shows anything is loading. It still works so I know something is loading. Help I beg of thee my kind fellows! Try the [android-porting] list -- it is better suited for questions like this. -- Mark Murphy (a Commons Guy)http://commonsware.com Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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: Alarm Triggering Notification
There is a demo app, for which this is the documentation: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/StatusBarNotifications.html Yusuf Saib Android ·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 Oct 4, 9:00 am, Magic-H har...@alexandersoftware.net wrote: Hello Everyone I'm having a small issue and needed some advice. I have an alarm set to trigger at a specific date and time. I know how to configure it to display a toast after the alarm is triggered but I do not know how to trigger a simple notification. Here is my sample code that displays the toast after the alarm goes off, any help would be appreciated: public class AlarmTriggered extends BroadcastReceiver{ Toast mToast; NotificationManager nm; private static final int HELLOID = 1; @Override public void onReceive(Context context, Intent intent) { mToast = Toast.makeText(context, Alarm Works, Toast.LENGTH_LONG); mToast.show(); } } --~--~-~--~~~---~--~~ 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: downloading latest SDK
Yes, you have to click the checkbox at the bottom to accept before clicking the download button. Are you unable to go to the bottom of the web page? Which browser are you using? Yusuf Saib Android ·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 Oct 2, 8:11 am, t2009 tunm...@yahoo.co.uk wrote: I am having problems trying to download the latest sdk from the android developers site, keeps on going to the terms and conditions before downloading...then I cant scroll to the end.. Could you recomend a way to get past this? Do I have to accept the terms before it downloads? --~--~-~--~~~---~--~~ 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: Trajectory Calculator
First of all Royal and Ancient Golf Association is a pretty awesome name. I looked it up and found they are the authority everywhere except the US and Mexico. But even if you're golfing in Scotland, unless you're playing in a championship, you can check the weather without the royal mounted golf police tackling you. There are many weather web services. For example, here in the colonies we have http://www.weather.gov/forecasts/xml/rest.php . Trajectory just uses a formula, so you could either whip one up yourself, or nicely ask the author of a similar app to help you. Android Archer and Ballistics Calculator do this calculation, but are not open-source AFAIK. Good luck (and stay out of trouble Maxood :) Yusuf Saib Android ·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 Oct 1, 4:24 am, Maxood maqs...@salsoft.net wrote: Also i'm looking for an app with a trajectory calculator.Thankyou Maxood On Sep 30, 10:33 am, Maxood maqs...@salsoft.net wrote: How can we detect wind speed from a weather web service. Can you suggest some good sites? Also i have been informed that one is restricted by the United States Golf Association and the Royal and Ancient Golf Association (the ruling bodies of golf in the US and Europe) for using any device to check atmospheric conditions as it is against the rules.Please check: http://answers.yahoo.com/question/index;_ylt=AvIE5c3zE5fjluY9rd28i5vs... Wonder if we can incorporate this feature in the app?Would it be legal? Also let me know how do you find TeeDroid:http://www.teedroid.com/ Looking for valuable comments suggestions.Thank you Maxood On Sep 30, 12:11 am, Yusuf Saib (T-Mobile USA) yusuf.s...@t- Mobile.com wrote: There's more than one Golf app. Golfzilla is one:http://asia.cnet.com/crave/2008/07/08/google-maps-android-golf-golfzi... You can find elevation from the GPS, windspeed would have to come from a weather web service, which in theory you could access programmatically. Yusuf Saib Android ·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 29, 12:39 am, Maxood maqs...@salsoft.net wrote: Could someone provide me a link on a good Golf application on android? I am interested to look at the screenshots and its flow. Wonder if we are able to find out elevation and/or wind speed through a device. Is it possible with any of the phones in the market running on android? --~--~-~--~~~---~--~~ 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: Help
Anything you can do in XML, you can do programmatically. The TextView and Button documentation show both. Search the following link for Related Method. http://developer.android.com/reference/android/widget/TextView.html You can also set the attributes in their constructors: TextView(Context context, AttributeSet attrs) Button(Context context, AttributeSet attrs) Yusuf Saib Android ·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 Oct 1, 12:36 pm, Ray da Costa raydaco...@gmail.com wrote: Someone knows how could do to generate a view with 01 TextView and a button without using the xml (R.java).? Which method of the view that receives the attributes (TextView and button)? -- Ray da Costa The best way to predict the future is to invent it. Alan Kay --~--~-~--~~~---~--~~ 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: C/C++ Compiler on Android
I am not aware of one already developed for Android, but in theory if you have a C-compiler written in C, then you could run that on Android to compile code on the phone. Yusuf Saib Android ·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 30, 12:37 am, cookiemonsta mohamed.suh...@gmail.com wrote: hi, i was wondering if there is a C or C++ compiler which could be run ON the android which would let us compile codes on the phone itself 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: Open Source Android Apps
There are a number of ways people can collaborate on developing open- source apps. Sourceforge and Google Project Hosting are two popular ones. Yusuf Saib Android ·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 29, 6:13 pm, tinyang tiny...@earthlink.net wrote: Great idea!! I'm trying to do something similar, got about 1/3rd through my app and having serious probs moving forward now. I would fully support your idea. -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of jbrohan Sent: Tuesday, September 29, 2009 5:49 AM To: Android Beginners Subject: [android-beginners] Open Source Android Apps Hello It seems to me that along with many people on this list we are often struggling to do the same things, maybe with just a different twist here and there. In my case taking pictures, recording comments and uploading these to a web site. I have found several examples of each of these and they work more or less well. Is there a repository where people could work together on say an Activity to use the camera, or to upload a file to a website. If we have several people working on these issues in a cooperative fashion we will make a lot better apps, maybe you will find my mistakes rather than a user. No virus found in this incoming message. Checked by AVG -http://www.avg.com Version: 8.0.169 / Virus Database: 270.13.71/2332 - Release Date: 9/28/2009 5:53 PM --~--~-~--~~~---~--~~ 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 can I prevent the background from fading out when I show a dialog?
Fading the background is what dialogs do by default, and there is no way to tell the dialog not to. To display a dialog on top of a picture without it fading, I recommend making your own dialog class based on the Android one. Yusuf Saib Android ·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 29, 3:56 pm, iPaul Pro mr.paulbu...@gmail.com wrote: Hi, Could you possibly have the dialog as a separate activity, with the dialog theme? This gives you full control over the window background. Hope that helps. Paul On Sep 27, 10:44 am, Christian c.braumuel...@eagle-graphics.de wrote: Hi, how can I prevent the background from fading out when I show a dialog. I am showing a picture on a surface in the dialog taking from the camera. And when the background fades out the picture in the dialog on the surface is fading out too. Can I prevent the background from fading out while showing a dialog? Thanks in advance. --~--~-~--~~~---~--~~ 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: Pushing application from foregound to background
It depends on what you mean by background. If you want the Activity to disappear and not to anything until next time, save your state and call finish(). OTOH, if you want it to continue doing something in the background, you can run a Service as part of your app. Yusuf Saib Android ·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 29, 11:12 am, Mark Murphy mmur...@commonsware.com wrote: Safy wrote: How can I push application from foreground to background on keyevent. In Blackberry you have a function called request background which pushes the UI application from foreground to background. How can I achieve this functionality in Android, is this possible ? Have the user press the HOME key. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 Available! --~--~-~--~~~---~--~~ 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: Run the same applications that are running J2ME
There are a number of efforts in bridging J2ME-Android. These links may be of use, although I've not tried them out: http://www.netmite.com/android/ http://www.assembla.com/wiki/show/j2ab http://microemu.blogspot.com/2008/11/running-java-me-applications-on-android.html Yusuf Saib Android ·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 29, 10:21 am, Ray da Costa raydaco...@gmail.com wrote: A helping hand, I have an Android G2 and would like to run the same applications that are running J2ME on my other cell E62. Is it possible? What is the procedure? -- Ray da Costa The best way to predict the future is to invent it. Alan Kay --~--~-~--~~~---~--~~ 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: Golf App for Android
There's more than one Golf app. Golfzilla is one: http://asia.cnet.com/crave/2008/07/08/google-maps-android-golf-golfzilla/ You can find elevation from the GPS, windspeed would have to come from a weather web service, which in theory you could access programmatically. Yusuf Saib Android ·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 29, 12:39 am, Maxood maqs...@salsoft.net wrote: Could someone provide me a link on a good Golf application on android? I am interested to look at the screenshots and its flow. Wonder if we are able to find out elevation and/or wind speed through a device. Is it possible with any of the phones in the market running on android? --~--~-~--~~~---~--~~ 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: conference call
No AFAIK. Yusuf Saib Android ·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 29, 5:26 am, Nemat nemate...@gmail.com wrote: Hi, is it possible to add an incoming call with current call to make it as a conference call programmatically? Thanks in advance Nemat --~--~-~--~~~---~--~~ 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: Saving calculator result problem
txt is declared inside your if (hasChanged) { scope. Then you use it after the corresponding }. Yusuf Saib Android ·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 27, 10:02 am, bgoody bgoody...@gmail.com wrote: Hi. I am trying to hack this bit of code to save the results of a calculation to disk but it says that the variable (txt) cannot be resolved. Any ideas! private void handleEquals(int newOperator) { if (hasChanged) { switch (operator) { case 1: num = num + Double.parseDouble(txtCalc.getText().toString()); break; case 2: num = num - Double.parseDouble(txtCalc.getText().toString()); break; case 3: num = num * Double.parseDouble(txtCalc.getText().toString()); break; case 4: num = num / Double.parseDouble(txtCalc.getText().toString()); break; } String txt = Double.toString(num); txtCalc.setText(txt); txtCalc.setSelection(txt.length()); readyToClear = true; hasChanged = false; } FileOutputStream fOut = openFileOutput (samplefile.txt,MODE_WORLD_READABL E); OutputStreamWriter osw = new OutputStreamWriter(fOut); osw.write(txt); osw.flush(); fOut.close(); osw.close(); operator = newOperator; } --~--~-~--~~~---~--~~ 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: Silently Block SMS
You can intercept an SMS thusly: http://mobiforge.com/developing/story/sms-messaging-android Yusuf Saib Android ·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 17, 10:36 pm, King of Camelot kingofcame...@gmail.com wrote: Is it possible to silently block an SMS from the user? As far as I've been able to tell an application can not hide an SMS from the whole system, only not show it in the application itself. Is there any way to stop a broadcast from telling other applications there is a new SMS? --~--~-~--~~~---~--~~ 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: Routing audio to within the call
It is also not supported in the Android SDK API. Yusuf Saib Android ·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 18, 6:32 am, Chris Stratton cs07...@gmail.com wrote: On Sep 17, 1:42 pm, Ron Schnell schn...@gmail.com wrote: I've been following the new APIs as they come out, and I notice a few different options on how to route media playback to the speaker, bluetooth, earpiece, etc. But I have never seen an option to route media playback into an active telephone call. Am I correct that this is impossible? Any chance that it will become possible? Opinions seem to vary between not possible on current phones and not possible with the current baseband firmware for current phones - ie, at the very least it needs changes below the level of android. --~--~-~--~~~---~--~~ 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: Analog clock
The Android platform source code has the analog clock source. I would recommend you start there. Yusuf Saib Android ·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 17, 8:36 am, android learner android.lear...@gmail.com wrote: Hello everyone, I'm very new to android development and would really appreciate any help. I am trying to implement a custom analog clock widget. The default android analog clock has only hour and minute hands. I'm trying to add a seconds hand and the day/date into the dial. I do not think there is a way to achieve this using the existing analog clock class. Does anyone have any idea how I could do this? Can I write my own analog clock class (extends View)? Also, does any one know if there is a way to center a button relative to another button in relative layout? I want one button at the bottom (center aligned) of the other. The size of the button is dynamic, so I cannot use any padding. 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: Best Game Implementation?
For tips on a side-scrolling game, I recommend this video from Google IO: http://code.google.com/events/io/sessions/WritingRealTimeGamesAndroid.html Yusuf Saib Android ·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 16, 10:29 am, ThomasR thomas.r.sh...@gmail.com wrote: I have a game concept for my first true android game, but I am not sure how to implement it. It is a side scrolling game, so almost every element is moving each frame. Would it be best, from a resources standpoint, to have one canvas for the entire screen redrawing every frame or for each element to have its own canvas layered on top of each other and manipulated individually? There seems to be trade offs either way. I just don’t know what is best or most commonly accepted method for games. I am super new at android development so please feel free to go into detail if you need to. Thanks in advance. --~--~-~--~~~---~--~~ 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: Stuck at starting Intent ??
In addition to the Console, look at the logcat output, either in Eclipse in a tab near the console, or from the command line by typing adb logcat. It has more info of the type you need to figure out what happened. Yusuf Saib Android ·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 16, 11:35 am, Mimi mimik...@gmail.com wrote: Dear all, I am stuck when running a simple App with this last message on my Console: [2009-09-16 14:24:49 - Simple Flashlight] ActivityManager: Starting: Intent { comp={com.mimi.simpleflashlight/ com.mimi.simpleflashlight.RedFlashlightActivity} } This simple App worked before this run. Any ideas, hints, suggestions 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 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 disable sms notification?
If all you want to do is intercept some SMS messages meant for your app, you can do that in Android. One tutorial that explains how is here: http://mobiforge.com/developing/story/sms-messaging-android Yusuf Saib Android ·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 13, 8:57 pm, zhy scott@gmail.com wrote: You can change the Mms at packages/apps/Mms. Or write your BroadcastReceiver. when received sms, cancel the notification. 在 2009-09-09三的 13:08 +0800,Henry Shang写道: I'm trying to use my own app to handle one incoming message with some specific characters in it. And I don't want the system's default sms notifications to show up. How can I do this? --~--~-~--~~~---~--~~ 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: Request helping for writting HTTP Request in Android
What problems do you encounter? Yusuf Saib Android ·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 14, 2:48 am, Carmen Lau ivancar...@gmail.com wrote: package com.example.helloandroid; import java.io.IOException; import java.io.InputStream; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.*; import org.apache.http.client.methods.*; import org.apache.http.impl.client.DefaultHttpClient; //import org.apache.http.util.EntityUtils; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { HttpClient hc = new DefaultHttpClient(); HttpGet get = new HttpGet(http://www.yahoo.com;); HttpResponse rp = hc.execute(get); if(rp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { //String str = EntityUtils.toString(rp.getEntity()); InputStream is = rp.getEntity().getContent(); String str = is.toString(); TextView tv = new TextView(this); tv.setText(str); setContentView(tv); } else { System.out.println(halo,baby.); } }catch(IOException e){ return; } } } the above is my code. but it seems there are some problems here. So, Anyone can give me some ideas on it? Thank you. Carmen Lau --~--~-~--~~~---~--~~ 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: What's good to start with?
There is a tutorial for taking and modifying pictures with a menu here: https://freshbrain.org/group/building-applications-g1-mobile-phone-learning-path Yusuf Saib Android ·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 14, 7:24 pm, John P. johnny.d.p...@gmail.com wrote: Wow, great job taking the initiative to develop on Android! I'm not sure of your Java level, but if you have a hard time following through the SDK documentation (http://developer.android.com/guide/ index.html), particularly the Tutorial section, try to get more familiarized with programming in general. I personally like the Cookbook types (there's one for Java by Oreilly publisher), but there are many free resources available on the internet. The more you program, the better you'll understand object oriented design and frameworks. IMO, the minimum two things you want to master are: 1) how to look up information (e.g. API), and 2) how to debug -- definitely learn how to insert breakpoints and step through your code. On Sep 13, 3:33 am, Jonte jonathan.hels...@gmail.com wrote: I'm 14 years old and have been programming a little bit with Eclipse and Java. I just got a HTC Hero and want to make some easy thing to start with. Like showing a picture or some thing that I after that can put a menu on and thing like that. My goal is to make a small easy game but I got to start some were. What is good to start with? And were can I find more information about programming in Android? Is it just to write the same things as I do when I make a small program in Java? With great regards Jonte --~--~-~--~~~---~--~~ 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: Accelerometer on different devices
That's an interesting question. On the one hand, for a platform to support Android, it should provide accelerometer data in a manner consistent with the spec (max and min values, etc.) On the other hand, different hardware may have slightly different performance, for example with latency or sensitivity to small movements, etc. It's like a mouse-based game on a PC. Some mice are more sensitive than others, or the Windows mouse settings are more/less fast. Yusuf Saib Android ·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 13, 8:26 am, Jonathan jlani...@gmail.com wrote: I'm currently developing an iPhone game and would like to port it to Android. The game relies heavily on the accelerometer. My question is - with all of the of the new Android phones entering the market next year - will the current dev phone 1 be sufficient for testing the game? In other words, will the accelerometer data be consistent across all devices? I understand that the hardware will be different for each, but is the API smart enough to recognize this and spit out the same data regardless of which type of hardware you're running? --~--~-~--~~~---~--~~ 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: change the angle of pixel
GY is set on the line that has GY = but not used on the right-hand side of the equation anywhere after that. There is no code that says, for example, B = GY + Y. Yusuf Saib Android ·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 15, 1:24 am, eldo iameldoja...@gmail.com wrote: Hi all , could someone help me with the below given code snippet.awarning persists in my application saying that vriable GY is never read . This warning results in an incorrect output . Could someone help me know if there is a change in the calculations to be done . int RY, GY, BY, RYY, GYY, BYY, R, G, B, Y; double angle = (3.14159d * (double)deg) / 180.0d; int S = (int)(256.0d * Math.sin(angle)); int C = (int)(256.0d * Math.cos(angle)); for (int y = 0; y pich; y++) for (int x = 0; x picw; x++) { int index = y * picw + x; int r = (pix[index] 16) 0xff; int g = (pix[index] 8) 0xff; int b = pix[index] 0xff; RY = (70 * r - 59 * g - 11 * b) / 100; GY = (-30 * r + 41 * g - 11 * b) / 100; BY = (-30 * r - 59 * g + 89 * b) / 100; Y = (30 * r + 59 * g + 11 * b) / 100; RYY = (S * BY + C * RY) / 256; BYY = (C * BY - S * RY ) / 256; GYY = (-51 * RYY - 19 * BYY) / 100; R = Y + RYY; R = (R 0) ? 0 : ((R 255) ? 255 : R); G = Y + GYY; G = (G 0) ? 0 : ((G 255) ? 255 : G); B = Y + BYY; B = (B 0) ? 0 : ((B 255) ? 255 : B); pix[index] = 0xff00 | (R 16) | (G 8) | B; } how can i get rid of the warning GY unread variable --~--~-~--~~~---~--~~ 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: Jigsaw Puzzle Game on Android
I'm not aware of a 'how to make a jigsaw puzzle on Android' tutorial. There are some tutorials on Java, Android, Android graphics, Android games, etc. I would recommend you familiarize yourself with those subjects, and then you may have some more specific questions that this forum would be happy to answer. Yusuf Saib Android ·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, 10:59 pm, Maxood maqs...@salsoft.net wrote: I am looking forward to develop to develop a Jigsaw puzzle game on Android. Could someone guide me through? Thanks, Maxood --~--~-~--~~~---~--~~ 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: Basic Questions
To install applications on android, we need the application to be in the form of an .apk file regardless of what we use to develop it, i.e SDK or NDK. Are there absolutely no other filetypes supported? No. If there are further patches for the android oses which have been already deployed on the phone, do we have to rebuild the image and install it on the phone again or is it possible to install it on the phone? There are downloadable OS updates. You don't have to build them yourself. Is it possible to have applications or services running on the device which can be built along with the source code, so that it is non- removable? I ask this because there might be some need for important services which need to exist on the device in order to keep track of applications or the device configuration. No, the only way to make a service non-removable is to make a custom Android distro. Is there anyway to perform a silent installation of apps? And is it possible to install such applications on the phone..? No. Android has already been ported to MIPS architecture as well as x86 machines. Does that mean we would still want the applications to be in the form of an .apk file for installation? Yes. And will all apk files no matter what it is built for (arm or mips based) run on all android supported devices, taking into consideration only the hardware independent functions being implemented in that application? Yes, that's the magic of Java-- write once, run everywhere! (ahem) Yusuf Saib Android ·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. --~--~-~--~~~---~--~~ 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: onSaveInstanceState question
Google root your phone model. Yusuf Saib Android ·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, 9:20 am, aamod rao aam...@gmail.com wrote: can anyone of u help me to root my phone? On Sep 12, 6:35 am, Mark Murphy mmur...@commonsware.com wrote: jason wrote: Is there a way for an (sub-)activity to pass values to the previous activity on the stack (when Back key is pressed) without resorting to persistence storage or static varables in the app? Use startActivityForResult() rather than startActivity() to start it, use setResult() to set the result, and use onActivityResult() to retrieve the result. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Development Wiki:http://wiki.andmob.org --~--~-~--~~~---~--~~ 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: getting file from internet
Depending on where the file is, you may use the HttpGet class to get it: http://developer.android.com/reference/org/apache/http/client/methods/HttpGet.html File(Uri) may also work: http://developer.android.com/reference/java/io/File.html#File(java.net.URI) Yusuf Saib Android ·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 14, 4:37 am, kiro cih.exe...@gmail.com wrote: Hi! I'm new to android, but i should now or some sample who can provide about downloading file from internet and using it in own application? --~--~-~--~~~---~--~~ 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: question
The attributes are listed here: http://developer.android.com/guide/topics/resources/available-resources.html#layoutresources Color is not a Layout attribute. Yusuf Saib Android ·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 13, 8:39 pm, Muse Mekuria museay...@gmail.com wrote: I read we can change the canvas color of a widget through overriding the onDraw() method, but we still have to provide a layout for it. Couldn't we have changed the canvas in the layout itself? What are the attributes we can modify in a layout file (attributes like android:textColor) 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: Virtual keyboard obscures EditText
Put your layout in a ScrollView, so that you can scroll to the field in question. Yusuf Saib Android ·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, 4:09 pm, erisa baw...@ucdavis.edu wrote: When I click on an EditText view, the virtual keyboard obscures the view, so I can't see my edits. Any suggestions would be greatly appreciated. I am using the following layout (from the NotePad tutorial): ?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 LinearLayout android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=@string/title / EditText android:id=@+id/title android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1/ /LinearLayout TextView android:layout_width=wrap_content android:layout_height=wrap_content android:text=@string/body / EditText android:id=@+id/body android:layout_width=fill_parent android:layout_height=wrap_content android:layout_weight=1 android:scrollbars=vertical android:gravity=top/ Button android:id=@+id/confirm android:text=@string/confirm android:layout_width=wrap_content android:layout_height=wrap_content / /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: How to access wireless toggle functionality
This fellow seems to have code that works: http://www.mail-archive.com/android-beginners@googlegroups.com/msg06083.html Yusuf Saib Android ·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 13, 5:53 pm, Carl vapor.trail@gmail.com wrote: Hello all, I would like to create an application that allows the user to quickly toggle wireless connections ON/OFF. I found the API for wi-fi (android.net.wifi.WifiManager) but I am not able to find any API for Bluetooth and airplane modes. Do you have any idea where I can find such APIs or how can I have access to the switching functionality? Regards carl --~--~-~--~~~---~--~~ 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: Running the android emulator, easiest way?
If you are using Eclipse, you can run it relatively easily from there. Yusuf Saib Android ·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 13, 6:13 pm, izzy robindaho...@gmail.com wrote: I just want to know, whats the easiest way to run the android emulator?. I hate using the command line mainly because its gives me alot of problems, and ive always had bad luck with it. I keep getting this error after typing: C:\android\android sdk\toolsandroid create avd Just to test it without the variable or options or anything i get java is not recognized as an internal or external command operable program or batch file --~--~-~--~~~---~--~~ 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: preventing Activity from destroying
There are other ways to make a Service always work even if the phone sleeps; it depends on what your Service does. For example, if the Service's job is to respond to an Activity, then it is awake when the Activity is awake. Or if it responds to a broadcast Intent, ditto. Generally speaking, a Service that keeps the phone awake all the time to run like a daemon will eat up the battery, but there are cases where that's necessary. Why does your Service need to stay awake? Yusuf Saib Android ·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 10, 10:15 pm, Jason shivi...@gmail.com wrote: John Yes, you are right. Pressing Home does call just onStop; while pressing Back calls onDestroy. Btw, how do you ensure that the service keeps running and doing its job even when the phone goes to sleep (power save mode)? I added PowerManager = pm = (PowerManager) getSystemService(Context.POWER_SERVICE); WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, MyService); wl.acquire(); but it didn't seem to help On Wed, Sep 9, 2009 at 8:26 PM, John P. johnny.d.p...@gmail.com wrote: It is true that when the Back button is pressed, onDestroy() is called. But hitting the Home button invokes the activity's onStop() for me. Now, it is true that if Android determines it needs memory, it may then invoke onDestroy() on the stopped activity. It sounds like if you want your activity to do something while minimized (i.e. in the background with no user interaction), then this logic should really be in your service. I wrote a program where a service continuously does some processing while keeping its state. I have an activity that binds to the service, gets the state, and appropriately rehydrates its own state accordingly. Everytime the activity pauses, it unbinds. Everytime it resumes, it rebinds. All the continuous processing is done on the service, and the activity gives the user a chance to modify the data. But when the activity is dead, the service continues on until I explicitly kill it through the said activity. On Sep 9, 10:01 pm, Jason shivi...@gmail.com wrote: How do I achieve the effect of 'minimizing' a UI activity? I have a UI activity that gets destroyed each time I click the Home, phone etc. keys on the phone. I would like the UI activity to be sent to the background; since it is bound to a service and processing the data returned by the service continuously. Clicking on the app ends up calling onCreate, onStart again. I would like to restart (onResume) instead. --~--~-~--~~~---~--~~ 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: Adroid on a phone with Windows OS
There is a cross-compiler for Android-iPhone, and there is of course the Android emulator on WinXP. But the best way to run Android on WinMo without a virtual machine would be to implement the Android low- level API in WinMo. Yusuf Saib Android ·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 10, 10:01 am, Chris Stratton cs07...@gmail.com wrote: On Sep 9, 4:30 pm, Earl Wilson earl...@gmail.com wrote: No you can not. The type of applications you can develop on a windows mobile device is windows mobile applications. Android is different the windows. That is the same as trying to run or develop Mac OSX apps for your windows phone. What keeps you from developing OSX applications for windows is not primarily something technical, but Apple's perhaps over-reaching claims of control over the OSX api's. In the case of android, the apis are not only documented but the actual code is available (and if you are careful to do it right, legal) to use as the basis of a translation layer. In other words, for running android apps on a windows mobile phone the problems are simply technical... if someone wants to do it badly enough, they will come up with a way to. More practical and popular approaches seem to be to try to get a build of android running entirely in place of windows mobile. The HTC line of android phones at least give the impression of being descended from from the hardware of their windows mobile platforms. --~--~-~--~~~---~--~~ 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: Security framework available on android??
BouncyCastle is also included in Android, if you're looking for encryption. Yusuf Saib Android ·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 10, 10:01 am, Jack Ha jack...@t-mobile.com wrote: Assuming this is what you are looking for: http://developer.android.com/guide/topics/security/security.html -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want 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 9, 9:46 pm, Sudeep Jha sudeep.neti...@gmail.com wrote: Which security framework is available or can be ported to android ? Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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: problem in
One problem is this mailing list doesn't display your red line. Could you perhaps indicate it with a ? Yusuf Saib Android ·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 9, 12:24 am, Mahsa M mahsa.movah...@gmail.com wrote: Hi I want to down load one .apk file to my SDcard from the URL, but I got error when i want to create the file, if any body know the problem can you please help me, my code crash on the red line, my code is public class download extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); final int mode=this.MODE_PRIVATE; setContentView(R.layout.main); final Button btn=(Button)findViewById(R.id.Button01); btn.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { try{ URL sourceUrl = new URL(http://www.androidfreeware.org/getfile/OperaMini_4.0.apk;); HttpURLConnection conn= (HttpURLConnection)sourceUrl.openConnection(); conn.setDoInput(true); conn.connect(); InputStream is = conn.getInputStream(); FileOutputStream fos = openFileOutput(/sdcard/mahsa.apk, mode); int read = 0; byte[] buffer = new byte[512]; BufferedInputStream bis = new BufferedInputStream(is); do{ read = bis.read(buffer); if(read 0){ fos.write(buffer, 0, read); } }while(read != -1); }catch (Exception e) { Log.e(error, bad application); } } }); } } --~--~-~--~~~---~--~~ 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-beginners]
Do you mean run the YouTube app, or do you mean programmatically include a YouTube widget in your own app? Yusuf Saib Android ·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 9, 8:50 am, Alok Kulkarni kulsu...@gmail.com wrote: Can you post exactly what you want ?? On Wed, Sep 9, 2009 at 5:44 PM, saurabh sinha saurso...@gmail.com wrote: I am android beginner looking for youtube use in android.Does any body knows that --~--~-~--~~~---~--~~ 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: Dev Phone
Any Android phone that you like, although I would recommend you go with a phone offered by a trustworthy carrier that has has a history of Android support. Yusuf Saib Android ·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 9, 6:02 am, Christopher Edwards christoffeledwa...@gmail.com wrote: Hi, Which is the best phone to use for development for beginners? Thanks 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] Re: Okay.... I give up
The better part of 12 hours? What is that, like 6 1/2 hours? :) Yusuf Saib Android ·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 5, 5:47 pm, furby wookie...@gmail.com wrote: I have now spent the better part of 12 hours trying to just get my development environment to run I am trying to use NetBeans to develop a simple Android app. I downloaded the Android dev kit and unpacked it to my C:/ drive. Then I grabbed the latest version of NetBeans. And then I installed nbandroid for NetBeans. I create a new project and choose the Android type of project. All is well... then I take that base project and try to run it and NetBeans asks me to either select a running device or start AVD... Both lists are blank. So I figured that perhaps I ought to start the emulator running before I try to run the project from the NetBeans side. I go to the ADK directory and try double clicking on the Android jar file... nothing. I figure The emuilator must be in the tools directory and so I go there and double click on the android.bat file... nothing. So I think Maybe it is the exe file called Android and double click on that - nothing. At that point I thought I had missed something in installing the ADK... I go to the web page that describes installing it - Apparently the only thing for windows (After unpacking the zip file) is to update the Path system variable - which I did and have now checked 4 times to make sure I didn't point it at the wrong directory... with the same results as before. What am I doing wrong? I know it isn't a google mistake - enough people have made this work before me - so it has to be me. What did I miss? --~--~-~--~~~---~--~~ 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: Adroid on a phone with Windows OS
There's always VMware: http://www.youtube.com/watch?v=UNo6pn-dnSQ Yusuf Saib Android ·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 9, 3:03 pm, Chris Stratton cs07...@gmail.com wrote: On Sep 9, 5:33 pm, Justin Anderson janderson@gmail.com wrote: I have a new Samsung Omnia with Windows Mobile 6.1 on it. Can I develop Android applications to run on this type of phone? No. That is the equivalent of asking if you can develop windows applications to run on Linux. Well, I do that routinely (specifically, I write windows applications by cross compiling from a linux machine, and test them on the development machine using the wine compatibility layer). I would assume that sooner or later we are going to start to see compatibility layers to allow applications developed for one framework to run on another, though it may not become fully practical until phones have a bit more horsepower, and it will probably first become practical as a cross platform toolkit where you write for the compatibility layer rather than any native framework. --~--~-~--~~~---~--~~ 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: install Android Plug-ins for Eclipse on MacOS
On a Mac with Galileo, go to Help - Install New Software and then enter https://dl-ssl.google.com/android/eclipse/; in the Work with: text field. Yusuf Saib Android ·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 5, 9:49 pm, Hulacir hula...@gmail.com wrote: Hi, I am install Android Plug-ins for Eclipse on MacOS. The Eclipse I have is called Galileo. It seems to be different from Windows and Linux version and I could not find software update from the Help menu of Eclipse. Could anyone give me some help about how to install android for Eclipse on Macos? Thanks, hl --~--~-~--~~~---~--~~ 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 can I save a ranking info of game ?
You don't necessarily need a SQL server, any web app can save rankings. Just submit them from the phone via an HTTP POST, XML-RPC, SOAP or REST (pick whichever you like). On the back end, there are lots of ways to implement a simple server to store and serve the data. Yusuf Saib Android ·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 5, 7:05 am, 김병주 stylej...@gmail.com wrote: Thx..I have a poor English skill so It was pretty difficult to ask more specific BTW thx to your advice good luck --~--~-~--~~~---~--~~ 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: Backup your phone ?
There are various backup and data-sync applications for Android (such as SugarSync) but none to my knowledge that back up everything. Yusuf Saib Android ·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 4, 6:50 am, jbrohan jbro...@gmail.com wrote: A reuters report this morning says...SINGAPORE (Reuters Life!) - Cellphone feels like a part of your body? A global survey has found that most people can't live without their mobiles, never leave home without them and, if given a choice, would rather lose their wallet. Calling mobile phones the remote control for life, market research firm Synovate's poll said cell phones are so ubiquitous that by last year more humans owned one than did not It's a pain to change your phone, and must be worse to lose it. Is there a way to back up everything on an Android to your home computer via wi-fi, probably, so that if you lose it it's easy to restore it to the replacement. But you want everything... wall paper, contacts, email settings wi-fi settings and on and on. Took me a couple of hours to set up my Android first time through. Obviously it's got to be a simple thing to use as the chance you will need it is low. Anybody dong this already? John --~--~-~--~~~---~--~~ 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: Want to graduate from android-beginners to android-developers
Q: Perhaps there are some gotcha's in going to a real device? Absofrickinlutely. Yusuf Saib Android ·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. --~--~-~--~~~---~--~~ 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: problems building android dev environment?
There are lots of warnings, but of course it should not have errors. After re-syncing, can you post some of the errors you get? Yusuf Saib Android ·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 Aug 31, 3:54 pm, dmm dmm...@gmail.com wrote: When I download the source and build it according tohttp://source.android.com/download, then try to build the eclipse dev evironment as described onhttp://source.android.com/using-eclipse, I get 100s of Java Errors when trying to build the project (and 1000s of warnings). Linux is 2.6.28-15-generic #49-Ubuntu Eclipse is eclipse-java-galileo-linux-gtk.tar.gz 18# java -version java version 1.5.0_18 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02) Java HotSpot(TM) Client VM (build 1.5.0_18-b02, mixed mode, sharing) 19# The instructions seem rather straight forward. Has anyone tried/ encountered this? Thanks, Dave --~--~-~--~~~---~--~~ 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: Want to graduate from android-beginners to android-developers
I installed it and clicked on 25mph. It then popped up something saying submitting sign, press back arrow I looked for the sign on Wikispeedia.org, but either (1) it's not there or (2) I'm too dumb to use Wikispeedia. Does your app do anything else? Like yell at me when I drive too fast? Not that that would ever happen. In any case it didn't crash. FWIW, you can get a popup to show up and disappear after a few seconds without requiring the user to press the back arrow. But if you wish to graduate to android-developers, you must first pass through the thirty-six chambers. Yusuf Saib Android ·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 Aug 31, 2:45 pm, Michael mepol...@gmail.com wrote: Send it my way. I have a test device. On Aug 31, 2009 2:14 PM, cellurl gpscru...@gmail.com wrote: Hi, With the help of this group I went from 0 -to- submitting to ADC-2, Thanks! Now I have a favor to ask. Can anyone test this app? I am pretty sure in Iowa where I work, there isn't an Android within 100 miles of me. (yea, I need to get off my wallet)... If anyone can test this app, I would be eternally grateful! Rgds, Jim Pruett *.apk here:http://code.google.com/p/speedlimit/downloads/list gpscru...@gmail.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: Voice Encryption
And in fact even if the SDK supported it, the hardware on most phones does not. They usually have direct lines from the microphone and speaker to the GSM module. Yusuf Saib Android ·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 Aug 31, 9:01 am, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: The voice stream for cellular communication is not exposed to the SDK level. If you try to do some Voip it is possible. But keep in mind that the SW envryption/decryption is very slow especially using Java. -- 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 Aug 30, 9:09 am, TripShock tripsh...@gmail.com wrote: What I would like to do is encrypt all voice communication (over a telephone network) between two devices running Android. Is it possible to do this? If yes, how? --~--~-~--~~~---~--~~ 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: repo init error
I've successfully utilized this forum for repo questions: http://groups.google.com/group/repo-discuss Yusuf Saib Android ·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 Aug 26, 4:34 pm, catch222jp catch22...@gmail.com wrote: Please tell me your developing env.. If there is any proxy server, you may have to use corkscrew, and change proxy setting... On 8月25日, 午前11:01, richard007.lin richard007@gmail.com wrote: Dear all, I've just installed repo successfully. But I got an error when using repo init -u git://android.git.kernel.org/platform/mainfest.git . Here is the error output: Traceback (most recent call last): File /home/android/mydroid/.repo/repo/main.py, line 235, in module _Main(sys.argv[1:]) File /home/android/mydroid/.repo/repo/main.py, line 217, in _Main repo._Run(argv) File /home/android/mydroid/.repo/repo/main.py, line 123, in _Run cmd.Execute(copts, cargs) File /home/android/mydroid/.repo/repo/subcmds/init.py, line 218, in Execute self._SyncManifest(opt) File /home/android/mydroid/.repo/repo/subcmds/init.py, line 110, in _SyncManifest m.PreSync() File /home/android/mydroid/.repo/repo/project.py, line 1440, in PreSync cb = self.CurrentBranch File /home/android/mydroid/.repo/repo/project.py, line 271, in CurrentBranch b = self.work_git.GetHead() File /home/android/mydroid/.repo/repo/project.py, line 1226, in GetHead fd = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/home/android/mydroid/.repo/manifests/.git/HEAD' what's wroing? can anyone give some clues?Thanks! 2009-08-25 richard007.lin --~--~-~--~~~---~--~~ 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: Questions (New Posts) rejected?
Your Emulator question did appear. For some reason, people don't always see their own posts, but they usually show up quickly. Yusuf Saib Android ·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 Aug 27, 3:27 pm, Mimi mimik...@gmail.com wrote: I post a question this morning and the post was sent to the moderators. I still did not see my post approved to be seen online. Could it be rejected? If so, why? 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: Android not found
Hmm. I'm no UNIX expert, but it sounds like your OS does not consider the current directory (.) as part of the PATH. In any case, you should add the tools directory to your path. Yusuf Saib Android ·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 Aug 27, 12:30 pm, Will wsetch...@gmail.com wrote: I'm just starting to work with Android. I downloaded the sdk onto my mac. From the tools folder inside the unpacked file in terminal I'm trying to create an AVD with the command android create avd Here is what I get out: willsetchell$ pwd /Users/willsetchell/Downloads/android-sdk-mac_x86-1.5_r3/tools willsetchell$ ls Jet android dmtracedump hierarchyviewer mksdcard NOTICE.txt apkbuilder draw9patch hprof-conv sqlite3 adb ddms emulator lib traceview willsetchell$ android create avd -bash: android: command not found --~--~-~--~~~---~--~~ 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: Source not found
You may need to add the Tag activity to your AndroidManifest.xml file. Yusuf Saib Android ·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 Aug 27, 5:19 pm, tinyang tiny...@earthlink.net wrote: Hello. When I click on a button in my app, I get a Class file editor/source not found message. I'm not sure why this is a problem because I have other buttons that do the same thing (start an activity) and they do not have this problem. If anyone has suggestions, it would be much appreciated! Below is the logcat out put and the code/xml involved: Button code: next1btn = (Button) findViewById(R.id.next1btn); next1btn.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { startActivity(new Intent(TakePic.this, Tag.class)); } }); Button xml: Button android:id=@+id/next1btn android:layout_width=wrap_content android:layout_height=wrap_content android:text= Next / AndroidManifest.xml intent: activity android:name=.Geotag android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / /intent-filter /activity Tag.java: package net.tiny.racker; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast; public class Tag extends Activity { Button tagbtn = null; Button next2btn = null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Tagbtn = (Button) findViewById(R.id.tagbtn); Tagbtn.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Toast.makeText(Tag.this, Tag coming soon, 5000).show(); } }); next2btn = (Button) findViewById(R.id.next2btn); next2btn.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { startActivity(new Intent(Tag.this, Guide.class)); } }); } } Logcat: 08-28 00:03:00.637: INFO/ActivityManager(50): Starting activity: Intent { comp={net.tiny.racker/net.tiny.racker.Tag} } 08-28 00:03:00.678: DEBUG/AndroidRuntime(242): Shutting down VM 08-28 00:03:00.687: WARN/dalvikvm(242): threadid=3: thread exiting with uncaught exception (group=0x4000fe68) 08-28 00:03:00.687: ERROR/AndroidRuntime(242): Uncaught handler: thread main exiting due to uncaught exception 08-28 00:03:00.707: ERROR/AndroidRuntime(242): java.lang.RuntimeException: Unable to start activity ComponentInfo{net.tiny.racker/net.tiny.racker.Tag}: java.lang.NullPointerException 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2141) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2157) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1581) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.os.Handler.dispatchMessage(Handler.java:88) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.os.Looper.loop(Looper.java:123) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.app.ActivityThread.main(ActivityThread.java:3739) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at java.lang.reflect.Method.invokeNative(Native Method) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at java.lang.reflect.Method.invoke(Method.java:515) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java: 7 39) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at dalvik.system.NativeStart.main(Native Method) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): Caused by: java.lang.NullPointerException 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at net.tiny.racker.Tag.onCreate(Tag.java:19) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1122) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2104) 08-28 00:03:00.707: ERROR/AndroidRuntime(242): ... 11 more -- :-) P Please don't print this e-mail unless you really need to. --~--~-~--~~~---~--~~ 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] Re: Development Phone
Right, Zonakusu. Rafa, think of it like buying a Linux PC. Some people might be interested in modifying Linux itself, but most developers will want to just write an application to run on top of Linux. Yusuf Saib Android ·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 Aug 25, 6:25 am, Zonakusu zonak...@gmail.com wrote: He means that you can create and install your own software packages (.apk files) on your phone, but you won't be able to rewrite parts of the actual operating system. On 25 aug, 12:06, Rafa Perfeito rafa.perfe...@gmail.com wrote: Yusuf, Does that means that i can, for example, install new Android versions for myself in the device? What do you mean by 'modify the OS on the phone'? On Mon, Aug 24, 2009 at 6:20 PM, Yusuf Saib (T-Mobile USA) yusuf.s...@t-mobile.com wrote: If you just want to write applications and run them on your phone, any Android phone will do. If you want to modify the OS on the phone, then you need either an official development phone or hack a non-dev phone to be a dev phone. Yusuf Saib Android ·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 Aug 24, 6:09 am, Ran dahan...@gmail.com wrote: Hi everyone, I'm new to Android and I want to start developing and deploying my apps to a real phone. My question is what is the big difference between the official ADP1 and other Android phones ? What is the benefit of working with ADP1 over the other Android phones ? I want to buy some Andriod phone, I thought of the new Samsung i7500 with Andriod OS or HTC Hero, will I be able to develop regularly or I will need to hack them in some manner to activate some features ? Thanks in advance Ran -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ 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: what is the fast way to save/load string from/in an array?
Can you post the code that takes a long time? How long does it take, for how many strings? Yusuf Saib Android ·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 Aug 25, 2:08 am, Liviu Ungureanu smartli...@gmail.com wrote: Hi! I want to save an array with strings. I try to write in a file and to save it on sdcard but the loading process get so much time... Thank you! --~--~-~--~~~---~--~~ 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: Cheapest way to acquire a development phone?
You don't need a development phone to try out apps. Dev phones are for people who want to change the OS. Any Android phone with WiFi but no plan could be used to try out apps. Yusuf Saib Android ·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 Aug 24, 12:01 pm, Ron ronbruck...@comcast.net wrote: I need an actual Google phone with GPS to get some idea of what applications are out there. I already have a plan with a non-Google provider, so I only need a plan to try out the apps themselves. Any ideas on how to most efficiently achieve this? --~--~-~--~~~---~--~~ 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 Phone
If you just want to write applications and run them on your phone, any Android phone will do. If you want to modify the OS on the phone, then you need either an official development phone or hack a non-dev phone to be a dev phone. Yusuf Saib Android ·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 Aug 24, 6:09 am, Ran dahan...@gmail.com wrote: Hi everyone, I'm new to Android and I want to start developing and deploying my apps to a real phone. My question is what is the big difference between the official ADP1 and other Android phones ? What is the benefit of working with ADP1 over the other Android phones ? I want to buy some Andriod phone, I thought of the new Samsung i7500 with Andriod OS or HTC Hero, will I be able to develop regularly or I will need to hack them in some manner to activate some features ? Thanks in advance Ran --~--~-~--~~~---~--~~ 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 P2P Options
It partially depends on how much and what kind of data you pass. SMS may be the easiest way, in which case you need to programatically send and intercept SMS. One example is here: http://www.androidcompetencycenter.com/2008/12/android-api-sms-handling/ Yusuf Saib Android ·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 Aug 24, 8:50 am, Persona mr.pers...@gmail.com wrote: Hello, I need to pass data between P2P mobile applications. I know that it is possible to use SMS, WAP, GTalk, etc, but it appears that there are very scanty materials about these topics. Can someone show me the steps that I need to take to get this done or direct me to the online source that can help me with the implementation using Android? Yours, Karl. --~--~-~--~~~---~--~~ 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 update a listview
What is the adapter class? For an ArrayAdapter, you don't need to call notifyDataSetChanged() unless you called setNotifyOnChange(false). Yusuf Saib Android ·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 Aug 20, 5:40 am, Liviu Ungureanu smartli...@gmail.com wrote: Hi all! I have a ListView with and adapter extended from BaseAdapter. I insert some data in my list but when i try to insert an other item in list nothing happend. Can someone give me a ideea about updating listview data? this is the code: //insertData info_list.setCacheColorHint(Color.WHITE); info_list.setSelector(R.drawable.list_item_border); ItemInfo phone = new ItemInfo(this,R.drawable.phone,Phone,item.getPhoneFormatted()); ItemInfo address = new ItemInfo(this,R.drawable.address,Address,item.getAddress()); ItemInfo e_mail = new ItemInfo(this,R.drawable.email,E-mail,formatTextV2(item.getEMail())); ItemInfo web_site = new ItemInfo(this,R.drawable.website,Website,formatTextV2(item.getWebSite())) ; ItemInfo category = new ItemInfo(this,R.drawable.category,Category,item.getCategory()); adapter.addItemInfo(phone); adapter.addItemInfo(address); adapter.addItemInfo(e_mail); adapter.addItemInfo(web_site); adapter.addItemInfo(category); info_list.setAdapter(adapter); ///insertData //updateData button_prev.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { Item item_received = ResultsActivity.getItemAt(current_index--); int i; adapter.update(0,item.getPhoneFormatted()); adapter.addItemInfo(new ItemInfo(TestActivity.this,R.drawable.address,Address,formatTextV2(item.g etAddress(; adapter.addItemInfo(new ItemInfo(TestActivity.this,R.drawable.email,E-mail,formatTextV2(item.getE Mail(; adapter.addItemInfo(new ItemInfo(TestActivity.this,R.drawable.website,Website,formatTextV2(item.g etWebSite(; adapter.addItemInfo(new ItemInfo(TestActivity.this,R.drawable.category,Category,item.getCategory( ))); adapter.notifyDataSetChanged(); } }); ///updateData Thank you! --~--~-~--~~~---~--~~ 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: 'if' sentences please help
This is a Java mistake that is common. By common I mean one I make all the frickin time. You should use String.equals() instead, like if (!codedate.equals(220809)) { If you just use the != operator then the JVM will compare the string pointer addresses, not their values. Yusuf Saib Android ·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 Aug 21, 5:00 am, GlennovitS glennov...@gmail.com wrote: Hey everybody.. I'm just startet writing code for android.. And then I need to have some if-sentences.. (sorry for my english) they look like this @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Date dateDate = new Date(); String codedate = new SimpleDateFormat(ddMMyy).format (dateDate); if (codedate != 220809) {txtKommentar.setText (R.string.k220809);} if (codedate != 210809) {txtKommentar.setText (R.string.k210809);} if (codedate != 200809) {txtKommentar.setText (R.string.k200809);} if (codedate != 190809) {txtKommentar.setText (R.string.k190809);} } and if the 'codedate' has a value of '210809', it still does this:... txtKommentar.setText(R.string.k190809); ...like the 'codedate'-strings value was 190809.. what is wrong?. please help me.. i can't figure it out.. --~--~-~--~~~---~--~~ 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: Need to implement Android for my website powered in PHP
Do you want your website to be hosted on the phone, or do you want to port your website functionality to an Android application, or do you want to access your website from an Android application? Yusuf Saib Android ·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 Aug 18, 11:04 pm, kapil1728 kapilcpk1...@gmail.com wrote: Hi, I need to make mywebsite developed in PHP(Linux server, MySQL) in android. How can I do it? Can anyone tell me the steps for it? Thanks Kapil1728 --~--~-~--~~~---~--~~ 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: Operating Systems supported by Android Apps
wwsean08 is right, although you may be able to cross-compile if this works as claimed: http://www.xmlvm.org/android/ Yusuf Saib Android ·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 Aug 13, 6:53 am, wwsean08 wwsports...@gmail.com wrote: yes there would be compatability issues because they do not run on the android OS, and are programmed using different sdk's (and some in different languages), so you could port your app to one of them with some reconfiguring (and possibly reprogramming), but you can't just put it on there and have it work --~--~-~--~~~---~--~~ 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: Cached GPS info?
One difference between navigation on phones vs dedicated devices like TomTom is that phones don't store the map data locally. So you need a data connection with a phone, either 3G or Wifi. Since WiFi isn't available everywhere, you need 3G to have phone navigation while driving around. Yusuf Saib Android ·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 Aug 12, 1:53 pm, Maptitude mti...@caliper.com wrote: Desktop mapping software that can read playback files could meet your needs. Products like Maptitude http://www.MappingSoftware.com can connect to a GPS device or read in coordinates from a GPS to plot the points. OpenStreetMap data is available in a number of formats from various sources, and can be obtained as ShapeFiles for use in most mapping software, if they do not already come with off-line street databases. On Aug 11, 11:06 pm, Andrés G. Aragoneses kno...@gmail.com wrote: Andrés G. Aragoneses wrote: John P. wrote: Hi, The GPS band and data bands are separate, so you can get GPS information for free even if you don't have any carrier data plans. Even if you don't have wifi, you can still pickup GPS information. Note that accessing websites such as Google Maps requires data plan or wifi connection. However, if you had mapping software that can interpret the GPS signals, then you can have mapping + location app without any internet connection. Key example is GPS navigation system on cars -- they don't have internet connections (well, some may, but they're not necessary for the GPS nav system). Ok, so my question is, can I do this with the GoogleMaps software built-in in the phone? If not, is there any extension/addin or new software that can save GoogleMaps service data to use as a cache when there's no internet connection? If not, any other software installable on the android that contains all this data? I mean, something like a TomTom navigator or an openstreetmap.org viewer? I'm wondering if this is the correct list to ask this, sorry if not! To relate to your case, I have a dev G1 phone that I can setup to use on wifi to use Google Maps and GPS for location information. In this scenario, it doesn't use my ATT data plan. You say on wifi, but I'm not referring to non-3G situations only, just if I can use the GPS function when I have no internet connection at all (thanks to the data was collected when I had internet connection). Thanks, Andres On Aug 11, 1:16 pm, Andrés G. Aragoneses kno...@gmail.com wrote: Hi there, I'm thinking about buying an HTC Hero for usage in the US. I don't plan to use it with 3G so I guess I'm fine. However, then I'm wondering, can I use the GPS feature only when I'm connected via WiFi? Is there a way to download GPS maps of a certain city to have them cached in the SD card for its usage when there's no data connection? Thanks, Andres -- --~--~-~--~~~---~--~~ 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: Developer hardware
In theory, if you install the SDK, plug in the phone via USB, and type adb devices in the command line, it should detect and list your phone. If so, then you should be able to either adb install or debug directly from Eclipse. Yusuf Saib Android ·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 Aug 12, 11:24 am, Abhi abhishek.r.sha...@gmail.com wrote: hi guys, thought i would jump in here instead of creating a new post... i just bought myself the new htc mytouch 3g g-phone (g2). I have a few basic apps (scan wireless networks, display accelerometer values etc.) that I want to test on my phone as the emulator doesn't support any of this. Both the apps force close in the emulator I want to know how can I test them on my phone real-time? I read about doing this on T-mobile G1 over herehttp://developer.android.com/guide/developing/device.html , but it doesn't work this way on my phone tried enabling USB Debugging on the phone as mentioned, installing the drivers, everything that this manual says... but Eclipse would just not detect my phone and always Run the code on the emulator... I hope someone can help me out with this... Thanks, Abhi On Aug 12, 12:52 pm, mvdb m.vandenbran...@gmail.com wrote: Thanks everyone for your help! --~--~-~--~~~---~--~~ 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: hi help me
Also http://www.amazon.com/Eats-Shoots-Leaves-Tolerance-Punctuation/dp/1592400876 Yusuf Saib Android ·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 Aug 13, 8:20 am, Balwinder Kaur (T-Mobile USA) balwinder.k...@t- mobile.com wrote: A good place to start :http://developer.android.com/guide/index.html The classic Hello World Android App is available athttp://developer.android.com/guide/tutorials/hello-world.html Good Luck Androiding ! Balwinder Kaur Open Source Development Center ·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 Aug 12, 11:08 pm, pankaj reliablepan...@gmail.com wrote: helo i m newbie want to learn android. from where i can start studyin --~--~-~--~~~---~--~~ 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: environment woes...
In the Eclipse menu under Project there is a Clean item. rm/del also do the trick. Yusuf Saib Android ·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 Aug 12, 8:51 am, phil phil.pellouch...@gmail.com wrote: so re-installing the ADT eclipse plugin seemed to resolve things -- however, i still have those errors in the error log even though I don't see the little red x next to my project in the package explorer. should i be able to independently wipe out the bin and gen directories? It seems like if i delete or rename that, i start getting into trouble... is there like a clean and rebuild all sequence of steps? -phil On Aug 12, 8:45 am, phil phil.pellouch...@gmail.com wrote: ug, this is so frustrating. i am running eclipse 3.5 + android sdk 1.5r3 with ADT plugin. i somehow seem to randomly get into a state where I cannot build or run. I have the little red x next to my project in Package Explorer but when I open up the 'src' node, i don't see any errors in my source files. i open up the error log in eclipse and i see this -- Could not create action delegate for id: com.android.ide.eclipse.adt.project.NewXmlFileWizardAction Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.project.NewXmlFileWizardAction. Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.project.NewXmlFileWizardAction. And if I try to run, I get a dialog that pops up and says Your project contains error(s), please fix them before running your application. And I'm not quite sure how to fix them... -phil --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---