[android-beginners] Usage of getAsciiString

2010-06-25 Thread Traveler
Could someone post a few lines of example code on the getAsciiString function? I want to convert byte values to characters based on ASCII. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on

[android-beginners] Re: Duplicate case problems

2010-06-25 Thread Varun Khanduja
I am sorry I didn't read your comment properly. I ll work on it again. Thanks On Jun 25, 4:05 pm, Justin Anderson wrote: > I meant when you have them in the same switch statement... > > -- > There are only 10 types of people in t

[android-beginners] Re: Duplicate case problems

2010-06-25 Thread Varun Khanduja
Hi Justin, Thanks for your response. I m sorry maybe I m not very clear with some of the steps I should take. I followed this tutorial(http:// www.youtube.com/watch?v=6UYNnQOxCS8) and in the first 2 minutes they declare the way I declared here. Although I know this is a very basic problem, but in

Re: [android-beginners] Duplicate case problems

2010-06-25 Thread Justin Anderson
I meant when you have them in the same switch statement... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On

Re: [android-beginners] Duplicate case problems

2010-06-25 Thread Justin Anderson
*> Does any one knows what are some of the things I could do to avoid these errors please?* Yes... don't have duplicate case values. Your problem lies with this line: public static final int INSERT_ID = Menu.FIRST; So when you include INSERT_ID and Menu.FIRST in the same case statement they have

[android-beginners] Duplicate case problems

2010-06-25 Thread Varun Khanduja
Hello All, I am trying to work on the notepad tutorial on the Android website. I tried incorporating a menu function to see how I can try to use mutiple functions. I keep getting errors of Duplicate case for the switch cases like Menu_1, insert_ID. Does any one knows what are some of the things I

[android-beginners] Why does TextView.setText cause the enclosing ScrollView to scroll?

2010-06-25 Thread Mike
Hello! I'm new to this group and (full disclosure) cross posting this question here from StackOverflow, just because I'm not 100% sure how my question will be found by other SO users (I made sure to read the suggested "How To Ask Questions The Smart Way", and made sure to search SO for a clear exp

Re: [android-beginners] Application still consumes battery even tough it is "closed"

2010-06-25 Thread Mark Murphy
On Fri, Jun 25, 2010 at 5:21 PM, Flamechamp wrote: > This may sound stupid, but I have a problem with my application. > I made an application to check the accelerometer and orientation > sensor. > I tested it on my Nexus One and it works. > The problem starts when I close it. (I pressed the <- but

[android-beginners] Application still consumes battery even tough it is "closed"

2010-06-25 Thread Flamechamp
This may sound stupid, but I have a problem with my application. I made an application to check the accelerometer and orientation sensor. I tested it on my Nexus One and it works. The problem starts when I close it. (I pressed the <- button in the phone) When I checked the Battery usage. That progr

Re: [android-beginners] Re: Adding a button which opens another screen

2010-06-25 Thread Justin Anderson
*> Thank you for that, so the other screen doing what I want it to do would be a whole other Java File? * The other screen would be a completely separate Activity, which would be a separate java file. *> How do I set up a listener on the button as there is already a listener on the gallery? * Look

Re: [android-beginners] application space files access.

2010-06-25 Thread TreKing
On Mon, Jun 21, 2010 at 7:27 AM, changdeo wrote: > Can anybody please help me to create a file on application space and > tell a way to read it. > There are various log-reading apps available for exactly this reason. You can just have your users install one of those apps and send you the logs vi

[android-beginners] Re: Adding a button which opens another screen

2010-06-25 Thread Justin
Thank you for that, so the other screen doing what I want it to do would be a whole other Java File? How do I set up a listener on the button as there is already a listener on the gallery? Sorry if this soulds basic, but I am just learning ;-) On Jun 24, 8:09 pm, Justin Anderson wrote: > When y

Re: [android-beginners] Questions for the group regarding URL Launchers

2010-06-25 Thread Justin Anderson
*> What is the best recommendation the group can suggest as a starting point?* A starting point for what exactly? You haven't been real clear on what you are wanting *> How do I open the .apk file in my eclipse environment to make the changes necessary? * First, an APK is just a zip with a diffe

Re: [android-beginners] Re: Switch between views.

2010-06-25 Thread TreKing
On Tue, Jun 22, 2010 at 10:44 AM, m0ny3t wrote: > I am looking for better/good ways if there is any. > > Do u have nice links u can share? > None you couldn't find yourself on the official documentation or doing a Google search for whatever you're interested in.

[android-beginners] Problem Using Geocoder

2010-06-25 Thread Jake Colman
I am trying to use the Geocoder class to the get the address of the location specified by latitude and longitude. logcat is showing the following: LocationMasfClient E reverseGeocode(): no feature in GLocation Can anyone tell me what this means? As an aside, I wonder if this could be related

[android-beginners] Problem with httpclient and self-signed certificates.

2010-06-25 Thread jackace
Hi, I am sure this has been discussed in this group, but I couldn't find that thread, so bear with it, or if possible merge it with the original. I am using httpclient for my android app and I have a local site which has a few https pages. Since default httpclient doesnot allow self- signed certi

[android-beginners] Layout of webview

2010-06-25 Thread zaheer ahmad
hi, The webview demo at http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/WebViewDemo does not take the full screen on my WVGA (480x800) device. Do you know how to make this occupy the available screen? Attached screenshot. Thanks, Zaheer -- You received this message b