[android-developers] Re-using the Android Call Log / Contacts and sms capabilities.
Hello developers/community. I am making an internet telephony application based on a proprietary protocol which connects to a web server for call setup. As with other telephony applications this app also has three basic requirements: The need for a call log, a contact book and the ability to send/receive messages. One option is for me to develop all these three capabilities from the scratch. Another possibility is to leverage upon the built-in capabilities of android and tie them up to my application using content resolvers and Intents. Let me explain my requirements below, and I welcome your comments regarding their technical feasibility: *A)) Call Log: * I would like to maintain the call log of my application with the android call log. This will make sure that the user has one view of all the calls that were made (cellular or internet). Is there a way to read/write/delete from the call log application from android? I believe this can be done using content resolvers. From the call log, if the user wishes to call back a customer (internet customer in my case) , then I wish to provide the user with an Intent Chooser. If the user selects by application, then the call will be made from my application and not a cellular call. How do I achieve this behavior ? If I listen to the ACTION_CALL intent, will my application be available in the intent chooser ? Or will android try to initiate a cellular call by default? *B)) Contact Book:* * * The customers can save the internet user's address in the contact book. There is an entry of a CUSTOM_PROTOCOL in the contact book of android. That is where the address of the user can be stored who is using my application. We already have choices of Yahoo, Gtalk and Skype in the contact book. Similarly, we can also have a custom protocol entry over there. But this is only half the issue. When the user selects the address of the custom protocol from the contact book, I wish to display a pop-up listing my application (maybe I can listen to the intent which is emitted). Now, if the user selects my application from the pop-up, I will make a call over the internet instead of the cellular world (my broadcast receiver will gain control). Again, I am not sure whether the above is possible and android will display the intent chooser from the contact book if my custom protocol field is selected. *C)) SMS capabilities:* When the user composes a SMS and tries to send it, I wish to intercept the outgoing SMS and provide the user a choice - to send the SMS using my application,or from android's native capabilities (GSM-SMS). I believe it is possible to listen to outgoing messages by registering a content observer on the SMS content resolver URI. However, I would like to know whether an INTENT is fired when the user tries to send a message ? It would make life much easier. Secondly, I want to re-use the android SMS storage for the messages received from my custom protocol over the internet. I wish to write to the android sms database (using its content resolver) for this. Thanks in advance With Regards Indodroid. -- 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: Settings.Secure.ANDROID_ID not unique on DROID2?
Currently, I'm showing 1,168 DROID2's with that ANDROID_ID using my app. John, have you had any complaints yet about conflicts from duplicate unique ids? -seni -- 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: A Question regarding Android system preferences: Settings.Secure
Any pointers for this question will be really helpful.. Thanks in advance Indodroid On Fri, May 21, 2010 at 11:31 AM, Android Development indodr...@gmail.comwrote: Hello, This is regarding the DATA_ROAMING property given here: http://developer.android.com/reference/android/provider/Settings.Secure.html#DATA_ROAMING What exactly does it mean to enable/disable data roaming ? If the user is roaming in the same access technology (say GSM), then handoffs will take place automatically. In which context is this property used ? Thanks in advance Best Regards Indodroid. -- 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: Code of Home Screen
Thanks !!! On Aug 20, 12:39 am, QR qro...@gmail.com wrote: Yes, the Launcher app is the default home screen application. On Aug 19, 7:42 am,chetanchetanchauha...@gmail.com wrote: Hi All, I want to see the code of Home Application and Menu in Android. Actually i have downloaded the source code of Eclair 2.1 and looking for Code of Home screen. In pacakage/apps/ , there is a Lancher App, is it Home screen or some different application is there for Home screen. Can some body tell me, where i can look for home screen code. Thanks in Advance. ChetanChauhan -- 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: Reverse C2DM
oops sorry. Let me try to give an example. There is Chrome to Android plugin(which is similar to PC to Android) I am wondering if its possible to have Android to PC. 1 ) To send files from Android to PC 2 ) To send remote commands to my PC. Hence is it possible to communicate from Android to PC (through CLOUD or without.) I hope the question is clear now. Thanks. On Aug 19, 9:19 pm, Frank Weiss fewe...@gmail.com wrote: Sorry, but that question is a bit confusing. The title suggests you're asking about Android-to-cloud, but then you throw in Windows. -- 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: Settings.Secure.ANDROID_ID not unique on DROID2?
John, have you had any complaints yet about conflicts from duplicate unique ids? I handled it in code. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Greedy Pirates - My First Android Game
Hi, from a brief look at the video you (I suppose) took: 1) I hate shaking the phone (while playing) on a regular basis. Maybe you could try to think about some other way to power the cannon. 2) The power is dropping way too fast, make it slower. 3) High-scores table seems like a good idea (online if possible), make more game modes, power-ups could work too. Best regards, Filip Havlicek 2010/8/19 Trevor Boyle tpboyl...@gmail.com Last week I put my first Android Game onto the market, 'Greedy Pirates'. I would love it if you could have a play and give me some feedback. http://greedypirates.trevorboyle.com/ I had some initial problems with the OpenGL (which were quickly fixed), but I received a number of bad ratings as a result. Things are beginning to slowly pick-up now though. I have a few improvements in mind, most obviously a high-scores table. I am also considering implementing 'user activated' power-ups, any suggestions? Thanks, Trevor -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Regarding Storing of data in the database in android.
Hi, take a look at this tutorial http://developer.android.com/guide/tutorials/notepad/index.html It contains pretty much everything you need in the first exercise. Best regards, Filip Havlicek 2010/8/19 AAJ sethuraman.ak...@gmail.com Hello, I am working on some sample programs, where i have to take the value from the user and store it in the database. I have used DroidDraw to create the XML code for UI.For now, I have just started with a textbox. So, I have to take the value from this textbox and store it in a database. I am using SQlite browser to create tables. I read in some forums, that one way of doing this - 1. Copy the db file in the asset folder of the android project and use the AssetManager class. But i am not able to figure out how to use the asset manager class here. Or if I could get some simpler suggestions on how to store the value from user into the database, it would be great. Thanks AAJ. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Sending EMAIL
The email address that I pass via: sendIntent.putExtra(Intent.EXTRA_EMAIL, theem...@comcast.net); is always ignored and so it has to be manually entered on each email. Any solution? Thanks in advance. Try this : private static final String YOURTO = m...@medomain.com; intent.putExtra(Intent.EXTRA_EMAIL, new String[] { YOURTO }); Good luck ! Frank -- 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 change an activity in a tab
Hello everybody, I have two tabs each with an activity. Now I implemented an TouchEvent where I will change the activity of one tab. How can I do that. I heard about ActivityGroup and I tried it but If I call that ActivityGroup teh activity switch to fullscreen and the tabs are gone. Could anyone please help me out. 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
Re: [android-developers] Re: Paid vs Free, My Early Experience
On 19 August 2010 23:09, TreKing treking...@gmail.com wrote: This is why there should be a technical note field (where you could also describe hardware limitations for example) and I'd rather ask for that than for a longer description field. What's the point of adding another, separate field for technical notes instead of just extending the description space and using that and saying: Technical Note: Don't be a dumbass (or whatever). My reasons for suggesting it are as follows: it keeps consistency between listings, it reminds the developer to think about whether there are any technical notes he/she wishes to add, it means the technical info isn't lost in a sea of descriptions (assuming you can write descriptions longer than 325 characters), it enables the phone to download smaller amount of data (the technical note wouldn't need to be downloaded at the same time as the changelog because they would be on a separate screen presumably) and it gives Google more flexibility regarding how they manage their dB because they could break it up rather than having to hold a big text field (the long description) for each app. Fundamentally, it seems that we want the same thing but we have a totally different approach to the problem. You just want a space where you can write it all and as we are already provided with a description field, your reasoning is that if this field had no length limit, you could put it all in there, and this is true, this would solve your problem. I want a more organised way of putting that info in because of the criticisms I constantly hear about the market, namely that the search facility isn't very good and that it's not as sleek as the Apple app store. So things like tagging, while undoubtedly more difficult to implement, would help with searching, and sleekiness, for me, has a lot to do with consistency across the store, hence my reluctance for the description field to be used for anything besides description. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Paid vs Free, My Early Experience
PS: there are other aspects to take into considerations for what people call sleeky, like graphics, they need to be addressed as well obviously. -- 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: Chilling news: Oracle sues Google over Android
Just a minor detail: IMO, while Android is good, the design undershoots rather than challenges the technology -- it's a bit too primitive/limiting for the hardware of 2 years from now. And I don't think that Oracle is trying to claim that bytecode/JVM is their invention. Rather, they probably have several patents on specific details they hope to cash in on. A good patent engineer can always find a crack in existing patents in which to claim some new territory. On Aug 20, 12:25 am, gosh steve...@unimelb.edu.au wrote: The Irony of Java's success on the device UI via Android There's lots of irony in the successful use of the Java 'language' within the phenomena that the Android OS has become. E.g. Java began life at Sun as Oak which was meant to be a language for small devices up to set-top boxes. It went on at Sun to become a whole 'platform' of APIs too, that technically challenged other OS's such as Windows, and whole server stacks of all persuasions - to the point where Microsoft had to then develop the .Net platform to stay ahead in the game. (I use that unfolding Java scenario as the ultimate case of 'scope creep' to my students). Ultimately Java made its name and market running server-side, away from user-interfaces. Desktop-wise, Swing was too much too late. Mobile-wise ME was too limited, too rigid, too early. The Android user UI classes and widgets (which are nothing like Swing or AWT - I know, as I tried to convert lots of swing code to them - and a total rewrite was required), have hit a sweet-spot on mobile devices, just when processing power, interactivity and screen presentation can provide a 'user experience', that the modern user now demands of their daily devices. Java the language, via Android the GUI OS, has finally fulfilled Oak's original goal from way-back, of running on small devices and attracting a huge market there-on, in the process. That's Irony with a capital 'I'. As for the originality of byte-code and virtual machines - the P- System was doing all that with p-code, back in the days of 8-bit micros, before some fool at IBM chose MD-DOS over it as their standard OS for the new 16-bit Intel processor - and an eon before the invention of 'software patents' themselves. -- 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 make this layout in programming?
Thanks, it works! On Aug 17, 6:45 pm, Kostya Vasilyev kmans...@gmail.com wrote: Take a look at LayoutInflater: http://developer.android.com/reference/android/view/LayoutInflater.html It might be easier than building all these views from code, but still you can inject the inflated view hierarchy into an existing layout. -- Kostya 17.08.2010 13:41,CMFпишет: I have a layout xml . I would like to do that in java programming. Can anybody help me? ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/rl TextView android:id=@+id/tv1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_centerVertical=true android:textColor=#FF / LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content android:layout_toLeftOf=@id/tv1 TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv1 android:textColor=#FF / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv2 android:textColor=#FF / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv3 android:textColor=#FF / /LinearLayout /RelativeLayout -- Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.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] Layout Problem in different screen size
I have a linearlayout below, i want something similar to android:layout_width=30% does anyone know that? LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv1 android:textColor=#FF / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv2 android:textColor=#FF / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv3 android:textColor=#FF / /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: Optimizing image processing algorithms for Android
Hi Dan, Thanks for your reply Yes, I looked at alignment as the first choice for optimization, but was unable to find any directives that would help you do that in C. (Specifically, for C and those that would compile on the Android NDK). What I have done, however, (as I mentioned earlier) is refactoring the code to take advantage of those optimizations (at a later stage) through the use of compiler directives ... Then I was searching for any docs related to them (compiler directives), but didn't find any. Haven't searched too extensively, but from a preliminary search, didn't see any. Or on a different track (one that I haven't explored till now; and neither used earlier, so excuse the ignorance), are there such directives in Java? If there are, then I would consider implementing the entire algorithm in Java (anyways the gains from using NDK are doubtful at best, and I'm only using that to reduce dev. effort). Thanks again, Amit On Aug 19, 11:47 pm, DanH danhi...@ieee.org wrote: Hate to sound like I'm harping on the same stuff, but then (assuming that the JVM/JIT compiler is doing good enough), the memory bottleneck still remains. Yep, much of our effort on iSeries went into the memory bottleneck area. Eg, we got fairly astounding improvements (ca 20%) when we packed objects so that the fields of SubclassOfA filled in the holes left from aligning the fields of A. And even more improvement by packing the Char array owned by a String into the String and arranging it so that the two shared a single header. (BTW, with regard to alignment, note that most processors can handle, eg, unaligned ints and longs, but often the storage accesses are several times longer if unaligned, so alignment may be very important, even if unnecessary.) On Aug 19, 12:54 pm, Amit prabhudesai.a...@gmail.com wrote: Hi Dan, Thanks for the response In general, JITed Java code is as fast as or faster than the equivalent native code, if the JIT is reasonably good, and if the specific application can be coded efficiently in Java. I was actually banking on this. I don't know too much of the hairy details (am not really a compiler person), but from what I have read recent improvements by Google to the Dalvik VM make it *comparable* if not equal in performance to native code ... Hate to sound like I'm harping on the same stuff, but then (assuming that the JVM/JIT compiler is doing good enough), the memory bottleneck still remains. Thanks, Amit On Aug 19, 10:11 pm, DanH danhi...@ieee.org wrote: In general, JITed Java code is as fast as or faster than the equivalent native code, if the JIT is reasonably good, and if the specific application can be coded efficiently in Java. The problem is that some specific dataprocessingpatterns are not easy to code efficiently in Java, and I suspect that certain of the bit-bashing algorithms used inimageprocessingfall into this category. In such cases the most efficient approach is native Java, but I only know of one JVM (the IBM iSeries classic JVM) that permits this, and then only for system code. Otherwise it's a bit of a tradeoff to get the right partitioning between Java and native, since crossing the Java/native boundary tends to be relatively expensive. On Aug 19, 7:03 am, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/19/10 13:35 , Amit wrote: Now, I know that native code will *not* yield any significant performance improvement over Java code Well, specifically forimageprocessingthis won't be true, for sure up to 2.1 included (as the bytecode is purely interpreted); in 2.2 we have JIT, but can't speak as I haven't seen it yet. - -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - We make Java work. Everywhere. java.net/blog/fabriziogiudici -www.tidalwave.it/people fabrizio.giud...@tidalwave.it -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/ iEYEARECAAYFAkxtHakACgkQeDweFqgUGxe83wCfSDP1NEN+TLD0iOCZ/zSvQDRw I5cAoJOEoC7eREU5KuPU7m93/GDj9VUr =2ZDf -END PGP SIGNATURE- -- 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: LVL returns LICENSED with anonymous accounts...
This is not what I'm seeing. I'm writing a new app which has never been published or in draft. I have two devices. One (N1, running 2.2), I'm logged into my main Google account (which has the Developer account). The other (Hero running 2.1-update1) is a test account I use (no developer account). When I use the N1, I always get the response specifed in my Dev Console settings. When I use the Hero, I always get ERROR_NOT_MARKET_MANAGED. It appears the logic goes something like this for non-Market (published or draft) apps: Check the user has a Dev account. If so, use the response set there. If not, return ERROR_NOT_MARKET_MANAGED. Notice, its the setting for the user, not the dev (because the Market does not know who the dev is), that is used. Anyone confirm this? On Aug 7, 1:26 am, Trevor Johns tjo...@google.com wrote: If an app is not published AND not draft, then you'll get ERROR_NOT_MARKET_MANAGED. If an app is in draft (never published), then we send LICENSED for all requests for that app. If an app is published (or has been published then unpublished), then the response is driven by the dev console settings for the developer/testers, and purely by purchase history for everyone else. -- Trevor Johns Google Developer Programs, Androidhttp://developer.android.com On Thu, Aug 5, 2010 at 4:18 AM, Mark Carter mjc1...@googlemail.com wrote: So to confirm. If an app is not published (nor draft) then the response is dictated by the user's (i.e. the user running the app, not the one who developed the app) setting in the Dev Console. If the user does not have a Dev account (like many beta testers) then the response will be like Respond normally? If the app is published (or draft) then the response is driven primarily by the dev's console settings and secondarily by the Market license server (storing who has paid for what). I think the first part could catch a lot of people out... On 5 August 2010 11:03, Trevor Johns tjo...@google.com wrote: If the app isn't in Android Market, the license server will return ERROR_NOT_MARKET_MANAGED. LicenseValidator considers that to be a fatal error due to programmer error, and should invoke the applicationError() callback method. My understanding from the server team is that uploading a draft version is supposed to be sufficient to avoid getting ERROR_NOT_MARKET_MANAGED. (In the case of existing applications, you'll also need to increment your version code.) The other way you'll avoid this is precisely as Mark mentioned. If we don't find the application, we check to see if the current user has a developer account, and will send a test response (if one is set) using the user's RSA keypair. -- Trevor Johns On Wed, Aug 4, 2010 at 12:30 AM, Kirky rob.kirkbr...@gmail.com wrote: Trevor, Can you clarify what the licensing server returns if the App is not in the Android Market? In my experience (and it seems other people) it is returning LICENSED. This does not seem sensible to me. Thanks Rob On Aug 4, 3:23 am, Trevor Johns tjo...@google.com wrote: -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Optimizing image processing algorithms for Android
Hi Marc, Thanks for your reply I have done some optimization myself, but all of that has been on TI- DSP processors, and TI has *very good* compiler tools (and also general development tools). Now, question is, anyone aware of such tools (or libraries developed) for Android? As I can see from my code (cannot post that for obvious reasons), I'm pretty certain the code is pretty ugly on the memory usage side. It's really killing the processor :( I'll share what I can: I am basically loading two images (in float) and the result image is being filled in, so that is the equivalent of 4 * 3 = 12 byte images (assuming 4 bytes to a float, 4 bytes to an int, etc -- standard type widths). So obviously I have not one, but *three* images getting accessed, so cache misses and swaps are happening. What I am looking to do now is to redesign the algorithm/ data structures to minimize the cache misses by favoring locality patterns -- temporal spatial. What I wanted to see was if someone has sort-of been-there-done-that and could provide some pointers. Java tends to be allocate as you need memory model, but for cache optimizations you need tighter control of memory usage. Exactly! How do I get that level of control while developing for Android? With either Java or native C... Thanks so much, Amit On Aug 20, 12:40 am, Marc gobl...@gmail.com wrote: I have spent a lot of time optimizing signalprocessingalgorithms using both arm assembly and memory optimizations. The memory optimizations can be huge. I remember one project the speed more than doubled once we only using cache memory. That is the entire working data set was less than 8k. The process is fairly straight forward: Determine the size of your cache, then use only that much memory. This typically requires doing tricks like making the output buffer overlap the input buffer. Basically you need to know exactly where every byte of memory is being used. Java tends to be allocate as you need memory model, but for cache optimizations you need tighter control of memory usage. On Aug 19, 11:47 am, DanH danhi...@ieee.org wrote: Hate to sound like I'm harping on the same stuff, but then (assuming that the JVM/JIT compiler is doing good enough), the memory bottleneck still remains. Yep, much of our effort on iSeries went into the memory bottleneck area. Eg, we got fairly astounding improvements (ca 20%) when we packed objects so that the fields of SubclassOfA filled in the holes left from aligning the fields of A. And even more improvement by packing the Char array owned by a String into the String and arranging it so that the two shared a single header. (BTW, with regard to alignment, note that most processors can handle, eg, unaligned ints and longs, but often the storage accesses are several times longer if unaligned, so alignment may be very important, even if unnecessary.) On Aug 19, 12:54 pm, Amit prabhudesai.a...@gmail.com wrote: Hi Dan, Thanks for the response In general, JITed Java code is as fast as or faster than the equivalent native code, if the JIT is reasonably good, and if the specific application can be coded efficiently in Java. I was actually banking on this. I don't know too much of the hairy details (am not really a compiler person), but from what I have read recent improvements by Google to the Dalvik VM make it *comparable* if not equal in performance to native code ... Hate to sound like I'm harping on the same stuff, but then (assuming that the JVM/JIT compiler is doing good enough), the memory bottleneck still remains. Thanks, Amit On Aug 19, 10:11 pm, DanH danhi...@ieee.org wrote: In general, JITed Java code is as fast as or faster than the equivalent native code, if the JIT is reasonably good, and if the specific application can be coded efficiently in Java. The problem is that some specific dataprocessingpatterns are not easy to code efficiently in Java, and I suspect that certain of the bit-bashing algorithms used inimageprocessingfall into this category. In such cases the most efficient approach is native Java, but I only know of one JVM (the IBM iSeries classic JVM) that permits this, and then only for system code. Otherwise it's a bit of a tradeoff to get the right partitioning between Java and native, since crossing the Java/native boundary tends to be relatively expensive. On Aug 19, 7:03 am, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/19/10 13:35 , Amit wrote: Now, I know that native code will *not* yield any significant performance improvement over Java code Well, specifically forimageprocessingthis won't be true, for sure up to 2.1 included (as the bytecode is purely interpreted); in 2.2 we have JIT, but can't speak as I haven't seen it yet. - --
[android-developers] Re: Layout Problem in different screen size
LinearLayout android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical !-- android:layout_width=fill_parent -- android:layout_height=wrap_content android:layout_weight=3 TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv1 android:textColor=#FF / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv2 android:textColor=#FF / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv3 android:textColor=#FF / /LinearLayout LinearLayout !-- empty layout -- android:orientation=vertical !-- android:layout_width=fill_parent -- android:layout_height=wrap_content android:layout_weight=7 /LinearLayout /LinearLayout It just my thought.. not checked in code. On 8월20일, 오후6시09분, CMF manf...@gmail.com wrote: I have a linearlayout below, i want something similar to android:layout_width=30% does anyone know that? LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv1 android:textColor=#FF / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv2 android:textColor=#FF / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/tv3 android:textColor=#FF / /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: Optimizing image processing algorithms for Android
Hi, Thanks for your reply This sounds all find and good, but I still haven't heard anything about the far more common cause of delay: the garbage collector locking up the thread or pre-empting the CPU. Or has Amit already solved this problem? About GC locking up the thread or pre-empting the CPU, no I haven't solved that, nor had I thought about it. I am kind of new to developing for Android, and may be my expertise on the platform can be considered Average. And I haven't developed or deployed image processing algorithms on Android either (though I have done that a bit on other embedded platforms), so I do not know the specifics involved. I am mapping what I know from optimizing algorithms for DSPs and what I get from profile data and trying to come up with solutions. Could you provide me with some resources (docs) for what you mention? (I will of course try googling for it ;-) ) It would be interesting to know that, as I am really trying to learn more about Android platform also (apart from imaging stuff). Finally, I'll take a look at the jsr-239 java.nio; I haven't used it or seen samples of it earlier, so totally new to me. Thanks again for your pointers. Amit On Aug 20, 3:25 am, Indicator Veritatis mej1...@yahoo.com wrote: This sounds all find and good, but I still haven't heard anything about the far more common cause of delay: the garbage collector locking up the thread or pre-empting the CPU. Or has Amit already solved this problem? As for alignment, OpenGL as implemented by JSR-239 (therefore available onAndroid) solves this problem by using the JSR-239 java.nio Buffer classes. If you use one of these, you are guaranteed word-alignment on the ARM. NB: I say jsr-239 java.nio because there may be subtle implementation differences between those and the original java.nio classes. For example, JSR-239 does not expect flip() to be useful, nor is supporting Mark required. NB: the online docs forAndroid'sjava.nio do not mention alignment: I found this info in one of the OpenGL ES specs (I forget which one): I forget whether or not the Buffer must be allocated Direct or not to get this benefit. On Aug 19, 12:40 pm, Marc gobl...@gmail.com wrote: I have spent a lot of time optimizing signalprocessingalgorithms using both arm assembly and memory optimizations. The memory optimizations can be huge. I remember one project the speed more than doubled once we only using cache memory. That is the entire working data set was less than 8k. The process is fairly straight forward: Determine the size of your cache, then use only that much memory. This typically requires doing tricks like making the output buffer overlap the input buffer. Basically you need to know exactly where every byte of memory is being used. Java tends to be allocate as you need memory model, but for cache optimizations you need tighter control of memory usage. On Aug 19, 11:47 am, DanH danhi...@ieee.org wrote: Hate to sound like I'm harping on the same stuff, but then (assuming that the JVM/JIT compiler is doing good enough), the memory bottleneck still remains. Yep, much of our effort on iSeries went into the memory bottleneck area. Eg, we got fairly astounding improvements (ca 20%) when we packed objects so that the fields of SubclassOfA filled in the holes left from aligning the fields of A. And even more improvement by packing the Char array owned by a String into the String and arranging it so that the two shared a single header. (BTW, with regard to alignment, note that most processors can handle, eg, unaligned ints and longs, but often the storage accesses are several times longer if unaligned, so alignment may be very important, even if unnecessary.) On Aug 19, 12:54 pm, Amit prabhudesai.a...@gmail.com wrote: Hi Dan, Thanks for the response In general, JITed Java code is as fast as or faster than the equivalent native code, if the JIT is reasonably good, and if the specific application can be coded efficiently in Java. I was actually banking on this. I don't know too much of the hairy details (am not really a compiler person), but from what I have read recent improvements by Google to the Dalvik VM make it *comparable* if not equal in performance to native code ... Hate to sound like I'm harping on the same stuff, but then (assuming that the JVM/JIT compiler is doing good enough), the memory bottleneck still remains. Thanks, Amit On Aug 19, 10:11 pm, DanH danhi...@ieee.org wrote: In general, JITed Java code is as fast as or faster than the equivalent native code, if the JIT is reasonably good, and if the specific application can be coded efficiently in Java. The problem is that some specific dataprocessingpatterns are not easy to code efficiently in Java, and I suspect that certain of the bit-bashing algorithms used
Re: [android-developers] How to change an activity in a tab
Hi, I've also same problem, i want replacement of content not tab, but calling of Activity replace entire page On Fri, Aug 20, 2010 at 1:51 PM, DaPhilz daph...@googlemail.com wrote: Hello everybody, I have two tabs each with an activity. Now I implemented an TouchEvent where I will change the activity of one tab. How can I do that. I heard about ActivityGroup and I tried it but If I call that ActivityGroup teh activity switch to fullscreen and the tabs are gone. Could anyone please help me out. 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Regards Rakesh Kumar Jha Consultant(Software Developer) Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030273740 (R) +919886336619 -- 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 get absolute time ?
I'll notify something to user after 30 minutes for example. so I need to get a time which is not changable by user or anything. Does it call UTC? I guess I need to get current time and it should have nothing to do with user handle or location actually, I'm focusing '30minutes from now' rather than current time. It also should work even in case of power off and on. Can I use alarm manager for this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: startLayoutAnimation in reverse order
If have experienced the issue on 1.5, 1.6, 2.0, 2.1 and 2.2. Any ideas how to avoid this? On Wed, Aug 18, 2010 at 11:51 AM, Klaus Kartou kar...@gmail.com wrote: Hi, I´m doing a layout animation on my listview where I fade the list elements into view using a LayoutAnimation with android:animationOrder=normal. It works perfectly fine and the elements are faded into view in top-to-bottom order. However, if I trigger a layout animation twice (eg call startLayoutAnimation before the list view has finished animating its views), the listview performs the new layout animation in reverse order; bottom-to-top. Any ideas why this happens or how I can avoid this unwanted behavior? Cheers -- 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 absolute time ?
On Aug 20, 11:02 am, optimusgeek choongb...@gmail.com wrote: I'll notify something to user after 30 minutes for example. Can I use alarm manager for this? Yes. Your code will look something like this: AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); am.set(AlarmManager.ELAPSED_REALTIME, SystemClock.elapsedRealtime() + 30 * DateUtils.MINUTE_IN_MILLIS, pendingIntent); ...where pendingIntent is a PendingIntent you've declared for whatever action you want to occur half an hour from now. It also should work even in case of power off and on. Not possible, I'm afraid. AFAIK, there's nothing you (as a programmer) can do to power-up the phone if it's off. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to get absolute time ?
I think he thought on device reboot. Although I'm not sure if PendingIntents are stored before device powering off. 2010/8/20 String sterling.ud...@googlemail.com On Aug 20, 11:02 am, optimusgeek choongb...@gmail.com wrote: I'll notify something to user after 30 minutes for example. Can I use alarm manager for this? Yes. Your code will look something like this: AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); am.set(AlarmManager.ELAPSED_REALTIME, SystemClock.elapsedRealtime() + 30 * DateUtils.MINUTE_IN_MILLIS, pendingIntent); ...where pendingIntent is a PendingIntent you've declared for whatever action you want to occur half an hour from now. It also should work even in case of power off and on. Not possible, I'm afraid. AFAIK, there's nothing you (as a programmer) can do to power-up the phone if it's off. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to change an activity in a tab
Hi, I'm not really sure this is the best approach to this problem nor if it suits your needs, but you can always send a broadcast to the tab hosting activity with intent extras stating which tab you want to change and target activity to show and create the tabhost all over again with proper activities (from a brief look I didn't find any method to remove or change specific tab from tabhost). Best regards, Filip Havlicek 2010/8/20 DaPhilz daph...@googlemail.com Hello everybody, I have two tabs each with an activity. Now I implemented an TouchEvent where I will change the activity of one tab. How can I do that. I heard about ActivityGroup and I tried it but If I call that ActivityGroup teh activity switch to fullscreen and the tabs are gone. Could anyone please help me out. 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Reverse C2DM
There is nothing built into Android or offered by Google that meets this description. On Fri, Aug 20, 2010 at 3:02 AM, noob_boy acharya@gmail.com wrote: oops sorry. Let me try to give an example. There is Chrome to Android plugin(which is similar to PC to Android) I am wondering if its possible to have Android to PC. 1 ) To send files from Android to PC 2 ) To send remote commands to my PC. Hence is it possible to communicate from Android to PC (through CLOUD or without.) I hope the question is clear now. Thanks. On Aug 19, 9:19 pm, Frank Weiss fewe...@gmail.com wrote: Sorry, but that question is a bit confusing. The title suggests you're asking about Android-to-cloud, but then you throw in Windows. -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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] How To Enable pv LOG in froyo code
Hello all, I want to enable pv logs in froyo to understand the flow of opencore.If anybody can let me know how to do the same.I will be thankful. -- 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] SSLException: Not trusted server certificate
Hi, I am receiving this exception, when I try to access a secure site in my App. I am using DefaultHttpClient BasicHttpParams classes for Http communication. Any idea what could be the problem here? Thank you, AJ javax.net.ssl.SSLException: Not trusted server certificate at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 360) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java: 92) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java: 321) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java: 129) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java: 164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java: 119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: 348) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 555) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 487) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 465) at java.lang.Thread.run(Thread.java:1096) Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Could not validate certificate signature. at org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java: 168) at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 355) ... 11 more Caused by: java.security.cert.CertPathValidatorException: Could not validate certificate signature. at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java: 342) at java.security.cert.CertPathValidator.validate(CertPathValidator.java: 211) at org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java: 164) ... 12 more Caused by: java.security.SignatureException: Signature was not verified. at org.apache.harmony.security.provider.cert.X509CertImpl.fastVerify(X509CertImpl.java: 601) at org.apache.harmony.security.provider.cert.X509CertImpl.verify(X509CertImpl.java: 544) at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java: 337) ... 14 more -- 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: Disappearing Alarms
Initial user reports indicate that setting a repeating 10 minute alarm in the background whose sole task is to 'refresh' the main alarm might be a viable workaround. i.e. repeating this line: alarmManager.set( AlarmManager.RTC_WAKEUP, alarmLastTime, alarmPendingIntent ); Now to see how far we can increase that 10 minutes without the problem coming up again. Pent -- 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: MediaPlayer getCurrentPosition problems on Android 2.2
I have the same problem, did you manage to find a workaround? The built in player works ok but I wonder if they are using native code. I am guessing that this must effect the built in MediaController class as it uses the same method call. Next best solution is to keep track of the position myself perhaps using time delayed handlers. This will be fiddly as I also have a seek bar to contend with but if I can get it working then I guess it should mask the error I'll give it a try and post the code if I can On Aug 4, 5:53 am, Femi Omojola fomoj...@gmail.com wrote: Looking for some guidance on MediaPlayer issues on Android 2.2. I've confirmed that the below code works on Android 1.5 (an ADP1). I'm playing back an MP3 file using a MediaPlayer instance and using a ProgressBar to track the progress. The method that updates the progress bar is invoked from a Handler every second. On the ADP1 this results in a correct update rate (the countdown timer moves about a second every second) and steady progress on the ProgressBar. However, the exact same code deployed on the Nexus 1 results in about a half second update in the count down timer every second. The code that updates the ProgressBar and captures the timer information is void updateAudioProgress(App a, boolean init) { if(a.getMediaPlayer() == null || audioControlToolbar == null || (!init audioControlToolbar.getVisibility() == View.GONE)) return; ImageButton ib = (ImageButton)findViewById(R.id.playpause); if(a.getMediaPlayer().isDownloading()){ ib.setVisibility(View.INVISIBLE); TextView tv = (TextView)findViewById(R.id.duration); tv.setText(); ProgressBar pb = (ProgressBar)findViewById(R.id.progress); pb.setMax(5000); pb.setProgress((int)(5000 * a.checkDownloadProgress(a.getMediaPlayer().getPendingUrl(; Message m = Message.obtain(); m.what = App.UPDATE_DOWNLOAD_PROGRESS; getHandler().sendMessageDelayed(m, 1000); }else{ boolean newAudioState = a.getMediaPlayer().getPlayer().isPlaying(); if(newAudioState != a.getLastAudioState() || init){ init = true; if(newAudioState){ ib.setImageDrawable(getResources().getDrawable(R.drawable.pause)); }else{ ib.setImageDrawable(getResources().getDrawable(R.drawable.play)); } } if(ib.getVisibility() == View.INVISIBLE || init){ ((TextView)audioControlToolbar.findViewById(R.id.audiocaption)).setText(a.getMediaPlayer().getCaption()); ib.setVisibility(View.VISIBLE); } if(init || newAudioState){ int dur = a.getMediaPlayer().getPlayer().getCurrentPosition(); ProgressBar pb = (ProgressBar)findViewById(R.id.progress); int max = a.getMediaPlayer().getPlayer().getDuration(); pb.setMax(max); pb.setProgress(dur); TextView tv = (TextView)findViewById(R.id.duration); tv.setText(a.formatDuration(dur - max)); android.util.Log.v(JLA,String.format([%s/%s], dur, max)); }else{ android.util.Log.v(LISTACTIVITY,String.format([%s][%s], init, newAudioState)); } a.setLastAudioState(newAudioState); Message m = Message.obtain(); m.what = App.UPDATE_PLAYBACK_PROGRESS; getHandler().sendMessageDelayed(m, 1000); } } I modified the code to log the method invocation, and it appears that the method is accurately called every second, but the calls to getCurrentPosition do NOT appear to work correctly. I noticed that there is an open issue,http://code.google.com/p/android/issues/detail?id=2559, talking about incorrect getCurrentPosition results: could this be what I'm seeing? Thank, Femi. 08-04 00:46:52.944: VERBOSE/JLA(1552): [2090/148032] 08-04 00:46:53.964: VERBOSE/JLA(1552): [2482/148032] 08-04 00:46:54.994: VERBOSE/JLA(1552): [2847/148032] 08-04 00:46:56.014: VERBOSE/JLA(1552): [3213/148032] 08-04 00:46:56.414: DEBUG/dalvikvm(1305): GC_EXPLICIT freed 183 objects / 13032 bytes in 56ms 08-04 00:46:57.044: VERBOSE/JLA(1552): [3605/148032] 08-04
Re: [android-developers] SSLException: Not trusted server certificate
Ajay, This can happen because the certificate is not signed by a trusted certificate authority (e.g. self-signed), or because the certificate is just plain wrong. Try accessing the URL with a desktop browser to find out what the actual reason is. If the certificate is good, but is self-signed, search list archives for the solution - this comes up quite often. -- Kostya 20.08.2010 15:00, Ajay пишет: Hi, I am receiving this exception, when I try to access a secure site in my App. I am using DefaultHttpClient BasicHttpParams classes for Http communication. Any idea what could be the problem here? Thank you, AJ javax.net.ssl.SSLException: Not trusted server certificate at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 360) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java: 92) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java: 321) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java: 129) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java: 164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java: 119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: 348) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 555) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 487) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 465) at java.lang.Thread.run(Thread.java:1096) Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Could not validate certificate signature. at org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java: 168) at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 355) ... 11 more Caused by: java.security.cert.CertPathValidatorException: Could not validate certificate signature. at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java: 342) at java.security.cert.CertPathValidator.validate(CertPathValidator.java: 211) at org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java: 164) ... 12 more Caused by: java.security.SignatureException: Signature was not verified. at org.apache.harmony.security.provider.cert.X509CertImpl.fastVerify(X509CertImpl.java: 601) at org.apache.harmony.security.provider.cert.X509CertImpl.verify(X509CertImpl.java: 544) at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java: 337) ... 14 more -- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Paid vs Free, My Early Experience
What do you mean by technical info? A short blurb on how to get started with the application? -- Kostya 20.08.2010 12:43, Natalie Hooper ?: On 19 August 2010 23:09, TreKing treking...@gmail.com mailto:treking...@gmail.com wrote: This is why there should be a technical note field (where you could also describe hardware limitations for example) and I'd rather ask for that than for a longer description field. What's the point of adding another, separate field for technical notes instead of just extending the description space and using that and saying: Technical Note: Don't be a dumbass (or whatever). My reasons for suggesting it are as follows: it keeps consistency between listings, it reminds the developer to think about whether there are any technical notes he/she wishes to add, it means the technical info isn't lost in a sea of descriptions (assuming you can write descriptions longer than 325 characters), it enables the phone to download smaller amount of data (the technical note wouldn't need to be downloaded at the same time as the changelog because they would be on a separate screen presumably) and it gives Google more flexibility regarding how they manage their dB because they could break it up rather than having to hold a big text field (the long description) for each app. Fundamentally, it seems that we want the same thing but we have a totally different approach to the problem. You just want a space where you can write it all and as we are already provided with a description field, your reasoning is that if this field had no length limit, you could put it all in there, and this is true, this would solve your problem. I want a more organised way of putting that info in because of the criticisms I constantly hear about the market, namely that the search facility isn't very good and that it's not as sleek as the Apple app store. So things like tagging, while undoubtedly more difficult to implement, would help with searching, and sleekiness, for me, has a lot to do with consistency across the store, hence my reluctance for the description field to be used for anything besides description. -- 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 -- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.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] Android framework Java sources
Where can I get all latest Android Java framework classes sources? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android framework Java sources
http://source.android.com/ On Aug 20, 12:43 pm, ls02 agal...@audible.com wrote: Where can I get all latest Android Java framework classes sources? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Reverse C2DM
On 08/20/2010 12:42 PM, Mark Murphy wrote: There is nothing built into Android or offered by Google that meets this description. IMHO, this is highly dependent on interpretation. On Fri, Aug 20, 2010 at 3:02 AM, noob_boyacharya@gmail.com wrote: I am wondering if its possible to have Android to PC. 1 ) To send files from Android to PC I'd say that email might fit this description. 2 ) To send remote commands to my PC. A JSON call could fit this description (assuming PC has som connection to a public IP ). True, this is most likely not what you were after, but still, this is very much available for you to toy with, and it certainly works. Best / Jonas -- 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: Difference between Android Service and Content Provider
It sounds like you have the right idea. A ContentProvider is a wrapper around your database which allows other applications to access and modify your database in a controlled manner. A Service is basically just a long-running task, such as downloading/ syncing data. A ContentProvider would provide access to your data to your app and others, and you would use a Service to download the new data, which would then use your ContentProvider to insert that new data into your database. On Aug 19, 4:49 pm, Lily Zhang lily...@gmail.com wrote: I am developing an app and get confused about the idea of Service and Content Provider in Android. In practice, what will be the difference between them? Content Provider is a facade and it defines a way to share data among applications. You many attach a local database to your app or create Content Provider mapped to a universal database so that all the application on the same device can share it. Service is long running processes that need to be decoupled from main activity. It has local and remote service. local service is like the local database, and remote service is like Content Provider sharing the database info. What My App is doing? downloads info. from multiple internet resource in the background (I suppose this will be Service) and store the info. into database, and multiple applications will need to retrieve the data, format them and output them to user (I guess it will be a Content Provider). What will be the fine line between Service and Content Provider? Newbie in Android, and any suggestion is welcome. Lily -- 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: custom attributes in library projects
Any update about this problem? On Jul 9, 8:18 pm, Xavier Ducrohet x...@android.com wrote: Ah, there's a problem with the namespace. From aapt's point of view all the resources are compiled for the package name of the application (com.mycompany.test.app in your case), so your customValue attribute is defined in that namespace, and not in the namespace of thelibrary. At this time, the only solution is to remove the layout from thelibraryand move it into the apps and edit the namespace to match the application package. We'll look at fixing this. xav On Thu, Jul 8, 2010 at 3:27 AM, Vladimir Lebedev-Schmidthof dair@gmail.com wrote: Hello, Having custom attribute (in attrs.xml) inlibraryproject leads to compilation fail of the project dependent of thatlibrary. I.e.: MyLib project (library) AndroidManifest.xml: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.mycompany.test.lib android:versionCode=1 android:versionName=1.0 ... /manifest res/layout/main.xml: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android xmlns:my=http://schemas.android.com/apk/res/ com.mycompany.test.lib android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent com.mycompany.test.lib.MyWidget android:id=@+id/my_widget android:layout_width=fill_parent android:layout_height=fill_parent my:customValue=324/ /LinearLayout res/values/attrs.xml: resources declare-styleable name=MyWidget attr name=customValue format=integer/ /declare-styleable /resources And there are nothing in TestApp except AndroidManifest.xml: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.mycompany.test.app android:versionCode=1 android:versionName=1.0 ... /manifest And aapt says that res/layout/main.xml:13: error:No resource identifier found for attribute'customValue' in package 'com.mycompany.test.lib' How to avoid this except for no having custom attributes inlibrary? -- 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 -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. 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: Dev phone linux (and Windows)
In general ALL Android devices work with Windows (and probably Mac OSX) Only some seem to have drivers for Linux. Since there is a wide range of Android handsets you should try to purchase a variety of phones by different manufacturers. A good way to prioritize your purchases would be based on the handsets popularity, but it would also be a good idea to make sure your range of handsets covers: - An HDPI device - An MDPI device - A device without a hard keyboard - A device with a hard keyboard - Android 1.5 - Android 1.6 - Android 2.1 - Android 2.2 I would also recommend trying to get phones from a variety of manufacturers to test with their various Android flavours, e.g. HTC, Motorola, Samsung, Sony-Ericsson On Aug 20, 6:29 am, Davide d...@vide.bz wrote: Hi, as company we want buy some android phone. The phone will be used for developers to test and run applications. Which phone are the best for this? We have both Windows and Linux system, which android mobile will work on both system for developing? What I mean is that adb and eclipse can connect to the phone, and, when possible that the phone uses the computer network. For example I have tested the htc wildfire and I have seen that in windows the default usb drivers does not works with adb and eclipse. Only work installing htc software , but this is only for windows. Thanks in advance for the help! -- _| _. o _| _ (_| (_| \/ | (_| (/_ -- 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: SSLException: Not trusted server certificate
Thank you Kostya, I tried accessing the same site on the desktop browser and a BlackBerry device, and they seem to work fine without a problem. I verified that the certificate on the server is installed properly using the following site: http://www.digicert.com/help and it told that it was installed properly on the server. On Aug 20, 4:39 pm, Kostya Vasilyev kmans...@gmail.com wrote: Ajay, This can happen because the certificate is not signed by a trusted certificate authority (e.g. self-signed), or because the certificate is just plain wrong. Try accessing the URL with a desktop browser to find out what the actual reason is. If the certificate is good, but is self-signed, search list archives for the solution - this comes up quite often. -- Kostya 20.08.2010 15:00, Ajay пишет: Hi, I am receiving this exception, when I try to access a secure site in my App. I am using DefaultHttpClient BasicHttpParamsclasses for Http communication. Any idea what could be the problem here? Thank you, AJ javax.net.ssl.SSLException: Not trusted server certificate at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 360) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java: 92) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java: 321) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java: 129) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java: 164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java: 119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: 348) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 555) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 487) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 465) at java.lang.Thread.run(Thread.java:1096) Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Could not validate certificate signature. at org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java: 168) at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 355) ... 11 more Caused by: java.security.cert.CertPathValidatorException: Could not validate certificate signature. at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java: 342) at java.security.cert.CertPathValidator.validate(CertPathValidator.java: 211) at org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java: 164) ... 12 more Caused by: java.security.SignatureException: Signature was not verified. at org.apache.harmony.security.provider.cert.X509CertImpl.fastVerify(X509CertImpl.java: 601) at org.apache.harmony.security.provider.cert.X509CertImpl.verify(X509CertImpl.java: 544) at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java: 337) ... 14 more -- Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.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: Paid vs Free, My Early Experience
On Aug 20, 12:40 pm, Kostya Vasilyev kmans...@gmail.com wrote: What do you mean by technical info? A short blurb on how to get started with the application? I think a field like Technical Info could cover a lot of ground, anything from known issues (like doesn't run on Handset A) to usage tips (long-press on home screen for widget). Basically, the Description would be the sales pitch for your app, and Tech Info could be just about any other details that a [prospective] user might find useful before they get into the app. Personally, I'm not convinced of the merit of splitting descriptive text into multiple fields like this, but I wouldn't be opposed to it either. Bottom line is, we need more than 325 bytes, one way or another. String -- 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 absolute time ?
On Aug 20, 11:17 am, Filip Havlicek havlicek.fi...@gmail.com wrote: I think he thought on device reboot. Although I'm not sure if PendingIntents are stored before device powering off. Alarms do not persist through a reboot, no. If the OP wants something like that to happen, they'll need to set up a receiver for Intent.ACTION_BOOT_COMPLETED, and re-set the alarm there. String -- 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 change an activity in a tab
Hi, I solved the problem. The answer is that first you have to create an class extends from ActivityGroup and implements the OnTouchListener. After you did that you can switch b/w differnet screens in one tab The code look like that: class TabActivityGroup extends ActivityGroup implements OnTouchListener { @Override public boolean onTouchEvent(MotionEvent event) { super.onTouchEvent(event); //create a new intent and call the methode replaceContentView(String id, Intent newIntent), //for example Intent intent = new Intent().setClass(this, myclass.class) // intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); replaceContentView(String id, Intent newIntent) return true; } public void replaceContentView(String id, Intent newIntent) { View view = getLocalActivityManager().startActivity(id, newIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)) .getDecorView(); this.setContentView(view); } } the Tab class look like this public class TabActivity extends TabActivity { Intent intent = new Intent().setClass(this, TabActivityGroup.class); intent.putExtra(Content, 1); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); tabHost.addTab(tabHost.newTabSpec(Tab1) .setIndicator(Tab1).setContent(intent)); } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android framework Java sources
Are these Android core C/C++ sources or Java framework sources? On Aug 20, 7:46 am, RichardC richard.crit...@googlemail.com wrote: http://source.android.com/ On Aug 20, 12:43 pm, ls02 agal...@audible.com wrote: Where can I get all latest Android Java framework classes sources?- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Loading Dialog/Html TextBox/Virtual Keyboard
Hello guys, I have a weirb bug that is pissing me off. I have an app that is pretty much only a webview with some extra functionalities, one of them is a Custom Loading Dialog (Extended from the progress dialog) that I show on the onPageStarted call, and dismiss on the onPageFinished call. The problem is, if I do that (show the dialog), the virtual keyboard will only show if the user touch TWO times on a form text box (Html or Javascript Text box on the Webview). - I've tried manually giving focus to the webview, before and after the GUI update by the handler that dismisses the Dialog. - Redrawing the WebView - Not showing the dialog (this works, but I need the dialog) Anyone has an idea? 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] Slider devices cause Activities to reset…
While testing on Android 1.6 using a G1 I have noticed that when I slide out the keyboard it kills the activity and recreates it even though I have set my activity to only display in portrait mode. Same happens when I push the keyboard back in. I get onSaveInstance, onDestroy called, then onCreate, onResume, OnrestoreInstance... I understand why this is done when the display is being switched to landscape view but why does this happen when I specifically dont want my activity to switch view, its essentially killing and restarting the activity for no reason. Is it the same on 2.x devices? Is there something I'm missing to stop it happening? Can anyone explain if there is any point to 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: Android framework Java sources
Everything except the closed source Google Apps (Market and a few others) On Aug 20, 1:59 pm, ls02 agal...@audible.com wrote: Are these Android core C/C++ sources or Java framework sources? On Aug 20, 7:46 am, RichardC richard.crit...@googlemail.com wrote: http://source.android.com/ On Aug 20, 12:43 pm, ls02 agal...@audible.com wrote: Where can I get all latest Android Java framework classes sources?- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Slider devices cause Activi ties to reset…
Read about the mainfest activity setting android:configChanges http://developer.android.com/guide/topics/manifest/activity-element.html http://developer.android.com/guide/topics/manifest/activity-element.html#config On Aug 20, 2:17 pm, draf...@gmail.com draf...@gmail.com wrote: While testing on Android 1.6 using a G1 I have noticed that when I slide out the keyboard it kills the activity and recreates it even though I have set my activity to only display in portrait mode. Same happens when I push the keyboard back in. I get onSaveInstance, onDestroy called, then onCreate, onResume, OnrestoreInstance... I understand why this is done when the display is being switched to landscape view but why does this happen when I specifically dont want my activity to switch view, its essentially killing and restarting the activity for no reason. Is it the same on 2.x devices? Is there something I'm missing to stop it happening? Can anyone explain if there is any point to 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] Exception in the bowels of Contact Manager?
Hello, got the error below reported to me when reading a Contact. I am clueless as to what the problem. The same code works almost every time as I've only had this one report and I've never seen it happen during testing. The query I am exectuing is simply: context.getContentResolver().query(Uri.parse(token), null, null, null, null) The token is just the URI originally obtained using RawContacts.getContactLookupUri() Anybody has any ideas what the problem could be or how to debug this? Thanks! java.lang.IllegalStateException: Couldn't init cursor window at android.os.Parcel.readException(Parcel.java:1255) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java: 160) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java: 114) at android.content.ContentProviderProxy.bulkQueryInternal(ContentProviderNative.java: 372) at android.content.ContentProviderProxy.query(ContentProviderNative.java: 408) at android.content.ContentResolver.query(ContentResolver.java:245) at com.zvasvari.anmoneyp.devicecontacts.android5contacts.ContactsImpl.existsByToken(ContactsImpl.java: 331) at com.zvasvari.anmoneyp.app.contact.payee.activity.PayeeUtil.isExternal(PayeeUtil.java: 208) at com.zvasvari.anmoneyp.app.contact.payee.activity.List.isExternal(List.java: 51) at com.zvasvari.anmoneyp.app.contact.activity.List.bindListItemView(List.java: 411) at com.zvasvari.anmoneyp.app.contact.activity.List $2.bindView(List.java:390) -- 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: Slider devices cause Activi ties to reset…
Ah i missedunderstood what that meant! Thanks very much. How do I use more than one variable though? I have tried it as follows: android:configChanges=[keyboard, keyboardHidden, orientation] But it wont compile for me I get: AndroidManifest.xml: Open quote is expected for attribute android:configChanges associated with an element type activity. Error in an XML file: aborting build. in the console. On Aug 20, 2:28 pm, RichardC richard.crit...@googlemail.com wrote: Read about the mainfest activity setting android:configChangeshttp://developer.android.com/guide/topics/manifest/activity-element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.h... On Aug 20, 2:17 pm, draf...@gmail.com draf...@gmail.com wrote: While testing on Android 1.6 using a G1 I have noticed that when I slide out the keyboard it kills the activity and recreates it even though I have set my activity to only display in portrait mode. Same happens when I push the keyboard back in. I get onSaveInstance, onDestroy called, then onCreate, onResume, OnrestoreInstance... I understand why this is done when the display is being switched to landscape view but why does this happen when I specifically dont want my activity to switch view, its essentially killing and restarting the activity for no reason. Is it the same on 2.x devices? Is there something I'm missing to stop it happening? Can anyone explain if there is any point to 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: Slider devices cause Activi ties to reset…
NeverMind, I got it! On Aug 20, 2:28 pm, RichardC richard.crit...@googlemail.com wrote: Read about the mainfest activity setting android:configChangeshttp://developer.android.com/guide/topics/manifest/activity-element.htmlhttp://developer.android.com/guide/topics/manifest/activity-element.h... On Aug 20, 2:17 pm, draf...@gmail.com draf...@gmail.com wrote: While testing on Android 1.6 using a G1 I have noticed that when I slide out the keyboard it kills the activity and recreates it even though I have set my activity to only display in portrait mode. Same happens when I push the keyboard back in. I get onSaveInstance, onDestroy called, then onCreate, onResume, OnrestoreInstance... I understand why this is done when the display is being switched to landscape view but why does this happen when I specifically dont want my activity to switch view, its essentially killing and restarting the activity for no reason. Is it the same on 2.x devices? Is there something I'm missing to stop it happening? Can anyone explain if there is any point to 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] dynamically creating custom checkbox
Hi, I want to create a list of check box dynamically.So far I can create it with default view. But I want the checkbox have custom look and feel. Is it possible to do? If yes then please provide me a suggestion. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Changing the Menu Selector?
Hi Treking, By selector I mean the highlighter. E.g. in emulator the highlighter is in orange color. Best Regards Amit On Aug 19, 7:40 pm, TreKing treking...@gmail.com wrote: On Fri, Aug 13, 2010 at 1:13 AM, Amit amitmishr...@gmail.com wrote: Is it possible to change the selector of standard Menu? What is the selector ? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] Toggle Button state programatically
Hi I am trying to toggle button state programatically. I want to go between setEnabled(False) and setEnabled(True) for a given duration. I have a timer and I want to toggle between these states at regular time intervals. I see that the button toggles correctly the first time, for e.g. from True state to False state, but doesn't go back to True state again unless I touch the button, which is kinda weird. Can someone help me on this? Thanks, Abhi -- 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] Cannot use the sdcard while connected by means of USB - problems testing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I connect my Droid to the USB port, its sdcard gets mounted to my laptop (Mac OS X). While this is occasionally useful, the sdcard becomes unusable from the apps - which causes me troubles when I try to test features that use the sdcard. Detaching the USB works, of course, but I want to keep it attached in order to keep adb shell and adb logcat running. Unmounting unilaterally the sdcard from the laptop doesn't work - I see a notification on the phone that the sdcard is again available only when I detach the USB. Thanks. - -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - We make Java work. Everywhere. java.net/blog/fabriziogiudici - www.tidalwave.it/people fabrizio.giud...@tidalwave.it -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxulHsACgkQeDweFqgUGxfXlgCfZFUoDbA8JBcY5JrLpGTAlapJ 4kcAn0dn5BFbEg5MXB8cU2xf+0YqpSXH =RFmU -END PGP SIGNATURE- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Changing default location of R.java
HI Fabrizio Giudici, Richard, Thank you for the suggestions. I had moved the common code/UI to a separate library and now I can brand the same same application with different flavors. Thanks, Roj On Thu, Aug 19, 2010 at 9:44 PM, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/19/10 17:34 , Fabrizio Giudici wrote: Well, after experimenting I've found that #2 is the way to go, at least if you have explicit intents. In fact, if the code packages for activities stays the same, Android will pop up a question box when an explicit intent is activated, asking to choose one of the two apps. This means that the two apps are not well separated. Never mind my previous post. The problem are *implicit* intents, not explicit ones. If you don't have implicit intents, #1 strategy should be fine. - -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - We make Java work. Everywhere. java.net/blog/fabriziogiudici - www.tidalwave.it/people fabrizio.giud...@tidalwave.it -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxtWEsACgkQeDweFqgUGxfooQCdGLl1Y+x3ZFnXzmauQQsRpXnK u9QAoLPccyPsGv35zTOSqXEjwqqiTQH9 =ir8f -END PGP SIGNATURE- -- 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 capture the contents of webview and parse it
Hi Jason, I am working on the same lines too . I am trying to pull down the content from Google reader (rss feed) and parse it in to text. I am not successful so far. Can you tell me what libraries you used? With regards, Dhilip On Aug 16, 4:02 pm, Jason jpspad...@gmail.com wrote: I'd be curious if anyone has a good way to do this, too. It actually relates to a problem I'm working on. I know it's possible to do something *like* this. I did it once; I'm not sure what library I used but I was able to pull down an rss feed, parse, format, and display it in a textview. It's significantly more work than just putting a simple webview up, though, especially to do it right. On Aug 16, 10:43 am, dhilip indiantalkiedhi...@gmail.com wrote: Hi, I am trying to capture the contents of a webview and to parse it. Is there any method that would allow me to do so? With regards, Dhilip -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Paid vs Free, My Early Experience
On Fri, Aug 20, 2010 at 3:43 AM, Natalie Hooper nataliehoo...@virginmedia.com wrote: Fundamentally, it seems that we want the same thing but we have a totally different approach to the problem. You just want a space where you can write it all and as we are already provided with a description field, your reasoning is that if this field had no length limit, you could put it all in there, and this is true, this would solve your problem. No, not quite. I don't want to write a thesis in the description field and include everything I could possibly think of to write about an app. I don't think this space should be unlimited, I just think that 325 characters is woefully inadequate to not only DESCRIBE an app, but to PROMOTE it. It is hard enough getting users to your app to begin with considering the joke of search the Market has and the flood of spam. Once users are actually on your page, you have 325 characters (and two screenshots, don't get me started on that) to convince them to even try your app. Without that extra space I have to omit key features that might be the determining factor in people giving my app a try. Again, I can describe the app, sure, but I cannot completely communicate to a user why they should use my app over other similar apps with such few words. That extra stuff, technical notes (which I think is so vague it wouldn't really serve the purpose you think it should), changelog, etc. would be nice too, but fairly pointless if people aren't even giving your app a try. Not to mention the fact that if we had these extra fields, but were still limited to 325 characters in the description, you're pretty much guaranteeing that people will use that extra space to continue to list features (much like people have started to hack the versionName string). So things like tagging, while undoubtedly more difficult to implement, would help with searching, and sleekiness, for me, has a lot to do with consistency across the store, hence my reluctance for the description field to be used for anything besides description. Currently the description field can be used for whatever you want. Look at 10 different apps and you see them use the space in 10 different ways. There is no consistency anyway, so why not bump up that count a notch and give people the option? And if we had technical notes, for example, you will probably use it one way and I another and the next guy yet another. I would argue that having multiple fields would actually lead to more inconsistency. Whether you have one long description field to work with, or 5 different fields that are *supposed* to serve specific purposes, in the end these will basically be spaces a developer can put whatever string they want. To me, the simplest and easiest thing to do is to make one field with a generous length that developers can use as they wish, rather then making various fields with no guarantee that they'll be used as intended (and they probably won't). Bumping up the character limit should take about 5 seconds and we would all benefit immediately. Adding more fields is more work with the UI and backend changes that would be required but not much more (if any) gain. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Cannot use the sdcard while connected by means of USB - problems testing
Fabrizio, You can try changing USB connection mode to Portal Tools. I've posted screenshots here: http://kmansoft.wordpress.com/2010/08/19/enabling-adb-on-the-motorola-milestone/ -- Kostya 20.08.2010 18:43, Fabrizio Giudici пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I connect my Droid to the USB port, its sdcard gets mounted to my laptop (Mac OS X). While this is occasionally useful, the sdcard becomes unusable from the apps - which causes me troubles when I try to test features that use the sdcard. Detaching the USB works, of course, but I want to keep it attached in order to keep adb shell and adb logcat running. Unmounting unilaterally the sdcard from the laptop doesn't work - I see a notification on the phone that the sdcard is again available only when I detach the USB. Thanks. - -- Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - We make Java work. Everywhere. java.net/blog/fabriziogiudici - www.tidalwave.it/people fabrizio.giud...@tidalwave.it -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxulHsACgkQeDweFqgUGxfXlgCfZFUoDbA8JBcY5JrLpGTAlapJ 4kcAn0dn5BFbEg5MXB8cU2xf+0YqpSXH =RFmU -END PGP SIGNATURE- -- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.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: Cannot use the sdcard while connected by means of USB - problems testing
You may have an app installed which makes mounting automatic instead of by your choice. A little searching shows something called doubletwist has been doing this by default unless you tell it not to - and if one app can, so can others. Fabrizio Giudici wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I connect my Droid to the USB port, its sdcard gets mounted to my laptop (Mac OS X). While this is occasionally useful, the sdcard becomes unusable from the apps - which causes me troubles when I try to test features that use the sdcard. Detaching the USB works, of course, but I want to keep it attached in order to keep adb shell and adb logcat running. Unmounting unilaterally the sdcard from the laptop doesn't work - I see a notification on the phone that the sdcard is again available only when I detach the USB. 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] JDOM in Android 2.1 or earlier
Hi all, I was trying to use JDOM to parse a response from my REST web service, when it threw a StringIndexOutOfBoundsException. I dug into the code and I found that Exception is thrown in a substring method when the JDOM is trying to recover something like a property name. I did a little search in the Internet about it and I found it's a known bug: http://code.google.com/p/android-rome-feed-reader/ http://www.jdom.org/pipermail/jdom-interest/2009-July/016346.html So, has anybody been able to parse a document using JDOM in Android 2.1? 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
Re: [android-developers] Re: SSLException: Not trusted server certificate
Ajay, You being able to open the site in desktop browser and on a Blackberry seems to imply that the certificate is valid (not corrupted) and is not self-signed. Perhaps the certificate was issued by an authority whose certificate is not installed in Android? Take a look here: http://groups.google.com/group/android-developers/browse_thread/thread/1afdf215aa539ca9/56970e750066e93d This is a hack to accept all certificates. -- Kostya 20.08.2010 16:07, Ajay пишет: Thank you Kostya, I tried accessing the same site on the desktop browser and a BlackBerry device, and they seem to work fine without a problem. I verified that the certificate on the server is installed properly using the following site: http://www.digicert.com/help and it told that it was installed properly on the server. On Aug 20, 4:39 pm, Kostya Vasilyevkmans...@gmail.com wrote: Ajay, This can happen because the certificate is not signed by a trusted certificate authority (e.g. self-signed), or because the certificate is just plain wrong. Try accessing the URL with a desktop browser to find out what the actual reason is. If the certificate is good, but is self-signed, search list archives for the solution - this comes up quite often. -- Kostya 20.08.2010 15:00, Ajay пишет: Hi, I am receiving this exception, when I try to access a secure site in my App. I am using DefaultHttpClientBasicHttpParamsclasses for Http communication. Any idea what could be the problem here? Thank you, AJ javax.net.ssl.SSLException: Not trusted server certificate at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 360) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java: 92) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java: 321) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java: 129) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java: 164) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java: 119) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: 348) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 555) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 487) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 465) at java.lang.Thread.run(Thread.java:1096) Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Could not validate certificate signature. at org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java: 168) at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 355) ... 11 more Caused by: java.security.cert.CertPathValidatorException: Could not validate certificate signature. at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java: 342) at java.security.cert.CertPathValidator.validate(CertPathValidator.java: 211) at org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java: 164) ... 12 more Caused by: java.security.SignatureException: Signature was not verified. at org.apache.harmony.security.provider.cert.X509CertImpl.fastVerify(X509CertImpl.java: 601) at org.apache.harmony.security.provider.cert.X509CertImpl.verify(X509CertImpl.java: 544) at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java: 337) ... 14 more -- Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com -- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.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] Use of 3rd party game engines
I'm looking at building a game for Android and I've looked around for any sort of insight into how to approach it. I've run across a few game engines for the platform and I'm wondering if any of you have had experience in using them. I worry about spending a lot of time building an app that relies heavily on a game engine, that maybe is abandoned at some point or becomes incompatible with future versions of Android. However, some of the out of the box functionality appears to be nice to have. Just curious to hear if any of you have looked into this at all. http://rokonandroid.com/index.php http://www.andengine.org/blog/ -- Chris Stewart http://chriswstewart.com Fantasy Footballhttp://chriswstewart.com/android-applications/fantasy-football/- Android app for fantasy football fanatics and MFL owners Social Updaterhttp://chriswstewart.com/android-applications/social-updater/- An easy way to send your status blast to multiple social networks -- 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: FTP Application for IPv6
That's good news Joe, thanks for testing it. Dragan On Aug 16, 10:19 am, Joe Petruchi petruchi.dr...@gmail.com wrote: Zirk, Thanks very much I tried with the Trial version of FTPCAFE and it works fine over IPv6. I am able to see the list of files in remote PC and download also. Thanks for the help Regards Ajan On Wed, Aug 11, 2010 at 3:57 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hello All, I am trying to download the apk from my country India. But I am not able to do so. It would be really nice if you could send the apk through e-mail. Best Regards Petruchi On Tue, Aug 10, 2010 at 6:01 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hello All, Does any body know if there exists any package to test FTP over IPv6. I tried with some of FTP applications available in market but it doesnt seem to support IPv6. Please help as this is very urgent for me Best Regards Petruchi -- 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 vs Free, My Early Experience
There's a reason why advertising copy is short. Research going back more than 50 years has shown that shoppers spend only a few moments evaluating a product. An application that costs no more than a box of cereal should not have any more descriptive text than a box of cereal. An app that costs as much as a DVD should not have more text than you see on a typical DVD box. My vote for best marketing of an Android app goes to Locale. Here's the entire pitch, about 150 characters: In March 2005, Judge Robert Restaino jailed 46 people when a mobile phone rang in his New York courtroom and no one would admit responsibility. So we invented Locale. Problem solved. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Paid vs Free, My Early Experience
An application that costs no more than a box of cereal should not have any more descriptive text than a box of cereal. That's just wrong on so many levels. Perceived value is more important here than the cost of a box of cereal. People want you to sell it to them, where a box of cereal is a brand driven commodity. My vote for best marketing of an Android app goes to Locale. Here's the entire pitch, about 150 characters: In March 2005, Judge Robert Restaino jailed 46 people when a mobile phone rang in his New York courtroom and no one would admit responsibility. So we invented Locale. Problem solved. Thanks for proving the point. That description tells me absolutely nothing about what I'm being asked to pay for. -- Chris Stewart http://chriswstewart.com Fantasy Footballhttp://chriswstewart.com/android-applications/fantasy-football/- Android app for fantasy football fanatics and MFL owners Social Updaterhttp://chriswstewart.com/android-applications/social-updater/- An easy way to send your status blast to multiple social networks On Fri, Aug 20, 2010 at 11:31 AM, Bret Foreman bret.fore...@gmail.comwrote: There's a reason why advertising copy is short. Research going back more than 50 years has shown that shoppers spend only a few moments evaluating a product. An application that costs no more than a box of cereal should not have any more descriptive text than a box of cereal. An app that costs as much as a DVD should not have more text than you see on a typical DVD box. My vote for best marketing of an Android app goes to Locale. Here's the entire pitch, about 150 characters: In March 2005, Judge Robert Restaino jailed 46 people when a mobile phone rang in his New York courtroom and no one would admit responsibility. So we invented Locale. Problem solved. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Creating new calendar event not setting OnActivityResult params
On Wed, Aug 18, 2010 at 11:52 PM, Kris Flyer robot.k...@gmail.com wrote: Does anyone know why the OnActivityResult behaves this way? Probably because the Calendar is not a public API and is not supposed to be used. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Use of 3rd party game engines
On Fri, Aug 20, 2010 at 10:22 AM, Chris Stewart cstewart...@gmail.com wrote: http://www.andengine.org/blog/ This one is really nice, but there are no sdk docs for it. There is lots of free example code to learn from, but you're on your own to learn it. -- Greg Donald destiney.com | gregdonald.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] Some problem/question about resolutions
Hi all, I'm loading the same png file 32X32 into the ImageView. When loading from the URL stream, from drawable folder and from drawable-hdpi folder getting 3 different displayed sizes of image. From drawable it's large, from drawable-hdpi - medium, from stream - small. Can you please advise where is the catch. I can understand the difference between drawable and drawable-hdpi but why from the stream getting third size of the image which dispalyed as very very small image? I'm using Motorola XT701 and appropriate WVGA845 build in emulator skin and getting the same results. Thanks in advance, 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
Re: [android-developers] Re: Paid vs Free, My Early Experience
And a free Android app should have no description at all, then? 20.08.2010 19:31, Bret Foreman пишет: There's a reason why advertising copy is short. Research going back more than 50 years has shown that shoppers spend only a few moments evaluating a product. An application that costs no more than a box of cereal should not have any more descriptive text than a box of cereal. An app that costs as much as a DVD should not have more text than you see on a typical DVD box. My vote for best marketing of an Android app goes to Locale. Here's the entire pitch, about 150 characters: In March 2005, Judge Robert Restaino jailed 46 people when a mobile phone rang in his New York courtroom and no one would admit responsibility. So we invented Locale. Problem solved. -- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.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] Starting TextToSpeech from a service - why is it an IntentReceiver ?
I'm having a play with TextToSpeech, trying to get it to run from a service. But, this innocuous-looking line: mTts = new TextToSpeech(mContext, this); generateds an exception: android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to bind to services at android.app.ReceiverRestrictedContext.bindService(ContextImpl.java: 148) at android.speech.tts.TextToSpeech.initTts(TextToSpeech.java:467) at android.speech.tts.TextToSpeech.init(TextToSpeech.java:433) which seems to imply that I'm doomed. Has anyone tried (or even succeeded!) in getting TTS to run from a service ? I'm not really sure why TTS has to be an IntentReceiver. I presume it's because the works to manage the installation of language downloads is packaged into the same class as the actual audio synthesis. Thanks, Richard -- 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: Some problem/question about resolutions
Please see attached file On Fri, Aug 20, 2010 at 6:40 PM, EvgenyV evgen...@gmail.com wrote: Hi all, I'm loading the same png file 32X32 into the ImageView. When loading from the URL stream, from drawable folder and from drawable-hdpi folder getting 3 different displayed sizes of image. From drawable it's large, from drawable-hdpi - medium, from stream - small. Can you please advise where is the catch. I can understand the difference between drawable and drawable-hdpi but why from the stream getting third size of the image which dispalyed as very very small image? I'm using Motorola XT701 and appropriate WVGA845 build in emulator skin and getting the same results. Thanks in advance, 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=enattachment: diff_size_images.jpg
Re: [android-developers] Re: Paid vs Free, My Early Experience
On Fri, Aug 20, 2010 at 10:31 AM, Bret Foreman bret.fore...@gmail.comwrote: There's a reason why advertising copy is short. Research going back more than 50 years has shown that shoppers spend only a few moments evaluating a product. OK - so every single shopper ever only takes a few moments? None of them want the option to read more and make a more informed decision. Common sense going back to the beginning of humanity has shown that users like options. Some users might like the option to read more. An application that costs no more than a box of cereal should not have any more descriptive text than a box of cereal. An app that costs as much as a DVD should not have more text than you see on a typical DVD box. The logic behind those statements is so stupid I'm not going to justify it with an answer. My vote for best marketing of an Android app goes to Locale. Here's the entire pitch, about 150 characters: In March 2005, Judge Robert Restaino jailed 46 people when a mobile phone rang in his New York courtroom and no one would admit responsibility. So we invented Locale. Problem solved. So Locale is what, an app judges use to identify the person who's phone is ringing in their courtroom? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] Sound levels in games
Anyone any thoughts on this? On Aug 18, 6:46 pm, Neilz neilhorn...@gmail.com wrote: Hi all. A common complaint with my app is that the sound is too low. I don't know what I can do to improve this. - I use SoundPool, and believe I am setting each sound to its maximum volume - I edit my sound files in Audacity, and use the normalization/ amplification tools to maximize them to as much as I can before they start to cause popping/crackling. - They are saved and played back as ogg files. I don't know anything else I can do? Any ideas please? -- 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 vs Free, My Early Experience
Locale is an Anrdoid app that costs $10 and is in the 10,000-50,000 downloads category. Their blurb in the Marketplaces is well under the 325 character limit. Their technology is not rocket science. Their marketing is. So Locale is what, an app judges use to identify the person who's phone is ringing in their courtroom? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Paid vs Free, My Early Experience
On Fri, Aug 20, 2010 at 11:44 AM, TreKing treking...@gmail.com wrote: On Fri, Aug 20, 2010 at 10:31 AM, Bret Foreman bret.fore...@gmail.comwrote: There's a reason why advertising copy is short. Research going back more than 50 years has shown that shoppers spend only a few moments evaluating a product. OK - so every single shopper ever only takes a few moments? None of them want the option to read more and make a more informed decision. Maybe not every shopper, but typically the majority of people that are looking for apps Common sense going back to the beginning of humanity has shown that users like options. Some users might like the option to read more. An application that costs no more than a box of cereal should not have any more descriptive text than a box of cereal. An app that costs as much as a DVD should not have more text than you see on a typical DVD box. The logic behind those statements is so stupid I'm not going to justify it with an answer. No need to be rude. From a marketing standpoint, those statements aren't far off. Then again, Marketing rarely has much to do with logic My vote for best marketing of an Android app goes to Locale. Here's the entire pitch, about 150 characters: In March 2005, Judge Robert Restaino jailed 46 people when a mobile phone rang in his New York courtroom and no one would admit responsibility. So we invented Locale. Problem solved. So Locale is what, an app judges use to identify the person who's phone is ringing in their courtroom? I expect your question is rhetorical... But considering the results, the Marketing is sound. In their case, it was better to deliver a shocker that drew people in rather than explain the technical details of their app. In the end, the important thing is: Know your audience. The majority of app-store shoppers are a certain demographic. I wouldn't be surprised to find that most of that demographic react better to short bursts of information and taglines (e.g. effective marketing), rather than 100% accurate app descriptions. Besides, full details of your app should be found on your website. So, anyone that _really_ wants to know what you've got to offer will probably be willing to open the browser and see all you have to say Whether that's 325 characters or 325k. --PhillW -- 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] Update progressbar in custom dialog
Hi, is it possible to have a progressbar that is updated in realtime in a custom dialog? If so, how do I make it work? At the moment I have made a custom dialog with onCreateDialog() and onPrepareDialog() with a progressbar. I am using AsyncTask to update the progressbar in the onProgressUpdate. This worked fine when the progressbar was not in a dialog. Where it force closes is when the line downloadBar is executed: protected void onProgressUpdate(final Integer... values) { downloadBar.setProgress(values[0]); Log.i(makemachine, onProgressUpdate(): + String.valueOf(values[0])); } Happy for any answers. Thanks André -- 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: connected Motorola Droid not recognized by adb
Thanks a-wjf. Switching device driver to USB Composite Device worked like a charm. Kostya, I've never seen that menu and on both 2.1 and 2.2 the Droid only allows for mounting and unmounting from that menu. But, your screenshots are sweet and I'd like your menu instead of mine. On Aug 19, 1:28 pm, authorwjf wfran...@softlayer.com wrote: Like you I had similar problems getting my Motroloa DROID to show up as a device in Android Device Chooser dialog under Eclipse. I am running the 32-bit version of Windows 7. I found a number of forums that tried to address this issue, but no one seemed exactly sure what was happening, and a number of the sites suggested re-installing Windows. It just so happens that prior to doing Android development I wrote device drivers for Windows. So I am at a bit of an advantage here. USB drivers can be touchy, but you shouldn't have to re-install your OS and the idea of a driver boost app from a third party makes me shudder. More than likely what is happening is the OS has associated your DROID with the generic driver that comes with the Windows Android SDK. You can verify this by bringing up the Windows Device Manager. If in your root node you see, ANDROID PHONE instead of ADB INTERFACE, this post should solve your problem. Obviously, if you have not already gone out to the Motorola website and downloaded the 32 or 64 bit drivers for the DROID, this needs to be your first step. After you run the MSI you downloaded from Motorola, reboot your machine, bring up your old friend the device manager again, and reconnect your DROID. As mentioned in other posts on this thread, you need to have the USB debugging turned on from the DROID's application menu. Expand the ANDROID PHONE node, right click, and choose UPDATE DRIVER SOFTWARE. You will be presented with two options, the one you want is BROWSE MY COMPUTER FOR DRIVER SOFTWARE. When the next dialog comes up, select LET ME PICK FROM A LIST OF DEVICE DRIVERS ON MY COMPUTER. As long as you have the SHOW COMPATIBLE HARDWARE box checked, you should see a couple options. Ideally, you are looking for MOT COMPOSITE ADB INTERFACE. However, in some cases only ANDROID COMPOSITE ADB INTERFACE shows up. This *should* work as well. The one thing you don't want is the generic ANDROID ADB INTERFACE, which seems to be the default (thus the problem to begin with). Click NEXT and the driver will install. Its possible at this point (in fact likely), Windows will force you to do a reboot. Once that is complete you should be good to go. Hope this was 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
Re: [android-developers] Sound levels in games
It could be the master volume. Make sure you let the OS handle the master volume using Activity.setVolumeControlStream( AudioManager.STREAM_MUSIC ); From there what I do is have a relative volume per effect. The thing is that you don't hold the master volume so you need to get it from the OS. I do this. public float makeVolume( float fRelVolume ) { AudioManageraudioManager= (AudioManager)m_Activity.getSystemService( Context.AUDIO_SERVICE ); int masterVolume = audioManager.getStreamVolume( AudioManager.STREAM_MUSIC ); return ((float)masterVolume / 15.0f) * fRelVolume; } Leigh On 8/20/2010 12:06 PM, Neilz wrote: Anyone any thoughts on this? On Aug 18, 6:46 pm, Neilzneilhorn...@gmail.com wrote: Hi all. A common complaint with my app is that the sound is too low. I don't know what I can do to improve this. - I use SoundPool, and believe I am setting each sound to its maximum volume - I edit my sound files in Audacity, and use the normalization/ amplification tools to maximize them to as much as I can before they start to cause popping/crackling. - They are saved and played back as ogg files. I don't know anything else I can do? Any ideas please? -- Leigh McRae www.lonedwarfgames.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Paid vs Free, My Early Experience
On Fri, Aug 20, 2010 at 11:17 AM, Bret Foreman bret.fore...@gmail.comwrote: Their blurb in the Marketplaces is well under the 325 character limit. Their blurb in the Marketplace also actually describes what the app does, unlike the quote you posted. On Fri, Aug 20, 2010 at 11:31 AM, Phill Wiggin ala...@gmail.com wrote: Maybe not every shopper, but typically the majority of people that are looking for apps That's the point. Majority or not, what's the harm in giving more information? The majority of people will get bored after two sentences and move on. Oh well. No one is forcing them to read anything. But for the rest, the OPTION to read more would be nice. An application that costs no more than a box of cereal should not have any more descriptive text than a box of cereal. An app that costs as much as a DVD should not have more text than you see on a typical DVD box. The logic behind those statements is so stupid I'm not going to justify it with an answer. No need to be rude. True. Sorry. But there's also no need to make nonsensical statements that have no basis or reason. From a marketing standpoint, those statements aren't far off. Then again, Marketing rarely has much to do with logic Stating that the value of something somehow correlates to the amount of text used to describe it and comparing Android apps to cereal and DVDs sounds pretty far off to me. So Locale is what, an app judges use to identify the person who's phone is ringing in their courtroom? I expect your question is rhetorical... But considering the results, the Marketing is sound. In their case, it was better to deliver a shocker that drew people in rather than explain the technical details of their app. Of course it is rhetorical. What results? Their app popularity? I somehow doubt that one quote is the driving factor for their success. It's also good to note that that quote is not what they use as their description. And do you suppose their description would be that short if it didn't need to be? In the end, the important thing is: Know your audience. The majority of app-store shoppers are a certain demographic. Right. And there are A LOT of apps that cater to A LOT of different people and purposes. 325 characters might be fine for something simple like Locale but is inadequate for many other apps where elaborating on features is what sets you apart. I wouldn't be surprised to find that most of that demographic react better to short bursts of information and taglines (e.g. effective marketing), rather than 100% accurate app descriptions. I wouldn't either, but what is the harm in giving people the option? Besides, full details of your app should be found on your website. Of course. But AGAIN, I'm not talking about full details - I'm talking about enough space to properly DESCRIBE, PROMOTE, and SELL your product. If you feel you can do that in 325 characters, congratulations. I really don't and it would be nice to have the OPTION to be as detailed and verbose or simple and to-the-point as I felt I needed to be to sell my product. As a user, it would be nice to have the OPTION to read as much as I wanted to determine if an app was worth my time without having to navigate to a website or download the app and try it out to find out if it does what I want. So, anyone that _really_ wants to know what you've got to offer will probably be willing to open the browser and see all you have to say Whether that's 325 characters or 325k. Yes, and the majority of people that you referred to that don't have the attention span to read more text won't bother, won't see the full potential of your app, and will just move on. Given the options of: a) reading more right on your description page b) having to click through to your website c) having to install the app to see what it's really about I have to believe that this majority you speak of that has the attention span of a 3-year-old would prefer the convenience of option a. It's seriously boggling my mind that any developers would be opposed to the idea of the OPTION of adding more text. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Scrolling in a ListView
On Thu, Aug 19, 2010 at 2:06 PM, Sebastian Muehr sebastian.mu...@googlemail.com wrote: Can anyone help me with this issue? I'm glad about any hint that you can give me. You probably need to provide more information, like what you adapter looks like, how you've implemented getView(), and what, exactly, you're doing when you get this error. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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: Camera Application Not Working When I Test on My Phone
My development environment is windows 7 64 bit. I think I'm using jdk 1.5.20 and not 1.5.21 based on a recommendation from Eclipse. Chris On Aug 19, 9:28 pm, Chris Maurer cgmau...@gmail.com wrote: I'm trying to test against 1.5 sdk 3. I'm only trying to access the camera and the sd card. I don't see anything (or don't know how to use) in the Java Stack Trace Console in the Eclipse debug move. In the DDMS I keep getting the following 08-20 01:03:44.452: ERROR/jdwp(875): Failed sending reply to debugger: Broken pipe 08-20 01:03:50.722: ERROR/MediaPlayer(554): Unable to to create media player 08-20 01:03:50.722: ERROR/CameraService(554): Failed to load CameraService sounds. 08-20 01:03:50.742: ERROR/MediaPlayer(554): Unable to to create media player 08-20 01:03:50.742: ERROR/CameraService(554): Failed to load CameraService sounds. 08-20 01:03:50.782: ERROR/Camera(882): _getParameters: picture- format=jpeg;picture-size=213x350;preview-format=yuv422sp;preview-frame- rate=15;preview-size=176x144 08-20 01:03:50.812: ERROR/Camera(882): setParameters() Should I limit the features of my AVD? Expand them? On Aug 19, 12:32 am, Tommy droi...@gmail.com wrote: What is the OS version are you testing on? What features of the camera are you using. I had the same issue due to trying to call the flash feature on a 1.5 device. They don't support flash. So a list of the features would be helpful and the OS version your testing on. I had a few issues I had to figure out trying to work with the camera. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Thursday, August 19, 2010 12:23 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Camera Application Not Working When I Test on My Phone On Wed, Aug 18, 2010 at 8:51 PM, Chris Maurer cgmau...@gmail.com wrote: When I step through the code I get an error in Looper.loop() line:124 after the onCreate function. That information is not especially useful. We would need the stack trace, at least to the point where your own code starts showing up. i apologize for my ignorance, but what will the Java stack trace look like in logcat Generally, it will look like a Java stack trace does everywhere else you do Java development. http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/ In DDMS, it will be colored red. Also, some Android stack traces are in two halves, the bottom half labeled Caused by -- that'd be the more relevant half. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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 athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] GUI alignment ok for emulator and direct transfer but misaligned when published in Android Market?
Hi, does publishing app in Android Market add something to the app? Why is my alignment off where where were ok in emulator and direct transfer to my phone? How am I going to know what to adjust if Android Market causes it? Anyone have this issue? Regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Paid vs Free, My Early Experience
For the record, I (at least) am not opposed to adding more space. I just see from your primary argument that you're not looking at the situation from a consumer's standpoint. I wouldn't be surprised to find that most of that demographic react better to short bursts of information and taglines (e.g. effective marketing), rather than 100% accurate app descriptions. I wouldn't either, but what is the harm in giving people the option? Most consumers aren't as detail-oriented as developers are; they don't respond well to too much information. Look at how many people buy iPads. They don't _care_ what it's full potential is. They don't _care_ what all the features are. Frankly, when you try to explain all the features, their eyes glass over and they retreat... They walk away because you're explaining too much for them. (I've worked retail in the past, and I've seen this exact situation in my extended family even recently.) You say Yes, and the majority of people that you referred to that don't have the attention span to read more text won't bother, won't see the full potential of your app, and will just move on. Whereas, if (in your descritpion) you tell them _why_ they should care and what 1-2 killer things your app does, that may convince them to try it out if they don't have to read a treatise dealing with all the features you packed into your app. I'm just saying that information overload is a bad thing for non-technical people, (likely) the vast majority of the app consumers. (Locale) And do you suppose their description would be that short if it didn't need to be? Yes, I believe their description is best served by being short. As much as Locale does, their market description is short, succinct and includes links to further information. It clearly states what the purpose of the app is and doesn't get overly verbose. It's just about the perfect amount of information to pique someone's interest. As a user, it would be nice to have the OPTION to read as much as I wanted to determine if an app was worth my time without having to navigate to a website or download the app and try it out to find out if it does what I want. Yes, but _you_ as a user aren't a typical user. If you want to target the group that matches _your_ methods of finding apps, you're going to be targeting a minority of the market's user-base. That's really the point I'm trying to get across. The poster who was comparing prices of boxes of cereal to the text on them is looking at it from a marketing prospective. And even if you don't agree (or think it's stupid, base-less, hare-brained...etc) the fact is: effective marketing sells products. There are a lot of stupid products on the market that people buy because the Marketing is good. And there are awesome products on the market that die a quick death because their marketing is bad, mistargeted, or ineffective. I'm just saying that Locale did a good job of using that limited amount of space in promoting their product. So, if we (as developers) are creative and succinct, we should be able to live with that space constraint until/unless Google decides to give us more. But I'd dearly love a changelog section Who couldn't use one of those? =) --Phill W -- 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] Incoming Call GPS
Hi All Is possible in android, detect the latitude and longitude from Incoming Call ? Thanks David -- 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 vs Free, My Early Experience
The 325 character limit is really inexcusable. My main problem is that I need to use all the space just to describe, in broad terms, what the app does. There is really no room to mention the specific features that differentiate my app from my competitors. If I add a great new feature, can I mention that in the description in order to drive sales? Probably not. Does that reduce my motivation to add new features? Yes somewhat - especially if the other option is adding stuff to an Apple app where I can use the app store description to drive sales. This really shouldn't be such a big problem. Apple has it right with its 4000 char limit. Has anyone really thought This description is unbearably long - I wish Apple would limit them to a couple sentences.? No, if it's too long, you read what you need to form your opinion and skip the rest. This is such a no-brainer that I really wonder if there is some sort of political reason for this. Has anyone checked the new Chrome app store to see if it also has a 325 description limit? On Aug 20, 10:05 am, TreKing treking...@gmail.com wrote: On Fri, Aug 20, 2010 at 11:17 AM, Bret Foreman bret.fore...@gmail.comwrote: Their blurb in the Marketplaces is well under the 325 character limit. Their blurb in the Marketplace also actually describes what the app does, unlike the quote you posted. On Fri, Aug 20, 2010 at 11:31 AM, Phill Wiggin ala...@gmail.com wrote: Maybe not every shopper, but typically the majority of people that are looking for apps That's the point. Majority or not, what's the harm in giving more information? The majority of people will get bored after two sentences and move on. Oh well. No one is forcing them to read anything. But for the rest, the OPTION to read more would be nice. An application that costs no more than a box of cereal should not have any more descriptive text than a box of cereal. An app that costs as much as a DVD should not have more text than you see on a typical DVD box. The logic behind those statements is so stupid I'm not going to justify it with an answer. No need to be rude. True. Sorry. But there's also no need to make nonsensical statements that have no basis or reason. From a marketing standpoint, those statements aren't far off. Then again, Marketing rarely has much to do with logic Stating that the value of something somehow correlates to the amount of text used to describe it and comparing Android apps to cereal and DVDs sounds pretty far off to me. So Locale is what, an app judges use to identify the person who's phone is ringing in their courtroom? I expect your question is rhetorical... But considering the results, the Marketing is sound. In their case, it was better to deliver a shocker that drew people in rather than explain the technical details of their app. Of course it is rhetorical. What results? Their app popularity? I somehow doubt that one quote is the driving factor for their success. It's also good to note that that quote is not what they use as their description. And do you suppose their description would be that short if it didn't need to be? In the end, the important thing is: Know your audience. The majority of app-store shoppers are a certain demographic. Right. And there are A LOT of apps that cater to A LOT of different people and purposes. 325 characters might be fine for something simple like Locale but is inadequate for many other apps where elaborating on features is what sets you apart. I wouldn't be surprised to find that most of that demographic react better to short bursts of information and taglines (e.g. effective marketing), rather than 100% accurate app descriptions. I wouldn't either, but what is the harm in giving people the option? Besides, full details of your app should be found on your website. Of course. But AGAIN, I'm not talking about full details - I'm talking about enough space to properly DESCRIBE, PROMOTE, and SELL your product. If you feel you can do that in 325 characters, congratulations. I really don't and it would be nice to have the OPTION to be as detailed and verbose or simple and to-the-point as I felt I needed to be to sell my product. As a user, it would be nice to have the OPTION to read as much as I wanted to determine if an app was worth my time without having to navigate to a website or download the app and try it out to find out if it does what I want. So, anyone that _really_ wants to know what you've got to offer will probably be willing to open the browser and see all you have to say Whether that's 325 characters or 325k. Yes, and the majority of people that you referred to that don't have the attention span to read more text won't bother, won't see the full potential of your app, and will just move on. Given the options of: a) reading more right on your description page b) having to click through to your website c)
[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?
Andrew, I don't know that this is reported in any public bug system. I've reported it within a Motorola bug system. - Suzanne On Aug 20, 12:33 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: John, have you had any complaints yet about conflicts from duplicate unique ids? I handled it in code. -John Coryat -- 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: Scrolling in a ListView
On 20 Aug., 19:17, TreKing treking...@gmail.com wrote: You probably need to provide more information, like what you adapter looks like, how you've implemented getView(), and what, exactly, you're doing when you get this error. This is all I implemented: setContentView(R.layout.new_career); ListView lv = (ListView) findViewById(R.id.listview_newCareer); lv.setTextFilterEnabled(true); lv.setAdapter(new ArrayAdapterString(getApplicationContext(), R.layout.item_team, game.getTeamNames())); new_career.xml: ?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 ListView android:id=@+id/listview_newCareer android:layout_width=fill_parent android:layout_height=wrap_content / /LinearLayout item_team.xml: ?xml version=1.0 encoding=utf-8? TextView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent / All I do when getting this error is scrolling through the list. At about the half of the list I get the error. In the upper half I can scroll normally without any problems. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] enable/dissable fullscreen for lifetime of the app?
On Thu, Aug 19, 2010 at 5:26 PM, Moto medicalsou...@gmail.com wrote: One way to do it would be to have a custom Activity class that does these checks and all my activities can just implement it? would that be slow is it recommended? It wouldn't be slow (at least it shouldn't be), but would only work if you only ever extend Activity. If you use ListActivity, MapActivity, etc, this would not work. An option is to make an Activity proxy class that takes a reference to an Activity and then forwards calls on to it as necessary. Then each of your Activities has a proxy and forwards calls to it and let's the proxy do the common work. A little more verbose since you need to inject it in every Activity, but a decent tradeoff given how Android is designed. On Fri, Aug 20, 2010 at 12:27 AM, Kantesh kantesh@gmail.com wrote: this may help u.. try it out..i am not sure..:) getApplicationContext().setTheme(android.R.style.Theme_NoTitleBar_Fullscreen); OP would still have to check each time to see if the user had the setting. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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: GUI alignment ok for emulator and direct transfer but misaligned when published in Android Market?
On the emulator did you try your app with all the difference screen sizes / OS combinations ? I think you need about 5 emulators to hit 90% of devices: 1.5 HVGA mdpi 1.6 HVGA mdpi 2.1 WVGA800 hdpi 2.1 QVGA ldpi 2.2 WVGA854 hdpi There are a few more combinations you could test with but I think the above gets you to about 90% coverage. On Aug 20, 6:38 pm, Mystique joven.ch...@gmail.com wrote: Hi, does publishing app in Android Market add something to the app? Why is my alignment off where where were ok in emulator and direct transfer to my phone? How am I going to know what to adjust if Android Market causes it? Anyone have this issue? Regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Incoming Call GPS
No. You might be able to cross link from the contact book to some third party service the caller subscribes to in order to obtain this information. -John Coryat -- 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: Difference between Android Service and Content Provider
To be precise, a ContentProvider is an object that can communicate with the ContentResolver facade. ContentProvider classes are aware of the underlying nature of their dataset, while ContentResolver is agnostic and provides a single interface. A ContentProvider does not have to wrap a database. It can wrap *any* source of data. A ContentProvider could wrap a reference librarian on the telephone (granted, it would be very low bandwidth), although you might find it much more useful to have the data local to the device. Note also that ContentProvider is an abstract class, so you probably want to implement the Big 6 Methods (onCreate,query,insert,update,delete,getType) if you're making the actual instance available to external developers. The method signatures imply to the outside world that your data is organized in tables of rows and columns. That is, the object mimics a database. Nothing is implied about what's inside, and the external user shouldn't have to know. To provide a ContentProvider to external users, you should provide a contract class that defines constants for the table and column names, the content URIs, and the available types. Look at the Javadoc for android.provider.ContactsContract for an example of this. Another note: If you're only using the ContentProvider in your own application, and you're using an SQLite database, and you have no intention of syncing it to anything else, then you might want to skip making a ContentProvider, and use the SQLite classes directly. I think that the intent of ContentProvider was to make common, public datasets available to multiple applications. The difference between ContentProvider and Service? ContentProvider establishes a pattern for accessing data that matches the ContentResolver facade. This makes it easy for an application to locate the data and access it independently of its internal form. Service is meant to handle work-intensive tasks in an asynchronous fashion. Nothing about data is implied. Use a Service to handle syncing data or keeping something around to use as needed (like an Alarm object). Hope this helps. I apologize for hammering on ContentProvider. Just wanted to point out that you're not limited to databases. On Aug 20, 4:57 am, Joseph Earl joseph.w.e...@gmail.com wrote: It sounds like you have the right idea. A ContentProvider is a wrapper around your database which allows other applications to access and modify your database in a controlled manner. A Service is basically just a long-running task, such as downloading/ syncing data. A ContentProvider would provide access to your data to your app and others, and you would use a Service to download the new data, which would then use your ContentProvider to insert that new data into your database. On Aug 19, 4:49 pm, Lily Zhang lily...@gmail.com wrote: I am developing an app and get confused about the idea of Service and Content Provider in Android. In practice, what will be the difference between them? Content Provider is a facade and it defines a way to share data among applications. You many attach a local database to your app or create Content Provider mapped to a universal database so that all the application on the same device can share it. Service is long running processes that need to be decoupled from main activity. It has local and remote service. local service is like the local database, and remote service is like Content Provider sharing the database info. What My App is doing? downloads info. from multiple internet resource in the background (I suppose this will be Service) and store the info. into database, and multiple applications will need to retrieve the data, format them and output them to user (I guess it will be a Content Provider). What will be the fine line between Service and Content Provider? Newbie in Android, and any suggestion is welcome. Lily -- 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] Calender Entry Listener
I am developing an app in which I need to listen events whenever they are created or modified in android calendar. Is it possible to listen calendar entry when the user enters events ? -- 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] USB Issues: 2nd Droid not recognized by ADB
I have two Droids. The first is recognized just fine by ADB and Eclipse. In hardware manager, it's identified as 'Android Phone/Android Composite ADB Interface'. The second is not recognized by ADB at all. In hardware manager, it's identified as 'Android Phone/Android Composite ADB Interface' The computer is a Windows 7 Professional machine. What's going on here? Richard -- 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: GUI alignment ok for emulator and direct transfer but misaligned when published in Android Market?
I was using 1.6 as emulator and then installed the apk in HTC Desire which has 480x800. Both shows the same result. When I published it, it doesn't look the same on my Desire when I install from Market. Isn't that strange? On Aug 21, 2:15 am, RichardC richard.crit...@googlemail.com wrote: On the emulator did you try your app with all the difference screen sizes / OS combinations ? I think you need about 5 emulators to hit 90% of devices: 1.5 HVGA mdpi 1.6 HVGA mdpi 2.1 WVGA800 hdpi 2.1 QVGA ldpi 2.2 WVGA854 hdpi There are a few more combinations you could test with but I think the above gets you to about 90% coverage. On Aug 20, 6:38 pm, Mystique joven.ch...@gmail.com wrote: Hi, does publishing app in Android Market add something to the app? Why is my alignment off where where were ok in emulator and direct transfer to my phone? How am I going to know what to adjust if Android Market causes it? Anyone have this issue? Regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Paid vs Free, My Early Experience
On Fri, Aug 20, 2010 at 12:43 PM, Phill Wiggin ala...@gmail.com wrote: For the record, I (at least) am not opposed to adding more space. I just see from your primary argument that you're not looking at the situation from a consumer's standpoint. But I am. I want to give the consumer the CHOICE to read as much as they want. Why is that so difficult to understand? You're looking at this from a marketer's perspective. This is important of course but marketing types also have a habit of thinking they're more clever than they really are. I wouldn't be surprised to find that most of that demographic react better to short bursts of information and taglines (e.g. effective marketing), rather than 100% accurate app descriptions. I wouldn't either, but what is the harm in giving people the option? Most consumers aren't as detail-oriented as developers are; they don't respond well to too much information. So what? No one would be forcing consumers to read too much information. If you don't use the extra space properly, that's your problem. But shouldn't developer and users have that OPTION? Look at how many people buy iPads. They don't _care_ what it's full potential is. They don't _care_ what all the features are. Frankly, when you try to explain all the features, their eyes glass over and they retreat... They walk away because you're explaining too much for them. (I've worked retail in the past, and I've seen this exact situation in my extended family even recently.) Again, making ridiculous comparisons. You cannot compare a hardware device that has the Apple brand, marketing, and recognition behind it with an app in the Android Market. If the iPad was a brand new product being distributed by a no-name company and was being pitched with 325 characters and two screen shots, how many people do you think would pay what it costs for it? Hmm? You say Yes, and the majority of people that you referred to that don't have the attention span to read more text won't bother, won't see the full potential of your app, and will just move on. Whereas, if (in your descritpion) you tell them _why_ they should care and what 1-2 killer things your app does, that may convince them to try it out if they don't have to read a treatise dealing with all the features you packed into your app. I'm just saying that information overload is a bad thing for non-technical people, (likely) the vast majority of the app consumers. And I'm not saying that these descriptions should be a space for writing the sequel to War and Peace. My app does more than 1-2 killer things that make it stand out. A simple, concise, bullet point list of features of my app runs way over 325 characters. I'm not going into technical details, I'm not explaining how things work - I'm just listing clear, to the point features and there is not enough room to do even that. (Locale) And do you suppose their description would be that short if it didn't need to be? Yes, I believe their description is best served by being short. As much as Locale does, their market description is short, succinct and includes links to further information. It clearly states what the purpose of the app is and doesn't get overly verbose. It's just about the perfect amount of information to pique someone's interest. They could do exactly that and then go into detail with a read more section, which I've been suggestion. No need for a link (that's not even clickable, how many people will actually go their browser and type it out, regardless of how short?) and anyone that likes what they read in the intro can get more info, IF THEY SO CHOOSE. Isn't it better to give users more than they need and let them CHOOSE how much to consume, then not give them enough? As a user, it would be nice to have the OPTION to read as much as I wanted to determine if an app was worth my time without having to navigate to a website or download the app and try it out to find out if it does what I want. Yes, but _you_ as a user aren't a typical user. If you want to target the group that matches _your_ methods of finding apps, you're going to be targeting a minority of the market's user-base. That's really the point I'm trying to get across. You're telling me that the typical user doesn't like options? That if given the choice of only reading 325 characters or reading 325 characters with THE OPTION to read more, they'd choose the former? The point I'm trying to get across is that regardless of what the typical user does or doesn't do, EVERY user likes options. And that given more space, developers could chose the best way to market their product, since different products require different methodologies. If you overload the user with information THAT'S ON YOU. YOU screwed it up and YOU lost a customer. The way it it now though, there is no choice. I don't have any option but to use this magical 325 number that someone pulled out of their ass. The
Re: [android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?
Hi everyone, Just to follow up a bit here, the reason we believe this is happening is because ro.serialno isn't set on these devices. (Note that the ro.* properties currently aren't required by the CDD/CTS.) Unfortunately, it seems that we're using ro.serialno as the seed for the PRNG when generating ANDROID_ID. See: frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java:416 http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.javaq=android_id%20ro.serialnosa=Ncd=1ct=rc I've gone ahead and opened up a bug here for tracking purposes: http://code.google.com/p/android/issues/detail?id=10639 (We suspect that the Droid 2 isn't the only phone affected by this, likely just the most noticeable instance.) We have a fix for this checked into our internal Git repo, so once that change propagates to vendors this shouldn't be an issue on future devices. For existing devices though, if you absolutely depend on the uniqueness of ANDROID_ID, you'll unfortunately need to rely on some other identifier (IMEI, WiFi MAC, etc.). -- Trevor Johns On Fri, Aug 20, 2010 at 10:46 AM, suzanne.alexandra suzanne.alexan...@motorola.com wrote: Andrew, I don't know that this is reported in any public bug system. I've reported it within a Motorola bug system. - Suzanne On Aug 20, 12:33 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: John, have you had any complaints yet about conflicts from duplicate unique ids? I handled it in code. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to capture the contents of webview and parse it
Well, gosh, if you're trying to access an RSS feed, that's in XML. So brush up on the URLConnection or HttpClient and the SAXParser or xml pull parser. You ought to be able to Google how to do that in Java. -- 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] message for canceled order for licensing framework
What kind of status licensing framework returns for canceled order? 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: GUI alignment ok for emulator and direct transfer but misaligned when published in Android Market?
Beyond strange as your APK is signed (by you) so any changes would have invalidated the signature and it would not install. Try and adb install the apk you uploaded to the market (you will probably need to uninstall it first from your phone) and see what it looks like. On Aug 20, 7:56 pm, Mystique joven.ch...@gmail.com wrote: I was using 1.6 as emulator and then installed the apk in HTC Desire which has 480x800. Both shows the same result. When I published it, it doesn't look the same on my Desire when I install from Market. Isn't that strange? On Aug 21, 2:15 am, RichardC richard.crit...@googlemail.com wrote: On the emulator did you try your app with all the difference screen sizes / OS combinations ? I think you need about 5 emulators to hit 90% of devices: 1.5 HVGA mdpi 1.6 HVGA mdpi 2.1 WVGA800 hdpi 2.1 QVGA ldpi 2.2 WVGA854 hdpi There are a few more combinations you could test with but I think the above gets you to about 90% coverage. On Aug 20, 6:38 pm, Mystique joven.ch...@gmail.com wrote: Hi, does publishing app in Android Market add something to the app? Why is my alignment off where where were ok in emulator and direct transfer to my phone? How am I going to know what to adjust if Android Market causes it? Anyone have this issue? Regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en