[android-developers] Multiple alarms not being recognized
In case this is useful for someone: When you are programming several AlarmManagers, you have to differ them using a setData parameter: intent.setData((Uri.parse(custom://+SystemClock.elapsedRealtime (; long firstAlarmMillis = getFirstTimeAlarm(mYear, mMonth, mDay, mHour, mMinute); intent.putExtra(timeInMillis, firstAlarmMillis); PendingIntent sender = PendingIntent.getBroadcast (getApplicationContext(), 0, intent, 0); //Log.d(tiven, despues de la alarma+firstAlarmMillis); AlarmManager am = (AlarmManager)getSystemService (ALARM_SERVICE); am.set(AlarmManager.RTC_WAKEUP, firstAlarmMillis, sender); You have to set a parameter to differ intents, or else you won't be able to hable them in a broadcast receiver. Best regards, Juan --~--~-~--~~~---~--~~ 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: Timed trial expiry?
http://andappstore.com/AndroidPhoneApplications/licensing.jsp Al. Craig wrote: Does anyone have a somewhat secure method of expiring a trial version of an app a certain amount of time after an install? I do not want to use a server, because I am making a game that shouldn't need permissions. I would like the expiration data to survive an uninstall, but I am ok if it doesn't survive a manual edit of the database. Do an application's database entries get deleted when an app is uninstalled? How about preferences? Local files? Other methods? -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ 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 a region which is not a standard rect area
Hi, Mike It still doesn't work for me. I've tried two use case: 1) Pass a very large rect as the clip region--the actual result is the outer rect, bigger than my expect region; 2) Pass the outer rect as the clip region---the actual result is smaller than the rotated bitmap region, my expect region. Is there still with some bugs of Region or Path? My expect use case, I have a ImageView with a Bitmap, after rotate 30 degrees, the bitmap region is a rotated rect from original rect, and the ImageView containing the bitmap is a bigger rect than the original rect. I want to judge whether the touch point is in the bitmap region. It seems easy to judge in the ImageView region, but I want to get the exact bitmap region for exact judgement. That's the reason why I need use Region and Path. Br. -David On Sat, Feb 21, 2009 at 5:01 AM, Mike Reed r...@google.com wrote: By bug, I mean I would like to relax the restriction, and allow you to pass null. I don't know yet when the could get in. Thus you should always (for now) pass in a region as the clip. It can be something large with no downside (i.e. -10,000, 10,000) On Fri, Feb 20, 2009 at 3:57 PM, David Hu vistoda...@gmail.com wrote: Thanks for your explanation, Mike. So, if there is not a bug, I can pass the outer rect as clip region to attain my aim, and: Region rgn = new Region(); (1) //- actual result: The application will crash here with an exception here //--expect result : ? rgn.setPath(p, null); (2) //- actual result: The region is the rect area which encircle the rotated rect, not the rotated rect itself //---expect result :? rgn.setPath(p, rgn); (3) //- actual result: The region is the rect area which encircle the rotated rect, not the rotated rect itself //--- expect result: The region should be a complicate area, inclined rect clipped by the original rect Region clipRgn = new Region(top, bottom, left, right); mRgn2.setPath(p, clipRgn); I'll try to use outer rect region as the clip region later, see what's happen currently. Would you please tell me when this region bug can be fixed? I need try to check if my project can catch up the schedule, otherwise, I have to try to calculate this region by ourselves, it would take more efforts. BR, -David On Fri, Feb 20, 2009 at 10:49 PM, Mike Reed r...@google.com wrote: Ah, that's a bug, null should be allowed. I'll see what can be done there for the future. The clip parameter is mean to be a hint to speedup turning the path into a region by restricting the result to a clipped subset of the path. For your purposes, you can just make a big rectangular region for the clip. The bounds of the path or larger. On Thu, Feb 19, 2009 at 10:22 PM, David Hu vistoda...@gmail.com wrote: Thanks for your reply, Mike. I've tried your method, seems still not work yet. The second parameter of Region.setPath (clip) can't be null. If we use null, there will be an exception happen. So I've tried to use the region I've just constructed or the original rect region, the area is still the ourter standard rect area, not the inclined rect which rotated from a standard rect. Here is my code tip and possible result: //Calculate region top = 150; bottom = top + bmp.getHeight(); //bmp is a bitmap instance left = 200; right = left + bmp.getWidth(); Path p = new Path(); p.addRect(left, top, right, bottom, Path.Direction.CCW); // use Matrix to rotate 30 degrees Matrix mtx = new Matrix(); mtx.setRotate(30); p.transform(mtx); Region rgn = new Region(); (1) //- The application will crash here with an exception here rgn.setPath(p, null); (2) //- The region is the rect area which encircle the rotated rect, not the rotated rect itself rgn.setPath(p, rgn); (3) //- The region is the rect area which encircle the rotated rect, not the rotated rect itself Region clipRgn = new Region(top, bottom, left, right); mRgn2.setPath(p, clipRgn); BTW, I searched in android source code and www.google.com, can't find any usage of this API: public boolean setPath(Path path, Region clip) So now, my question is which clip region should I pass or any other way in order to attain my aim? Hope I've made my aim clearly. BR, -David On Thu, Feb 19, 2009 at 11:27 PM, Mike Reed r...@google.com wrote: You could possibly un-rotate your touch-point by 30 degrees, and then just use the rectangle. However, you can make complex regions by first constructing a Path, and then calling region.setPath(...), which converts
[android-developers] Re: When will Android support Multiple PDP?
Thanks, Jon and Anonymous, it makes sense to me. If possible, I want the official release number, such as Android 1.0 or Android 1.1 or CupCake release or Android 1.x, 2.x.. Anyone knows the release version of Android? On Sat, Feb 21, 2009 at 9:23 AM, Anonymous Anonymous firewallbr...@googlemail.com wrote: yes, so we do have a new road map? On Sat, Feb 21, 2009 at 6:51 AM, Jon Colverson jjc1...@gmail.com wrote: On Feb 20, 9:06 pm, David Hu vistoda...@gmail.com wrote: Thanks, Jon. It seems the same, but why I can't open this pagehttp:// source.android.com/roadmap, which always report can't find the server? Is it public acess? Would you please tell me when and which release will support this feature? Thanks again. Yes, it is a public server. It's working for me. Perhaps it's a geographic problem. Anyway, here's what the page says: Support for multiple APNs - This feature will enable the different applications to connect to different Access Point Nodes (APNs). For example, a web browser can connect to an Internet APN connection while the MMS can connect to a separate MMS APN. That's listed under the section for Q4 2008, so obviously that's already passed. Does anyone know if this feature has made it into the open source project yet? -- Jon --~--~-~--~~~---~--~~ 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: Timed trial expiry?
Just to expand a bit; you can use the code in 4(c)(ii) to check for an expiry date, and in your onCreate method, you look for a file on the SD card, if it doesn't exist create it to containing the expiry date, if it does exist read it and check if the app has expired. Yes, it means that the user could delete the file from the SD card if they wanted to, but Android is designed to leave nothing behind when an app is uninstalled, so it's probably the best option you have. Al. Al Sutton wrote: http://andappstore.com/AndroidPhoneApplications/licensing.jsp Al. Craig wrote: Does anyone have a somewhat secure method of expiring a trial version of an app a certain amount of time after an install? I do not want to use a server, because I am making a game that shouldn't need permissions. I would like the expiration data to survive an uninstall, but I am ok if it doesn't survive a manual edit of the database. Do an application's database entries get deleted when an app is uninstalled? How about preferences? Local files? Other methods? -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ 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: Market Apps Not Really Protected
I'd say it's more of the lack of protection on protected apps that's been highlighted. None of what's done in that blog entry uses things that haven't been around for months, so I'd be interested to know why Google have just ignored it all and come up with an easily hackable solution. Al. Shane Isbell wrote: Looks like android application security has already been hacked: http://strazzere.com/blog/ Shane -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ 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: Google Checkout - Any way to manage customer relation / Checkout also putting multiple holds on txns.
Thank you so much! On Feb 21, 1:34 am, Jon Colverson jjc1...@gmail.com wrote: The multiple holds are described on the Checkout help here: https://checkout.google.com/support/bin/answer.py?answer=105940 (You might want to forward that to your users.) I presume the reason for doing it is so that Google can combine multiple purchases from a user into one charge on their card, so as to avoid incurring multiple fixed per-charge fees if the user purchases many apps in a short time. It's mildly annoying for the users, but I think it makes sense overall. I've noticed that iTunes does the same thing. -- Jon --~--~-~--~~~---~--~~ 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] Browser Upload
The Android's Browser allows the FileUpload ? --~--~-~--~~~---~--~~ 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: Market Copy Protection options
That's LOL. So now you basically need 2 phones: one for dev purposes and one for day-to-day life (so that you could install paid apps on it). On Feb 20, 4:40 am, sm1 sergemas...@gmail.com wrote: One of the things that google is now doing is that, since Feb 18 or 19, they are are not showing apps that are copy protected to Dev Phones. From a dev phone you cannot see the copy protected apps on the market. serge --~--~-~--~~~---~--~~ 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: Question about spinner and quick text search.
Any suggestions? On Fri, Feb 20, 2009 at 4:08 PM, EvgenyV evgen...@gmail.com wrote: Hi! For ListActivity I can use method setTextFilterEnabled(true) which allows me to type letters and quick find list item(s). Does anybody know whether exists some similar out of the box functionality for Spinner dropdown list? Thanks, Evgeny --~--~-~--~~~---~--~~ 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: 2d background image on a 3d OpenGL game
hi quakeboy, if u want to render 2d on 3d then just use views like textview, imageview etc . I assure u that it works fine and laso u dont have to render or draw those view always ... I have used views with 3d and they are just working fine . regards, Suhas On Feb 18, 11:22 am, quakeboy prasna...@gmail.com wrote: @suhas thanks a lot for sharing your information I request you to please take part in this thread to help the communityhttp://groups.google.com/group/android-developers/browse_thread/threa... On Feb 18, 10:53 am, suhas gavas suhas.ga...@gmail.com wrote: Hi, I m rendering 3 models model 1 : vertices = 309 Triangles : 232 grp = 19 material 9 joints 0 model 2 vertices = 258 Triangles : 188 grp = 2 material 2 joints 0 model 3 vertices = 64 Triangles : 80 grp = 1 material 1 joints 0 And i m rendering model number 2 twice and getting 40 above fps regards, suhas On Tue, Feb 17, 2009 at 9:40 PM, fcalzada fcalz...@gmail.com wrote: Hi, you said that with game logic you're getting 45 fps !? what is the size of your ms3d object (nb of vertex and faces ?) My scene includes 1000 faces, and I'm getting only 10 - 12 fps... just rendering it without 2d overlay and game logic... On Feb 17, 11:43 am, suhas gavas suhas.ga...@gmail.com wrote: hi, The max fps u can get can be 60 . I m rendering a 3d models(ms3d) ... with game logic i m getting 45 fps but prb occurs when touch event is executed fps falls to 28 - 30fps ... my only worry is touch event ... one hint to handle touch event is keep constant fps (not dependent on device) and ur tocuh event will be handled properly regards, suhas On Tue, Feb 17, 2009 at 3:49 PM, quakeboy prasna...@gmail.com wrote: Cool ! It worked... Thanx a lot I wasn't doing anything different than just using the float versions of the same function .. wonder why it wasn't working for me ? I am posting more observations which might help someone else. I can see the sample cube application using the GLSurfaceView and provides a Renderer interface for reusing that code very easily. All I have to do is write a new class which extends Renderer and pass it to setRenderer (Correct me if I am wrong) BUT I am using only one thread !!! I initialize the OpenGL and render NOT on a different thread like I assume most of you here are doing.. On each touch event I call a draw function whose body is quoted below //CODE BEGINS /* I do this after binding and loading the texture image which is 320x480 ((GL11) gl).glTexParameteriv(GL10.GL_TEXTURE_2D, GL11Ext.GL_TEXTURE_CROP_RECT_OES, new int[] {0, 0, 320, 480}, 0); */ public final void draw() { long now = System.nanoTime(); GL10 l_gl = gl; int sss = GL10.GL_BLEND; l_gl.glDisable(sss); l_gl.glBindTexture(GL10.GL_TEXTURE_2D, t); ((GL11Ext)l_gl).glDrawTexiOES(0, 0, 0, 320, 480); l_gl.glEnable(sss); now = System.nanoTime() - now; System.out.println(10/now); } //CODE ENDS LogCat output from Println shows - 26 or 27 if I click and release at a very very slow rate.. and drops almost below 20 when I click and drag mouse which I assume is because of the touch event eating the CPU cycle which was discussed in another thread. Is my math to measure fps correct ? Is this the maximum potential of OpenGL on Android ? I tried using 256x256, 512x512 textures scaled to 320x480 and performance numbers are just the same Thanks to Android team for their beautiful performance optimization document. I use final, static, local declarations of references whenever possible now... and I can see a huge difference. On Feb 16, 6:47 pm, Jon Colverson jjc1...@gmail.com wrote: On Feb 16, 12:57 pm, quakeboy prasna...@gmail.com wrote: but still my speed drops when I draw the background as a textured quad. and I am not able to get the drawtexfOES to work. @Jon Can you please help me by posting a sample code of what parameters to pass to 1. glTexParameterfv 2. glDrawTexfOES to get them to paint the texture properly. I get a red color only, and not the actual texture. I use a 2d ortho with 320,480 as extents.. with ortho camera's bottom left at 0,0 This is what I'm doing: gl.glBindTexture(GL10.GL_TEXTURE_2D, name); GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, b, 0); ((GL11)
[android-developers] Dev Phone -- unable to see paid app on market
Do I have to upgrade to rc33? I have it connected to wifi, but no update so far. Do I have to put a sim card in? It will be better to provider a button to check for newer version, and simply give a response like we know everybody is on rc33 now, but we won't leave you alone. your ticket number is 23323, we will schedule a update in 2 days later, be patient... --~--~-~--~~~---~--~~ 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: Signing an application on Linux
Can anyone sign my application for me? I could send it to you and you sign it and send it to me back. Please,because it would be my first app!!! Thanks in advance Viktor On 20 Feb., 18:21, Brian Conrad br...@jyotishtools.com wrote: The problem with that guide is that it assumes some knowledge ofLinux commands that not everyone is going to be familiar with or uses so seldom they forget how they work. Here's a tutorial on how to set the environment variables (something I've had to do rarely onLinux):http://www.cyberciti.biz/faq/linux-unix-set-java_home-path-variable/ This is necessary to get the right keytool. Mads Kristiansen wrote: Did you follow this guide: http://developer.android.com/guide/publishing/app-signing.html On Fri, Feb 20, 2009 at 5:25 PM, Nox v.beh...@googlemail.com wrote: On 20 Feb., 17:24, Nox v.beh...@googlemail.com wrote: Hello, I've got a problem! I don`t know how to sign anapplicationonLinux. I using Ubuntu 8.05. Can you please help me??? Thanks in advance Viktor --~--~-~--~~~---~--~~ 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] what is difference between OnClickListener and OnTouchListener?
Hello folk what is difference between OnClickListener and OnTouchListener? I don't found any specific difference between them. Thank 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] Re: Paid applications - are they downloadable now? By Al Sutton
Great tip by Steve Ingram that purchases seem to be visible in Google Checkout but not developer console - I have the same issue. One of my payments was declined though. --~--~-~--~~~---~--~~ 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] what is difference between OnClickListener and OnTouchListener?
Hello folk what is difference between OnClickListener and OnTouchListener? I don't found any specific difference between them. Thank 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] Re: Market for paid Apps - Identifying customers
as there are now paid applications out there, maybe one of the paid applications developers can answer this question: ? On Jan 20, 10:54 pm, deepdr...@googlemail.com deepdr...@googlemail.com wrote: Once the market opens for paid apps - will we developers be able to see email addresses of paying customers? Or, will there be some other way to identify legit purchases, so, if we receive support requests via email, will there be a way to tell whether the request comes from a paying customer? 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: Market Process
as there are now paid applications out there, maybe one of the paid applications developers can answer this question: ? On Jan 22, 6:28 am, AndroidKing rbasso...@gmail.com wrote: Is Google going to provide any information to the developers about the people who buy their apps (ex: email, phone ID, etc) This will be nice since the apps can use such information to prevent piracy ex: a user buys an app from the market. Google sends the developer their device ID App developer has Database for legit users (using information above), and app gets authenticated bases on that... any ideas otherwise limiting piracy would be very hard --~--~-~--~~~---~--~~ 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: Dev Phone -- unable to see paid app on market
I wondered the same thing, from what I was able to find out it appears the update is being sent by T-Mobile, thus you not only need to have a Sim card in the phone (which I don't) you also need to have the phone on T-Mobile (so my iPhone Sim can't help here) On a side note, I don't believe the paid apps have been rolled out to the users yet, either that or my sales are terrible! On Feb 21, 5:40 am, blues bluescapt...@gmail.com wrote: Do I have to upgrade to rc33? I have it connected to wifi, but no update so far. Do I have to put a sim card in? It will be better to provider a button to check for newer version, and simply give a response like we know everybody is on rc33 now, but we won't leave you alone. your ticket number is 23323, we will schedule a update in 2 days later, be patient... --~--~-~--~~~---~--~~ 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: Dev Phone -- unable to see paid app on market
I may have spoke too soon... see this thread started by Al. It appears some people are seeing paid apps now, read the second page of posts: http://groups.google.com/group/android-developers/t/decac495fc606669 On Feb 21, 9:16 am, Java Developer supp...@cyntacks.com wrote: I wondered the same thing, from what I was able to find out it appears the update is being sent by T-Mobile, thus you not only need to have a Sim card in the phone (which I don't) you also need to have the phone on T-Mobile (so my iPhone Sim can't help here) On a side note, I don't believe the paid apps have been rolled out to the users yet, either that or my sales are terrible! On Feb 21, 5:40 am, blues bluescapt...@gmail.com wrote: Do I have to upgrade to rc33? I have it connected to wifi, but no update so far. Do I have to put a sim card in? It will be better to provider a button to check for newer version, and simply give a response like we know everybody is on rc33 now, but we won't leave you alone. your ticket number is 23323, we will schedule a update in 2 days later, be patient... --~--~-~--~~~---~--~~ 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] X and y coordinates for clicks and long clicks
Hello, When you receive clicks and long clicks, how do you get the x and y coordinates that were clicked? Thanks. -- J. Pablo Fernández pup...@pupeno.com (http://pupeno.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] Enable Upload on Android's Browser
How can I enalble upload on Android's Browser 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] Can't see comments in my app?
Hello, I can't seem to view comments in my own application. Is anyone else having this issue? 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] Setting a Dialog width to fill screen?
Hey folks, I've created a custom class that extends Dialog and have a custom view I use inside it. When the dialog is activated, it looks like this: http://img.waffleimages.com/278aad1d375a3e73c87189beac335c5d7100c8b5/device.png It only seems to increase in width as I type into text boxes. I've tried to override the layout attributes of the dialog below, but it still doesn't seem to stretch out to fit the screen. I've also included the XML for the view I want inside the dialog. Can anyone suggest anything? @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.setTitle(Create New List); setContentView(R.layout.dialog_create_new_list); LayoutParams params = getWindow().getAttributes(); params.height = LayoutParams.FILL_PARENT; getWindow().setAttributes(params); . . ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:theme=@android:style/Theme.Dialog ScrollView android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TextView android:id=@+id/label_enter_list_name android:layout_width=fill_parent android:layout_height=wrap_content android:text=Enter List Name / EditText android:id=@+id/edit_enter_list_name android:layout_width=fill_parent android:layout_height=wrap_content / TextView android:id=@+id/label_select_list_type android:layout_width=fill_parent android:layout_height=wrap_content android:text=Select List Type / Spinner android:id=@+id/spinner_select_list_type android:layout_width=fill_parent android:layout_height=wrap_content / TextView android:id=@+id/label_enter_list_description android:layout_width=fill_parent android:layout_height=wrap_content android:text=Enter List Description / EditText android:id=@+id/edit_enter_list_description android:layout_width=fill_parent android:layout_height=wrap_content / TextView android:id=@+id/label_pick_list_icon android:layout_width=fill_parent android:layout_height=wrap_content android:text=Pick List Icon / ImageButton android:id=@+id/imagebutton_pick_list_icon android:layout_width=fill_parent android:layout_height=wrap_content android:src=@drawable/icon / LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent Button android:id=@+id/button_create_new_list android:layout_width=fill_parent android:layout_height=wrap_content android:text=Create List / Button android:id=@+id/button_cancel_new_list android:layout_width=fill_parent android:layout_height=wrap_content android:text=Cancel / /LinearLayout /LinearLayout /ScrollView /LinearLayout --~--~-~--~~~---~--~~ 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: Market Process
Each transaction in Google Checkout has a unique order number associated with it. Also, all data is exportable to .csv. On Feb 21, 6:59 am, deepdr...@googlemail.com deepdr...@googlemail.com wrote: as there are now paid applications out there, maybe one of the paid applications developers can answer this question: ? On Jan 22, 6:28 am, AndroidKing rbasso...@gmail.com wrote: Is Google going to provide any information to the developers about the people who buy their apps (ex: email, phone ID, etc) This will be nice since the apps can use such information to prevent piracy ex: a user buys an app from the market. Google sends the developer their device ID App developer has Database for legit users (using information above), and app gets authenticated bases on that... any ideas otherwise limiting piracy would be very hard --~--~-~--~~~---~--~~ 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: Paid applications - are they downloadable now? By Al Sutton
As of this morning, the Android Market Developer Console is showing 2 total, 2 active installs. Google checkout shows 3 successful transactions and 1 declined payment. So, there may be a delay in updating the Dev Console. I noticed that some paid apps are showing up on www.cyrket.com, but not mine. This makes me think that they are rolling out a limited number of apps to a limited number of people. This is probably a wise move considering we have heard that some people are experiencing difficulties making purchases. Of course, I am just speculating. It would be nice to get some official word from Google. Does anyone show more than a dozen purchases? --~--~-~--~~~---~--~~ 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: Paid applications - are they downloadable now? By Al Sutton
Wait a bit, cancels will start coming as well. This 24 hour period is ridiculous :( I hope you don't get *any* cancel but still... be prepared ;) On Sat, Feb 21, 2009 at 3:21 PM, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: Great tip by Steve Ingram that purchases seem to be visible in Google Checkout but not developer console - I have the same issue. One of my payments was declined though. - 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] Paid apps related questions discussion list?
Hi there, Is there a dedicated list for developers who have paid apps in Android Market? It would be best if that list has at least 1 *Google* (not Android, i.e. I don't need it to be technically savvy) employee able to give sensible answers to WTF questions related to the Market and paid apps? Thanks, Stoyan --~--~-~--~~~---~--~~ 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: Paid applications - are they downloadable now? By Al Sutton
I noticed that some paid apps are showing up on www.cyrket.com, but not mine. This makes me think that they are rolling out a limited number of apps to a limited number of people. This is probably a wise move considering we have heard that some people are experiencing difficulties making purchases. Of course, I am just speculating. It would be nice to get some official word from Google. I don't know what the deal is. my paid app was visible in the market on my phone when I went to bed 10 hours ago, but I can't see it from my phone now. Developer console says it's published and I've got 2 purchases, but none in those last ten hours. How ... mysterious. --~--~-~--~~~---~--~~ 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] Replacing the dialer responding to [number keys] pressed ?
hi~ I want to launch my own app when number keys are pressed ... after reading the post online,it seems to be the following code would solve such issue intent-filter action android:name=android.intent.action.MAIN / action android:name=android.intent.action.DIAL / category android:name=android.intent.category.DEFAULT / category android:name=android.intent.category.LAUNCHER / /intent-filter But it doesn't work? what's the problem? --~--~-~--~~~---~--~~ 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: Paid apps related questions discussion list?
OK, I'll start here then... 1. Where are my apps? I released 2 apps yesterday, 1 free (limited, lite, demo, whatever you call it), and 1 paid. Yesterday both were in Market. I had a few sales, and about 1500 downloads of the free app. I talked to Jay @ cyrket.com and he said he can't see the games on his device and that I probably seem them because the Market client in my G1 cached it. Guys, do you see Droid Breakout or Droid Breakout Lite on his phone (it's important that I get answers from those of you who haven't downloaded it ever)? 2. Can someone @ Google fix the problem w/ cancels. I had 7 cancels, all with this message: You cancelled this order. Reason: Other (describe below) Message sent to customer: Refund requested from phone. Well, where's the describe below message? The customers could have said something valuable like: - I thought I was buying a different kind game, sorry - The game is unstable or slow, etc. - I played enough for the 24 hours FREE period, thanks Google 3. The Developer Console is OFF by at least 1 hour. I don't understand how caching works, but Market is not a search engine - we need kind of real-time or reasonably delayed updates. I have to track both via the Google checkout account and via the Developer Console to understand what's happening. 4. Ratings and comments - this is the WORST designed feature I've ever seen in software. EVER. Users rate the software for the bad experience with Market, e.g. I've got: Wudlnt install 4 me - 1 star Cant download - 1 start etc., etc. Is this *my* software's fault? Re comments - where's the ability for us, developers to reply to comments? I tried modifying my own comment on the game, keeping it for about 30-40 minutes, then altering it again to answer another user. I have even more and more questions, but these above are real showstoppers. Especially cancels w/o a reason and w/o the ability to dispute a cancel. If I don't get answer soon I don't have anything else to do but pull off the apps because apparently 1) (missing apps) prevents me from selling the game and I haven't wasted months for nothing. Cheers On Sat, Feb 21, 2009 at 5:24 PM, Stoyan Damov stoyan.da...@gmail.com wrote: Hi there, Is there a dedicated list for developers who have paid apps in Android Market? It would be best if that list has at least 1 *Google* (not Android, i.e. I don't need it to be technically savvy) employee able to give sensible answers to WTF questions related to the Market and paid apps? Thanks, Stoyan --~--~-~--~~~---~--~~ 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: Paid apps related questions discussion list?
On Sat, Feb 21, 2009 at 5:57 PM, Stoyan Damov stoyan.da...@gmail.com wrote: OK, I'll start here then... 1. Where are my apps? Guys, do you see Droid Breakout or Droid Breakout Lite on STRIKEhis/STRIKE your :) phone (it's important that I get answers from those of you who haven't downloaded it ever)? --~--~-~--~~~---~--~~ 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: Paid applications - are they downloadable now? By Al Sutton
On Sat, Feb 21, 2009 at 5:47 PM, bwilliam...@gmail.com bwilliam...@gmail.com wrote: I noticed that some paid apps are showing up on www.cyrket.com, but not mine. This makes me think that they are rolling out a limited number of apps to a limited number of people. This is probably a wise move considering we have heard that some people are experiencing difficulties making purchases. Of course, I am just speculating. It would be nice to get some official word from Google. I don't know what the deal is. my paid app was visible in the market on my phone when I went to bed 10 hours ago, but I can't see it from my phone now. Developer console says it's published and I've got 2 purchases, but none in those last ten hours. How ... mysterious. - Show quoted text - +1 - both my free and paid apps are gone, no recent sales, apps not in cyrket.com. I've started a separate thread in this group about Market-related questions for devs/sellers. I hope all of you guys out there will comment on it. 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] Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
Hi fellow developers, Recently there is a new option Copy Protection in Android Market Developer Console. We thought that was a nice protection on us and turned it on. Then here comes the impact: our app was no longer listed downloadable on ADP, and *MUCH WORSE*, those who can download have experienced severe force closes when the app starts! We have confirmed this by just downloadingrunning the app before and after that option is turned on. I have no idea what mechanism Google uses to implement that option, but it seems they are changing the apk -- the application size is larger when the option is on. Seen from the exception trace, it seems it's related to an issue that I reported before: http://groups.google.com/group/android-developers/browse_thread/thread/785b04063a7bbd32 It seems the resource is screwed up. Basically findViewById returns a wrong thing, and in turn you get either NullPointerException or ClassCastException. We are still not able to use an ant script to automate the buildsign process, which triggers the bug and gives you a corrupted apk. However, exporting an unsigned apk using Eclipse and signing it manually works with no problem. What a bug,... we have lost 5000+ users due to this. Google should have tested more carefully it before making it available. Hope this is 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: Paid applications - are they downloadable now? By Al Sutton
FWIW I can still see the apps as Published on the Developer Console. On Sat, Feb 21, 2009 at 6:02 PM, Stoyan Damov stoyan.da...@gmail.com wrote: On Sat, Feb 21, 2009 at 5:47 PM, bwilliam...@gmail.com bwilliam...@gmail.com wrote: I noticed that some paid apps are showing up on www.cyrket.com, but not mine. This makes me think that they are rolling out a limited number of apps to a limited number of people. This is probably a wise move considering we have heard that some people are experiencing difficulties making purchases. Of course, I am just speculating. It would be nice to get some official word from Google. I don't know what the deal is. my paid app was visible in the market on my phone when I went to bed 10 hours ago, but I can't see it from my phone now. Developer console says it's published and I've got 2 purchases, but none in those last ten hours. How ... mysterious. - Show quoted text - +1 - both my free and paid apps are gone, no recent sales, apps not in cyrket.com. I've started a separate thread in this group about Market-related questions for devs/sellers. I hope all of you guys out there will comment on it. 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: Can't see comments in my app?
Where are you trying to view the comments? The developer console has never allowed developers to see comments. You should be able to see them from the market on your device. If you don't have a device then you can usually see the last dozen or so comments by visiting cyrket.com, cyrket doesn't seem to have all of the paid apps listed, I am not sure why, my own personal theory is that it is not listing the protected apps. ---snctln www.snctln.com On Feb 21, 9:03 am, g1bb corymgibb...@gmail.com wrote: Hello, I can't seem to view comments in my own application. Is anyone else having this issue? 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
:OO I had users talking about these Force Close issues yesterday and I was scratching my head for a long time :O :O O Thanks man! On Sat, Feb 21, 2009 at 6:20 PM, focuser linto...@gmail.com wrote: Hi fellow developers, Recently there is a new option Copy Protection in Android Market Developer Console. We thought that was a nice protection on us and turned it on. Then here comes the impact: our app was no longer listed downloadable on ADP, and *MUCH WORSE*, those who can download have experienced severe force closes when the app starts! We have confirmed this by just downloadingrunning the app before and after that option is turned on. I have no idea what mechanism Google uses to implement that option, but it seems they are changing the apk -- the application size is larger when the option is on. Seen from the exception trace, it seems it's related to an issue that I reported before: http://groups.google.com/group/android-developers/browse_thread/thread/785b04063a7bbd32 It seems the resource is screwed up. Basically findViewById returns a wrong thing, and in turn you get either NullPointerException or ClassCastException. We are still not able to use an ant script to automate the buildsign process, which triggers the bug and gives you a corrupted apk. However, exporting an unsigned apk using Eclipse and signing it manually works with no problem. What a bug,... we have lost 5000+ users due to this. Google should have tested more carefully it before making it available. Hope this is 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
good to know that we are not alone. :) I have reported this issue through Android Market support and hoping they could fix it soon... On Feb 21, 8:31 am, Stoyan Damov stoyan.da...@gmail.com wrote: :OO I had users talking about these Force Close issues yesterday and I was scratching my head for a long time :O :O O Thanks man! On Sat, Feb 21, 2009 at 6:20 PM, focuser linto...@gmail.com wrote: Hi fellow developers, Recently there is a new option Copy Protection in Android Market Developer Console. We thought that was a nice protection on us and turned it on. Then here comes the impact: our app was no longer listed downloadable on ADP, and *MUCH WORSE*, those who can download have experienced severe force closes when the app starts! We have confirmed this by just downloadingrunning the app before and after that option is turned on. I have no idea what mechanism Google uses to implement that option, but it seems they are changing the apk -- the application size is larger when the option is on. Seen from the exception trace, it seems it's related to an issue that I reported before:http://groups.google.com/group/android-developers/browse_thread/threa... It seems the resource is screwed up. Basically findViewById returns a wrong thing, and in turn you get either NullPointerException or ClassCastException. We are still not able to use an ant script to automate the buildsign process, which triggers the bug and gives you a corrupted apk. However, exporting an unsigned apk using Eclipse and signing it manually works with no problem. What a bug,... we have lost 5000+ users due to this. Google should have tested more carefully it before making it available. Hope this is 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
Something else - 1 of the mysteries just unveiled - both of my apps which wouldn't show on Cyrket are there now (at least by searching for them, not in the list yet). On Sat, Feb 21, 2009 at 6:38 PM, focuser linto...@gmail.com wrote: good to know that we are not alone. :) I have reported this issue through Android Market support and hoping they could fix it soon... On Feb 21, 8:31 am, Stoyan Damov stoyan.da...@gmail.com wrote: :OO I had users talking about these Force Close issues yesterday and I was scratching my head for a long time :O :O O Thanks man! On Sat, Feb 21, 2009 at 6:20 PM, focuser linto...@gmail.com wrote: Hi fellow developers, Recently there is a new option Copy Protection in Android Market Developer Console. We thought that was a nice protection on us and turned it on. Then here comes the impact: our app was no longer listed downloadable on ADP, and *MUCH WORSE*, those who can download have experienced severe force closes when the app starts! We have confirmed this by just downloadingrunning the app before and after that option is turned on. I have no idea what mechanism Google uses to implement that option, but it seems they are changing the apk -- the application size is larger when the option is on. Seen from the exception trace, it seems it's related to an issue that I reported before:http://groups.google.com/group/android-developers/browse_thread/threa... - Show quoted text - It seems the resource is screwed up. Basically findViewById returns a wrong thing, and in turn you get either NullPointerException or ClassCastException. We are still not able to use an ant script to automate the buildsign process, which triggers the bug and gives you a corrupted apk. However, exporting an unsigned apk using Eclipse and signing it manually works with no problem. What a bug,... we have lost 5000+ users due to this. Google should have tested more carefully it before making it available. Hope this is 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
Seen from the exception trace, it seems it's related to an issue that I reported before: http://groups.google.com/group/android-developers/browse_thread/thread/785b04063a7bbd32 It seems the resource is screwed up. Basically findViewById returns a wrong thing, and in turn you get either NullPointerException or ClassCastException. We are still not able to use an ant script to automate the buildsign process, which triggers the bug and gives you a corrupted apk. However, exporting an unsigned apk using Eclipse and signing it manually works with no problem. 1. Why are you still not able to use an ant script to automate the buildsign process? 2. If you aren't able to do #1, how do you know it triggers the bug and gives you a corrupted apk? 3. Do you have a reproducible scenario you can publish with code? Or does the phenomenon only occur with this one app? What a bug,... we have lost 5000+ users due to this. Google should have tested more carefully it before making it available. I realize you are frustrated, and that is understandable under the circumstances. However, at this point, we don't know much. We know in this one specific instance for this one specific app we get this one specific condition. What we need is a way to reproduce this problem on demand for an open source app, so we can get a better feel for what is going on. Only when we know where the problem lies will we know truly who is to blame. Any more information you can provide, such as answers to the preceding questions, will be helpful. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ 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: Paid applications - are they downloadable now? By Al Sutton
The developers console has always been extremely slow to update, some days it would update about every 4 hours, and some days it would only update every 12 hours. I too noticed that only some apps were showing up on cyrket, my personal theory on that is that maybe the protected apps are not showing. I have 3 paid apps up on the market right now, (it's annoying that I can't see them because I have an ADP1 but hopefully Google fixes that really soon) I have had well over a dozen purchases, and am seeing about a 20% return rate. About half of the returns are due to the users credit cards declining the sale. I have been receiving purchases all morning so it looks like any paid apps market outages are limited in nature. It would be nice if Google decided to implement some of stoyans suggestions from the other thread, but I doubt google is going to do much of anything in the near future. ---snctln www.snctln.com On Feb 21, 9:06 am, Steve Ingram steveing...@gmail.com wrote: As of this morning, the Android Market Developer Console is showing 2 total, 2 active installs. Google checkout shows 3 successful transactions and 1 declined payment. So, there may be a delay in updating the Dev Console. I noticed that some paid apps are showing up onwww.cyrket.com, but not mine. This makes me think that they are rolling out a limited number of apps to a limited number of people. This is probably a wise move considering we have heard that some people are experiencing difficulties making purchases. Of course, I am just speculating. It would be nice to get some official word from Google. Does anyone show more than a dozen purchases? --~--~-~--~~~---~--~~ 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: Loading a large list of contacts into a ListAdapter - making it responsive
Hi Romain, To follow up on this question, if the list is really big, so big that even 'what's needed to fill the screen with data' takes enougth time to generate a timeout, what to do? I guess it could be populated by chunks, but it gets nasty I think... You have to do the query in a background thread yourself. ListActivity doesn't do any heavy work, only what's needed to fill the screen with data. On Fri, Jan 23, 2009 at 3:55 AM, Miguel Paraz mpa...@gmail.com wrote: Hi, I need to load Contacts.Phones.CONTENT_URI and Contacts.ContactMethods.CONTENT_EMAIL_URI into a ListActivity. Since these are separate Content URIs, I have two separate cursors and can't construct a SimpleCursorAdapter for use in the ListActivity. The problem is that I have more than a thousand records for CONTENT_EMAIL_URI, which were automatically loaded by GMail. The app becomes unresponsive and Android prompts to kill the app or wait. Is there a way to make the ListActivity content load in the background, like, by writing a custom implementation of android.widget.Adapter? Or is it more feasible to use a single cursor, by manually running the SQL query on the contacts tables? 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: MemoryFile to create a file in memory?
the data is generated on the fly you can say since it is being retrieved from a UDP connection using an InputStream. --~--~-~--~~~---~--~~ 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 compile G1 apps code
I just created a new Android Project and change the Camera code for import packages and commented the code those are not required for me, i could have able to remove all the syntex errors.For the first time i ran the project and it was giving some errors and i ignored those, when i try to ran it second time it was giving error as Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLEhas any one experienced this type of error.I just checked the my Manifest.xml file and i am using shareUserId same as the camera apps is using android:sharedUserId = "android.media" "nEx.Software" justin.shapc...@gmail.com"nEx.Software" justin.shapc...@gmail.com Sent by: android-developers@googlegroups.com 02/20/2009 10:12 AM Please respond toandroid-developers@googlegroups.comToAndroid Developers android-developers@googlegroups.comccSubject[android-developers] Re: How to compile G1 apps codeI'm on Windows... And I know nothing of Git so here's my process...For Camera.apk source, go to:http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=commit;h=1d4c75065966c4f6f56900e31f655bfd1b334435 Download each raw file do your PC.Create a new Android Project in Eclipse.Import all of the downloaded files.Update the code as you wish.Make sure you change the Package Name in all places in the projectelse you won't be able to install it.If the Camera uses any internal classes, you won't be able to do thiswithout the full Android source,And it's not generally OK to do this as non-SDK based apps are notsupported.If all goes well, you can install directly to your phone and if youwant upload to the Market.On Feb 19, 9:29pm, sunil.mahar...@lntinfotech.com wrote: How did you compiled the Calculator code after you made your changes, can you plz lemme me know the procedure. I just want to change the Camera UI to add some extra button, when i press that button it should invoke my application. But i am not getting how to start and how to compile the Camera apps code. Can it be possible to Compile the Camera code indipendently, actually i couldn't find in the code any .apk file for Camera. So i am not sure how to compile the apps code. "nEx.Software" justin.shapc...@gmail.com Sent by: android-developers@googlegroups.com 02/19/2009 10:50 PM Please respond to android-developers@googlegroups.com To Android Developers android-developers@googlegroups.com cc Subject [android-developers] Re: How to compile G1 apps code I did an app based on the Calculator.. I just downloaded the source fromhttp://android.git.kernel.org/and made my changes, don't know if the Calendar or Camera use classes outside of the SDK but I'd give that a shot and see what happens. On Feb 19, 10:17 am, Android sunil.mahar...@lntinfotech.com wrote: Hi.. I wanna to compile the apps code, has any one tried it earlier, if so lemme know. How to compile the camera aur calender code. -Sunil __ __ __ --~--~-~--~~~---~--~~ 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: Paid apps related questions discussion list?
Yup I share a lot of these frustrations. I now have a return but absolutely no idea why. I don't know whether my app is visible to all users in the US or just a subset. I have copy protection enabled, so maybe as above it's causing my app to crash? Who knows - I can't download it to try it myself (I'm in the UK) and I can't even see the feedback for my own app!! BTW - Stoyan, where's the thread on copy protection causing crashes? I couldn't find it. --~--~-~--~~~---~--~~ 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
I think this is related to the restriction that an app with copy protection on cannot be downloaded to an unlocked phone, i.e. ADP. We have seen that too before turning the option off. On Feb 21, 8:40 am, Stoyan Damov stoyan.da...@gmail.com wrote: Something else - 1 of the mysteries just unveiled - both of my apps which wouldn't show on Cyrket are there now (at least by searching for them, not in the list yet). On Sat, Feb 21, 2009 at 6:38 PM, focuser linto...@gmail.com wrote: good to know that we are not alone. :) I have reported this issue through Android Market support and hoping they could fix it soon... On Feb 21, 8:31 am, Stoyan Damov stoyan.da...@gmail.com wrote: :OO I had users talking about these Force Close issues yesterday and I was scratching my head for a long time :O :O O Thanks man! On Sat, Feb 21, 2009 at 6:20 PM, focuser linto...@gmail.com wrote: Hi fellow developers, Recently there is a new option Copy Protection in Android Market Developer Console. We thought that was a nice protection on us and turned it on. Then here comes the impact: our app was no longer listed downloadable on ADP, and *MUCH WORSE*, those who can download have experienced severe force closes when the app starts! We have confirmed this by just downloadingrunning the app before and after that option is turned on. I have no idea what mechanism Google uses to implement that option, but it seems they are changing the apk -- the application size is larger when the option is on. Seen from the exception trace, it seems it's related to an issue that I reported before:http://groups.google.com/group/android-developers/browse_thread/threa... - Show quoted text - It seems the resource is screwed up. Basically findViewById returns a wrong thing, and in turn you get either NullPointerException or ClassCastException. We are still not able to use an ant script to automate the buildsign process, which triggers the bug and gives you a corrupted apk. However, exporting an unsigned apk using Eclipse and signing it manually works with no problem. What a bug,... we have lost 5000+ users due to this. Google should have tested more carefully it before making it available. Hope this is 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: Paid apps related questions discussion list?
I'm getting some users who can't download updates either. They can get the first version and then when I push an update, it just sits and downloading forever. I haven't experienced copy protection causing crashing, but I'm sure it is only a matter of time... On Feb 21, 12:25 pm, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: Yup I share a lot of these frustrations. I now have a return but absolutely no idea why. I don't know whether my app is visible to all users in the US or just a subset. I have copy protection enabled, so maybe as above it's causing my app to crash? Who knows - I can't download it to try it myself (I'm in the UK) and I can't even see the feedback for my own app!! BTW - Stoyan, where's the thread on copy protection causing crashes? I couldn't find it. --~--~-~--~~~---~--~~ 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
On Feb 21, 8:42 am, Mark Murphy mmur...@commonsware.com wrote: 1. Why are you still not able to use an ant script to automate the buildsign process? 2. If you aren't able to do #1, how do you know it triggers the bug and gives you a corrupted apk? OK, to clarify: If the ant script is used to sign the apk, it might produce a corrupted apk, i.e. throwing ClassCastException or NullPointerException at some point. This seems not happening all the time though. However, if I export an unsigned apk using Eclipse and sign it manually on the exactly same source code, everything is fine. So we had to give up using the ant script. The only fancy thing we do in the build script is to copy an xml that has the release Google Maps api key into res/values. But I think this should have no impact since the copy happens before compilation and the R.java will be regenerated by the build script: === target name=copy-release-files copy file=${build.resources}/api-keys-release.xml tofile=$ {resource-dir}/values/api-keys.xml overwrite=true/ /target target name=release depends=copy-release-files, dex, package- res === === Buildfile: build.xml copy-release-files: [copy] Copying 1 file to /workspaces/android-ws/theProject/res/ values dirs: [echo] Creating output directories if needed... [mkdir] Created dir: /workspaces/android-ws/theProject/bin-build [mkdir] Created dir: /workspaces/android-ws/theProject/bin-build/ classes resource-src: [echo] Generating R.java / Manifest.java from the resources... [exec] (skipping hidden file 'res/drawable/.DS_Store') ... === I'm not saying this is the same issue as the copy protection. Just they look very related. 3. Do you have a reproducible scenario you can publish with code? Or does the phenomenon only occur with this one app? We have not put any effort to reproduce the problem in other code base since we can still export and sign the apk manually without any problems. We will submit the code if we find a way to reproduce it. --~--~-~--~~~---~--~~ 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
2. If you aren't able to do #1, how do you know it triggers the bug and gives you a corrupted apk? To further clarify, :) the bug I mentioned is not necessarily the bug with copy protection. It's the problem we see when using the ant build script. --~--~-~--~~~---~--~~ 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] onSaveInstanceState and onRestoreInstanceState are not properly called
Hello, in my application, I sometimes start other activities which use the Theme.Dialog style the to show them like dialogs, as recommended in the FAQ of the Android documentation. And up to now I overrided the onSaveInstanceState and onRestoreInstanceState methods in my activity to store / restore my Activity's state when configuration changes occur, as shown in the example below. Now I found out that there is a problem with that: * When the other activity (ActivityB in my example) is started, ActivityA's onSaveInstanceState is called (why?). * While changing the screen orientation when ActivityB is shown in the foreground and ActivityA in the background, onSaveInstanceState and onRestoreInstanceState are not called for ActivityA. In my example, this means that the content of the textbox of ActivityA is properly restored when ActivityB is shown in the foreground only on the first screen orientation change, but not when changing the orientation for a second time. Using the savedInstanceState bundle I get in my onCreate method instead of using onRestoreInstanceState does not solve the problem for me, because the stored values in the bundle get lost in the scenario I described above. What is wrong with the approach I chose? -- package test.activitysave; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.widget.Button; import android.widget.EditText; import android.widget.LinearLayout; public class ActivityA extends Activity { private EditText txbTest; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LinearLayout layout = new LinearLayout(this); layout.setOrientation(LinearLayout.VERTICAL); txbTest = new EditText(this); layout.addView(txbTest, new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); Button button = new Button(this); button.setText(Start activity...); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(ActivityA.this, ActivityB.class); ActivityA.this.startActivity(intent); } }); layout.addView(button, new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); setContentView(layout); } @Override protected void onRestoreInstanceState(Bundle savedInstanceState) { super.onRestoreInstanceState(savedInstanceState); this.txbTest.setText(savedInstanceState.getCharSequence (ENTERED_TEXT)); } @Override protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putCharSequence(ENTERED_TEXT, this.txbTest.getText()); } } --~--~-~--~~~---~--~~ 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] MenuItems and Typefaces
I am trying to use arabic fonts in my application. I have already managed to view Arabic fonts by using the appends folder and usint TextView tv.setTypeface(typeface). The problem is that menus require just de id number or the Charsequence, and I cannot use tv.setTypeface since I do not have a way of accesing to its inner TextView. Do you know any way to do that? Thanks. Christian. --~--~-~--~~~---~--~~ 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: Paid apps related questions discussion list?
One more data point for the copy protection concerns. I had my paid app using copy protection, and apparently some people were able to find it for awhile - I got two downloads and an email from AdMob asking me to advertise my paid app with them. I, however, could not see my app on my ADP1. While I scurried about the internets trying to find out why, I check my phone hopefully every few minutes, and, oddly enough, an hour later I could see my app. I went to sleep and checked the market again 10 hours later, and my app was gone again. I saw lots of complaints about copy protection and turned it off. I just checked my phone now, 10 minutes after turning off copy protection, and I can see my paid app in the market again. On Feb 21, 12:46 pm, Timothy DeWees whtdrgn...@gmail.com wrote: I'm getting some users who can't download updates either. They can get the first version and then when I push an update, it just sits and downloading forever. I haven't experienced copy protection causing crashing, but I'm sure it is only a matter of time... On Feb 21, 12:25 pm, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: Yup I share a lot of these frustrations. I now have a return but absolutely no idea why. I don't know whether my app is visible to all users in the US or just a subset. I have copy protection enabled, so maybe as above it's causing my app to crash? Who knows - I can't download it to try it myself (I'm in the UK) and I can't even see the feedback for my own app!! BTW - Stoyan, where's the thread on copy protection causing crashes? I couldn't find it. --~--~-~--~~~---~--~~ 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: MemoryFile to create a file in memory?
In that case you'll either have to wait for Cupcake, or set up a local http proxy to stream through. On Sat, Feb 21, 2009 at 9:13 AM, Moto medicalsou...@gmail.com wrote: the data is generated on the fly you can say since it is being retrieved from a UDP connection using an InputStream. --~--~-~--~~~---~--~~ 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: Market Process
now, what exactly is all data? thanks - On Feb 21, 4:14 pm, g1bb corymgibb...@gmail.com wrote: Each transaction in Google Checkout has a unique order number associated with it. Also, all data is exportable to .csv. On Feb 21, 6:59 am, deepdr...@googlemail.com deepdr...@googlemail.com wrote: as there are now paid applications out there, maybe one of the paid applications developers can answer this question: ? On Jan 22, 6:28 am, AndroidKing rbasso...@gmail.com wrote: Is Google going to provide any information to the developers about the people who buy their apps (ex: email, phone ID, etc) This will be nice since the apps can use such information to prevent piracy ex: a user buys an app from the market. Google sends the developer their device ID App developer has Database for legit users (using information above), and app gets authenticated bases on that... any ideas otherwise limiting piracy would be very hard --~--~-~--~~~---~--~~ 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: Paid apps related questions discussion list?
+1 for not being able to install updates. I asked them to uninstall and reinstall but no feedback yet. This is RIDICULOUS, Google shouldn't have put the paid apps-enabled Market before testing it to death. On Sat, Feb 21, 2009 at 7:46 PM, Timothy DeWees whtdrgn...@gmail.com wrote: I'm getting some users who can't download updates either. They can get the first version and then when I push an update, it just sits and downloading forever. I haven't experienced copy protection causing crashing, but I'm sure it is only a matter of time... On Feb 21, 12:25 pm, ellipsoidmob...@googlemail.com - Show quoted text - ellipsoidmob...@googlemail.com wrote: Yup I share a lot of these frustrations. I now have a return but absolutely no idea why. I don't know whether my app is visible to all users in the US or just a subset. I have copy protection enabled, so maybe as above it's causing my app to crash? Who knows - I can't download it to try it myself (I'm in the UK) and I can't even see the feedback for my own app!! BTW - Stoyan, where's the thread on copy protection causing crashes? I couldn't find it. --~--~-~--~~~---~--~~ 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: Loading a large list of contacts into a ListAdapter - making it responsive
To follow up on this question, if the list is really big, so big that even 'what's needed to fill the screen with data' takes enougth time to generate a timeout, what to do? There is no way that a properly written adapter would timeout to fill the screen. The timeout is set to *5 seconds.* You are doing something very wrong in your app and you should profile it to see what's going on. I guess it could be populated by chunks, but it gets nasty I think... You have to do the query in a background thread yourself. ListActivity doesn't do any heavy work, only what's needed to fill the screen with data. On Fri, Jan 23, 2009 at 3:55 AM, Miguel Paraz mpa...@gmail.com wrote: Hi, I need to load Contacts.Phones.CONTENT_URI and Contacts.ContactMethods.CONTENT_EMAIL_URI into a ListActivity. Since these are separate Content URIs, I have two separate cursors and can't construct a SimpleCursorAdapter for use in the ListActivity. The problem is that I have more than a thousand records for CONTENT_EMAIL_URI, which were automatically loaded by GMail. The app becomes unresponsive and Android prompts to kill the app or wait. Is there a way to make the ListActivity content load in the background, like, by writing a custom implementation of android.widget.Adapter? Or is it more feasible to use a single cursor, by manually running the SQL query on the contacts tables? Thanks! -- Romain Guy Android framework engineer romain...@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: Paid apps related questions discussion list?
Many users who try to download paid apps are complaining that the downloads are not actually working. Google needs to display a support e-mail regarding Market issues in plain site so that users will not contact developers for payment and download related issues. On Feb 21, 10:54 am, Stoyan Damov stoyan.da...@gmail.com wrote: Think twice before turning on the Copy Protection option! I think On Sat, Feb 21, 2009 at 7:25 PM, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: Yup I share a lot of these frustrations. I now have a return but absolutely no idea why. I don't know whether my app is visible to all users in the US or just a subset. I have copy protection enabled, so maybe as above it's causing my app to crash? Who knows - I can't download it to try it myself (I'm in the UK) and I can't even see the feedback for my own app!! BTW - Stoyan, where's the thread on copy protection causing crashes? I couldn't find it. --~--~-~--~~~---~--~~ 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: Paid apps related questions discussion list?
I just got another round of emails about people not being able to download updates. I don't think it is a coincidence now... Any work from T-Mobile or Google? On Feb 21, 2:20 pm, Gil virgildobjans...@gmail.com wrote: Many users who try to download paid apps are complaining that the downloads are not actually working. Google needs to display a support e-mail regarding Market issues in plain site so that users will not contact developers for payment and download related issues. On Feb 21, 10:54 am, Stoyan Damov stoyan.da...@gmail.com wrote: Think twice before turning on the Copy Protection option! I think On Sat, Feb 21, 2009 at 7:25 PM, ellipsoidmob...@googlemail.com ellipsoidmob...@googlemail.com wrote: Yup I share a lot of these frustrations. I now have a return but absolutely no idea why. I don't know whether my app is visible to all users in the US or just a subset. I have copy protection enabled, so maybe as above it's causing my app to crash? Who knows - I can't download it to try it myself (I'm in the UK) and I can't even see the feedback for my own app!! BTW - Stoyan, where's the thread on copy protection causing crashes? I couldn't find it. --~--~-~--~~~---~--~~ 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: Can't see comments in my app?
I'm attempting to view the comments on my G1 (not ADP). And I believe you are correct on your theory with the protected apps and Cyrket. On Feb 21, 9:23 am, snctln catlin.s...@gmail.com wrote: Where are you trying to view the comments? The developer console has never allowed developers to see comments. You should be able to see them from the market on your device. If you don't have a device then you can usually see the last dozen or so comments by visiting cyrket.com, cyrket doesn't seem to have all of the paid apps listed, I am not sure why, my own personal theory is that it is not listing the protected apps. ---snctlnwww.snctln.com On Feb 21, 9:03 am, g1bb corymgibb...@gmail.com wrote: Hello, I can't seem to view comments in my own application. Is anyone else having this issue? 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: Can't see comments in my app?
Actually, 100% correct. I just turned off protection and Cyrket updated immediately. On Feb 21, 1:08 pm, g1bb corymgibb...@gmail.com wrote: I'm attempting to view the comments on my G1 (not ADP). And I believe you are correct on your theory with the protected apps and Cyrket. On Feb 21, 9:23 am, snctln catlin.s...@gmail.com wrote: Where are you trying to view the comments? The developer console has never allowed developers to see comments. You should be able to see them from the market on your device. If you don't have a device then you can usually see the last dozen or so comments by visiting cyrket.com, cyrket doesn't seem to have all of the paid apps listed, I am not sure why, my own personal theory is that it is not listing the protected apps. ---snctlnwww.snctln.com On Feb 21, 9:03 am, g1bb corymgibb...@gmail.com wrote: Hello, I can't seem to view comments in my own application. Is anyone else having this issue? 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: Market Process
Order #, Merchant Order #, Order Creation Date, Currency, Amount, Amount Charged, Financial Status, Fullfillment Status On Feb 21, 11:45 am, deepdr...@googlemail.com deepdr...@googlemail.com wrote: now, what exactly is all data? thanks - On Feb 21, 4:14 pm, g1bb corymgibb...@gmail.com wrote: Each transaction in Google Checkout has a unique order number associated with it. Also, all data is exportable to .csv. On Feb 21, 6:59 am, deepdr...@googlemail.com deepdr...@googlemail.com wrote: as there are now paid applications out there, maybe one of the paid applications developers can answer this question: ? On Jan 22, 6:28 am, AndroidKing rbasso...@gmail.com wrote: Is Google going to provide any information to the developers about the people who buy their apps (ex: email, phone ID, etc) This will be nice since the apps can use such information to prevent piracy ex: a user buys an app from the market. Google sends the developer their device ID App developer has Database for legit users (using information above), and app gets authenticated bases on that... any ideas otherwise limiting piracy would be very hard --~--~-~--~~~---~--~~ 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: Signing an application on Linux
On Feb 21, 11:50 am, Nox v.beh...@googlemail.com wrote: Can anyone sign my application for me? I could send it to you and you sign it and send it to me back. It would really be best if you worked out how to do it for yourself. Which part of the instructions is giving you trouble? -- Jon --~--~-~--~~~---~--~~ 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: Market for paid Apps - Identifying customers
On Jan 20, 9:54 pm, deepdr...@googlemail.com deepdr...@googlemail.com wrote: Once the market opens for paid apps - will we developers be able to see email addresses of paying customers? Or, will there be some other way to identify legit purchases, so, if we receive support requests via email, will there be a way to tell whether the request comes from a paying customer? You get to see the customer's full name and postal address. Checkout uses an e-mail forwarding system so that the address you see is something like jon-c9jd94wj...@checkout.google.com and when you send mail to that it gets forwarded to the customer. So far I've had a couple of support requests and I was able to find the user easily by searching for their name in the Checkout records. -- Jon --~--~-~--~~~---~--~~ 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 tame CPU usage?
On Feb 18, 2:36 pm, Mariano Kamp mariano.k...@gmail.com wrote: That sounds very sophisticated. I will try to see how far I can with the current approach and the latency it brings with it. You approach feels too much like doing the operating systems job, which is probably fine and necessary for your case. In my case the latency thing is just an annoyance that can be kept at bay with the easy approach with the background prio and I will rather waste some more brain cycles on other stuff like hunting application logic bugs ;-) Tweaking process/thread priorities may be sufficient if you're not too resource hungry. Consider however that the OS does not have the semantic context to provide resources in support of those desirable snappy responses (GC adding insult to injury). That's when you may have to add a managerial layer. Good luck though. --~--~-~--~~~---~--~~ 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: Paid apps related questions discussion list?
On Feb 21, 3:24 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Is there a dedicated list for developers who have paid apps in Android Market? It would be best if that list has at least 1 *Google* (not Android, i.e. I don't need it to be technically savvy) employee able to give sensible answers to WTF questions related to the Market and paid apps? This would seem to be the official place: http://www.google.com/support/forum/p/Android+Market -- Jon --~--~-~--~~~---~--~~ 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
Hello, do you have an output from Ant when the error happens? Ant and Eclipse use mostly the same code to generate the apk, so I'm a bit surprised to see this. thanks Xav On Sat, Feb 21, 2009 at 9:51 AM, focuser linto...@gmail.com wrote: On Feb 21, 8:42 am, Mark Murphy mmur...@commonsware.com wrote: 1. Why are you still not able to use an ant script to automate the buildsign process? 2. If you aren't able to do #1, how do you know it triggers the bug and gives you a corrupted apk? OK, to clarify: If the ant script is used to sign the apk, it might produce a corrupted apk, i.e. throwing ClassCastException or NullPointerException at some point. This seems not happening all the time though. However, if I export an unsigned apk using Eclipse and sign it manually on the exactly same source code, everything is fine. So we had to give up using the ant script. The only fancy thing we do in the build script is to copy an xml that has the release Google Maps api key into res/values. But I think this should have no impact since the copy happens before compilation and the R.java will be regenerated by the build script: === target name=copy-release-files copy file=${build.resources}/api-keys-release.xml tofile=$ {resource-dir}/values/api-keys.xml overwrite=true/ /target target name=release depends=copy-release-files, dex, package- res === === Buildfile: build.xml copy-release-files: [copy] Copying 1 file to /workspaces/android-ws/theProject/res/ values dirs: [echo] Creating output directories if needed... [mkdir] Created dir: /workspaces/android-ws/theProject/bin-build [mkdir] Created dir: /workspaces/android-ws/theProject/bin-build/ classes resource-src: [echo] Generating R.java / Manifest.java from the resources... [exec] (skipping hidden file 'res/drawable/.DS_Store') ... === I'm not saying this is the same issue as the copy protection. Just they look very related. 3. Do you have a reproducible scenario you can publish with code? Or does the phenomenon only occur with this one app? We have not put any effort to reproduce the problem in other code base since we can still export and sign the apk manually without any problems. We will submit the code if we find a way to reproduce it. -- Xavier Ducrohet Android Engineer, Google. --~--~-~--~~~---~--~~ 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: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market
Yes, it's probably not related to copy protection because I've had users complaining of Force close issues w/ the latest update. On top of that, I just go an e-mail saying: I am trying to update my game but perhaps your data connection is weak . It seems to go on and on and takes forever to update . Now hey, guys @ Google, why wouldn't you put some help in the Market application explaining how network and installation issues couldn't possibly be *our* fault. And DON'T TELL ME that there's help online for whoever wanted to see it because I am starting to read Douglas Adams here and that the plans for the Earth's destruction being on Alpha Centaurus for 2 million years (or whatever it was). On Sat, Feb 21, 2009 at 8:13 PM, focuser linto...@gmail.com wrote: 2. If you aren't able to do #1, how do you know it triggers the bug and gives you a corrupted apk? To further clarify, :) the bug I mentioned is not necessarily the bug with copy protection. It's the problem we see when using the ant build script. - 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: When will Android support Multiple PDP?
Well, according to http://www.3g4g.co.uk/Tutorial/ZG/zg_pdp it is not the same. Multiple APN means that you can use different connections at the same time. Whereas multiple PDP contexts means that you can use the same connection with different configurations (e.g. QoS). On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote: On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote: More specifically, as I know, Symbian 7.0s higher support Multiple PDP, that's mean you can create multiple, for example, GPRS context use it simultaniously(such as MMS WAP Inet context)... Does Android support this feature? If not, when will it support? Please help me. The Android roadmap mentions upcoming support for multiple APNs:http://source.android.com/roadmap Is that the same thing? -- Jon --~--~-~--~~~---~--~~ 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] INDIAN ACTRESS BATHING PICS
CLICK HERE http://tamilcinemamasala.blogspot.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: When will Android support Multiple PDP?
The original release was 1.0, the release that just went out was 1.1, and Cupcake is still in development so does not have a version number. On Sat, Feb 21, 2009 at 12:47 AM, David Hu vistoda...@gmail.com wrote: Thanks, Jon and Anonymous, it makes sense to me. If possible, I want the official release number, such as Android 1.0 or Android 1.1 or CupCake release or Android 1.x, 2.x.. Anyone knows the release version of Android? On Sat, Feb 21, 2009 at 9:23 AM, Anonymous Anonymous firewallbr...@googlemail.com wrote: yes, so we do have a new road map? On Sat, Feb 21, 2009 at 6:51 AM, Jon Colverson jjc1...@gmail.com wrote: On Feb 20, 9:06 pm, David Hu vistoda...@gmail.com wrote: Thanks, Jon. It seems the same, but why I can't open this pagehttp:// source.android.com/roadmap, which always report can't find the server? Is it public acess? Would you please tell me when and which release will support this feature? Thanks again. Yes, it is a public server. It's working for me. Perhaps it's a geographic problem. Anyway, here's what the page says: Support for multiple APNs - This feature will enable the different applications to connect to different Access Point Nodes (APNs). For example, a web browser can connect to an Internet APN connection while the MMS can connect to a separate MMS APN. That's listed under the section for Q4 2008, so obviously that's already passed. Does anyone know if this feature has made it into the open source project yet? -- Jon -- 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] remote service process persists (i.e. won't disappear from process table)
Hello service developers! At a certain point in my program, when I'm completely done with my service, my activity executes unbindService() and stopService() -- yet the process persists. I can tell that it persists because I run ps in adb -e shell: USER PID PPID VSIZE RSS WCHANPC NAME app_19 2041 23108360 16128 afe0c534 S com.example.helloactivity app_19 2049 2395732 13336 afe0c534 S com.example.helloactivity:remote Thanks to adb logcat, I can show you the sequence of events: ACTIVITY: context.unbindService(serviceConnection); SERVICE: onUnbind(); ACTIVITY: stopService(serviceIntent); returns true! SERVICE: onDestroy(); First, my activity calls unbindService(serviceConnection). According to the documentation, unbindService() will Disconnect from an application service. You will no longer receive calls as the service is restarted, and the service is now allowed to stop at any time. So that is fine, and it is happening. Appropriately, we see the onUnbind() call happen on the service side. According to the documentation, onUnbind() is called when all clients have disconnected from a particular interface published by the service. So this confirms the correct service connection is being passed, and that the service is responding accordingly. Next, my activity calls stopService(serviceIntent), and returns true. According to the documentation, stopService() does the following: If there is a service matching the given Intent that is already running, then it is stopped and true is returned; else false is returned. Again, this is happening and returning true. In response, the service's onDestroy() method is called. According to the documentation, onDestroy() is Called by the system to notify a Service that it is no longer used and is being removed. The service should clean up any resources it holds (threads, registered receivers, etc) at this point. Upon return, there will be no more calls in to this Service object and it is effectively dead. At this point I expect the process to disappear from the process table. Yet it remains indefinitely. But why? Also, the process is so persistent that I can bind to it again, and I see that it is the same exact process responding because the PID (process ID) is the same! Can anyone shed any light on this? Also, can anyone out there use ps to see if their process is still there when you think it should be gone? Thanks a lot! --~--~-~--~~~---~--~~ 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] TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)
I am SICK AND TIRED of typing and pasting the SAME thing OVER and OVER again today - if you have any issues with the application after an update, please re-install it. Could someone at Google FINALLY do something about it? It's been dozens of users today. I can only guess when paid apps-enabled Market app spreads to all users. The issues are (for the Nth time): hanging download, hanging install, Force close dialog at startup. FWIW it doesn't matter if the application is free or paid (had issues with both), or is protected or not (had issues with both). On Sat, Feb 21, 2009 at 10:53 PM, Jon Colverson jjc1...@gmail.com wrote: - Show quoted text - On Feb 21, 3:24 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Is there a dedicated list for developers who have paid apps in Android Market? It would be best if that list has at least 1 *Google* (not Android, i.e. I don't need it to be technically savvy) employee able to give sensible answers to WTF questions related to the Market and paid apps? This would seem to be the official place: http://www.google.com/support/forum/p/Android+Market -- Jon - 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: TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)
That is, while I care about bad ratings (people are giving 1 star when they have any of the problems in my previous post) I care more about frustrated users CANCELLING their orders because of these issues. I was JUST about to have 1 cancel because of the update problems (in this case the Force Close dialog problem). On Sun, Feb 22, 2009 at 4:13 AM, Stoyan Damov stoyan.da...@gmail.com wrote: I am SICK AND TIRED of typing and pasting the SAME thing OVER and OVER again today - if you have any issues with the application after an update, please re-install it. Could someone at Google FINALLY do something about it? It's been dozens of users today. I can only guess when paid apps-enabled Market app spreads to all users. The issues are (for the Nth time): hanging download, hanging install, Force close dialog at startup. FWIW it doesn't matter if the application is free or paid (had issues with both), or is protected or not (had issues with both). On Sat, Feb 21, 2009 at 10:53 PM, Jon Colverson jjc1...@gmail.com wrote: - Show quoted text - On Feb 21, 3:24 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Is there a dedicated list for developers who have paid apps in Android Market? It would be best if that list has at least 1 *Google* (not Android, i.e. I don't need it to be technically savvy) employee able to give sensible answers to WTF questions related to the Market and paid apps? This would seem to be the official place: http://www.google.com/support/forum/p/Android+Market -- Jon - 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: Paid apps related questions discussion list?
+ 1 for updates not downloading. Google, please fix the Market problems. I got 100 e-mails today about Market payment and download problems. Please support your products! On Feb 21, 12:53 pm, Jon Colverson jjc1...@gmail.com wrote: On Feb 21, 3:24 pm, Stoyan Damov stoyan.da...@gmail.com wrote: Is there a dedicated list for developers who have paid apps in Android Market? It would be best if that list has at least 1 *Google* (not Android, i.e. I don't need it to be technically savvy) employee able to give sensible answers to WTF questions related to the Market and paid apps? This would seem to be the official place:http://www.google.com/support/forum/p/Android+Market -- Jon --~--~-~--~~~---~--~~ 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: When will Android support Multiple PDP?
Any more on Android? On Sun, Feb 22, 2009 at 6:53 AM, Tote tot...@gmail.com wrote: Well, according to http://www.3g4g.co.uk/Tutorial/ZG/zg_pdp it is not the same. Multiple APN means that you can use different connections at the same time. Whereas multiple PDP contexts means that you can use the same connection with different configurations (e.g. QoS). On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote: On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote: More specifically, as I know, Symbian 7.0s higher support Multiple PDP, that's mean you can create multiple, for example, GPRS context use it simultaniously(such as MMS WAP Inet context)... Does Android support this feature? If not, when will it support? Please help me. The Android roadmap mentions upcoming support for multiple APNs: http://source.android.com/roadmap Is that the same thing? -- Jon --~--~-~--~~~---~--~~ 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 do you get the local time zone?
Issue resolved here: http://code.google.com/p/android/issues/detail?id=2037 On Feb 19, 2:12 am, bw ben.weisb...@gmail.com wrote: I found a pseudo-workaround that uses getResources().getConfiguration ().locale.getCountry() and looks up timezone by country code. For any country that contains more than 1 time zone, this will only calculate time for one of those timezones. Also, this doesn't handle daylight savings vs. standard time. -Ben Ps. Here's the code: MapString, Integer timeZoneOffsetMap = new HashMapString, Integer (); { timeZoneOffsetMap.put(CZ,+1); // Czech Republic timeZoneOffsetMap.put(AT,+1); // Austria timeZoneOffsetMap.put(BE,+1); // Belgium timeZoneOffsetMap.put(CH,+1); // Switzerland timeZoneOffsetMap.put(DE,+1); // Germany timeZoneOffsetMap.put(LI,+1); // Liechtenstein timeZoneOffsetMap.put(LU,+1); // Luxembourg timeZoneOffsetMap.put(AU,+11); // Australia timeZoneOffsetMap.put(BE,+1); // Belgium timeZoneOffsetMap.put(BW,+2); // Botswana timeZoneOffsetMap.put(BZ,-6); // Belize timeZoneOffsetMap.put(CA,-6); // Canada timeZoneOffsetMap.put(GB,+0); // United Kingdom timeZoneOffsetMap.put(HK,+8); // Hong Kong SAR China timeZoneOffsetMap.put(IE,+0); // Ireland timeZoneOffsetMap.put(IN,+6); // India timeZoneOffsetMap.put(JM,-5); // Jamaica timeZoneOffsetMap.put(MH,+12); // Marshall Islands timeZoneOffsetMap.put(MT,+1); // Malta timeZoneOffsetMap.put(NA,+1); // Namibia timeZoneOffsetMap.put(NZ,+13); // New Zealand timeZoneOffsetMap.put(PH,+8); // Philippines timeZoneOffsetMap.put(PK,+5); // Pakistan timeZoneOffsetMap.put(SG,+8); // Singapore timeZoneOffsetMap.put(TT,-4); // Trinidad and Tobago timeZoneOffsetMap.put(US,-6); // United States timeZoneOffsetMap.put(VI,-4); // U.S. Virgin Islands timeZoneOffsetMap.put(ZA,+2); // South Africa timeZoneOffsetMap.put(FR,+1); // France timeZoneOffsetMap.put(BE,+1); // Belgium timeZoneOffsetMap.put(NL,+1); // Netherlands } String country = context.getResources().getConfiguration ().locale.getCountry().toUpperCase(); int timeZoneOffset_hours = 0; if(timeZoneOffsetMap.containsKey(country)) { timeZoneOffset_hours= timeZoneOffsetMap.get(country); } int timeZoneOffset_millisec = timeZoneOffset_hours * 60 * 60 * 1000 long now = System.currentTimeMillis() + timeZoneOffset_millisec; On Feb 18, 10:12 pm, bw ben.weisb...@gmail.com wrote: Hi, I can't figure out how to get the local time zone... TimeZone.getDefault() returns Pacific Time, while my phone's settings show the time zone correctly set to EST. Thanks -Ben --~--~-~--~~~---~--~~ 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 my gallery on real device behave so oddly?
Hi All, I play with android on my real device. 1. Given there is six icons in the gallery sceen, no matter what icon I click, it always show me the first icon image. 2. On the image display, the left and right side has a TRIANGLE , on emulator, for a pull-click, it can response to next/previous image, however on my device , it doesn't work. Please note, My touch screen is working .But if I press DOWN button in the keyboard, it can move to next image. 3. When display to last image, keyboard UP can not move to previous image, while in emulator, it can do like that. I feel very puzzled, is there any environment or property is not set, or something else error happened? Max --~--~-~--~~~---~--~~ 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 my gallery on real device behave so oddly?
Hi All, I play with android on my real device. 1. Given there are six icons in the gallery sceen, no matter what icon I click, it always show me the first icon image. 2. On the image display, the left and right side has a TRIANGLE , on emulator, for a pull-click, it can response to next/previous image, however on my device , only LEFT TRIANGLE work, so it can jump to previous showned image.For RIGHT TRIANNGLE, I can see it is clicked, but no response.For my keyboard, UP/DOWN button are both working. to next image. By the way, the Zoom in/out on the sceen is working also. I feel very puzzled, is there any environment or property is not set, or something wrong with my touchscreen driver? Max --~--~-~--~~~---~--~~ 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 send Email??
Hello everyone, I have found this K9 source code, but I'm looking for the actual piece of code that actually sends the email. http://k9mail.googlecode.com/svn/k9mail/trunk/ Can anyone help me? Thanks, Noam. --~--~-~--~~~---~--~~ 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 add transparent button to screen
Hi all, When I use android's camera, the buttons are transparent. Does anyone knows how to do that? A lot of 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Eclipse and Junit
Hi, I've tried to setup eclipse to run junit after reading the following instructions http://developer.android.com/guide/appendix/faq/troubleshooting.html#addjunit. My testrunner is setup in a different project then the classes I'm testing. When I'm executing the test I'm getting NoClassDefFoundError when I'm trying to call any Android class. So I tried to run the suite from the tested project which didn't help. Am I missing something, of is JUnit isn't really working directly from Eclipse using the Android plugin? --~--~-~--~~~---~--~~ 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 can't my update be installed by users?
I did an app called Hello Yahoo and today I made an update. But users said it can't be installed because the package is not signed correctly. And after that the old version can't even be uninstalled because the device thinks it is uninstalled already.. I never experience that, but it is reported by many users. I do use a different keystore to sign it with the update. Is this the case? How can I fix 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 -~--~~~~--~~--~--~---