[android-developers] Problem restoring values after rotation in a custom view (when it is added twice to the layout)

2013-06-02 Thread charlie babitt
device. Now something really strange happens. The value of the second EditText is restored to the first one and the second one is empty. I can't explain this behavior. Does anyone have an idea? Thanks Charlie -- -- You received this message because you are subscribed to the Google G

[android-developers] Using Camera and compass

2013-01-07 Thread Charlie Johnson
the same problem or If anyone has any ideas how to do it please help me. Thanks, Charlie. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from thi

[android-developers] forcing slidingDrawer content always in landscape mode

2012-04-14 Thread charlie babitt
phone is. The rest of the activity (apart from the content of the sliding drawer) should behave as normal, when the phone is rotated. Thanks Charlie -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Best practice/difference between @id/ and @+id/

2011-10-12 Thread charlie babitt
recommend? Thanks Charlie -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developer

Re: [android-developers] Slidingdrawer hides last element of listview.

2011-10-01 Thread charlie babitt
Yes, I already tried this. Setting this will make the handle of the sliding drawer disappear and the list takes the full space. Well, now I see everything from the list but the sliding drawer is gone... -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Slidingdrawer hides last element of listview.

2011-10-01 Thread charlie babitt
any idea how I could fix this? Thanks Charlie -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to andr

[android-developers] Image manipulation similar to google+ app

2011-08-27 Thread charlie babitt
ing a rectangle as a frame around it. Where should I start looking? Thanks charlie -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] View in Google+ Application

2011-08-18 Thread charlie babitt
t;, "All circles" an "incoming"). Does anyone know what kind of view this is or how I can build something like this? Thanks CHarlie -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

Re: [android-developers] JDK Installation

2011-06-17 Thread Charlie
An environment variable, or add to the PATH, and pointing to what, exactly? From: mailto:iamvijayaku...@gmail.com Sent: Tuesday, June 14, 2011 11:13 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] JDK Installation you have to set environment path. On Tue, Jun

[android-developers] Android MediaPlayer cannot play VoD stream from VLC server

2011-01-17 Thread Charlie
anyone know why? By the way, I have managed to use MediaPlayer to play broadcast stream from VLC. Both broadcast and VoD stream look something like this: "rtsp://ip address:port/Test". Anyone please help. Thanks in advance. Charlie -- You received this message because you are subscri

[android-developers] apps became empty shells on Nexus One, then flash memory size seems reduced

2010-12-10 Thread Charlie
Hi, I had been happily using my N1 when one night it shut itself down due to the battery running down. After charging it, I turned it back on and found that all of the apps (except those stored on the SD card) had stopped worked, reporting "Could not launch the requested activity". Eventually I f

[android-developers] Send video through socket and playing problem

2010-11-22 Thread Charlie
Hi all, I have two simple programmes, one server and one mediaplayer client, both at localhost. The problem is I can send byte/text through the socket, but when I try to send a video file, from the sdcard to the socket, the client side mediaplayer cannot play it. Anyone know how to solve this prob

[android-developers] Streaming buffer problem

2010-10-10 Thread Charlie
Hi all, I am trying to store the content of a streaming to a buffer array and then a file and try to play from the file. The problem now is the buffer cannot store the input stream. My code is something like this: private void saveStreaming() throws IOException{ InetAddress inetAddres

[android-developers] Re: Greystripe experiences?

2010-08-23 Thread charlie
rate into account. a really high eCPM with minimal fill can of course be a good bit lower than a decent eCPM on close to 100% fill. that's my 2 biased cents! charlie On Aug 22, 7:22 pm, andfan22 wrote: > Hi all > > Is anyone using Greystrip for ads within their apps?  Care to sha

[android-developers] 3g problem with telephony

2010-08-18 Thread charlie babitt
phone, but it didn't help (the thing is that it already worked). Do you have an idea, which settings I messed up? Thanks in advance Charlie -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Re: New to android finally leaving Windows !!!

2010-07-07 Thread Charlie Collins
To get started you can use the SDK and the emulators it provides (you don't need a device to dive in, though yes you will want one at some point for further testing). http://developer.android.com/intl/es/guide/index.html You can also buy a developer device: http://android.brightstarcorp.com/inde

[android-developers] Re: BufferedReader(new InputStreamReader(url.openStream())) hangs app when no internet

2010-07-07 Thread Charlie Collins
Check for the status of the network before making the call, and also set a connection timeout in case it drops after/during: http://stuffthathappens.com/blog/2007/09/10/urlopenstream-might-leave-you-hanging/ You might want to look at the Apache HttpClient stuff Android comes with too, you have a

[android-developers] Re: Problem with Quick Search Box: ContentProvider with a custom non-sqlite datasource

2010-07-03 Thread Charlie Chilton
Mark (you legend!), thanks for heads up! MatrixCursor looks like just the kind of thing I need :D Cheers Charlie On Jul 3, 8:44 am, Mark Murphy wrote: > On Sat, Jul 3, 2010 at 3:41 AM, Charlie Chilton wrote: > > The problem is, that when the using the Quick Search Box, I can se

[android-developers] Problem with Quick Search Box: ContentProvider with a custom non-sqlite datasource

2010-07-03 Thread Charlie Chilton
andon trying to use the Quick Search functionality like this, and implement my own method of doing it? Any help appreciated! Thanks Charlie -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Re: Maintaining the state when changing the orientation

2010-05-13 Thread Charlie Collins
http://developer.android.com/intl/de/guide/topics/fundamentals.html#actlife "Saving activity state When the system, rather than the user, shuts down an activity to conserve memory, the user may expect to return to the activity and find it in its previous state. To capture that state before the a

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread Charlie
Mine is scheduled for delivery tomorrow! Derby, UK! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+un

[android-developers] Re: Where is the import android.hardware.CameraDevice

2010-04-09 Thread Charlie Collins
Most of the tutorials that use CameraDevice are from ~2007. CameraDevice was around pre-1.0, I believe. Currently you would use the Camera class and the callbacks around it, etc.: http://developer.android.com/reference/android/hardware/Camera.html. Here is a more recent tutorial (no idea if it's

[android-developers] Re: Reg: Layouts

2010-04-09 Thread Charlie Collins
That sounds like a trick question ;). The "best" layout depends on the situation you are in, the context. There is no one "best for all kind of applications." That said, RelativeLayout is often noted as the "most robust" layout because it can sometimes be used to replace multiple other types of l

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-02 Thread Charlie
Saturday will be 4 weeks for me aswell. I'm kind of glad in a way that it hasn't come yet as I am away from the address it will be delivered at! Do you know if FedEx can re-route packages to a different address if I am not in? I am in the UK too (Derby) On Mar 31, 1:52 pm, David Scott wrote: >

[android-developers] Re: Update SQLite Database from other app

2010-01-26 Thread Charlie Collins
The applications are in different processes, with different permissions (by default, you can work around that but you don't want to). So the answer is no, not directly, but as the other post here stated, that is exactly what a ContentProvider is for. http://developer.android.com/guide/topics/prov

[android-developers] Re: is AndroidHttpClient deprecated?

2010-01-19 Thread Charlie Collins
Android began including HttpClient 4 around version 1.1 or so. The org.apache.http package is usually the one you will want for HTTP (java.net is still available, but that is a much lower level). http://developer.android.com/reference/org/apache/http/package-summary.html On Jan 19, 12:26 am, eli

[android-developers] Re: Saving the contents of an array

2010-01-19 Thread Charlie Collins
If your array is not too large, I agree with theSmith, using SharedPreferences is very easy if you are not sure about how to use other data storage approaches. If you store it as a String you could then parse it and rebuild the array. If you have a lot of data, you might want to go ahead and check

[android-developers] Re: Start SDK Emulator fail!

2009-12-16 Thread Charlie Collins
The Android SDK is currently version r04 (the modular one). Try the latest instructions with the latest versions. http://developer.android.com/sdk/index.html#quickstart If you get failures, check the logcat output with the IDE view (using Eclipse?) or with adb. On Dec 15, 10:46 pm, Ph4nut wrote

[android-developers] Re: Building APPS that require an online database

2009-12-16 Thread Charlie Collins
You might have to narrow that down and be more specific to get a focused response. On Dec 16, 12:44 pm, rohitspage wrote: > Hi! Folks > I am looking for a free SAAS provider that I could use to accomplish > the following. > a. CRUD data using webservices or someother compatible mechanism. > > Any

[android-developers] Re: Installing Apps on Acer Netbook Running Android

2009-12-08 Thread Charlie
The answer is here: http://www.aspireoneuser.com/forum/viewtopic.php?f=90&t=19016 On Dec 7, 8:37 am, Charlie wrote: > I have an Acer Aspire netbook which dual boots Android and XP.  I am > trying to figure out how to (1) look at the file system (with a file > manager type of inter

[android-developers] Installing Apps on Acer Netbook Running Android

2009-12-07 Thread Charlie
I have an Acer Aspire netbook which dual boots Android and XP. I am trying to figure out how to (1) look at the file system (with a file manager type of interface), and (2) install an app on it (specifically one that I am developing). It seems like all this should be obvious, but the netbook isn'

[android-developers] Re: J2EE client on Android

2009-12-02 Thread Charlie Collins
Depends what you mean by "J2EE" client. A client could be just a web browser (Servlets and JSP are part of the JEE spec). You might mean more along the lines of a SOAP or JMS client or such though (which also can be done, not that they *should* be done, but can be). You need to clarify this quite a

[android-developers] Re: Building cupcake for G1

2009-12-01 Thread Charlie Collins
http://source.android.com/documentation/building-for-dream On Dec 1, 7:36 am, Bytes wrote: > Hi, > > I've G1 dev phone. > > Earlier I upgraded it to 1.5 using HTC website. > > Now I want to customize (make some changes to ) source code and keep > the changes running on G1 phone. > > I wanna go wi

[android-developers] Re: Https client in Android

2009-11-30 Thread Charlie Collins
It should be as simple as gjs notes there, assuming you are using HttpClient (the org.apache.http packages). Here are some examples that are a bit older (from Android 1.1 timeframe), but still work and should give you an idea of it: http://unlocking-android.googlecode.com/svn/chapter6/trunk/Networ

[android-developers] Re: help me pliiiiiz

2009-10-27 Thread Charlie Collins
Sorry, also just noticed that for API level 5 and above there is newer WallpaperManager. http://developer.android.com/reference/android/app/WallpaperManager.html On Oct 27, 5:08 am, iori wrote: > hello every body,im trying to change the system wallpaper,i have tried > a lot of solution but witho

[android-developers] Re: help me pliiiiiz

2009-10-27 Thread Charlie Collins
Context has a "setWallpaper" method: http://developer.android.com/reference/android/content/Context.html#setWallpaper%28java.io.InputStream%29. An example of it in use (look for SetWallpaperTask): http://code.google.com/p/apps-for-android/source/browse/trunk/Photostream/src/com/google/android/pho

[android-developers] Re: How did you localize your app?

2009-10-12 Thread Charlie
74KB. (For reference, the size of my english/default 'values' folder is 45KB) Hope this helps! Charlie On Oct 12, 2:39 pm, Jason Van Anden wrote: > How have non-multilingual indy devs gone about translating their apps for > different languages? > > I don't mean how do

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-10-11 Thread Charlie
"ah", false); This also requires permission: com.google.android.googleapps.permission.GOOGLE_AUTH.ah I don't like having to use undocumented API's, but I suppose it's better than the alternative of having the user to enter their username and passw

[android-developers] Re: Sending email with Apache commons

2009-09-16 Thread Charlie Collins
You are trying to use classes that the Android platform simply doesn't support (see the nice error message - in this case it's very informative). In your case "javax.naming" from JNDI which is a core class is not present, but regardless, not every java library runs or is supported on Android (not

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-03 Thread Charlie
Hi, I've entered my labour of love for the last 3 months, Thinking Space Category: Productivity/Tools Thinking Space is a Mind Mapping app for Android heres a screen shot of the welcome map: http://homepages.nildram.co.uk/~bakachu/screenshot.png Its on the market too: http://www.cyrket.com/p

[android-developers] Re: Can't find file with OpenFile

2009-07-28 Thread Charlie Collins
> > > How can I do in eclipse tofindit? > > > On 27 Lug, 17:19, Charlie Collins wrote: > > > > I didn't see Mark's reply before I posted mine, sorry.  As always, > > > Mark is on top of this group ;). > > > > On Jul 27, 11:16 am, Charlie

[android-developers] Re: Can't find file with OpenFile

2009-07-27 Thread Charlie Collins
I didn't see Mark's reply before I posted mine, sorry. As always, Mark is on top of this group ;). On Jul 27, 11:16 am, Charlie Collins wrote: > Files created with Context.openFileOutput are in the "context" they > were created in. 99% of the time you don't r

[android-developers] Re: Can't find file with OpenFile

2009-07-27 Thread Charlie Collins
Files created with Context.openFileOutput are in the "context" they were created in. 99% of the time you don't really care what that physical location is, you just retrieve the same file using the name with Context.openFileInput. If memory serves the actual physical location is /data/data/ packag

[android-developers] Re: Create custom mime type handler

2009-07-22 Thread Charlie Collins
http://developer.android.com/guide/topics/providers/content-providers.html To use your content provider, you just declare Intents with the data type you want: http://developer.android.com/guide/topics/intents/intents-filters.html. Meaning, register an Intent that handles your content type. On Ju

[android-developers] Re: Networking with the Android Emulator.

2009-07-16 Thread Charlie Collins
I think a lot of this stuff, though not all, is covered in the docs - http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking. If you have already seen that, I apologize, but if not, it's a good starting point for how the emul networking is configured, how to redirect

[android-developers] Re: Maven Android Plugin: stable version 2.0.0 released

2009-07-16 Thread Charlie Collins
I haven't used this yet, but will try to take a look soon. Just wanted to say thanks for putting this out though. I know android- maven is deprecated (already), and I am not sure how far Masa has gotten. Having a solid and well supported Maven plugin for droid will be essential going forward, t

[android-developers] Re: uploads disabled

2009-07-07 Thread Charlie Collins
I haven't heard any official stance on this, but I would imagine there are security concerns, and then other technical hurdles on this front (having a file browser, and then which files each activity has access to). There is an open issue you can comment on and or follow - http://code.google.com/

[android-developers] Re: Connect to a SQL Database

2009-07-07 Thread Charlie Collins
In general you don't want to do that - connect directly to your SQL server from Android. If your Android device is on the same subnet, and you configure host resolution and port access, you *might* be able to do that, I have never really thought to try, but it's certainly not the normal path. No

[android-developers] Re: changing orientation resets activity?

2009-07-07 Thread Charlie Collins
That is intentional. http://developer.android.com/reference/android/app/Activity.html "Unless you specify otherwise, a configuration change (such as a change in screen orientation, language, input devices, etc) will cause your current activity to be destroyed, going through the normal activity l

[android-developers] Android XML-RPC to JBoss Seam Enterprise Application....cannot Create SOAP Envelope Exception

2009-06-21 Thread Charlie
http://www.w3.org/2001/XMLSchema-instance"; xmlns:javaee="http://java.sun.com/xml/ns/javaee"; xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd"> Seam WebService Endpoint

[android-developers] SOAP envelop not being created for response from seam server

2009-06-21 Thread Charlie
Hi Guys, I am trying to connect to webservices in jboss(using seam) from a google android phone. So far, I implemented all the necessary beans and android classes. Unfortunately, I am getting an exception on the server side after the request is dispatched from the android emulator, java.lang.Ille

[android-developers] Re: Scheduling

2009-06-18 Thread Charlie Collins
This thread has good info on this topic from Dianne and Mark, start with reading through this: http://groups.google.com/group/android-developers/browse_thread/thread/98aba3b545ba4b16/. On Jun 18, 3:40 am, "bsbi...@googlemail.com" wrote: > Hi, > > I am writing a demo app that allows the user to s

[android-developers] Re: HTTP Unnkown socket error

2009-04-27 Thread Charlie Collins
Post some more info please. What SDK are you using (and if using 1.5 pre, what target?). Is this error seen in the emulator? How are you trying to "do the HTTP connection?" Also, what is the rest of the related stack/log? On Apr 27, 7:11 am, glory wrote: > Hi All, > > Whenever I am tring to d

[android-developers] Re: Map not Displaying, Just tiles only

2009-04-14 Thread Charlie Collins
wrote: > > > > i did both these already... > > > > my i got map API and put all permissions in manifest > > > > > > > > > android:name="android.permission.ACCESS_FINE_LOCATION" /> > > >   > > > > still its showing hi

[android-developers] Re: Read text file and search contents

2009-04-13 Thread Charlie Collins
Here is a basic example of reading a raw resource: http://unlocking-android.googlecode.com/svn/chapter5/trunk/FileStorage/src/com/msi/manning/chapter5/filestorage/ReadRawResourceFile.java. On Apr 13, 12:26 pm, CompuCor wrote: > Greetings, > > I am new to Java and Android.  I have a flat file (

[android-developers] Re: Map not Displaying, Just tiles only

2009-04-13 Thread Charlie Collins
Also make sure you have a maps key, the error message you are getting look unrelated, but just check that to make sure. http://code.google.com/android/maps-api-signup.html On Apr 13, 1:17 pm, nithin warier wrote: > Hi, I tried to display map in emulator. But its showing just tiles only. I > am

[android-developers] Re: Calling web services in android

2009-04-10 Thread Charlie Collins
It depends on what you mean by "web services," but there are many many many threads on this list about that topic. Try searching the list, you will find KSOAP examples (if you mean SOAP), and REST examples, and several discussions about when and where you should use "web services" with a mobile de

[android-developers] Re: Can Maps.apk in SDK1.0 run on Android 1.0?

2009-04-02 Thread Charlie Collins
Do you have uses-library for maps in your manifest? It's been available since pre 1.0 (if I understand the question, maybe not, it's not Google Maps, but it's a Maps like API for Android that can optionally be included). http://developer.android.com/guide/topics/location/index.html On Apr 2,

[android-developers] Re: file handling in android.

2009-03-16 Thread Charlie Collins
Files are pretty standard with Android. Filters, Streams, Readers, etc. Permissions are handled based on the app: "Files You can store files directly on the mobile device or on a removable storage medium. By default, other applications cannot access these files. To read data from a file, call

[android-developers] Re: Detect shaking

2009-03-01 Thread Charlie Collins
You probably want the SensorManager and SensorListener: http://code.google.com/android/reference/android/hardware/SensorManager.html http://code.google.com/android/reference/android/hardware/SensorListener.html Also TiltLander has a nice concise example: http://code.google.com/p/tiltlander/sour

[android-developers] Re: what happened to Logcat inside eclipse?

2009-03-01 Thread Charlie Collins
Definitely still there with 1.1. Maybe you closed the view, or something is corrupt? You can open just that view (Eclipse view I mean). Window->Show View->Android-> pick from there. http://code.google.com/android/intro/develop-and-debug.html#developingwitheclipse On Mar 1, 6:39 pm, 3D wrote: >

[android-developers] Re: Threading help!!

2009-02-23 Thread Charlie Collins
Alternatively, you may want to use Message and Handler to do your non UI Thread work. There are quite a few examples out there about this. An excellent item that covers it (and deals with some other common issues) is Eric Burke's common thread bug article: http://www.ociweb.com/jnb/jnbJan2009.html

[android-developers] Re: test

2009-02-23 Thread Charlie Collins
Assert.fail(); On Feb 22, 7:58 pm, aini3001 aini3001 wrote: > just test --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups

[android-developers] Re: Event to know about drag. Not dragging of object

2009-02-05 Thread Charlie Collins
I haven't done this directly myself, but if investigating the home screen might help you, then you can do that from the source. I believe that "Launcher" is the home screen package, and it uses a DragLayer/DragController/etc setup that is therein: http://android.git.kernel.org/?p=platform/packag

[android-developers] Re: Creating a service using eclipse

2009-02-03 Thread Charlie Collins
The documentation is pretty good in that regard and samples that come with Android cover that ground, for starters: http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/app/ (go down to the "Service" area there) http://code.google.com/android/reference/android/app/Service

[android-developers] Re: g1 for developers

2009-02-02 Thread Charlie Collins
med there. On Feb 2, 3:16 pm, Charlie Collins wrote: > 1. Yes, it works fine on AT&T (see other threads in this group, just > set the ACN, it works) > > 2. It connects fine to AT&T's 3G as well - so long as you have a data > plan, it works fine ($30 a month on top of

[android-developers] Re: g1 for developers

2009-02-02 Thread Charlie Collins
1. Yes, it works fine on AT&T (see other threads in this group, just set the ACN, it works) 2. It connects fine to AT&T's 3G as well - so long as you have a data plan, it works fine ($30 a month on top of any existing plan at present for AT&T) And yes, I do have one (the dev G1 that is), and do

[android-developers] Re: Debugging live processes?

2009-01-30 Thread Charlie Collins
Check out the adb shell tool, it has a ton of stuff: http://code.google.com/android/reference/adb.html#shellcommands http://en.androidwiki.com/wiki/ADB_Shell_Command_Reference For instance, try "adb shell dumpsys activity" - and so on, see what's there with "debugtool" and such too. On Jan 30,

[android-developers] Re: Dialing Permission

2009-01-30 Thread Charlie Collins
I don't think you need any permission to initial a phone call using the built in Activity. As long as you go through the built in activity and included user interface, no perms required. The CALL_PHONE permission is for making a call on your own without using the built in Activity, as I understand

[android-developers] Re: maps not getting displayed

2009-01-29 Thread Charlie Collins
Exactly as RS stated, that error happens when the key isn't found, or isn't correct. Make sure you have a key, and it's in the right place, and so on: http://code.google.com/android/toolbox/apis/mapkey.html On Jan 29, 1:49 am, sankalp wrote: > hi group > > i was making a location based service

[android-developers] Re: Map Server

2009-01-26 Thread Charlie Collins
iously make this simple.  In pre r1&r2 you could adb push your own > hosts file.  This was obviously patched.  So is the only solution to > set up my own DNS?  Has to be an easier way. > > Thanks, > > Nick > > On Jan 25, 5:54 pm, Charlie Collins wrote: > > &

[android-developers] Re: Map Server

2009-01-25 Thread Charlie Collins
The emulator doesn't use the hosts file on the host computer, it has it's own networking. You should be able to tweak it for what you need there: http://code.google.com/android/reference/emulator.html#emulatornetworking. On Jan 25, 3:04 pm, nknize wrote: > All, > > Anyone know of a way to cha

[android-developers] Re: Need help for creating submenu

2009-01-06 Thread Charlie Collins
http://code.google.com/android/reference/android/view/Menu.html Try the "addSubMenu" method. On Jan 5, 11:20 pm, siva wrote: > Hi All, > > I am new to  Android development. I want to add submenu to menu item , > I mean when i select menu item there should be submenu for that menu > item. Is any

[android-developers] Re: Unique problem only for the EXPERTS.

2009-01-06 Thread Charlie Collins
Here is an example of getting the SmsMessage object: http://unlocking-android.googlecode.com/svn/chapter7/trunk/TelephonyExplorer/src/com/msi/manning/telephonyexplorer/SmsReceiver.java The SmsMessage has various methods to get at different parts of the message, including the body as a String. O

[android-developers] Re: Why Google does not accepts my Visa credit card?

2008-12-19 Thread Charlie Collins
Yeah that's strange, post the credit card number here, and the CCV code, and the expiration date, and you know your address and other personal details and let the Android Developers mailing list sort it out from there. We will need that info first though ;). Ok, seriously, you might want to try t

[android-developers] Re: continuously polling webserver for updates.

2008-12-14 Thread Charlie Collins
Thanks skink, I will check it out when I can. I think the keyword in your response there is "now," the source wasn't there when I looked previously, that's why I was asking. On Dec 13, 8:56 am, skink wrote: > On 13 Gru, 12:13, Charlie Collins wrote: > > > Als

[android-developers] Re: continuously polling webserver for updates.

2008-12-13 Thread Charlie Collins
Also skink, I replied on your other thread about android-xmlrpc. Looks very promising, but for an open source project you need to provide the CODE, not just the binary artifact (and you licensed it Apache there, so it's open source). If I could see the code I would check it out. On Dec 12, 7:44 

[android-developers] Re: light xmlrpc clent side lbrary

2008-12-13 Thread Charlie Collins
An android-xmlrpc might be cool, a good library for handling such networking would be a great thing actually (I wouldn't use xmlrpc in all cases, but in some, yes). Nevertheless, I was unable to get a peek at the code, are you using the Google Code SVN hosting for that project, or not? At present

[android-developers] Re: continuously polling webserver for updates.

2008-12-13 Thread Charlie Collins
sus is that "light" long running services are needed in some cases, but the user should be given the option of whether or not they want them running (make it an option, tell the user, don't just make it stealthy). On Dec 12, 7:44 am, "Android geek" wrote: > Thanks Ch

[android-developers] Re: continuously polling webserver for updates.

2008-12-12 Thread Charlie Collins
Communication: yes, HttpClient is the best option - you can also use plain java.net calls, but HttpClient is a lot easier and handles all the heavy lifting for you. Data: I would say use JSON if you can control the server side. Make a REST API on the server and return JSON. Then parse the JSON in

[android-developers] Re: is any method where we can set icon n text?

2008-12-12 Thread Charlie Collins
You will probably have to be a little more specific than that to get a meaningful answer. In what context? Or, an alternative response might be . . . No. On Dec 12, 4:19 am, "diya blore" wrote: > Hi All, > is any method where we can set icon n text issingle method? > -- > Thank's in adv. > Di

[android-developers] Re: How do you create this map pin?

2008-12-12 Thread Charlie Collins
You can draw whatever you want on top of the map with overlays. The pin is the drawable though, not "instead of." Use the fancy pin as your drawable if you want. OverlayItem works for ItemizedOverlay, if you have a bunch of items to draw it's convenient. You can also just draw your own stuff wi

[android-developers] Re: MenuBuilder

2008-12-11 Thread Charlie Collins
er builder = new > MenuBuilder(this);<http://wiki.droiddocs.net/Reference:Android.widget.MenuBuilder#MenuBu...> > > http://wiki.droiddocs.net/Reference:Android.widget.MenuBuilder#MenuBu... >  kindly guide me. > > On Wed, Dec 10, 2008 at 5:51 AM, Charlie Collins >

[android-developers] Re: How to make an application run at boot-up?

2008-12-11 Thread Charlie Collins
er you can start your activity from within the Broadcast > receiver? > > On Dec 10, 5:01 am, Charlie Collins <[EMAIL PROTECTED]> wrote: > > > Re-reading your question, I may not understand exactly what you want > > to do on second thought.  I use the receiver approach t

[android-developers] Re: How to make an application run at boot-up?

2008-12-10 Thread Charlie Collins
" (meaning Activity) at boot time? That would be annoying for users (unless it's a special case, closed platform only for your corporate users or something - and even then still annoying). On Dec 10, 5:56 am, Charlie Collins <[EMAIL PROTECTED]> wrote: > You need to create

[android-developers] Re: How to make an application run at boot-up?

2008-12-10 Thread Charlie Collins
You need to create a BroadcastReceiver, use the RECEIVE_BOOT_COMPLETED permission in the manifest, and catch the ACTION_BOOT_COMPLETED action. http://code.google.com/android/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED On Dec 9, 6:05 am, VVPrasad <[EMAIL PROTECTED]> wrote: > Hi, >

[android-developers] Re: MenuBuilder

2008-12-10 Thread Charlie Collins
Yes. It's not called "MenuBuilder" but the Menu class has methods to let you add MenuItems in a variety of ways. http://code.google.com/android/reference/android/view/Menu.html On Dec 10, 1:00 am, "diya blore" <[EMAIL PROTECTED]> wrote: > Hi All,Do we have  MenuBuilder object in android api's?

[android-developers] Re: Contact insertion successfull...But contact not be viewed through contacts app

2008-12-10 Thread Charlie Collins
I believe the built in Contacts app is using the "My Contacts" group, not just all of the contents of the People table, etc. Looks like (at a quick glance) you are putting a record in People just fine, but not also putting the record in the group. You might find it easier to use the static "crea

[android-developers] Re: Web Service and Authentication

2008-12-04 Thread Charlie Collins
Well, the question involved kSOAP, which is indeed what most people use to build a SOAP client on Android (and it's also used on other mobile platforms). The question was vague, yes, but I believe he is trying to make a SOAP over HTTP client on Android. On Dec 3, 1:24 pm, Michael <[EMAIL PROTECTE

[android-developers] Re: Web Service and Authentication

2008-12-03 Thread Charlie Collins
That's sort of a big question - once again it depends what you mean by "web service" (though I assume you mean SOAP over HTTP by your kSOAP comment), and it depends what you mean by "secure." The best quick and dirty way for SOAP and HTTP is to simply use basic authentication and SSL. If you ente

[android-developers] Re: my PacMan version released

2008-12-02 Thread Charlie Collins
Yeah that seems like it's asking for trouble there ;). On Dec 2, 5:27 pm, Ralf <[EMAIL PROTECTED]> wrote: > Just out of curiosity, isn't this name already licensed by a game > company that actually has a very similarly named game already > available on market?http://www.namcogames.com/corporate/p

[android-developers] Re: open and show the database

2008-11-24 Thread Charlie Collins
It looks like you are trying to use an anddev example there (http:// www.anddev.org/working_with_the_sqlite-database_-_cursors-t319.html), but you have random stuff commented out, and that example says at the top of the page "Compatible for SDK version m3-xxx or older". If you are trying to adapt

[android-developers] Re: What are the capabilities of a Web View?

2008-11-21 Thread Charlie Collins
Android has a pretty capable web browser from what I have seen (sans Flash). It can run several of my GWT apps, for example, and JavaScript/XHR are usually what many other mobile browsers cannot handle. Also, I believe that yes, the WebView does allow you to bind from the running application proc

[android-developers] Re: error in opening file in fileexplorer application

2008-11-21 Thread Charlie Collins
Asif k <[EMAIL PROTECTED]> wrote: > Hi All, > > anyone is aware of which intent filters are nedded in manifest.xml > > On Nov 20, 6:13 pm, Charlie Collins <[EMAIL PROTECTED]> wrote: > > > I am not familiar with that particular application, but it looks like > > you

[android-developers] Re: Location-based Service APIs

2008-11-20 Thread Charlie Collins
I am not sure I follow the question here, in terms of Mock vs "actual" (are you using the emulator, or an actual device, and if you are using the emulator remember you have to send a location to it before it will have a location set, if you just start it up, it won't know where it is - use the DDM

[android-developers] Re: error in opening file in fileexplorer application

2008-11-20 Thread Charlie Collins
I am not familiar with that particular application, but it looks like you need the Intent and IntentFilter setup correctly for the action "action=android.intent.action.VIEW data=file:///sdcard/1.txt". Sorry if that's obvious, but does your manifest have a filter for that action, which specifies t

[android-developers] Re: Unable to view "M5 to 0.9 Porting and Migration Tips"

2008-11-08 Thread Charlie Collins
This is not the same document you mention there, but have you seen this information (it's fairly comprehensive)?: http://code.google.com/android/migrating/m5-0.9/changes-overview.html http://code.google.com/android/migrating/m5-0.9/changes.html On Nov 7, 10:45 pm, Aniruddha <[EMAIL PROTECTED]>

[android-developers] Re: Quick method for capturing country...

2008-11-02 Thread Charlie Collins
You can get the SIM country, and network country, from TelephonyManager. http://code.google.com/android/reference/android/telephony/TelephonyManager.html That's not location aware of course, it's just where the SIM and network are registered, but that may be more appropriate anyway, depending on

[android-developers] Re: Using JmDNS in emulator

2008-11-02 Thread Charlie Collins
The emulator is acting as it's own device on it's own network segment (behind a virtual router), basically. http://code.google.com/android/reference/emulator.html#emulatornetworking So, it's not really on the same "LAN." The emulator has aliases for the DNS servers the host machine has, and you

[android-developers] Re: GWT 1.5.1 application on Android 1.0 emulator

2008-10-29 Thread Charlie Collins
See your other thread on this topic: http://groups.google.com/group/android-developers/browse_thread/thread/3992944b54178. GWT 1.5.3 fixes this. On Oct 29, 6:04 am, "Stefano Cannata" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 24, 2008 at 9:18 AM, Stefano <[EMAIL PROTECTED]> wrote: > > Hallo everyb

  1   2   >