[android-developers] APK Download
Hi I am working for a company that implemented a network authentication topology for people to access the internet over a Huge WiFi network. The device they are using to manage this is called RUCKUS. it allows users that are unauthenticated to access pages and downloads if there IP address or URL's are inside the ALLOWED LIST of the RUCKUS network device. So my company created an application that the users can use to log and get authenticated to the network so they can browse the internet. Problem is I allowed the google play store in the ALLOWED LIST but it only allows the unauthenticated users view and surf the play store, Once a user clicks install it refuses to download. (as if it is downloading not from google play store Is there a way I can find the domain of where the APK's are sent from so i can allow that on the RUCKUS device which should then allow people to download the app using the play store Please contact me if you have any idea's that might help me Regards Neil -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/8bc797fa-d30e-416f-bc7d-b61fedcb96a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] How APK install works
Hi I am currently working on a Network project where users get access to the internet once they have registered. We are trying to add a feature where the user can register through the APP instead of through a web page(but still connected to the unregistered Network) Sad part is the unregistered Network does not allow any network traffic that is not given permission. We have given permission to https://play.google.com. This did not solve the problem. The user could now go to the play store view all the apps but can not download. So how does the installation of the APK's work, is it downloaded from an external site then pushed to the device? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/80efe8a7-6e22-4c7f-a164-7b3ba114b009%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] KitKat x86 (API 19 / 4.4.4) not working in Android Studio 2.0 emulator
Hey there, I'm not able to get *KitKat x86 *working on AVD emulator in Android Studio 2.0. Is there a known problem? It's stuck on Android boot screen, and in logcat it's an infinite loop of NPEs.. also, /system and /data mounts are stuck in read-only. With all of the same VM settings (memory, capacity, etc.) Jellybean x86 API 18 works. So does Lollipop x86 API 21. Also, KitKat ARM (armeabi) seems to work. Here's a gist of my logcat (https://gist.github.com/mansilladev/a4b29d7f84d4009aa70e3b975ac1f9a7) -- it's about 350K long (maybe first 20 seconds of boot). Lastly, I've let it run for 20+ minutes, and it's in the same state. Favor: If you've got Android Studio 2.0 installed, would you mind spinning up the KitKat x86 to see if you can get it to work -- that would be swell. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/72ce29dd-85a3-4c23-b5ad-32aa4b214cdd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Re: How to perform multiple queries from different tables and show in single list view
just use inner join inn your query . maybe it will help you. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Sudden Drop in App Usage and New Users
I have had two apps in the last couple weeks that had sudden drops in the market. They're in the same position in the market app results. But the daily New Users has went from 400 to 45. What can explain such a huge drop in New Users? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] SetWallpaper questions!
Hi, I made a wallpaper app and right now it does this: case R.id.bSetWallpaper: Bitmap whatever = BitmapFactory.decodeStream(getResources().openRawResource(toPhone)); try{ getApplicationContext().setWallpaper(whatever); }catch(IOException e){ e.printStackTrace(); Instead of the Set Wallpaper button automatically setting the image as the wallpaper, I would like it to ask lockscreen or homescreen and then bring the image up in the gallery for cropping. Can anyone help me on this please? I am a bit of a noob and still going through tutorials so please go easy on me. Thanks for any help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Im getting this error - the application has stopped unexpectedly .. Please help me.
Here is my code: when i click the button it says the error message .. package test.TOE; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class TOEActivity extends Activity { /** Called when the activity is first created. */ Button start; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.table); start = (Button) findViewById(R.id.button1); start.setOnClickListener(new OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub Intent intent = new Intent(v.getContext(), Table.class); startActivityForResult(intent, 0); } }); } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is there any way of providing a prebuilt database within an app?
We are building an app which contains a list or translations. Currently, on first run, we have to build the database from an XML source file, which contains our words to watch for and the appropriate translation word. This building of the database is starting to take quite a while as our list of words increases in size. The question is this: Is there a way that we can create a Database file containing our words, during development and then use that database within the app, rather than having to build the database on first launch? Thanks for any pointers! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Locale for Spanish missing?
what about FILIPINO DIALECT ? do you how to get into this ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] print Via USB cable using micro usb to standar usb cable?
I initially developed an application that able to print image and text directly using usb cable. Is there anyone who already implemented this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android app as background service
Hi All, I want to create an Android app as background service. Specifically . I want the app to respond when there an incoming call and do some function getting the caller information. Any pointer will be appreciated ! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Google+ App consumes phone memory
Hi All, I installed Google + app for android in my Samsung Galaxy ACE. It got installed in SD card according to the Application Manager However when I check back the phone memory usage , it shows me that 17 mb less. For this reason I am getting low phone memory warning and unable to use the app. Since it is installed in SD card it should have been consuming memory in SD card not in phone memory. When I uninstall the app I got the phone memory back. Thanks Neil http://neilghosh.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Google+ App consumes phone memory
Thanks Daniel and Steven for the explanation ! My phone has only 181 Mb of phone memory, so I am not able to install more than 10 apps or so.And because above reason moving the apps to SD card also does not help. I understand this is a Developers' forum, Can anybody suggest me android user's forum or any way I can contact the developer of the apps ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] XDR
I'm trying to get XDR built for android, and I was looking at sysroot/ usr/include/linux/sunrpc/xdr.h and that's empty. For the most part, everything in this directory seems largely unimplemented. Does anybody have this stuff working? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android 2.2 can only support 2 concurrent bluetooth connections?
I'm doing the same, extended the Bluetooth Chat example in a similar way to you. Not tried with 4 devices yet, your experience is worrying! Any updates? Are you doleing out from a Collection of 7 UUIDs? My Asus EeePad or Nexus One can't sustain a Bluetooth audio stream at the same time as one of my connections, even if there's no data traffic. On Aug 31, 9:19 pm, novakom mnovakou...@gmail.com wrote: I am developing an app which will have multiple phones communicating together concurrently via bluetooth. To this end, I extended the BluetoothChat example to support multiple simultaneous connections. Once I got it working with 3 phones, I ramped up to 4 but have discovered that it appears that phones running Android 2.2 can only support 2 simultaneous bluetooth connections, while phones running 2.3.4 can support 3 (at least, if not more). Can anyone confirm this as a known bug for 2.2? It would be good to know if this is just a hard limitation. Phones I am testing with: HTC Incredible (2.2) Nexus S (2.3.4) Nexus 1 (2.3.4) Nexus 1 (2.3.4) Here's how I determined that there is this hard limit: My code extends the BluetoothChat sample program, as I said. Unfortunately I cannot share it right now (company legal limitations) but it's basically the same as the original except that all threads are not killed when new connections are made, all ConnectThread and ConnectedThread objects are stored in an array, and I kick off a new AcceptThread whenever an incoming connection is turned into a ConnectedThread. After instrumenting my code with lots of debug, what I've found is that once my 2.2 device (the incredible) has established 2 connections, it will literally hang at either the accept() in the AcceptThread or at the connect() in the ConnectThread. This is true with whichever order of connections are made. For example, if I do the following: 1. Incredible NS 2. Incredible N1 (1) 3. Incredible N1 (2) or 1. Incredible N1 (1) 2. Incredible N1 (2) 3. Incredible NS or 1. Incredible N1 (either) 2. Incredible NS 3. Incredible N1 (either) or 1. NS Incredible 2. N1 (either) Incredible 3. N1 (either) Incredible In all cases, the Incredible will Always hang on step 3, whether it's on the connect() in the first 3 cases, or the accept() in the last case. Debug shows that it hangs specifically on those calls (not the RFComm socket creation calls or anything else). Now, there are other potential connection orders but these are the basic ones that need to work, so I'm not worried about interleaving connects and accepts right now. The other interesting thing is that I instrumented an end program method from the menu which calls cancel on all open threads. According to the SDK, when you call close() on an open hanging socket, it is supposed to throw an error. Well, if the app has already hung on either accept() or connect() in any of the scenarios above, then the close() call hangs as well and I have to forceclose the program. Other info: - Using another N1 running 2.3.4, I found that I didn't have any trouble connecting all 4 phones as long as the incredible wasn't in the mix. - Also, when a phone running 2.3.4 with 2 active connections tries to connect to the incredible while the incredible has 2 other active connections, the phone running 2.3.4 fails to connect and does not hang, while attempting the connection in reverse has the (now) expected hang. - Also tried to connect 4 phones with a Samsung Infuse (2.2) and another N1 running 2.2. Both cases had similar hangs (cannot exhaustively check this thanks to limited access to the devices). - When trying to establish a 3rd connection with a device which is not there (turned off the bluetooth on one of the N1s), the connect() call does NOT hang. However, if I then turn on BT on the 3rd phone and try to reconnect, it's back to hanging at connect(). Therefore there definitely appears to be some kind of connection management problem when running 2.2. - If I make 2 connections on the incredible, then close one, I can open another. All closing/opening works fine as long as I'm only trying to manage 2 connections. Anyways, as I said, if anyone can confirm that I simply cannot use my 2.2. device for testing more than 2 concurrent connections, that would be very helpful. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Is it possible to fix the orientation of a particular view in Honeycomb?
Thanks Zsolt for your reply. But I do no actually understand because it seems we are solving different problems. So in your solution, if I rotate the device, will A be rotated? If it's, then this does not work for me. On Jul 1, 10:45 am, Zsolt Vasvari zvasv...@gmail.com wrote: Yes. I do this all the time. Let's say you have a vew A layout: Create a A-port layout, which is just a copy of the portrait oriented A Create a new A layout that include A-port layout-land: Create a A-land layout, which is just a copy of landscape oriented A Create a new A layout that include A-land layout-xlarge-v11 (or just layout-xlarge): Create a new A layout that include A-land. It's a copy of the A from layout-land So, with this setup, on Honeycomb (or any XLARGE device, depending on the folder you used), the layout used will always be layout-land. On other devices, it will use the appropriately oriented layout. On Jun 28, 6:10 pm, Neil wan...@gmail.com wrote: Hi guys, In my activity I have a SurfaceView which I want to lock the orientation when rotating the device. But I still want other views in the activity to be rotated with the device which means I can not use Activity.setRequestedOrientation to lock the orientation. So is there a way to achieve this? Thanks.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Is it possible to fix the orientation of a particular view in Honeycomb?
Thanks Marcin. Do you mean I lock the activity orientation and rotate the views by myself? We also tried this but the problem is we can not rotate the Honeycomb system bar which is unacceptable. Or do you mean after the activity rotation, I rotate my SurfaceView back to the desired orientation? This also does not seem to work because I do a directly memery copy from my native buffer to the native window of the SurfaceView. So once the view is rotated by the system, my buffer does not match it and setting the rotation simply rotates the wrong data. On Jun 29, 5:26 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 28 June 2011 12:10, Neil wan...@gmail.com wrote: Hi guys, In my activity I have a SurfaceView which I want to lock the orientation when rotating the device. But I still want other views in the activity to be rotated with the device which means I can not use Activity.setRequestedOrientation to lock the orientation. So is there a way to achieve this? I am afraid you can't lock just view with framework but rotate the activity. You may want to listen to orientation change and rotate the view in code, so no matter what's device orientation, your view will remains 'unchanged'. And do not foget to care rotation right (so user can rotate the activity around the clock, not just 90 degs) Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray* http://bit.ly/dateintraypro - current date at glance... WebnetMobile on *Facebook http://webnetmobile.com/fb/* and *Twitterhttp://webnetmobile.com/twitter/ * -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: No Netbeans support?
Built HelloWorld using NetBeans and Android in about 10 mins, nice offering http://bit.ly/jS9DpO -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is it possible to fix the orientation of a particular view in Honeycomb?
Hi guys, In my activity I have a SurfaceView which I want to lock the orientation when rotating the device. But I still want other views in the activity to be rotated with the device which means I can not use Activity.setRequestedOrientation to lock the orientation. So is there a way to achieve this? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: android celebrites api
Once again, Dollywood is left flat. On Jun 17, 6:07 pm, nexbug gsuku...@gmail.com wrote: Would there be some basic support for drag and drop in this api? Also hopefully these would be extensible to Tollywood and Mollywood in later versions.? When can we get a preview/trailer sdk? -g -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Picture Transfer Protocol in Honeycomb
Hi Guys, Honeycomb includes build-in support for Picutre Transfer Protocol. What exactly does this mean? Does this mean I can connect my digital camera to the tablet and import pictures from the camera to the tablet? I guess this requires the tablet to have the USB Host support? Or does it mean I can easily export the pictures from the tablet to a PC? What kind of functionalities an application can provide by leveraging this feature for example? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Something similar to CALayer core animation in Android?
Hi, I'm porting an iOS app to Android. The app uses a compass view in order to show the current heading/bearing. The compass rotation (bitmap) works great in iOS, using CALayer CoreAnimation. But I'm appearing difficulties under Android. Basically I'm getting the sensor information and I'm sure to have at least the heading (with reference to magnetic north) correctly and with a reasonable frequency. But if I try to apply the heading value to a bitmap in order to rotate the image, the framerate is 1 per minute and the drawing is... strange. Here is the code, which is used if a new heading value is available (heading in degrees, iv is an ImageView) : Bitmap bmp = BitmapFactory.decodeResource(getResources(), R.drawable.compass_background); int w = bmp.getWidth(); int h = bmp.getHeight(); Matrix mtx = new Matrix(); mtx.postRotate(-heading); Bitmap rotatedBMP = Bitmap.createBitmap(bmp, 0, 0, w, h, mtx, true); BitmapDrawable bmd = new BitmapDrawable(rotatedBMP); iv.setImageDrawable(bmd); It seems, this is not the way to go. What other opportunities do I have? Kind regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Webview cache FALLBACK crash?
Hiya I've scoured the net for days, but I can't work this one out. I had a WebView that uses the HTML5 cache manifest file. All seems to work fine, I can view pages offline etc, except when I try and view a page that isn't in the cache, then my app restarts or quits. Any ideas? Perhaps I can check to see if a page is cached before I let the webview visit it - but how do I do this check? My test device is a Hero running the standard 2.1 (ie as HTC intended). Perhaps this is just an issue with 2.1? I'm assuming the caching is working ok - certainly seems to, though Astro can't find any files on the device with my app name.. Help! Thanks :) Neil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Link between NetworkInterface and NetworkInfo
Is there a link between NetworkInterface and NetworkInfo? NetworkInterface tells the IP address, and NetworkInfo tells me the type, but how do I make the connection between IP address and type? Thanks Neil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] android service
I have a question regarding on accessing a service on a second activity executed from main activity. do i have to create another service connection as i have created on the main activity. thanks for replies... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LDAP connection error
On Jul 12, 7:15 am, Kritzli pfister.ta...@googlemail.com wrote: Ok here's the actual problem: Everytime I try to connect to the server I get this error: 07-12 13:33:50.561: WARN/System.err(292): LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to serverhttp://dc1.xyz:80: java.io.IOException: An error occurred while attempting to establish a connection to serverhttp://dc1.xyz:80: java.net.UnknownHostException:http://dc1.xyz') It looks like when you're creating the LDAP connection, you're supplying a hostname of http://dc1.xyz; and a port of 80. A hostname should simply be a resolvable name and not a URL (e.g., just dc1.xyz). However, it also looks like you're supplying information for a web server rather than a directory server. I would recommend checking your code to ensure that you're actually trying to connect to an LDAP server and make sure that you just put in the hostname rather than a URL. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to make a imageview at right of linearlayout
Hi Give layout_width=wrap_content for ImageView Thanks Neil On Mon, Jul 5, 2010 at 2:25 AM, cindy ypu01...@yahoo.com wrote: Hi All, In the linearlayout, I need to put the image at right. I have tried a lot of method, none of them works. Can someone point out what is wrong? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:id=@+id/logo_block android:padding=10px android:layout_height=wrap_content ImageView android:layout_width=fill_parent android:layout_height=fill_parent android:gravity=right android:layout_alignParentRight=true android:src=@drawable/logo_poweredby/ /LinearLayout Thanks! Cindy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Request for test of a game on an Evo
Thanks Lance, that's appreciated. I've had a few people tell me they're confused by the control scheme, which surprised me slightly due to it being the standard one for top- down racing games - e.g Super Sprint, Super Off Road, Micro Machines. But I guess I'm just getting old and the youngsters these days aren't familiar with those classics :). I'm adding an easy mode where the car goes slower, so hopefully that will help. And I might try adding the top edge of a steering wheel at the bottom of the screen, to see how that works. Oh, and if someone doesn't understand an analog clock then I guess I've got my work cut out explaining it! Neil On Jul 3, 2:40 pm, Lance Nanek lna...@gmail.com wrote: Works as you intended on my Evo here. I can see how some users might be confused, though. The control scheme you've chosen sometimes results in the user tapping the left side of the screen and the car turning away from their finger, not always towards it. So if the user is expecting the car to sort of go where they are touching, they could get confused. It's not like there are any buttons on the screen, with say a circular arrow indicating what direction the car would turn, so someone who skipped the tutorial might just assume, given a blank map, that it is a touch to move to location sort of interface, which is more common. Similarly, sometimes the car is facing down. So a user might tap the left side of the screen and expect the car to turn towards the left side of the screen, but it won't. The user's left and car's left are different directions then. Ask a person, look to your left, and they will make much fewer mistakes than if you ask them, look to my left. I remember reading something from someone who worked as a cashier who duly noted a similar issue with customers often just mistaking their orientation for the cashier's when talked to. Lastly, analog clocks are less common nowadays and the Market has users who are not native speakers besides. Would a non-native speaker understand to the car's left better than anti-clockwise? Beats me. Bizarre stuff like this is what usability studies are for, I guess. On Jul 1, 2:12 am, Neil neil.wilkin...@gmx.com wrote: Hi, Can someone help me out and try a game I've released on an Evo? A user has reported that the controls are the wrong way round on the device. Like most arrogant developers :) I initially thought dumb user error, but I suppose it *might* draw with the Y axis reversed. The game is Pocket Racing Lite. Touching the left side of the screen should turn the car anti-clockwise, and the right side - clockwise. Thanks, Neil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Request for test of a game on an Evo
Hi, Can someone help me out and try a game I've released on an Evo? A user has reported that the controls are the wrong way round on the device. Like most arrogant developers :) I initially thought dumb user error, but I suppose it *might* draw with the Y axis reversed. The game is Pocket Racing Lite. Touching the left side of the screen should turn the car anti-clockwise, and the right side - clockwise. Thanks, Neil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Hey Android Team: Can someone please update the platform versions web page?
In the Resources section of developer.android.com, the Platform Versions has not been updated since the Nexus One was released. I would really like to know the distribution of 2.1 phones. Bonus points if you can automate this process so the page is updated every 2 weeks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Drawing to MapView Incredibly Slow
Only do the real work when something relevant has changed, such as the map center. Then draw to a Picture. In draw, just draw the Picture every time. Neil http://l6n.org/android/ On Feb 10, 1:11 am, aspekt9 aspe...@gmail.com wrote: In my app I am drawing bus routes on top of a MapView. The routes have anywhere between a dozen and a few hundred GPS coordinates that describe the route that the bus takes. The problem I'm having is that once I draw out all these lines using drawLines panning/zooming the MapView is incredibly slow (even clicking the 'Back' button takes a minute to happen). I'm not sure how relevant it is, but I put in some debug code then checked the logcat output and the MapView is repeatedly calling the draw() method of the Overlay whether anything has changed or not. This is happening several times a second and is causing a massive amount of garbage collection to happen (2-3 MB every second). Does anyone have any ideas/suggestions for a method to try and speed this up? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Using WifiManager to connect to a network
I can't help with your protocol question, but the reason why specifying the SSID isn't working is because it needs to be a quoted value, e.g. wifiConfig.SSID = \test\; Neil On Feb 2, 8:30 pm, Daniel Rolph d...@rolph.com wrote: After digging around a little, I was able to put together the code to programmatically connect to an open network/AP. For some reason, specifying the SSID causes the code not to connect. WifiConfiguration wifiConfig = new WifiConfiguration(); wifiConfig.BSSID = 00:0C:41:F5:B0:08; wifiConfig.priority = 1; wifiConfig.allowedKeyManagement.set(KeyMgmt.NONE); wifiConfig.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP); wifiConfig.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPEN); wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); wifiConfig.status=WifiConfiguration.Status.ENABLED; WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); int netId = wifi.addNetwork(wifiConfig); wifi.enableNetwork(netId, true); I am curious about the behavior of the network activity that I am seeing. The N1 is constantly broadcasting Probe Requests. The Access Point is sending out Probe Responses. When I enable the network with the SDK, the N1 sends out a Probe Response with the SSID of the AccessPoint (probably determined from the Probe Response). The N1 then sends out an Association Request to the AP and negotiates the connection. Why can't I initiate an Association Request to the AP prior to receiving the AP Probe Response? Basically, I would like to already have the AP defined in my WifiConfiguration and be sending Association Requests prior to being in range of the AP. Is this possible or am I constrained by the protocol? Thank you very much! Dan On Feb 1, 2010, at 8:21 AM, Daniel Rolph wrote: Hello everyone, I am using a Nexus One with 2.1 SDK. I am having problems with a module in my application connecting programmatically to a network/AP. The code snippet that I am using is: WifiConfiguration wifiConfig = new WifiConfiguration(); wifiConfig.BSSID=00:0C:41:F5:B0:08; wifiConfig.SSID=test; WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); wifi.setWifiEnabled(true); int netId = wifi.addNetwork(wifiConfig); wifi.enableNetwork(netId, true); Monitoring the network, I see probe requests transmitting from the device, but I do not see an Authentication/Association request to the access point that I specify in the BSSID. Ultimately, I will perform a scan to determine valid AP BSSIDs, but for testing, I simply want to connect to a test AP which is in close proximity to my Nexus One. I have set the appropriate permissions in my manifest xml and am not seeing any negative log statements from adb. Any pointers or suggestions with using WifiManager to perform this action would be very appreciated. Thank you very much! Dan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MotionEvent and KeyEvent causing excessive garbage collect (GC) calls
Actually, better not do this - see Dianne's message in thread 'OpenGL Fillrate Issues'. On Jan 23, 1:47 pm, SnowCrash jason.poli...@gmail.com wrote: Thanks for the tip! I'll give it a go. On Jan 20, 9:03 pm, Neil neil.wilkin...@gmx.com wrote: Just ran into this myself. It seems calling event.recycle() in the motion event handler resolves it. Regards, Neil On Jan 6, 3:38 pm, SnowCrash jason.poli...@gmail.com wrote: anybody out there got any clues on this? Thanks On Jan 4, 1:16 am, SnowCrash jason.poli...@gmail.com wrote: Hi folks, I'm running into some issues with input events andgarbagecollection, or more precisely object allocation. I am creating a game and have pretty much got my head around the OpenGL environment. I've digested all the relevant material I could find regarding performance, memory allocation etc (and watched the excellent presentation by Chris Pruett -http://code.google.com/events/io/2009/sessions/WritingRealTimeGamesAn...). I've pretty much eliminated any object allocations after initial setup from my game (which is still in its infancy), but I'm still getting a bunch of GC calls, like this: DEBUG/dalvikvm(52): GC freed 10398 objects / 880928 bytes in 139ms This is killing my frame-rate and creating a jittery experience, which is no good. Running DDMS I see that the culprit isMotionEventand KeyEvent. Allocations like: 656 float[] 3 android.view.MotionEvent init 656 float[] 3 android.view.MotionEvent init 656 float[] 3 android.view.MotionEvent init 656 float[] 3 android.view.MotionEvent init 656 float[] 3 android.view.MotionEvent init (there are many more, this is just a snapshot) It seems that every time aMotionEventis recorded, a float array is created? I am just using the onKeyDown event in the main Activity to broker the key event to my game thread. I'm also sleeping (16ms) in this method call (as per Chris Pruett's recommendation) to save in excessive notifications. Is there something special I can do to eliminate these allocations? Perhaps there is an alternate way of obtaining key events and or trackball events? (which also are a cause of several allocations) Thanks in advance... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Bitmap formats
There are several bitmap formats: ALPHA_8, ARGB_, ARGB_ and RGB_565 but where are they described? How am I supposed to know which one to use? Regards Neil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MotionEvent and KeyEvent causing excessive garbage collect (GC) calls
Just ran into this myself. It seems calling event.recycle() in the motion event handler resolves it. Regards, Neil On Jan 6, 3:38 pm, SnowCrash jason.poli...@gmail.com wrote: anybody out there got any clues on this? Thanks On Jan 4, 1:16 am, SnowCrash jason.poli...@gmail.com wrote: Hi folks, I'm running into some issues with input events andgarbagecollection, or more precisely object allocation. I am creating a game and have pretty much got my head around the OpenGL environment. I've digested all the relevant material I could find regarding performance, memory allocation etc (and watched the excellent presentation by Chris Pruett -http://code.google.com/events/io/2009/sessions/WritingRealTimeGamesAn...). I've pretty much eliminated any object allocations after initial setup from my game (which is still in its infancy), but I'm still getting a bunch of GC calls, like this: DEBUG/dalvikvm(52): GC freed 10398 objects / 880928 bytes in 139ms This is killing my frame-rate and creating a jittery experience, which is no good. Running DDMS I see that the culprit isMotionEventand KeyEvent. Allocations like: 656 float[] 3 android.view.MotionEvent init 656 float[] 3 android.view.MotionEvent init 656 float[] 3 android.view.MotionEvent init 656 float[] 3 android.view.MotionEvent init 656 float[] 3 android.view.MotionEvent init (there are many more, this is just a snapshot) It seems that every time aMotionEventis recorded, a float array is created? I am just using the onKeyDown event in the main Activity to broker the key event to my game thread. I'm also sleeping (16ms) in this method call (as per Chris Pruett's recommendation) to save in excessive notifications. Is there something special I can do to eliminate these allocations? Perhaps there is an alternate way of obtaining key events and or trackball events? (which also are a cause of several allocations) Thanks in advance... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Confusion about using Camera to take pictures from my application
I'm trying to do this too, except I want a full-sized picture. I have it working. I'm using your code, but without all the extras (maybe those extras are causing your error?) My code: File tmpFile = new File(Environment.getExternalStorageDirectory(), tmp_ + String.valueOf(System.currentTimeMillis()) + .jpg); Intent imgCapture = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); imgCapture.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(tmpFile)); // in the activity result: if (resultCode == Activity.RESULT_CANCELED) { return; } try { imageView.setImageBitmap(BitmapFactory.decodeStream(new FileInputStream(tmpFile))); } catch (Exception e) { Log.e(Constants.LOG_TAG, Unable to load image content, e); } tmpFile.delete(); One problem with this is that my app doesn't have permission to delete the temp file. I can't point the camera to my app's files/ directory because the Camera activity doesn't have access to my files. Do you know how to provide a content provider URI that both activities would have read/write access to? I haven't had the chance to read much about content providers yet... The other problem is, this will only return a 512x384 image. Without the EXTRA_OUTPUT the image returned is even smaller (192x256). For you, this might be okay. You can probably scale the image down to 64x64 using some Bitmap or Matrix methods (not sure how to do that). For me, this is unacceptable, and from what I can tell the only way to get a full size image is to use the Camera API and ditch the Camera activity altogether :-(. See the comments here: http://code.google.com/p/android/issues/detail?id=1480 Btw, if you are using the external storage to store the picture, you may want to check that it exists first: String storageState = Environment.getExternalStorageState(); if (!Environment.MEDIA_MOUNTED.equals(storageState)) { // If there's no storage media, our intents won't work. return; } Let me know if you find anything more! I'm going to keep looking... To everyone else reading this: Is there a way to get a full sized picture from the Camera activity? Or do I have to roll my own? That would be SUPER lame. If I do have to make my own activity, can someone point me to some example code? Thanks in advance! -- Neil On Jan 7, 7:10 am, rben ray.benja...@gmail.com wrote: I've been trying to write an application that uses the Camera App to take a picture. So far, the only thing I've been able to get back successfully is a tiny bitmap picture. I've found several other posts related to this topic that have code that is reported to work, but it does not work for me. I'm hoping someone can steer me in the right direction. Below is the code I am using currently, but it causes the application to blow up. private void takePicture(final int x, final int y, String description) { // create a file on the SD card File file = new File(Environment.getExternalStorageDirectory(), tmp_ + String.valueOf(System.currentTimeMillis()) + .jpg); // Create the URI that tells the camera where to put the picture. mOutputFileUri = Uri.fromFile(file); statusLine.setText(URI = + mOutputFileUri); mIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE) .putExtra(MediaStore.EXTRA_OUTPUT, mOutputFileUri) .putExtra(PIC_X, x) // x coordinate of square .putExtra(PIC_Y, y) // y coordinate of square .putExtra(PIC_DESCRIP,description) .putExtra(return-data, true) ; startActivityForResult(mIntent, PIC_FROM_CAMERA); } Ultimately, I want to be able to get the picture back and do two things with it: create a 64x64 icon that is displayed by the Android application, and upload the picture to a web application. Thank you for any help or advice you can give. Oh, btw, I'm running this on the emulator using Android 2.0 Thanks, Ray -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Controlling my service from main activity
Mark, you're very patient considering it's all explained very well in the docs ;) http://developer.android.com/reference/android/app/Service.html On Dec 10, 4:46 pm, Mark Murphy mmur...@commonsware.com wrote: I see what's happening now... but am struggling to resolve it. When I call unbindService(m_connection), the onDestroy() method of the service is called. This is where I do all my cleaning up and thread stopping. However, in instances where the activity has been paused and resumed, the same call to unbindService() does not result in the onDestroy() method being called. AFAIK, a service will remain in a started state (no onDestroy() call) if: -- somebody called startService() and nobody called stopService(), or -- there are 1+ bindService() calls outstanding (i.e., corresponding unbindService() has not been called) Perhaps I shouldn't be doing my clearing up in onDestroy() - but it still begs the question why doesn't it get called. It means the service is still hanging around. I don't think there are any assurances on timing of when a service started via a bindService() will be stopped after the matching unbindService(). It is possible that Android just hasn't gotten around to it yet. -- 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 Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to remove sms notifications in status bar
Hi Bilal, You can use the NotificationManager cancel method. On Nov 11, 6:17 am, Muhammad Bilal se.bi...@gmail.com wrote: hi, its been a while since i am doing development on android sdk , one of the astonishing i come across that there is np support in the API to remove any notification in the status bar , i am working on an application which looks for every SMS coming and on some specific sms deletes them from the inbox till now its working fine , but the notification bar still showing that u got a new message despite the fact that u have deleted it form sms database , couls somebody suggest some solution how i can accomplish this , thanks regards MB -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Location doesn't have a bundle with satellite count any more?
Excuse me for resurrecting an old thread but there don't seem to be any newer ones. I can't believe there's so little comment on this. The docs for Location still say that getExtras should return satellites. How's it going with you Richard? Regards Neil On Oct 6, 9:53 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: Update to this problem. Version 1.1 of the SDK uses just LocationListener. Version 1.5 introduces GpsSatellite class. Apparently you can get a list ofsatellites, but the satellite count still is delivered as an extra in Location objects whenever LocationListener.onLocationUpdate is called. Version 1.6 breaks this behavior. Apparently, satellite count only comes through the GpsSatellite class. You broke my client Or, am I missing something? Richard Schilling Mobile Operating Systems Engineer Root Wireless On Oct 6, 11:34 am, Richard Schilling richard.rootwirel...@gmail.com wrote: And, here, folks is the exact day the earth stood still in Android Land: TIMESTAMP (UTC) SATELLITE COUNT 2009-10-02 23:24:09.0 8.0 2009-10-02 23:32:53.0 0.0 Is anybody out there ... ? Is anybody at all? Perhaps a new space war started that knocked out oursatellitesand we weren't told.? Mayhem? Armegeddon? Richard On Oct 6, 11:01 am, Richard Schilling richard.rootwirel...@gmail.com wrote: Just upgraded my phone firmware to 1.6, and it looks like Location objects don't have satellite counts in them any more: locMan = (LocationManager)con.getSystemService (Context.LOCATION_SERVICE); Location loc = locMan.getLastKnownLocation (LocationManager.GPS_PROVIDER); Bundle extraBundle = loc.getExtras(); extraBundle is null. So, I can't call extraBundle.getInt(satellites) anymore to get the satellite count. What happened? Richard Schilling Mobile Operating Systems Engineer Root Wireless -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: TTS SMS API
Bump? On Oct 12, 4:34 pm, Neil Perry npe...@gmail.com wrote: Hello there, We're looking on making an app that would interact with SMS's so it could be played via the TTS api. Is there any way we can input into the long press menu of a sms to call it to play the said message. Thanks Neil Perry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] duration and loopiness of sound
I want to get the duration of a ringtone, so I do this: MediaPlayer mp = MediaPlayer.create(context, sound); duration = mp.getDuration(); I have two questions: 1. Is there another way of getting the duration? Maybe I can get it from the library meta data so that I don't have to create a MediaPlayer for it when I don't want to actually play it. 2. How do I find out if the sound is a looping sound? Again, without playing it. Thanks in advance Neil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] USSD
- Im a developer creating a USSD client app, I have a problem on USSD phone session which my android phone turns screen off during my session. Is there a way i can disable screen off when im in USSD mode. Thanks in advance... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] PendingIntent.getService Returns an existing or new PendingIntent matching the given parameters
In the documentation for PendingIntent.getService it says it Returns an existing or new PendingIntent matching the given parameters. What does that mean? I have one notification which calls pendingIntent = PendingIntent.getService(context, 0, new Intent (context, XXXService.class).putExtra(action, 3), 0)); setLatestEventInfo(context, title, text, pendingIntent); I have another notification which calls deleteIntent = PendingIntent.getService(context, 0, new Intent (context, XXXService.class).putExtra(action, 4), 0); And nowhere else in the code that uses these two actions (3 and 4). However when I click on the first notification it invokes onStart on XXXService as expected, but the extra action has the value 4, ie the extra from the second notification. I'm guessing that PendingIntent.getService returns the same PendingIntent both times, ignoring the extras the second time. So how can I have two different notifications with PendingIntents which invoke the same service but with different extras? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: PendingIntent.getService Returns an existing or new PendingIntent matching the given parameters
Sorry, I should have searched this group better before posting. The solution is here: http://groups.google.com/group/android-developers/browse_thread/thread/2b98206d18a0192f/ On Oct 16, 2:59 pm, Neil neilb...@gmail.com wrote: In the documentation for PendingIntent.getService it says it Returns an existing or new PendingIntent matching the given parameters. What does that mean? I have one notification which calls pendingIntent = PendingIntent.getService(context, 0, new Intent (context, XXXService.class).putExtra(action, 3), 0)); setLatestEventInfo(context, title, text, pendingIntent); I have another notification which calls deleteIntent = PendingIntent.getService(context, 0, new Intent (context, XXXService.class).putExtra(action, 4), 0); And nowhere else in the code that uses these two actions (3 and 4). However when I click on the first notification it invokes onStart on XXXService as expected, but the extra action has the value 4, ie the extra from the second notification. I'm guessing that PendingIntent.getService returns the same PendingIntent both times, ignoring the extras the second time. So how can I have two different notifications with PendingIntents which invoke the same service but with different extras? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Notification sound loop
I am setting Notification.sound to the URI of a ringtone and it plays the ringtone. The problem is that the sound loops forever which I understand is the correct behaviour. However that's not the behaviour I want. Is there a way to change it so that it only plays the sound once? Perhaps I can modify the sound in some way before playing it. Thanks Neil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] TTS SMS API
Hello there, We're looking on making an app that would interact with SMS's so it could be played via the TTS api. Is there any way we can input into the long press menu of a sms to call it to play the said message. Thanks Neil Perry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] AnCal implementation
Hi All, I'm working with this simple calendar UI app i have a problem on designing the UI, does anyone has an idea on how they implement the AnCal application. If you wanna know what it is please visit this site : http://vetch.magot.pl/pages/ancal.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Getting the key from a ListPreference
When using a PreferenceActivity to do preferences, the PreferenceScreen can contain a ListPreference. A ListPreference has an array of keys and an array of values. But the PreferenceActivity only writes the values to SharedPreferences. How do I get the key of the item selected from the list? I would have thought this is pretty fundamental, especially if you want to translate your app. Thanks Neil http://L6n.org/android/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Getting the key from a ListPreference
Yes I know that. What I meant was that I can do this SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences (this); String value = pref.getString(key, default value); And it will return the selected value. But how do I get the selected key? On Oct 2, 2:06 pm, Mark Murphy mmur...@commonsware.com wrote: When using a PreferenceActivity to do preferences, the PreferenceScreen can contain a ListPreference. A ListPreference has an array of keys and an array of values. But the PreferenceActivity only writes the values to SharedPreferences. How do I get the key of the item selected from the list? I would have thought this is pretty fundamental, especially if you want to translate your app. ListPreference takes two string arrays. The first string array is what the user sees, and that you would localize. The second string array is what gets stored in the SharedPreferences, and that you would not localize. -- 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 Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Getting the key from a ListPreference
Actually I just repeated what I was trying to do and realised I phrased my question wrong. What I meant was how do I get the selected (localised) value - the code I quoted gets the key as you'd expect. On Oct 2, 3:35 pm, Neil neilb...@gmail.com wrote: Yes I know that. What I meant was that I can do this SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences (this); String value = pref.getString(key, default value); And it will return the selected value. But how do I get the selected key? On Oct 2, 2:06 pm, Mark Murphy mmur...@commonsware.com wrote: When using a PreferenceActivity to do preferences, the PreferenceScreen can contain a ListPreference. A ListPreference has an array of keys and an array of values. But the PreferenceActivity only writes the values to SharedPreferences. How do I get the key of the item selected from the list? I would have thought this is pretty fundamental, especially if you want to translate your app. ListPreference takes two string arrays. The first string array is what the user sees, and that you would localize. The second string array is what gets stored in the SharedPreferences, and that you would not localize. -- 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 Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Getting the key from a ListPreference
That's an idea, but it's messy. I can't believe that the best way to solve this is to repeat that chunk of code everywhere you need it. I could put it in some utility class, but I'm sure there must be a nice neat way of doing it. Neil On Oct 2, 4:02 pm, Mark Murphy mmur...@commonsware.com wrote: Actually I just repeated what I was trying to do and realised I phrased my question wrong. What I meant was how do I get the selected (localised) value - the code I quoted gets the key as you'd expect. Um, probably with minor difficulty. The only way off the top of my head I can think of to do this is: Step #1: Use getResources().getStringArray() to get the keys array Step #2: Find the index of the desired key in that array Step #3: Use getResources().getStringArray() to get the values array Step #4: Use the index from step #2 to get the desired value -- 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 Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Getting the key from a ListPreference
The PreferenceActivity is an almost empty class - it's the usage of the preferences in the application that I was asking about. On 2 окт, 17:21, nEx.Software email.nex.softw...@gmail.com wrote: Hmm, I was under the impression that this was being done from a PreferenceActivity. On Oct 2, 8:18 am, Mark Murphy mmur...@commonsware.com wrote: Does this not work for you? listPreference.getEntry()); That only works from a PreferenceActivity. AFAIK, it does not help if you are looking to get the display value anywhere else. -- 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 Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Just for test, Please ignore
There are test groups for testing. On Sep 24, 10:58 am, Burne Xu burn...@gmail.com wrote: #123*234*3 95452334049545233404 #2 #0 902*23*53901 123*234*3*3*8*8*8 #23#234#22#23 #23*23423*2344 adf9545233404dasfe9545233442 adf9545233404dasfe#23df adf9545233404 jxp...@motorola.com 9545233404 sdfsda9545233404 adf9545233404dasfe 9545233404 9545233404 9545233404sdf9545233404 123129545233404 234*23*238 sdfsda234*23*238 adf234*23*238dasfe 234*23*238 234*23*238 234*23*238*234*23*238 #23sdf#23 #23 sdfsda#23 adf#23dasfe #23 #23 #23#23 #23sdf#23 #239545233404 #23df9545233404 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to dump log on Android?
There are several apps to do that, including the one I wrote: http://l6n.org/android/sendlog.shtml You could also look at http://code.google.com/p/android-random/source/browse/#svn/trunk/Logcat http://code.google.com/p/android-log-collector/ Regards Neil On Sep 15, 11:19 am, Alger, Lin addr...@gmail.com wrote: I wanna write a activity to show log what user wanna see. For example, user may wanna know what happen, if they saw message about some process crashed (Phone, IME, etc.). I got API to write log on SDK, but I don't know how to get log. Could I read it on Java-layer? or I have to write code on native- layer? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Issue in XML parsing
Your error's here: xr.parse(xmlparse); This function takes an InputSource not a String. Regards, Neil On Sep 14, 1:40 pm, Gulfam gulfa...@gmail.com wrote: Hi, I want to parse a string and want to get username and password from this string. Actually its a XML packet and i am passing it to my parsing class as a string Data for parsing is: iq id=3Y4cX-5 to=3224005...@imran-mehmood/Smack from=msn.imran- mehmood type=result query xmlns=jabber:iq:register instructionsPlease enter your MSN Passport e-mail address and password./instructions registered/registered usernameg...@hotmail.com/username password123456789/password x xmlns=jabber:x:data instructionsPlease enter your MSN Passport e-mail address and password./instructions /x x xmlns=jabber:iq:gateway:register/x /query /iq * Here is my parsing class package com.vopium.utils; import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.XMLReader; import org.xml.sax.helpers.DefaultHandler; import android.util.Log; public class VOPXMLHandlerMessenger extends DefaultHandler { private boolean iq=false; private boolean query=false; private boolean username=false; private boolean password=false; private int status; public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } @Override public void startDocument() throws SAXException { //this.myParsedExampleDataSet = new ParsedExampleDataSet(); } @Override public void endDocument() throws SAXException { // Nothing to do } @Override public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { if(localName.equals(iq)){ this.iq = true; }else if(localName.equals(query)){ this.query = true; }else if(localName.equals(username)){ this.username = true; }else if(localName.equals(password)){ this.password = true; } } /** Gets be called on closing tags like: * /tag */ @Override public void endElement(String namespaceURI, String localName, String qName) throws SAXException { if(localName.equals(iq)){ this.iq = false; }else if(localName.equals(query)){ this.query = false; }else if(localName.equals(username)){ this.username = false; }else if(localName.equals(password)){ this.password = false; } } public void characters(char ch[], int start, int length) { if(this.username){ Log.i(Username,+ new String (ch,start,length)); } if(this.password){ Log.i(password,+new String (ch,start,length)); } } public void parseData(String xmlparse) throws IOException, SAXException, ParserConfigurationException { SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); XMLReader xr = sp.getXMLReader(); xr.setContentHandler(this); xr.parse(xmlparse); } } *** and I am facing this Error java.io.IOException: Couldn't open iq id=4oP7A-5 to=3224005...@imran-mehmood/Smack from=msn.imran-mehmood type=resultquery xmlns=jabber:iq:registerinstructionsPlease enter your MSN Passport e-mail address and password./ instructionsregistered/registeredusernameg...@hotmail.com/ usernamepassword123456789/passwordx xmlns=jabber:x:datainstructionsPlease enter your MSN Passport e- mail address and password./instructions/xx xmlns=jabber:iq:gateway:register/x/query/iq at org.apache.harmony.xml.ExpatParser.openUrl(ExpatParser.java:744) at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:300) at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:333) at com.vopium.utils.VOPXMLHandlerMessenger.parseData (VOPXMLHandlerMessenger.java:124) at com.vopium.im.registration.VOPRegistration.getUserCredentials (VOPRegistration.java:165) at com.vopium.im.ui.VOPLoginScreen.login(VOPLoginScreen.java:55) at com.vopium.im.ui.VOPMainContactsList.onCreate (VOPMainContactsList.java:48) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java
[android-developers] Re: GPS coordinates within certain radius based on current location
Hi Martijn I did it like this: private double[] getBoundingBox(final double pLatitude, final double pLongitude, final int pDistanceInMeters) { final double[] boundingBox = new double[4]; final double latRadian = Math.toRadians(pLatitude); final double degLatKm = 110.574235; final double degLongKm = 110.572833 * Math.cos(latRadian); final double deltaLat = pDistanceInMeters / 1000.0 / degLatKm; final double deltaLong = pDistanceInMeters / 1000.0 / degLongKm; final double minLat = pLatitude - deltaLat; final double minLong = pLongitude - deltaLong; final double maxLat = pLatitude + deltaLat; final double maxLong = pLongitude + deltaLong; boundingBox[0] = minLat; boundingBox[1] = minLong; boundingBox[2] = maxLat; boundingBox[3] = maxLong; return boundingBox; } The code is copied from mini_osm.py which you can find here: http://gagravarr.org/code/ Regards Neil http://l6n.org/android/ On Sep 4, 10:39 am, Martijn van der Plaat martijnpl...@gmail.com wrote: Thank you Gary, Is it true that, when i use SQLite and not the Google App Engine, the first algorithm in that GeoBOX story is good enough, because i dont use App Engine? SELECT * FROM Business WHERE Lat (position_lat - d) AND Lat (position_lat + d) AND Lon (position_lon - d) AND Lon (position_lon + d); Last thing i need to know is how to calculate the variable d in the above query, if the box is -say- a 1 mile radius. Greets, Martijn On 4 sep, 08:48, gjs garyjamessi...@gmail.com wrote: Hi, There is a description about a GeoBox algorithm some python source code located here - http://code.google.com/appengine/articles/geosearch.html Regards On Sep 4, 6:42 am, String sterling.ud...@googlemail.com wrote: This is a common problem in GIS. I'd suggest doing a simple check for whether each point is within a simple lat/lon box - that should be fast enough with only 400 points, and should narrow down the list enough to be able to check the distance on just those few. If you're doing this a lot, put the data in SQLite with indexes on lat lon; that way you can do this initial box query easily efficiently. String Martijn van der Plaat wrote: Dear all, In my application I have a list of +400 GPS coordinates which I retrieve from addresses. The application should give me the top X nearest coordinates based on my current location. This application is possible (I think) with the distanceBetween function. But (I think) the application is really inefficient when i iterate through the list of 400 coordinates and check the distance within a certain time interval. Another option is (I think) the proximityAlert function? All coordinates are loaded in this function and when my current location comes in the radius of a coordinate an alert is given. But the downside of this solution (I think) is the high memory usage which implies a short battery life of the Android phone? Please can anybody help me to make the right decision? Greets, Martijn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Http server at localhost
I think jetty is the thing you're looking for: http://code.google.com/p/i-jetty/ Neil http://l6n.org/android/ On Sep 4, 3:11 pm, Haravikk harav...@gmail.com wrote: Does Android include support for Servlets? As you could possibly just use an HTTP servlet to serve-up pages, using JSP as well if that's supported, both are pretty neat ways to do that. Unless you're hoping to use PHP or something for fancy pages, but I'd steer well clear of that personally, and go for the all java solution (JSP served using an HTTP servlet). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Log in to google account without browser?
On Sep 3, 8:23 am, Per Sandström pg.sandst...@gmail.com wrote: Hi, Im currently trying to combine android and google apps engine for a real neat application, not unlikehttp://3banana.com/. However I want to enable the user to login to his google account without opening the browser. I have made some attempts to just simulate the http-posts done, but to no avail. Are there any nice way of doing this google account login in android code? For example, to make my own loginscreen, and then send user/pass to the google apps server and get an aknowledgement if the login information was correct. Take a look at http://code.google.com/apis/accounts/ Neil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Updating Views in a ListView when they may have been recycled
Hi, I've recently got into Android development and am writing a basic podcast app as a learning exercise. I've come up with an issue I can't find a good solution for. Rather than post code (it's getting big!), I'll try and summarise: I have an ExpandableListView showing podcasts and each podcast's episodes in a simple two-level tree. The podcasts are downloaded in a Service, and this Service 'sends' messages by using an interface registered by the main Activity. This interface then uses a handler to update the UI. The child views in the ExpandableListView are LinearLayouts with one TextView and two ViewStubs, one for showing an image and one for showing a horizontal ProgressBar. These layouts are created if needed in my extended BaseExpandableListAdapter's getChildView, or reused by using the convertView supplied. This all works fine and I'm happy with the overall model, except that I can't figure out how to update a download's ProgressBar efficiently when the Activity receives a callback from the Service. How do I get a reference to the correct View to set its progress? I've tried keeping a cached HashMap to track which episode currently has which View instance, but this didn't work due to me recycling the Views via convertView - I found that when more than one download is active the two bars can swap values back and forth. Any help would be appreciated. Thanks, Neil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to use Thread with SurfaceView, ie draw in a separate thread?
I found that too with the LunarLander model - especially when trying to develop a touch and drag style game. Do you know of any other example app/code that demonstrates a better method? On Jul 22, 3:56 pm, Micah mi...@ourmailbox.net wrote: Check out the LunarLander example that comes with the Android SDK. It is a very simple game that runs in it's ownthread(separate from the UIthread). While it's not my favorite design (too much locking) for a large game, for most cell phone games (ie: simple) it gets the job done. On Jul 22, 5:31 am, Streets Of Boston flyingdutc...@gmail.com wrote: A seperatethreadshould not implement/extend SurfaceView or any other view. You still create your GameView as you had before, but you add a new class called (for example) GameRenderer. This GameRenderer will implement aThread. The GameRenderer will execute its 'run()' method at some point. This method should contain a 'while' loop, that only stops/pauses when the game is halting (e.g. halt when onPause is called on your activity; stop when onDestroy is called). In the while loop, get hold of the GameView (actually; get hold of a SurfaceHolder from your GameView) lock it and obtain a Canvas from it when you're about to draw onto it. When done, unlock the canvas. Search a little more on these forums and you'll find more info. On Jul 22, 6:15 am, klirr haskell...@gmail.com wrote: I want to do the drawing in anotherthreadto speed up the game(it is way to slow right now). I was told to do this but don't quite understand why that would speed things up. Is it GameView that should implement Runnable? Should I make thethreadsleep when not drawing? where should I start thethread? package com.android.WWS; import android.app.Activity; import android.content.Context; import android.graphics.*; import android.os.Bundle; import android.view.SurfaceView; import android.view.KeyEvent; import android.view.View; import android.view.View.OnKeyListener; import java.lang.Runnable; import java.lang.Thread; public class WWS extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); GameView gv = new GameView(this); setContentView(gv); gv.setOnKeyListener(new OnKeyListener() { public boolean onKey(Viewv, int keyCode, KeyEvent event) { GameView gv = (GameView) v; if (keyCode == KeyEvent.KEYCODE_DPAD_UP) { gv.decrY(3); v.invalidate(); } else if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT) { gv.decrX(3); v.invalidate(); } else if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN) { gv.incrY(3); v.invalidate(); } else if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT) { gv.incrX(3); v.invalidate(); } return true; } }); } private static class GameView extends SurfaceView implements Runnable { private Paint mPaint = new Paint(); private int x; private int y; public GameView(Context context) { super(context); x = 135; y = 303; setWillNotDraw(false); setFocusable(true); requestFocus(); Threadt = newThread(this); t.start(); } public void run() {} @Override public void onDraw(Canvas canvas) { Paint paint = mPaint; canvas.translate(10, 10); canvas.drawColor(Color.rgb(184,134,11)); paint.setColor(Color.rgb(107,142,35)); paint.setStrokeWidth(1); canvas.drawRect(x, y, x+30, y+7, paint); canvas.drawRect(x+10, y+7, x+20, y+27, paint); canvas.drawRect(x+5, y+27, x+25, y+32, paint); } public void decrY(int length) { y -= length; } public void incrY(int length) { y += length; } public void decrX(int length) { x -= length; } public void incrX(int length) { x += length; } } }- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at
[android-developers] Re: Update message - how to check whether app has run before?
The way you suggested, but add versionCode to the setting name. On Jun 26, 12:40 pm, Anna PS annapowellsm...@googlemail.com wrote: Actually, I have realised that won't work, because it will also show the first time the app is installed. It should only show upon update. So, the question still stands. How can I check whether a user has just installed an update, in order to show an update message? Any ideas anyone? Thanks, Anna On Jun 25, 5:17 pm, Anna PS annapowellsm...@googlemail.com wrote: Hi all, I want to show anupdatemessagefor a new release - the first time the user opens the updated version of my app, a pop-up dialog should appear, saying what's new, with an OK button. After the user has read it once, it shouldn't appear again. Is there any inbuilt Android variable I can check to see whether the user has opened the app before? Of course, I can define my own boolean in the app settings (hasUserSeenUpdateMessage) to check each time the app runs - setting it to false initially, and then true when the user clicks OK. Just wondered if there was a slightly more sophisticated way of doing it, or if that's the way to go :) thanks! Anna --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: xml write
I already answered your question the first time you asked it. On Jun 26, 9:41 am, brilliant winger stw...@gmail.com wrote: HI I can't find it(method) in class xmlpullparser. I would like to write attributes in res/xml/*.xml. maybe, I use the other parser. follow that is samplecode. / InputStream stream = cn.getInputStream(); DocumentBuilder docBuild = DocumentBuilderFactory.newInstance ().newDocumentBuilder(); Document manifestDoc = docBuild.parse(stream); ... ... ... How can I use res/xml/*.xml, instead of stream ? (the stream is urlconnection, ) is possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: xml write
Or actually, I see you're asking a different question, although it doesn't make sense this time. XmlPullParser, as the name suggests, pulls and parses, so it's got nothing to do with writing. You can't write to the resource because that would be modifying the apk and thus breaking the signature. On Jun 26, 1:55 pm, Neil neilb...@gmail.com wrote: I already answered your question the first time you asked it. On Jun 26, 9:41 am, brilliant winger stw...@gmail.com wrote: HI I can't find it(method) in class xmlpullparser. I would like to write attributes in res/xml/*.xml. maybe, I use the other parser. follow that is samplecode. / InputStream stream = cn.getInputStream(); DocumentBuilder docBuild = DocumentBuilderFactory.newInstance ().newDocumentBuilder(); Document manifestDoc = docBuild.parse(stream); ... ... ... How can I use res/xml/*.xml, instead of stream ? (the stream is urlconnection, ) is possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: xmlpullparser input xml?
Context.getResources().getXml(int id) Neil On Jun 25, 10:02 am, brilliant winger stw...@gmail.com wrote: HI / XmlPullParserFactory factory = XmlPullParserFactory.newInstance (); factory.setNamespaceAware(true); XmlPullParser xpp = factory.newPullParser(); xpp.setInput( new StringReader ( fooHello World!/ foo ) ); int eventType = xpp.getEventType(); ... ... ... ... I found this code in android developers site. How can I use res/xml/*.xml, instead of fooHello World!/ foo ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Enable/Disable LocationManager, Help?
See Technique to Avoid, #2 here: http://android-developers.blogspot.com/2009/04/future-proofing-your-apps.html On Jun 22, 2:44 pm, Hastala dev...@gmail.com wrote: So I can't make toggle app for GPS? On 5月30日, 上午10时00分, Jeff Sharkey jshar...@android.com wrote: Presumable the user has disabled them for good reason, and apps should not toggle them behind the users back. You could show a dialog to the user, explaining that you'd likelocationenabled, and then launch into the Settings app using the android.settings.LOCATION_SOURCE_SETTINGS Intent. j On Fri, May 29, 2009 at 6:06 PM, Will wbc...@gmail.com wrote: How do Ienable/disableGPSand Wifi providers? I check to see if they are enabled by using this code: locationManager.isProviderEnabled(gps) locationManager.isProviderEnabled(network) If both are false, I'd like to turnenabletheGPSproviderand/or the Networkproviderso that the above checks would return true. Is this possible? If so, what permissions does it require? I've searched the API and can't find any solutions. Thanks for any help in advance. -- Jeff Sharkey jshar...@android.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Licensing an Android application programatically.
For one thing, it's Secure.ANDROID_ID not System.ANDROID_ID. But the documentation on that is a bit vague. It seems to be related to your Google login information, so that brings up two questions: 1. is it sensitive information? 2. does it change if you log in to another Google account? On Jun 3, 12:09 pm, mobilekid mobilek...@googlemail.com wrote: I would do the same. Get the android ID like this: String android_id = android.provider.Settings.System.getString (this.getContentResolver(), android.provider.Settings.System.ANDROID_ID); Then send it to your back-end and query the number of times you've made the same call or the date you firstly made a call against the unique ID. Hope it helps! On Jun 3, 11:02 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: if i were u if my app already interacts with the web then i'll initially hit a url from the app with may the phone's unique id... i'll take care of everythin else at the web-side... this will make sure that there's not much change in my app's performance... but i dont exactly no if an android phone has any sort of unique id the possibilities to get such an id... if not the id u may go for the google acc registered with the phone... but this may have some limitations... On Wed, Jun 3, 2009 at 3:20 PM, aayush abhatnagar192...@gmail.com wrote: okay..thanks for the answer Marc. For #1 i believe i need to create my own certificate by using the keytool utility and sign it as you suggest. Time based is my only requirement..as of now. Usage based is not a priority for me. aayush On Jun 3, 2:34 pm, Marc Lester Tan mail...@gmail.com wrote: Hi, # 1 - I believe you can do this when signing your certificate. # 2 - you can store the number of times your app is invoked on the Preferences then just check if it already exceeds your limit but then it can easily be broken by just uninstalling the application and download it again. I haven't tried this yet. Just my idea. Marc 2. Usage based ( 100 invocations of the application). On Wed, Jun 3, 2009 at 5:24 PM, aayush abhatnagar192...@gmail.com wrote: Hello list.. I had a query: If i wish to attach an evaluation license to my android application, how can that be achieved ? As for example, i may want to provide an evaluation license based application that expires in one of the following ways: 1. Time based (30 days etc) 2. Usage based ( 100 invocations of the application). Once the application's license expires, i need to restrict access to it from the user. Thanks in advance.. Best Regards aayush -- Regards, Sujay George Bernard Shawhttp://www.brainyquote.com/quotes/authors/g/george_bernard_shaw.html - A government that robs Peter to pay Paul can always depend on the support of Paul. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Running two applications in the same process
To answer the first question, read the manual: http://developer.android.com/guide/topics/manifest/application-element.html#proc By setting this attribute to a process name that's shared with another application, you can arrange for components of both applications to run in the same process — but only if the two applications also share a user ID and be signed with the same certificate. I didn't understand the how part of your question - just do it. Neil On May 12, 1:50 pm, Asif k asifk1...@gmail.com wrote: Hi all, I want to run two different android applications in the single process to access the resources. For that purpose, I had made following two changes in the manifest file of both the application , I had override two attributes and 1) android:sharedUserId= hii.hello under manifest tag 2) android:process = guide.android under application tag I had made these changes (asign the same values) in the both the applications but could not get expected results. How to check whether both these applications are running in the same process?? Should I sign both the application with the same certificate?? If yes, then can you please tell how?? Thanks, Asif. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to get driving direction info from maps application?
And he then abandoned the whole idea because it goes against the Terms Of Use of Google Maps. On Apr 1, 7:01 am, jj jagtap...@gmail.com wrote: Actually he developed his own code for calculating distance and direction, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Why does this EditText appear small in my app but large in Eclipse? (Screenshots)
Why does the EditText in the XML below appear as a single-line EditText in my application but appear as a multiple-line EditText in the Eclipse layout preview? Please see screenshots. I would like for the EditText to take up three-fourths of the dialog I am trying to create. Screenshot of XML and layout preview in Eclipse: http://i41.tinypic.com/2cnxwgm.png Screenshot of layout in application: http://i40.tinypic.com/2iu6l1i.png ?xml version=1.0 encoding=utf-8? XML for dialog with EditText and two buttons: LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent xmlns:android=http://schemas.android.com/apk/res/android; LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content android:layout_weight=3 EditText android:id=@+id/ComposeNote_editTextComposeNote android:layout_width=fill_parent android:layout_height=fill_parent android:layout_marginLeft=5px android:layout_marginRight=5px android:layout_marginTop=5px / /LinearLayout LinearLayout android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content android:layout_weight=1 Button android:id=@+id/ComposeNote_buttonCancel android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:text=Cancel / Button android:id=@+id/ComposeNote_buttonLeaveNote android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=2 android:text=Leave Note / /LinearLayout /LinearLayout How can this XML be changed to make the EditText appear as a multiple- line dialog in my application? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Application to determine location in home -- upstairs or downstairs
I'd like to create an android application that can determine whether you are upstairs or downstairs in a house. My advisor does not want us to use GPS because he says it won't work well indoors. Instead, he wants us to build the app using the accelerometer on the phone. Can you offer any ideas on how I can go about doing this? I thought at first I could obtain an acceleration vs. time graph and then integrate twice to obtain displacement. If the displacement reached a certain value, then you would know the user has traveled either downstairs or upstairs. However, this seems really computationally intensive and it requires the app be running for a long period of time, so I doubt I could build the app using this approach... Any suggestions would be greatly appreciated. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to completely Destroy application
That worked for me. On Apr 7, 1:53 pm, Gothy dmitry.ut...@gmail.com wrote: i guess it's smth like: android.os.Process.killProcess(android.os.Process.myPid()) On Apr 7, 2:01 pm, manohar manohar...@gmail.com wrote: Hi all, I am unable to completely destory my app. My app is thread based app. Once i exit the app by calling onDestroy method, it is exiting properly. If i try to relaunch the application is says The applicatin stoped unexpectedly, try again. If i again select my app it is launching. It means in a alternative attempt its launching. as i am guessing, its not making Null for few static objects. once it shows the exception has explained above it is making all the objects null, so that i am able to reluanch. Pls can some one suggest how to overcome this issue. How to completely destory the application?? regards manu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Http GET method with extra headers
Why getText(...).toString() rather than getString(...)? Neil On Mar 26, 3:08 pm, Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de wrote: Hi, try the 'setHeader(String name, String value)' method from the HttpGet class. For example: --- snip --- DefaultHttpClient client = new DefaultHttpClient(); HttpGet method = new HttpGet(url); HttpResponse response = null; method.setHeader(user-agent, getText(R.string.app_name).toString()); try { response = client.execute(method);} catch(IOException e) { e.printStackTrace(); } --- snip --- Using setHeader replaces the first header with the same name or if not found it will be added. Lutz Am 26.03.2009 um 13:23 schrieb zeeshan: Hi Experts, i am trying a GET request to my server with some extra headers dont know how can i add header here is my code: DefaultHttpClient client = new DefaultHttpClient(); HttpGet method = null; HttpResponse resp = null; method = new HttpGet( new URI(url) ); } catch (Exception e) { e.printStackTrace(); } try { resp = client.execute(method); } catch (IOException e) { e.printStackTrace(); } /// i can add header like below but this shows me POST HttpURLConnection httpConnection = (HttpURLConnection) url.openConnection(); String boundary = myboundary; httpConnection.setDoOutput(true); httpConnection.setDoInput(true); httpConnection.setUseCaches(false); //httpConnection.setRequestMethod(GET); httpConnection.setRequestProperty(Connection,Keep- Alive); httpConnection.setRequestProperty(Content-Type,multipart/form- data; boundary= + boundary); httpConnection.setRequestProperty(user-agent,this.user_agent); httpConnection.setRequestProperty(accept- language,this.accept_language); httpConnection.setRequestProperty(user-agent- id,this.user_agent_id); httpConnection.setAllowUserInteraction(true); httpConnection.setInstanceFollowRedirects(true); //httpConnection.connect(); DataOutputStream wr = new DataOutputStream (httpConnection.getOutputStream()); any solution to add header in GET? smime.p7s 10KViewDownload --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Location.getTime() does not return milliseconds
If you want the speed call getSpeed(). On Mar 18, 12:21 pm, Yossi yossi@gmail.com wrote: thanks, I also don't want fixes more then every few seconds but to calculate the accurate speed/pace I would expect milliseconds accuracy. On Mar 18, 12:07 am, Dianne Hackborn hack...@android.com wrote: It just says the units are in milliseconds; it doesn't say anything about the accuracy. I certainly wouldn't expect (nor probably want) fixes more than every second. :} On Tue, Mar 17, 2009 at 2:54 PM, Yossi yossi@gmail.com wrote: Hi, According to the decumentation, android.location.Location.getTime() returns the fix time in milliseconds. however I keep getting the time rounded to seconds (e.g. no milliseconds accuracy). Is this the 'normal' behavior or do I do something wrong? Thanks, Yossi -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Turning GPS ON/OFF
Use reflection to call LocationManager.updateProviders. On Mar 9, 11:00 am, Kevin AN any...@gmail.com wrote: to maxim yukin' site On Mar 9, 4:27 am, Rudi rudolf.hor...@gmail.com wrote: Anybody nows a code/sample how to turn ON/OFF the GPS location provider *corretcly*. I have found the System.Settings provider and can set / change the corresponding setting, but it seems that the rest of the system does not recgnize the change. Is there a method to be called to notify the system about the settings update? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to read feedback
This seems like a stupid question, but somehow I couldn't find the answer anywhere ;) How do I read the feedback that my app gets in Market? Shouldn't there be a link somewhere in Developer Console? Regards Neil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to see feedback
How do I see the feedback users have given for my app, other than by searching in Market on the phone. Shouldn't it be on the Console somewhere? Sorry if it's a stupid question - I expect the answer to be obvious but I couldn't find it. Sorry if this is a duplicate - I couldn't find the original post. Not having a good day today ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] VerifyError importing JDBC PostgreSQL Driver
Hello everyone, I am new to Android development, and somewhat new to Java, but have a good amount of C++ knowledge. I am having trouble using imported .jar files to use in my code. I am trying to use the PostgreSQL JDBC driver with my application, and I cannot create a connection. As soon as I run this line of code: Connection conn = DriverManager.getConnection(jdbc:postgresql:// localhost/demo, mfgadmin, mfgadmin); This is what the log looks like: 01-16 02:53:46.556: WARN/ActivityManager(47): Launch timeout has expired, giving up wake lock! 01-16 02:53:46.942: WARN/ActivityManager(47): Activity idle timeout for HistoryRecord{434ccdf8 {com.xtuple.android/ com.xtuple.android.xtuple}} 01-16 02:53:50.024: WARN/dalvikvm(240): VFY: unable to resolve static field 23 01-16 02:53:50.024: WARN/dalvikvm(240): VFY: rejecting opcode 0x62 at 0x0005 01-16 02:53:50.024: WARN/dalvikvm(240): VFY: rejected Lorg/postgresql/ jdbc4/AbstractJdbc4Connection;.setClientInfo (Ljava/lang/String;Ljava/ lang/String;)V 01-16 02:53:50.024: WARN/dalvikvm(240): Verifier rejected class Lorg/ postgresql/jdbc4/AbstractJdbc4Connection; 01-16 02:53:51.994: DEBUG/dalvikvm(92): GC freed 1232 objects / 64072 bytes in 53ms I have followed the documentation for version 8.3 found here: http://jdbc.postgresql.org/documentation/docs.html using the driver found here: http://jdbc.postgresql.org/download.html (JDBC4). I am using eclipse 3.4 with android plug-in on Mac OS X. I also tried in Ubuntu and recieved the same error. Thanks for any help you can give. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: JNI support in 1.0
What about the development of a hardware driver or middle wire on android? 2008/9/30 hackbod [EMAIL PROTECTED] To be clear: native code is not a supported part of the 1.0 SDK. If you use it, your application will most likely break with future platform updates. On Sep 29, 8:48 am, Josh Guilfoyle [EMAIL PROTECTED] wrote: I haven't specifically tested with 1.0, but with 0.9r1 it was certainly possible. The issue of it being supported, however, is more difficult. There is no distribution mechanism for native code, furthermore the /system image is not writable on normal phones. So unless there is a way to load native code from /data (I can't say one way or another; haven't tried), it's certainly going to be out of reach for any typical user to install. Even still, it will require some moderate sophistication to install apps that use native code, and they won't be available on the Market which is probably a big deterrent for most users. On Sep 29, 12:15 am, wiki [EMAIL PROTECTED] wrote: HI, does Android supports JNI? I see the loadLibrary() function available in the System. but came across certain discussion that Native code is not supported in Android 1.0. can somebody clear the picture please? Regards wiki -- Best Regards Neil.He [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android development exchange
Hi I have some question about android development. We have a H263 codec want to porting to android. Do you know how to integrate codec or device to Android. (notes: Our source code is C++) Hope you feedback. Thanks! Neil.He 2008/9/24 PowerGUI [EMAIL PROTECTED] T-Mobile G1---The First Android Phone has announced,I am very excited. I don't know how to order the android phone,can somebody talk about such related things in details? 1) the price is $179, but plus taxes and fees; two-year agreement requiredd,how about ethe actual price? how about the price for the developers outside USA? 2)i am not t-mobile member from china,I use china mobile network,how to order and use? Thanks in advane. PowerGUI - Android DotPhone Team http://www.dotphone.org/english/ http://groups.google.com/group/android-dotphone/ -- Best Regards Neil.He [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to call a .so(C++) lib in android java
I can not open the website you provided, could you send the content to me? Thanks! 2008/8/2 Josh Guilfoyle [EMAIL PROTECTED] Yes, folks have made this work. See http://davanum.wordpress.com/2007/12/09/android-invoke-jni-based-methods-bridging-cc-and-java/ On Jul 31, 11:30 pm, neil [EMAIL PROTECTED] wrote: Is anybody successful to call a C++ lib in android java. If so, could you provide the method and an example? I try to use JNI, but I am failing again and again. Help !!!:O -- Best Regards Neil.He [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---