[android-developers] Re: SDK Tools r12 causing aapt to fail
So...what is a good public replacement for parent="android:WindowTitle" ? So everything except the few things you change are inherited from whatever the current platform uses. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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: Any plans to make a DownloadManager library/jar available for pre-Gingerbread support?
On 18 Feb., 18:48, Dianne Hackborn wrote: > I am just > thinking to only use the networking pieces from it, and write your own > front-end (posting notifications if that is what you want, or doing whatever > UI you want). Then what would be the benefit left? Before the download manager you wrote your own UI and did the http-get/ post/whatever-request +error-handling already. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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: "Conversion to Dalvik format failed with error 1" when using jmDNS.jar
Doesn't that mean that the code is compiled but the jar not included in the apk => class not found error at runtime unless jmDNS is a part of Android. On 17 Feb., 01:40, scott_ggle wrote: > I had resolved this compile error by adding JmDNS as user library. See > tip posted by CuteAndroid > > athttp://www.cuteandroid.com/tips-for-android-developer-conversion-to-d > > I guess I could extract the source file and add them in my project. > But that make the project hard to maintain with JmDNS updates. > > Thanks for helping > > -Scott > > On Jan 14, 5:15 am, Kumar Bibek wrote: > > > I guess, JMDNS uses a lot of classes in the javax package, that you would > > not be able to compile with Android. > > > If you want to use only the JMDNS specific stuff, you can extract those > > classes and add it to your project. That worked for me. > > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > > On Fri, Jan 7, 2011 at 12:31 AM, scott_ggle wrote: > > > Hi, > > > > I hope someone can kindly provide me hint on eclipse error “Conversion > > > to Dalvik format failed with error 1″. I am building Android > > > application with an external jar -”jmDNS.jar”. > > > I have tried reboot and clean build with no help. I tried using > > > Android 2.3 and 2.2 SDK with latest jmDNS.jar 3.2.2. The later was add > > > in project as Referenced Libraries. > > > > Thanks in advance. > > > > Scott > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > 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 > > 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: Controlling LEDs on Notification
RTFM http://developer.android.com/guide/topics/ui/notifiers/notifications.html#Lights On 17 Feb., 14:44, Jake Colman wrote: > On my HTC EVO I see that my running apps have two forms of typical > notification: > > 1) Tweets, for example, vibrate and make a sound once upon arrival only. > 2) SMS, for example, vibrate and make a sound once upon arrival, but > flash the LED until the SMS is acknowledged. > > In my app I create a new Notification and set the flags as follows: > > theNotification.defaults |= Notification.DEFAULT_ALL; > theNotification.flags |= Notification.FLAG_AUTO_CANCEL; > > This performs notification as per example #1. How do I change this so > that I get notification as per example #2? Ideally, I'd also like to > control whether the LED flashes red or green. > > Thanks. > > ...Jake > > -- > Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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] DNS-lookup
Is there any way to do DNS-lookups of other records then just A and ? I need to look up MX-records and parse the results. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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: List of Android Devices with specifications to use in Emulator
Thanks. That should be quite useful. On 7 Sep., 21:50, Andrew Brampton wrote: > Hi, > I'm going to try something here, and hopefully it'll work. > > I've written a few apps and occasionally I'll have someone email me > saying it doesn't work correctly on their phone. As I don't have > access to their phone I try and recreate their device in the emulator > by using the same Android version, screen size, and whatever else I > think is important. > > Until now I've been keeping a list of all the different specifications > of the devices, as I couldn't find a good list online. So I figure > today I'd put what little research I've done into a spreadsheet and > share it with the Android community. What I also hope is that people > will start to add devices that I'm missing. > > So please take a look at this spreadsheet and fill free to edit it (in > a sensible way). If there is another column of data you would like to > add then feel free and hopefully any blanks will be filled in. > > https://spreadsheets.google.com/ccc?key=0AlXAdnQtmZFZdHBBcnBmNlkwU0Jx... > > Thanks > Andrew > > P.S Of course in a perfect world we shouldn't need such as list as our > apps should just work on any Android device, but I've noticed a few > minor quirks which have annoyed me in the past. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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] Sync-Icon not disapearing with my own Sync-adapter
Since I have my own sync-adapter on the system (takes about 2 seconds to sync) with automatic periodic sync enabled every 4 hours the black "syncing"-icon is no longer disapearing from the notification-bar. Does anyone have an insight why this may be the case? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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] Authenticator-Accounts gone after reboot!!! due to "Removing non-system package"
I am using a custom Authenticator (app1 named "biz.wolschon.android.dropbox.authenticator") and a custom SyncAdapter (separate app2) and a client-application (named "biz.wolschon.android.dropbox.sendto") very similar to the example at http://developer.android.com/resources/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticatorActivity.html Everything works fine until you shutdown and reboot your phone. The Google-Accounts are still there but the custom accounts are gone!!! I am using Android 2.2 on a Nexus One. What could possible be the reason for such a thing to happen? During device-shutdown the log shows: (I greped for "biz") D/VoldCmdListener( 54): asec path biz.wolschon.android.dropbox.authenticator-1 D/VoldCmdListener( 54): asec path biz.wolschon.android.dropbox.sendto-2 I/PackageManager( 93): Removing non-system package:biz.wolschon.android.dropbox.sendto I/ActivityManager( 93): Force stopping package biz.wolschon.android.dropbox.sendto uid=10070 I/PackageManager( 93): Removing non-system package:biz.wolschon.android.dropbox.authenticator I/ActivityManager( 93): Force stopping package biz.wolschon.android.dropbox.authenticator uid=10102 I/ActivityManager( 93): Force stopping package biz.wolschon.android.dropbox.sendto uid=10070 I/ActivityManager( 93): Force stopping package biz.wolschon.android.dropbox.authenticator uid=10102 D/AccountManagerService( 93): deleting account mar...@wolschon.biz because type dropbox no longer has a registered authenticator D/ContactsProvider( 215): removing data for removed account Account {name=mar...@wolschon.biz, type=dropbox} D/VoldCmdListener( 54): asec unmount biz.wolschon.android.dropbox.sendto-2 force D/vending ( 533): [27] LocalAssetCache.updateOnePackage(): No local info for biz.wolschon.android.dropbox.authenticator D/vending ( 533): [25] LocalAssetCache.updateOnePackage(): No local info for biz.wolschon.android.dropbox.sendto D/VoldCmdListener( 54): asec unmount biz.wolschon.android.dropbox.authenticator-1 force I can not find any known bugs using http://code.google.com/p/android/issues/list?can=1&q=Removing+non-system+package&colspec=ID+Type+Status+Owner+Summary+Stars&cells=tiles or http://code.google.com/p/android/issues/list?can=1&q=Authenticator&colspec=ID+Type+Status+Owner+Summary+Stars&cells=tiles -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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] SyncAdapter and android:contentAuthority
For a SyncAdapter I need to provide a syncadapter.xml like http://developer.android.com/resources/samples/SampleSyncAdapter/res/xml/syncadapter.html in a Manifest like http://developer.android.com/resources/samples/SampleSyncAdapter/AndroidManifest.html 1) What should I enter as "android:contentAuthority" if I am not syncing the anything that is provided by a content-provider? (In this case I am syncing files using the account to access a remote system.) 2) What is the general meaning of "android:supportsUploading"? I cannot find it documented anywhere. Marcus -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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] Share AccountAuthenticator between multiple applications
I have 2 applications that both require the same account-type from the same, custom AccountAuthenticator . 1) How do I deploy the custom AccountAuthenticator? Separately or with both applications? Will it be shown once or twice in the account-manager if supplied by 2 apps? If supplied separately, how do I reference it as a requirement for the market? (App cannot be used without this AccountAuthenticator.) 2) If I make the AccountAuthenticator-project a library-project, Eclipse complains that the service+activity-classes of the entries for the AccountAuthenticator are not found on the classpath of the app-project. It also complains that the xml/auth.xml -resource supplied by the library-project is not found in the Manifest of the app-project. * I have to add all and -entries of the library to the app-project * The app-project does have the auth-library-project listed as a used library in eclipse. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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] deploying AccountAuthenticator for multiple apps
How should I go about deploying the same AccountAuthenticator for multiple projects that use the same kind of account? Should each project include the AccountAuthenticator as a library-jar or should it be it's own apk? What happens if the same AccountAuthenticator is exported from multiple apks in the system? Are they listed once or multiple times (thus confusing the user)? Marcus -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Request different IME for TextEditField
Hello, Background: In Vespucci (editor for OpenStreetMap) I have input-fields for key+value. Many people use Swype but that one is broken with AutoCompleteTextFields as it only transmits finished words to the TextField and not the individual characters. Thus the list of autocompletion-results is never updated during typing and the dictionary learns lots of incomplete words as users press "enter" before they are actually finished typing. Question: Since I cannot fix Swype and my bug-report will not be adressed any time soon. Is it possible to force the usage of another keyboard (e.g. one the user selected in m app's preferences) for the text-fields in my app to restore user-experience? Marcus -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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: Website for your app, how important do you feel it is?
On 8 Aug., 04:33, Brad wrote: > So I'm scaling back my > website and focusing more on Facebook for now - we'll see how it goes. So what about all the people NOT on facebook? No matter how that thing is growing, the complementary group is still the majority. > Oh and why oh why oh why can't someone at Google bump up the 325 char > limit? 1) Often there is no way to list the changes when people get an update-notification and ask themself what the benefit of upating would be. (So it's often not done.) 2) It's definately too little to explain why your app needs each listed access-permission. (So not a single app I've seen does that.) 3) There is no way to answer to comments. People often enter bugs or wishes there but never update their comment even month later when a new version already adressed that issue. Marcus -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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 implement your own LocationProvider
Hello, I would like to implement a new LocationProvider. In this case, one that uses OpenCellID.org. I figured the pattern wou be quite similar to providing an AccountAuthenticator but was stunned that I could not find any documentation on this. Looking at the source http://www.netmite.com/android/mydroid/frameworks/base/location/java/android/location/ all the relevant code seems to be in a service providing the ILocationManager.aidl -interface that I cannot navigate to or find using Goole Code Search. Is it supported to provide your own LocationProvider at all? If so, what do I have to do to acomplish this? Regards, Marcus Wolschon -- You received this message because you are subscribed to the Google Groups "Android Developers" group. 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