[android-developers] peel effect in android
Hello Experts, I would like to implement the peeling effect in my android page transition... can anyone let me know that how would I implement it.. Regards, rohit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Relationship between Activities Dialogs: Recommended usage suggestions.
I'm not sure what you mean by option 2 -- an application should pretty much never create a dialog that is not owned by an activity. It needs to be associated with an owning activity to be properly Z-ordered and otherwise managed with other apps/activities. If you are talking about the difference between using onCreateDialog() vs. manually calling new Dialog() to display a dialog on the activity, well in the second case your activity just need to take care of all of the management of the dialog without really much help from the system: in particular, make sure that you properly save and restore its state as your activity's onSaveInstanceState() is called and you later receive that state in onCreate(). On Mon, Oct 5, 2009 at 10:34 PM, Android Development indodr...@gmail.comwrote: Hello, I have a requirement for showing dialogs in my application. Alert dialogs fulfill by needs for now. I wish to discuss..and conceptually understand in the process, the exact relationship between the Activity that is being displayed at a given point of time...and the Dialog that pops up on the screen. The Android documentation provides us with 2 options regarding this: 1. To bind the dialog with the activity, making the current activity the 'owner' of this dialog for managing its state. In this case, we create the Dialog in the onCreateDialog callback. 2. To create a dialog 'outside' of the activity's context, where the activity is no longer the owner of this dialog. I wish to understand what extra liabilities will the developer face if I follow Option # 2? My requirement is for option 2 above. I wish to display a dialog for an incoming call. However, the user may be at any 'page' (activity) of my application when the call is received. Hence, i cannot predict the activity that would be displaying at that instant, when i need to display the dialog for the incoming call. My questions are as follows: a) Who manages the Dialog state in case of Option 2 and how ? b) What if the user flips the screen when the dialog is being displayed by following Option 2 above ? c) Can any user defined object (Eg: CallManager in my case) be assigned the owner of the Dialog being displayed ? Any insight/answers are very much appreciated Thanks for the help Best Regards AD. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Status bar notifications only for touch screens ?
No. Android is currently not intended to work on a non-touch device. Please don't add menu items for the notifications on the off-chance that you will run on a non-touch device; if someone builds such a device (or the platform is updated to support them), then access to the status bar will be dealt with in an appropriate way that applications don't need to worry about. On Mon, Oct 5, 2009 at 10:20 PM, Android Development indodr...@gmail.comwrote: All right. Thanks for the replies. It would be nice if this is documented somewhere. Instead of navigating to Home --Menu and then notifications, is it not possible to click on the Menu button in the current activity and then navigate to Notifications directly from the currently displayed activity ? Best Regards. On Mon, Oct 5, 2009 at 11:02 PM, Romain Guy romain...@google.com wrote: It's possible to access the notifications without a touch screen though. Home Menu Notifications. On Mon, Oct 5, 2009 at 10:08 AM, Dianne Hackborn hack...@android.com wrote: Android currently requires a touch screen. If someone makes a phone without a touch screen, they can come up with whatever way they want to get at the notifications. Either way, you can always get to them by going home and selecting notifications from the menu, though obviously this is less than convenient. On Mon, Oct 5, 2009 at 3:08 AM, Android Development indodr...@gmail.com wrote: I was creating a status bar notification in my application. Once the notification was received, i had to drag the upper part of the screen to view it fully and then clicked on it. What if the phone does not have a touch screen ? How will the user bring the status bar notification's content into the foreground without dragging ? Best Regards -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Does anyone has the documentation of window manager?
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/java/com/android/server/WindowManagerService.java Um, have fun...? On Mon, Oct 5, 2009 at 10:13 PM, Karthik P karthi...@gmail.com wrote: Can someone point me where the documentation of window manager is present? Karthik -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is it possible for me to create a custom window like android:windowNoTitle
There are a number of examples in ApiDemos, such as the theme used by this sample: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/TranslucentActivity.html On Mon, Oct 5, 2009 at 10:00 PM, Karthik P karthi...@gmail.com wrote: Any idea on this? On Mon, Oct 5, 2009 at 7:05 PM, Karthik P karthi...@gmail.com wrote: Any idea how do I create a custom window like android:windowNoTitle or android:Dialog? Karthik -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Relationship between Activities Dialogs: Recommended usage suggestions.
Thanks for the answer Dianne. Yes, i meant calling new Dialog manually in option 2. I will save the instance state and go about it that way. On Tue, Oct 6, 2009 at 11:39 AM, Dianne Hackborn hack...@android.comwrote: I'm not sure what you mean by option 2 -- an application should pretty much never create a dialog that is not owned by an activity. It needs to be associated with an owning activity to be properly Z-ordered and otherwise managed with other apps/activities. If you are talking about the difference between using onCreateDialog() vs. manually calling new Dialog() to display a dialog on the activity, well in the second case your activity just need to take care of all of the management of the dialog without really much help from the system: in particular, make sure that you properly save and restore its state as your activity's onSaveInstanceState() is called and you later receive that state in onCreate(). On Mon, Oct 5, 2009 at 10:34 PM, Android Development indodr...@gmail.comwrote: Hello, I have a requirement for showing dialogs in my application. Alert dialogs fulfill by needs for now. I wish to discuss..and conceptually understand in the process, the exact relationship between the Activity that is being displayed at a given point of time...and the Dialog that pops up on the screen. The Android documentation provides us with 2 options regarding this: 1. To bind the dialog with the activity, making the current activity the 'owner' of this dialog for managing its state. In this case, we create the Dialog in the onCreateDialog callback. 2. To create a dialog 'outside' of the activity's context, where the activity is no longer the owner of this dialog. I wish to understand what extra liabilities will the developer face if I follow Option # 2? My requirement is for option 2 above. I wish to display a dialog for an incoming call. However, the user may be at any 'page' (activity) of my application when the call is received. Hence, i cannot predict the activity that would be displaying at that instant, when i need to display the dialog for the incoming call. My questions are as follows: a) Who manages the Dialog state in case of Option 2 and how ? b) What if the user flips the screen when the dialog is being displayed by following Option 2 above ? c) Can any user defined object (Eg: CallManager in my case) be assigned the owner of the Dialog being displayed ? Any insight/answers are very much appreciated Thanks for the help Best Regards AD. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Status bar notifications only for touch screens ?
Ok. Thanks for the clarification. On Tue, Oct 6, 2009 at 11:41 AM, Dianne Hackborn hack...@android.comwrote: No. Android is currently not intended to work on a non-touch device. Please don't add menu items for the notifications on the off-chance that you will run on a non-touch device; if someone builds such a device (or the platform is updated to support them), then access to the status bar will be dealt with in an appropriate way that applications don't need to worry about. On Mon, Oct 5, 2009 at 10:20 PM, Android Development indodr...@gmail.comwrote: All right. Thanks for the replies. It would be nice if this is documented somewhere. Instead of navigating to Home --Menu and then notifications, is it not possible to click on the Menu button in the current activity and then navigate to Notifications directly from the currently displayed activity ? Best Regards. On Mon, Oct 5, 2009 at 11:02 PM, Romain Guy romain...@google.com wrote: It's possible to access the notifications without a touch screen though. Home Menu Notifications. On Mon, Oct 5, 2009 at 10:08 AM, Dianne Hackborn hack...@android.com wrote: Android currently requires a touch screen. If someone makes a phone without a touch screen, they can come up with whatever way they want to get at the notifications. Either way, you can always get to them by going home and selecting notifications from the menu, though obviously this is less than convenient. On Mon, Oct 5, 2009 at 3:08 AM, Android Development indodr...@gmail.com wrote: I was creating a status bar notification in my application. Once the notification was received, i had to drag the upper part of the screen to view it fully and then clicked on it. What if the phone does not have a touch screen ? How will the user bring the status bar notification's content into the foreground without dragging ? Best Regards -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Game Framework ?
Yeah Rokon is somewhat real rough as he did not even switch to JetBoy game sound track engine which is in Android 1.6 now.. On Oct 5, 4:57 pm, vetch oldpete...@gmail.com wrote: I do not know if Rokon is good or great. I looked through his code - for me it looks like early alpha stage. Besides, it has licensing issues, so I prefer to writing my own, that I really understand. I hope Google knows how badly Android needs embedded game framework. On 5 Paź, 23:43, Dan Sherman impact...@gmail.com wrote: But its a community effort... The guy from Rokon was on here looking for help on his (very well designed) game engine, could be very neat if it got some power behind it. Look at the iphone (as hopefully a decent example), theres not much there in terms of game frameworks. Someone ported cocos2d which ended up doing quite well. XNA is a bad example, as it was built for something that only does games, and has been since ported to other places. Google doesn't build games... - Dan On Mon, Oct 5, 2009 at 5:34 PM, vetch oldpete...@gmail.com wrote: very funny :) but I think, you did not understand my point. I think about game engine framework embedded in SDK. Google done great job with UI framework, hardware interfaces and others, so I think, creating another high level framework for games, should not be a problem for them. On 5 Paź, 23:25, Dan Sherman impact...@gmail.com wrote: http://lmgtfy.com/?q=android+game+framework On Mon, Oct 5, 2009 at 5:17 PM, vetch oldpete...@gmail.com wrote: Me, and I think, many other developers, always tried to write some game. Problem with a game, is a complexity of technic stuff. Complexity, means learning. Learning is great, but takes time. I think, Android needs a game framework. Something like SDL or more, XNA from Microsoft. Of course, we can use Canvas to draw, but it is slow. We can use OpenGL, but after two days of learning I still do not know how to draw f** background. Of course, I will do that. Some day :) But state and flags-ful OGL interface is really hard to understand if you go from wonderful world of objective thinking. I just want to focus on creating art, not wondering how to create tools for that. I'm worrying, really worring about Android and games. M$ has XNA, porting it to Zune with Tegra. After that, XNA will come to WinMo. If you ever used C# and XNA, you know, how simple and great it is. What does it mean ? Thousands of games for Microsoft Mobile Junk and still no great games for Android. Worst. Many Android developers will go to WinMo for XNA. Many games will be easily ported from Xbox Arcade too. And we will be wasting time, wondering, how to get 25fps from Canvas or OpenGL. Without sound. Now, I think, is the time to do something with that. Android really needs something like XNA, to allow us producing games without all that technic stuff like OpenGL, game loops with managing threads, times, buffers, right pixel format settings and others. What you think about official game framework for Android ? Is Google working on something like that ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Relationship between Activities Dialogs: Recommended usage suggestions.
btw Dianne, In the docs (http://developer.android.com/guide/topics/ui/dialogs.html ), they do say that we may create a dialog outside onCreateDialog method which is not owned by/attached to an activity. However, we may assign an owner by calling setOwnerActivity(Activity)http://developer.android.com/reference/android/app/Dialog.html#setOwnerActivity(android.app.Activity) method. I was referring to this in option # 2. I think the docs meant the explicit call to new Dialog in that section? On Tue, Oct 6, 2009 at 11:46 AM, Android Development indodr...@gmail.comwrote: Thanks for the answer Dianne. Yes, i meant calling new Dialog manually in option 2. I will save the instance state and go about it that way. On Tue, Oct 6, 2009 at 11:39 AM, Dianne Hackborn hack...@android.comwrote: I'm not sure what you mean by option 2 -- an application should pretty much never create a dialog that is not owned by an activity. It needs to be associated with an owning activity to be properly Z-ordered and otherwise managed with other apps/activities. If you are talking about the difference between using onCreateDialog() vs. manually calling new Dialog() to display a dialog on the activity, well in the second case your activity just need to take care of all of the management of the dialog without really much help from the system: in particular, make sure that you properly save and restore its state as your activity's onSaveInstanceState() is called and you later receive that state in onCreate(). On Mon, Oct 5, 2009 at 10:34 PM, Android Development indodr...@gmail.com wrote: Hello, I have a requirement for showing dialogs in my application. Alert dialogs fulfill by needs for now. I wish to discuss..and conceptually understand in the process, the exact relationship between the Activity that is being displayed at a given point of time...and the Dialog that pops up on the screen. The Android documentation provides us with 2 options regarding this: 1. To bind the dialog with the activity, making the current activity the 'owner' of this dialog for managing its state. In this case, we create the Dialog in the onCreateDialog callback. 2. To create a dialog 'outside' of the activity's context, where the activity is no longer the owner of this dialog. I wish to understand what extra liabilities will the developer face if I follow Option # 2? My requirement is for option 2 above. I wish to display a dialog for an incoming call. However, the user may be at any 'page' (activity) of my application when the call is received. Hence, i cannot predict the activity that would be displaying at that instant, when i need to display the dialog for the incoming call. My questions are as follows: a) Who manages the Dialog state in case of Option 2 and how ? b) What if the user flips the screen when the dialog is being displayed by following Option 2 above ? c) Can any user defined object (Eg: CallManager in my case) be assigned the owner of the Dialog being displayed ? Any insight/answers are very much appreciated Thanks for the help Best Regards AD. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: VM crash
Hi Thank's a lot, by now I reboot the phone to clear the log and I lose a lot of time... With this solution it will be faster.. I will fill the bug now. Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Is it possible to over-ride the Refund button on the Android app store ?
Thanks a lot every one for you help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Intercepting call
Hi, Is there a API for intercepting and blocking a call? What I want to do is to create app that autometically detect incoming call and based on the caller it either alert the user or don's alert the user. Like, if the number is stored in the phone book then alert the user other wise just send a message to the caller that the person is busy. Thanks, Praful Bhatnagar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] RotateAnimation modifying ImageView
have a question regarding RotateAnimation. If I do not set the property FillAfter to true then the image in my view, that I use RotateAnimation to animate, returns to the initial position after the animation is done. My problem is that when I set fillafter to true when I later set the image on my imageview to another image than the one I animated some kind of transformation is applied to that image also - Why? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: mapview key problems
I didn't realize your app crashed. I expected that the app only didn't display the map tiles (which would be a sign of a apiKey problem). When your app crashes, you should always look at logcat. It'll give you the exact reason why your app crashed. Xav On Mon, Oct 5, 2009 at 8:44 PM, ian stilbit...@gmail.com wrote: That is a very good suggestion about copying the debug.keystore from the working machine and \i will try it in the morning when I have access to it again I didn't quite understand the second part; - How about your release certificate? does the app signed with it (and using the release api key) work? but I will think it over. I think the answer to the question is no, Nothing so far has worked on the netbook when mapview was involved. All crash with a force close. However on the machine upstairs, everything seems to work like with my previous computer. On Oct 6, 12:05 am, Xavier Ducrohet x...@android.com wrote: - You could do is copy the debug keystore (HOME/.android/debug.keystore) from the machine that works, and copy it in the machine that doesn't work, and then you can use the API keys associated with that working keystore. - How about your release certificate? does the app signed with it (and using the release api key) work? On Mon, Oct 5, 2009 at 7:47 PM, ian stilbit...@gmail.com wrote: Now I had a trojan which I fixed with hijackthis, stinger and AVG, but even after a cleanup, my mapview problems continue. I was able to easily install and run hello MapView on another computer upstairs in 15 minutes. The two computers share the same internet line, I used my same Google login identity, both had the same trojan fix and the mapview installations were identical, I believe, except for different api keys for each machine. Yikes! My code which will not run on my new netbook is very simple and as follows: package ian.com.return2; import com.google.android.maps.MapActivity; import android.app.Activity; import android.os.Bundle; public class return2 extends MapActivity { /** Called when the activity is first created. */ �...@override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } �...@override protected boolean isRouteDisplayed() { return false; } ?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 TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / com.google.android.maps.MapView android:id=@+id/mapview android:layout_width=fill_parent android:layout_height=fill_parent android:clickable=true android:apiKey=0lrAHi7hTTo7YOitmrL3PXPH-QxHrM8beCxk_HA / /LinearLayout / ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=ian.com.return2 android:versionCode=1 android:versionName=1.0 application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.return2 android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity uses-library android:name=com.google.android.maps / /application uses-sdk android:minSdkVersion=3 / uses-permission android:name=android.permission.INTERNET / /manifest /// keytool returned this Keystore type: JKS Keystore provider: SUN Your keystore contains 1 entry androiddebugkey, Oct 5, 2009, PrivateKeyEntry, Certificate fingerprint (MD5): FA:23:52:C8:54:1F:2B:D0:D5:A7:55:E7:AB: 97:1E:4C /// Google provided this: android:apiKey=0lrAHi7hTTo7YOitmrL3PXPH-QxHrM8beCxk_HA So what could be the problem? I feel loike this machine is spooked although it will tun Android apps happily on the emulator if they do not have a mapview. But my eight semi-complete commercial apps all rely on MapView... On Oct 5, 12:21 pm, ian stilbit...@gmail.com wrote: You know, I think this could be a virus problem blocking my access to the google site. I'm running a scan for Conficket now On Oct 5, 11:52 am, ian stilbit...@gmail.com wrote: Thanks for the comment. Yes I followed those steps over and over. I do need a new API key for the new machine but seem to have hit a problem I can't
[android-developers] Re: ADC2 submissions and Android 1.6 (Donut)
the more voters, the better for the contest. I don't believe so. A smaller number of qualified testers would yield a more reliable result than a huge number of people who do not know how to develop software. No one will concede to the developer that the app crashes because of Donut - in fact, he can't tell whether it's the app or the operating system - s/he will just give 1 star. But that's the way it works with Google - let the developers work for nothing and have the mob blame them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: hangs on launching unit tests
On Tue, Oct 6, 2009 at 05:33, Brett Chabot brettcha...@android.com wrote: Unfortunately, this sounds like a known problem that occurs intermittently. Does it work if you retry the 'run as android junit' step? yes, sometimes, randomly -- Cyryl Płotnicki-Chudyk +48 697 088 885 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Send me the Code - Custom AdapterView and onItemClickListener
Thanks u very much, that explains a lot. Best, lf.ho On 26 Sep., 04:21, Streets Of Boston flyingdutc...@gmail.com wrote: Not if the views inside each item handle clicks themselves. E.g. if you have a button within each item, then each of those buttons will handle clicks and 'eat' the event. The buttons' parent view, the view that is the actual item, will never see this click. On Sep 25, 5:56 pm, lf.hl flod...@googlemail.com wrote: Hi, so onItemClickListener does not fire on views inside one row? I would like to handle all UI events in a central point and expected to do this in onItemClickListener. Thanks and best, lf.hl On 24 Sep., 21:46, Streets Of Boston flyingdutc...@gmail.com wrote: Make all the views (that you don't want to have reacting to a click) in your list-items non-clickable. On Sep 24, 3:06 pm, lf.hl flod...@googlemail.com wrote: I have a custom AdapterAdapterMyObject and my onItemClickListener does not fire when other views(buttons, etc. ) are in a row. Who has working code. Thanks in advance and best, lf.hl- 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: Internet radio+source code
Hi Sany, Arijasoft developed an api for the online radio on android. you can contact (www.arijasoft.com) them. see the link below: http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php. On Oct 5, 2:28 pm, sany laurelsgal...@gmail.com wrote: Hi all, I want to develop Internet Radio on android using the Shoutcast server... Are there some Android API's for the same? Plz help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADC2 submissions and Android 1.6 (Donut)
I don't believe so. A smaller number of qualified testers would yield a more reliable result than a huge number of people who do not know how to develop software. No one will concede to the developer that the app crashes because of Donut - in fact, he can't tell whether it's the app or the operating system - s/he will just give 1 star. But that's the way it works with Google - let the developers work for nothing and have the mob blame them. In my opinion this is plane wrong. An applications is mainly used by none developers and thats why the response from a simple user counts a lot more. It is also one of the main principles how you should develop an application. You need to develop for the user and not for you. It is very often not easy to know what the user actually wants most, thats for sure *g*. You can for example create the most powerful command line tool for file management with cool batch features and automation just like you would like it as a old style programmer coming from a unix background. But the user will most likely prefer the simple windows explorer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: I want to connect my emulator to server and transfer data from it
I don't understand what you've written. You want your Android application that run on emulator to connect to application that run on other device or other emulator , aren't you??? On Oct 5, 4:43 pm, santhu santhosh.19...@gmail.com wrote: Hi All, I want an android application so that it can connect to emulator and transfer that from it. please let me know how to proceed in that. i have done through the socket but i am getting exception in that. please if u find any code or website let me know. 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: bringing an app to the foreground...
Through ActivityManager, get all running tasks. Then get the intent object of the package you want to bring up. call startActivity() with that intent object. It all things you should do. Have fun . On Oct 3, 7:08 pm, sdphil phil.pellouch...@gmail.com wrote: is there a way to bring an app to the foreground? I have an application widget that when clicked, I want to launch an existing application to the foreground, with whatever foreground activity it has at the time. tia. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: I want to connect my emulator to server and transfer data from it
Hi santhu, You need to fire HTTP POST request to the server. See the example as below http://developers.sun.com/mobility/midp/ttips/HTTPPost/ hope this helps you Thanks, AJ On Oct 6, 2:28 pm, Babyboo handsomebo...@gmail.com wrote: I don't understand what you've written. You want your Android application that run on emulator to connect to application that run on other device or other emulator , aren't you??? On Oct 5, 4:43 pm, santhu santhosh.19...@gmail.com wrote: Hi All, I want an android application so that it can connect to emulator and transfer that from it. please let me know how to proceed in that. i have done through the socket but i am getting exception in that. please if u find any code or website let me know. 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] will flash support effect java developers?
Hi Dear, i believe there are some new android devices coming with flash support. so there would be plenty of flash apps available demanding flash developers. wondering if that effects on android java developers? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Looping through contacts with reading each contact default phone
Hi all, I am trying to search a list with contacts with the default phone number for each. My problem is looping through all contacts and querying the default number for each make it REAL slow. I know I am missing something, since the built-in dialer app does it super fast... Any clues ? TIA --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 store support
Hello, my application has a purpose that parents can track of mobile activity of there child. So my application basically update sms and call information to the web site. Will i able to put my company application to the android store ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: I want to connect my emulator to server and transfer data from it
Hi Babyboo Yes i want an android application. such that my emulator should be able to connect server or other machine. then i can do the file transfer from that emulator.please let me know how to do it. On Oct 6, 2:28 pm, Babyboo handsomebo...@gmail.com wrote: I don't understand what you've written. You want your Android application that run on emulator to connect to application that run on other device or other emulator , aren't you??? On Oct 5, 4:43 pm, santhu santhosh.19...@gmail.com wrote: Hi All, I want an android application so that it can connect to emulator and transfer that from it. please let me know how to proceed in that. i have done through the socket but i am getting exception in that. please if u find any code or website let me know. 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: I want to connect my emulator to server and transfer data from it
hi ajeet, i have see the url which you have passed. i know about the http post and get. but i am not able to do this in my android application. i want an android application. such that my emulator should be able to connect server or other machine. then i can do the file transfer from that emulator.please let me know how to do it. On Oct 6, 2:46 pm, AJ ajeet.invinci...@gmail.com wrote: Hi santhu, You need to fire HTTP POST request to the server. See the example as belowhttp://developers.sun.com/mobility/midp/ttips/HTTPPost/ hope this helps you Thanks, AJ On Oct 6, 2:28 pm, Babyboo handsomebo...@gmail.com wrote: I don't understand what you've written. You want your Android application that run on emulator to connect to application that run on other device or other emulator , aren't you??? On Oct 5, 4:43 pm, santhu santhosh.19...@gmail.com wrote: Hi All, I want an android application so that it can connect to emulator and transfer that from it. please let me know how to proceed in that. i have done through the socket but i am getting exception in that. please if u find any code or website let me know. 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] Problem in ListItem...
can anybody tell how to retrieve the Listitem values from a list view For example.i m having 3 listitems such as 1.India 2.America 3.Australia if i click india in a listview it should display India...How can i get the list item value Here i m using ListActivity Here is my code String[] items={India,Australia,America}; setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,options1)); getListView().setTextFilterEnabled(true); public void onListItemClick(ListView parent, View v, int position, long id) { super.onListItemClick(parent, v, position, id); if(position==0) { Toast.MakeText(getBaeContext(),,toast.length_short).show(); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Problem in ListItem...
String item = (String)parent.getItemAtPosition(position); this will do.. On Oct 6, 3:30 pm, ragavendran s sraghav.ra...@gmail.com wrote: can anybody tell how to retrieve the Listitem values from a list view For example.i m having 3 listitems such as 1.India 2.America 3.Australia if i click india in a listview it should display India...How can i get the list item value Here i m using ListActivity Here is my code String[] items={India,Australia,America}; setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_1,options1)); getListView().setTextFilterEnabled(true); public void onListItemClick(ListView parent, View v, int position, long id) { super.onListItemClick(parent, v, position, id); if(position==0) { Toast.MakeText(getBaeContext(),,toast.length_short).show(); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Integrating G729 codec in mjsip
Hi all I am developing a VoIP client for the Android using mjsip .any have the idea how to integrate the G729 codec in mjsip --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Implements Filterable question
Hi! I'm using custom Adapter extends BaseAdapter. Unfortunately BaseAdapter doesn't implements Filterable interface. That's a reason I can't use setTextFilterEnabled(true) functionality. Where can I learn how ArrayAdapter implements Filterable interface? There is my simple code: private class MyDataAdapter extends BaseAdapter implements Filterable { .. .. ListMyObject _data; public Filter getFilter() { return new MyFilter(_data); } } private class MyFilter extends Filter { ListMyObject _data; public MyFilter(ListMyIntent data) { _data = data; } @Override protected FilterResults performFiltering(CharSequence constraint) { } @Override protected void publishResults(CharSequence constraint, FilterResults 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 -~--~~~~--~~--~--~---
[android-developers] Re: mapview key problems
That is interesting although I do not understand logcat yet. I tried copying the debug.keystore from the working machine and using the api key from that machine instead. No difference. I regenerated the md5 fingerrprint with keytool on my netbook and Google returned the same api key as for the upstairs machine. So it looks like the crash is not due to a bad api key. The netbook will run fairly complex non-mapview programs just fine, and only has trouble when mapview is added to an .xml layout file. I must somehow have improperly set up the environment. Or there is something peculiar about the HP netbooks with the Atom270 chip. By the way, Google Maps works great freestanding on the emulator when it is not being called by my program. I'll try to fing the logcat output and look for clues Cheers On Oct 6, 5:30 am, Xavier Ducrohet x...@android.com wrote: I didn't realize your app crashed. I expected that the app only didn't display the map tiles (which would be a sign of a apiKey problem). When your app crashes, you should always look at logcat. It'll give you the exact reason why your app crashed. Xav On Mon, Oct 5, 2009 at 8:44 PM, ian stilbit...@gmail.com wrote: That is a very good suggestion about copying the debug.keystore from the working machine and \i will try it in the morning when I have access to it again I didn't quite understand the second part; - How about your release certificate? does the app signed with it (and using the release api key) work? but I will think it over. I think the answer to the question is no, Nothing so far has worked on the netbook when mapview was involved. All crash with a force close. However on the machine upstairs, everything seems to work like with my previous computer. On Oct 6, 12:05 am, Xavier Ducrohet x...@android.com wrote: - You could do is copy the debug keystore (HOME/.android/debug.keystore) from the machine that works, and copy it in the machine that doesn't work, and then you can use the API keys associated with that working keystore. - How about your release certificate? does the app signed with it (and using the release api key) work? On Mon, Oct 5, 2009 at 7:47 PM, ian stilbit...@gmail.com wrote: Now I had a trojan which I fixed with hijackthis, stinger and AVG, but even after a cleanup, my mapview problems continue. I was able to easily install and run hello MapView on another computer upstairs in 15 minutes. The two computers share the same internet line, I used my same Google login identity, both had the same trojan fix and the mapview installations were identical, I believe, except for different api keys for each machine. Yikes! My code which will not run on my new netbook is very simple and as follows: package ian.com.return2; import com.google.android.maps.MapActivity; import android.app.Activity; import android.os.Bundle; public class return2 extends MapActivity { /** Called when the activity is first created. */ �...@override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } �...@override protected boolean isRouteDisplayed() { return false; } ?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 TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / com.google.android.maps.MapView android:id=@+id/mapview android:layout_width=fill_parent android:layout_height=fill_parent android:clickable=true android:apiKey=0lrAHi7hTTo7YOitmrL3PXPH-QxHrM8beCxk_HA / /LinearLayout / ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=ian.com.return2 android:versionCode=1 android:versionName=1.0 application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.return2 android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity uses-library android:name=com.google.android.maps / /application uses-sdk android:minSdkVersion=3 / uses-permission android:name=android.permission.INTERNET / /manifest /// keytool returned this Keystore type: JKS Keystore provider: SUN Your keystore
[android-developers] problem in services
Hello frnds. I am presently working on services.I have read many articles related to services.But one thing I dont understand is if we want our application to run in background how can we implement services without using Activities... Urgent help needed Thanks Nemat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: will flash support effect java developers?
It is the same debate with web apps that do not access device features such as GPS..not at all.. Fred Grott Mobilebytes http://mobilebytes.wordpress.com On Oct 6, 4:52 am, zeeshan genx...@gmail.com wrote: Hi Dear, i believe there are some new android devices coming with flash support. so there would be plenty of flash apps available demanding flash developers. wondering if that effects on android java developers? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] What about examples and comments in the Android reference?
Hi there! I have been using the Android documentation for a few days now, and it is quite good and easy to read. Apart from that I noticed that I missed something, and now I found out what it is: Examples and comments. If you look at the PHP documentation (e.g. http://www.php.net/manual/en/function.substr.php for the PHP substr() function) you will see many syntax-highlighted examples and comments by users. Of course there are examples in the Android documentation, especially in the Dev Guide category - they just are not at the right place if one searches the reference for a specific method or functionality. What do you think about this? @Google Team: I believe this means more work, but I also believe that it would improve the reference by all means. Maybe there is a compromise: The offline reference just contains the examples and hyperlinks guide to the online documentation for those who are looking for user comments. Regards Marc Reichelt || http://www.marcreichelt.de/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] more parseable output from instrumented tests?
Is there a way to get more easily parseable output from a test suite of ActivityUnitTestCases and ActivityInstrumentationTestCase2s? Possibly some extras passed to adb am instrument? The output of am instrument is fine for manual test runs, but I am looking for something more structured so that I can feed it into a continuous integration system. Maybe something like the XML reports produced by JUnit? Since the Android test framework is based on JUnit, is there a way to turn on such features? Or does this output already exist and I was looking in the wrong place on the filesystem? Note, I am not really looking for EMMA coverage reports (unless that also produces detailed test reports?), just unit test results. 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: mapview key problems
Here is the tail end of my logcat for a run where it crashed. I notice it added a capital letter L before the ian.com.elgin about 10 lines down. 10-06 13:34:48.146: INFO/ActivityManager(571): Start proc ian.com.elgin for activity ian.com.elgin/.Elgin: pid=723 uid=10023 gids={3003} 10-06 13:34:48.197: INFO/jdwp(642): received file descriptor 31 from ADB 10-06 13:34:48.307: INFO/jdwp(658): received file descriptor 25 from ADB 10-06 13:34:48.457: INFO/jdwp(676): received file descriptor 27 from ADB 10-06 13:34:48.567: INFO/jdwp(680): received file descriptor 34 from ADB 10-06 13:34:48.856: INFO/jdwp(723): received file descriptor 20 from ADB 10-06 13:34:50.296: WARN/dalvikvm(723): Class resolved by unexpected DEX: Lian/com/elgin/Elgin;(0x43594518):0x192640 ref [Lcom/google/ android/maps/MapActivity;] Lcom/google/android/maps/MapActivity; (0x43594518):0x1886e8 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM 10-06 13:34:50.375: WARN/dalvikvm(723): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 10-06 13:34:50.396: ERROR/AndroidRuntime(723): Uncaught handler: thread main exiting due to uncaught exception 10-06 13:34:50.467: ERROR/AndroidRuntime(723): java.lang.IllegalAccessError: cross-loader access from pre-verified class 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.defineClass(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.loadClass(DexFile.java:193) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Handler.dispatchMessage(Handler.java:99) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Looper.loop(Looper.java:123) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.main(ActivityThread.java:3948) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invokeNative(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invoke(Method.java:521) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.NativeStart.main(Native Method) 10-06 13:34:50.557: INFO/Process(571): Sending signal. PID: 723 SIG: 3 10-06 13:34:50.557: INFO/dalvikvm(723): threadid=7: reacting to signal 3 10-06 13:34:50.916: INFO/dalvikvm(723): Wrote stack trace to '/data/ anr/traces.txt' 10-06 13:34:57.203: WARN/ActivityManager(571): Launch timeout has expired, giving up wake lock! 10-06 13:34:59.507: WARN/ActivityManager(571): Activity idle timeout for HistoryRecord{436ad390 {ian.com.elgin/ian.com.elgin.Elgin}} 10-06 13:35:05.987: DEBUG/dalvikvm(680): GC freed 2923 objects / 164832 bytes in 487ms 10-06 13:35:11.126: DEBUG/dalvikvm(614): GC freed 1356 objects / 70072 bytes in 606ms On Oct 6, 9:16 am, ian stilbit...@gmail.com wrote: That is interesting although I do not understand logcat yet. I tried copying the debug.keystore from the working machine and using the api key from that machine instead. No difference. I regenerated the md5 fingerrprint with keytool on my netbook and Google returned the same api key as for the upstairs machine. So it looks like the crash is not due to a bad api key. The netbook will run fairly complex non-mapview programs just fine, and only has trouble when mapview is added to an .xml layout file. I must somehow have improperly set up the environment. Or there is something peculiar about the HP netbooks with the Atom270 chip. By the way, Google Maps works great freestanding on the emulator when it is not being called by my program. I'll try to fing the logcat output and look for
[android-developers] DatePicker.init crashes without reason
Hi fellow android devvers, I'm having a weird problem. When I try to update my DatePicker it crashes, but I dont understand why. Via the debugger I could see the date[] function is filled the way it should be. Do you guys see the problem? String[] date = dateofbirthNode.getStringValue().split(/); // 12/31/1969 DatePicker dateofbirthView = (DatePicker)findViewById (R.id.editprofile_dateofbirth_picker); dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date [1]), Integer.parseInt(date[0]), null); Thanks in advance! Jim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] how to add item to hyperlink context menu
when you long click a hyperlink of browser, you will see a context menu with 'Open, Open link in new browser, Browser Link, etc'. is it possible to add some customized item to the context menu? thanks a lot. -- henry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Game Framework ?
Rokon looks pretty good and sounds pretty much like what you're looking for. You'll never be able to avoid writing the game loop but at least Rokon removes a whole bunch of the engine code. On Oct 5, 10:57 pm, vetch oldpete...@gmail.com wrote: I do not know if Rokon is good or great. I looked through his code - for me it looks like early alpha stage. Besides, it has licensing issues, so I prefer to writing my own, that I really understand. I hope Google knows how badly Android needs embedded game framework. On 5 Paź, 23:43, Dan Sherman impact...@gmail.com wrote: But its a community effort... The guy from Rokon was on here looking for help on his (very well designed) game engine, could be very neat if it got some power behind it. Look at the iphone (as hopefully a decent example), theres not much there in terms of game frameworks. Someone ported cocos2d which ended up doing quite well. XNA is a bad example, as it was built for something that only does games, and has been since ported to other places. Google doesn't build games... - Dan On Mon, Oct 5, 2009 at 5:34 PM, vetch oldpete...@gmail.com wrote: very funny :) but I think, you did not understand my point. I think about game engine framework embedded in SDK. Google done great job with UI framework, hardware interfaces and others, so I think, creating another high level framework for games, should not be a problem for them. On 5 Paź, 23:25, Dan Sherman impact...@gmail.com wrote: http://lmgtfy.com/?q=android+game+framework On Mon, Oct 5, 2009 at 5:17 PM, vetch oldpete...@gmail.com wrote: Me, and I think, many other developers, always tried to write some game. Problem with a game, is a complexity of technic stuff. Complexity, means learning. Learning is great, but takes time. I think, Android needs a game framework. Something like SDL or more, XNA from Microsoft. Of course, we can use Canvas to draw, but it is slow. We can use OpenGL, but after two days of learning I still do not know how to draw f** background. Of course, I will do that. Some day :) But state and flags-ful OGL interface is really hard to understand if you go from wonderful world of objective thinking. I just want to focus on creating art, not wondering how to create tools for that. I'm worrying, really worring about Android and games. M$ has XNA, porting it to Zune with Tegra. After that, XNA will come to WinMo. If you ever used C# and XNA, you know, how simple and great it is. What does it mean ? Thousands of games for Microsoft Mobile Junk and still no great games for Android. Worst. Many Android developers will go to WinMo for XNA. Many games will be easily ported from Xbox Arcade too. And we will be wasting time, wondering, how to get 25fps from Canvas or OpenGL. Without sound. Now, I think, is the time to do something with that. Android really needs something like XNA, to allow us producing games without all that technic stuff like OpenGL, game loops with managing threads, times, buffers, right pixel format settings and others. What you think about official game framework for Android ? Is Google working on something like that ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Does anyone has the documentation of window manager?
I have the entire source code base, but I would like to have some documents which illustrates the working of this window manager. Karthik On Tue, Oct 6, 2009 at 11:43 AM, Dianne Hackborn hack...@android.comwrote: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/java/com/android/server/WindowManagerService.java Um, have fun...? On Mon, Oct 5, 2009 at 10:13 PM, Karthik P karthi...@gmail.com wrote: Can someone point me where the documentation of window manager is present? Karthik -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how to add item to hyperlink context menu
when you long click a hyperlink of browser, you will see a context menu with 'Open, Open link in new browser, Browser Link, etc'. is it possible to add some customized item to the context menu? Not directly. Some of those will allow the user to choose an option (e.g., Share Link triggers a pop-up list of everyone supporting ACTION_SEND). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: DatePicker.init crashes without reason
I'm having a weird problem. When I try to update my DatePicker it crashes, but I dont understand why. Via the debugger I could see the date[] function is filled the way it should be. Do you guys see the problem? String[] date = dateofbirthNode.getStringValue().split(/); // 12/31/1969 DatePicker dateofbirthView = (DatePicker)findViewById (R.id.editprofile_dateofbirth_picker); dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date [1]), Integer.parseInt(date[0]), null); What did the Java stack trace tell you? You can view that via adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] mapview key problems
Hi Your problem might be caused of being unable to resolve superclass, look at following logcat entries: 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM Hope this helps -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 15:42 An: Android Developers Betreff: [android-developers] Re: mapview key problems Here is the tail end of my logcat for a run where it crashed. I notice it added a capital letter L before the ian.com.elgin about 10 lines down. 10-06 13:34:48.146: INFO/ActivityManager(571): Start proc ian.com.elgin for activity ian.com.elgin/.Elgin: pid=723 uid=10023 gids={3003} 10-06 13:34:48.197: INFO/jdwp(642): received file descriptor 31 from ADB 10-06 13:34:48.307: INFO/jdwp(658): received file descriptor 25 from ADB 10-06 13:34:48.457: INFO/jdwp(676): received file descriptor 27 from ADB 10-06 13:34:48.567: INFO/jdwp(680): received file descriptor 34 from ADB 10-06 13:34:48.856: INFO/jdwp(723): received file descriptor 20 from ADB 10-06 13:34:50.296: WARN/dalvikvm(723): Class resolved by unexpected DEX: Lian/com/elgin/Elgin;(0x43594518):0x192640 ref [Lcom/google/ android/maps/MapActivity;] Lcom/google/android/maps/MapActivity; (0x43594518):0x1886e8 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM 10-06 13:34:50.375: WARN/dalvikvm(723): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 10-06 13:34:50.396: ERROR/AndroidRuntime(723): Uncaught handler: thread main exiting due to uncaught exception 10-06 13:34:50.467: ERROR/AndroidRuntime(723): java.lang.IllegalAccessError: cross-loader access from pre-verified class 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.defineClass(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.loadClass(DexFile.java:193) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Handler.dispatchMessage(Handler.java:99) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Looper.loop(Looper.java:123) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.main(ActivityThread.java:3948) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invokeNative(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invoke(Method.java:521) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.NativeStart.main(Native Method) 10-06 13:34:50.557: INFO/Process(571): Sending signal. PID: 723 SIG: 3 10-06 13:34:50.557: INFO/dalvikvm(723): threadid=7: reacting to signal 3 10-06 13:34:50.916: INFO/dalvikvm(723): Wrote stack trace to '/data/ anr/traces.txt' 10-06 13:34:57.203: WARN/ActivityManager(571): Launch timeout has expired, giving up wake lock! 10-06 13:34:59.507: WARN/ActivityManager(571): Activity idle timeout for HistoryRecord{436ad390 {ian.com.elgin/ian.com.elgin.Elgin}} 10-06 13:35:05.987: DEBUG/dalvikvm(680): GC freed 2923 objects / 164832 bytes in 487ms 10-06 13:35:11.126: DEBUG/dalvikvm(614): GC freed 1356 objects / 70072 bytes in 606ms On Oct 6, 9:16 am, ian stilbit...@gmail.com wrote: That is interesting although I do not understand logcat yet. I tried copying the debug.keystore from the working machine and using the api key from that machine
[android-developers] Re: J2SE Java Application porting to Android
Well, where do you start, there are so many APIs, classes and methods in J2SE (thousands - i.e. its a 'platform' not just a language; just as Android is a 'platform' not a language). The comparisons aren't always that direct but here's a few similarities I've thought about or run up against that may be useful to you to get started in a direct conversion, dependent of course on what you use in J2SE: * An Android 'Activity' has methods such as onCreate(), onRestart(), onResume(), onPause(), onStop() and onDestroy(), so it could be compared with an Applet/JApplet at some level (and less favorably with Frame/JFrame). * An Android 'View' sits about where an awt 'Component' or a Swing 'JComponent' sits - they each have widgets/components built upon them. * The interface 'implements OnClickListener' can often be used where you had 'implements ActionListener' (and hence the 'onClick()' method replaces 'actionPerformed()' ) * Touch replaces the MouseListener. * onDraw() is like paintComponent() - called when needed. * ViewGroups are Layout Managers. * The android.os.CountDownTimer functions somewhat like a javax.swing.Timer * etc, etc. Good luck with your conversion, Steve On Oct 4, 9:15 pm, Jason jason4...@paran.com wrote: Hello. I'm trying to run J2SE JAVA Application on Android. As you know, the main problem is that J2SE classes such as awt, applet, and etc are not supported in Android. Consequently, this means that I should replace those many java classes with Android classes. So, Do you have some idea or information for replacing J2SE classes with Android classes? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] --hprof does not work consistently with monkey tool
I could not generate the hprof dump using the monkey tool. I used the following commands : adb -d shell monkey -v 100 --hprof adb -d shell ls /data/misc (There was no dump in /data/misc) However, these commands worked once, but I could not make it work again. Is there a workaround to make it work consistently ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Crossword Puzzle in Android
Does this happen to be an assignment based question. On Oct 1, 4:33 pm, Seth Mould sethmo...@yahoo.com wrote: Carl, that's brilliant. The XML can be adapted to use bars and blocks as I described earlier, then overlayed with text boxes and hey presto! On Sep 28, 4:39 pm, Carl Whalley carl.whal...@googlemail.com wrote: I just put a tutorial up on making tiles scale correctly. Its not exactly what you are doing but theres enough overlap to get you going.http://www.androidacademy.com/3-tutorials/43-hands-on/154-device-inde... --http://www.androidacademy.com On Sep 28, 1:05 pm, Kwan Toh Choong td00164...@gmail.com wrote: Hi All, Thanks for the advice from everyone. I've done a little bit of research, but I m not sure the idea of rendering the boxes with numbering is correct or not. Is it true that I can draw on a canvas? I m reading this tutorialhttp://www.anddev.org/the_pizza_timer_-_threading-drawing_on_canvas-t... It seems like after I draw a box, I can still draw on the same place, overlapping it. So I can do something like drawing the numbers on top of the boxes right? In face I'm not doing acrossword. It looks similar tocrosswordbut it is called CodeCracker instead. I did a google on CodeCracker but the result it returns are mostly something else. Here are a few link on the CodeCracker I m saying: http://www.codecracker.co.nz/samples/samples.htmhttp://www.puzzco.com.. Regards Kwan On Mon, Sep 28, 2009 at 2:00 PM, Seth Mould sethmo...@yahoo.com wrote: Hi Kwan, I have a project on SourceForge called xW which seeks to establish a standard XML format for word puzzles, so you might want to look at that for your input. Try looking for open Sudoku projects -- there is more interest in Sudoku than crosswords and the rendering of cells is the same except for numbering. Please remember that advanced UK crosswords use bars instead of black squares, so a typical bitwise enumeration for the cell's appearance will be 0 - Blank, 1 - Black, 2 - Left bar, 4 - Top bar. I haven't got round to writing a generic renderer for Android but when I do it will be Open. Regards Seth- 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] suppress all notifications
is it possible to suppress all notification messages e.g. incoming call or sms notification? Thanks -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 few ques about android browser?
I hope that somebody would be knowing this. Thanks, AJ On Oct 6, 10:24 am, AJ ajeet.invinci...@gmail.com wrote: Hi all group members, I had few questions about the android browser. 1- What is maximum page size supported in browser? 2- What is maximum URL length (in char) of browser? I looked in the browser code but did not answers for that. Any help would be useful. Thanks,AJ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Fedora Eclipse doesn't let me install Android's ADT plugin
Thanks, I tried the solution you suggested and it worked like a charm On Oct 3, 3:06 am, chema che...@gmail.com wrote: Did you check this? http://www.anddev.org/unable_to_install_adt-093_in_eclipse-t8140.html It works for me. -chema On Oct 2, 11:59 am, Lo Zeno lozeno1...@gmail.com wrote: Hello, I have a problem installing the ADT plugin in Fedora's version of Eclipse. I'm not sure it is a problem with the plugin, it's probably more Fedora's team fault (they heavily personalized and modified eclipse in Fedora's repository). I installed the version of Eclipse that is included in Fedora's official repos, which is based on version 3.4.2 build 20090211-1700. I've followed the step-by-step instruction provided in Android's website. The problem arises when I go into the Help - Software updates window. When I select the two plugins to install, it lets me install the DDMS, but not the Developer Tools. If i try (select Developer Tools then click Install) it gives me the following error message (after calculating space and dependencies): Cannot complete the request. See the details. Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.3.v200909031112-12945] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/0.0.0 Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.3.v200909031112-12945] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.ui/0.0.0 Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.3.v200909031112-12945] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.core/0.0.0 Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.3.v200909031112-12945] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.ui/0.0.0 Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.3.v200909031112-12945] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.ui/0.0.0 Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.3.v200909031112-12945] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.ui/0.0.0 Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.3.v200909031112-12945] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/0.0.0 Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group 0.9.3.v200909031112-12945] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.core/0.0.0 At first, I thought I had not installed some packages (org.eclipse.equinox.p2.iu and/or org.eclipse.wst.sse.core), so I opened YumEX and searched for those pacckages... but they are not available in Fedora's repositories. I asked for help in fedora community's forums, and they already told me that I can't mix fedora's repos with Eclipse's official repos, or it will mess up the installation. The only option, according to them, is to uninstall Fedora Eclipse and install the standard Eclipse version, but by doing so I will have to be VERY careful at every software update to not to mix updates and not update from the wrong repository (and since Fedora Eclipse's updates come from the main Fedora repo, I can't deactivate that repository or I will not be able to update my OS again). I'm not a Linux expert, I've been using Fedora for barely 3 years. I can solve small problems, but this one beats me... I hope there's a solution, because installing the standard Eclipse and risking a repository mess is not what I dream for. Thanks for any help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Launching share option in menu
hum, that doesnt work... When I am using the following code: Intent intent = new Intent(Intent.ACTION_SEND, null); intent.putExtra(Intent.EXTRA_STREAM,Uri.parse (Environment.getExternalStorageDirectory()+/Ania.jpg)); intent.setDataAndType(Uri.parse(Environment.getExternalStorageDirectory ()+/Ania.jpg), image/jpeg); startActivity(Intent.createChooser(intent,Share a picture or sth)); AppSettings.NOTIFY_SAVE_OPENED = false; the only app that doesnt crash is gmail. Unfortunatelly it doesnt send attachment, only the text part of the e-mail, even though the attachement is listed before sending. I guess there has to be solution for this, becouse gallery application works well with gmail, picasa and twitdroid. I was trying to pass a direct bitmap data to the EXTRA_STREAM: Intent intent = new Intent(Intent.ACTION_SEND, null); Bitmap bm = mDraw.getSnapshot(); //method returning a bitmap int value[] = new int[bm.getHeight() * bm.getWidth()]; mDraw.getSnapshot().getPixels(value, 0, bm.getWidth(), 0, 0, bm.getWidth(), bm.getHeight()); intent.putExtra(Intent.EXTRA_STREAM,value); intent.setType(image/jpeg); startActivity(Intent.createChooser(intent,Share a picture or sth)); but that still doesnt work :( Anyone can help? regards Lukasz Mosdorf On Oct 4, 2:21 am, Dianne Hackborn hack...@android.com wrote: Use Intent.setDataAndType(). Though the formal definition for this intent is that the data is in the stream extra: http://developer.android.com/reference/android/content/Intent.html#AC... http://developer.android.com/reference/android/content/Intent.html#AC...So if those apps aren't working, they are broken. But if people aren't following the documented protocol then you may need to work around it. :( On Sat, Oct 3, 2009 at 2:03 AM, Lukasz Mosdorf lukasz.mosd...@gmail.comwrote: ok, but, if I use intent.setType(image/*) it clears any data that was previously set by setData(Uri). Sow how do I specify MIME type? On 3 Paź, 02:13, Dianne Hackborn hack...@android.com wrote: You need to specify a MIME type, since your data isn't in a content provider that the system can ask for its type. On Fri, Oct 2, 2009 at 4:06 PM, Lukasz Mosdorf lukasz.mosd...@gmail.com wrote: Hi I'm trying to make a 'share' option in menu, just like in the gallery application. I am using the following code: MenuItem item2 = menu.add(0,0,0, Share); item2.setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() { public boolean onMenuItemClick(MenuItem item) { Intent intent = new Intent(Intent.ACTION_SEND, null); File f = new File (Environment.getExternalStorageDirectory()+/Ania.jpg); intent.setData(Uri.fromFile(f)); startActivity(Intent.createChooser(intent,Share a picture or sth)); return true; } }); When i press the Share button in the menu i get No applications can perform this action. What am I doing wrong? (im working on a real device not the emulator). regards Lukas Mosdorf -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Crossword Puzzle in Android
@Carl: That is a very good example. You rock !!! Thanks, AJ On Oct 6, 7:09 pm, Sables em...@amnet.net.au wrote: Does this happen to be an assignment based question. On Oct 1, 4:33 pm, Seth Mould sethmo...@yahoo.com wrote: Carl, that's brilliant. The XML can be adapted to use bars and blocks as I described earlier, then overlayed with text boxes and hey presto! On Sep 28, 4:39 pm, Carl Whalley carl.whal...@googlemail.com wrote: I just put a tutorial up on making tiles scale correctly. Its not exactly what you are doing but theres enough overlap to get you going.http://www.androidacademy.com/3-tutorials/43-hands-on/154-device-inde... --http://www.androidacademy.com On Sep 28, 1:05 pm, Kwan Toh Choong td00164...@gmail.com wrote: Hi All, Thanks for the advice from everyone. I've done a little bit of research, but I m not sure the idea of rendering the boxes with numbering is correct or not. Is it true that I can draw on a canvas? I m reading this tutorialhttp://www.anddev.org/the_pizza_timer_-_threading-drawing_on_canvas-t... It seems like after I draw a box, I can still draw on the same place, overlapping it. So I can do something like drawing the numbers on top of the boxes right? In face I'm not doing acrossword. It looks similar tocrosswordbut it is called CodeCracker instead. I did a google on CodeCracker but the result it returns are mostly something else. Here are a few link on the CodeCracker I m saying: http://www.codecracker.co.nz/samples/samples.htmhttp://www.puzzco.com.. Regards Kwan On Mon, Sep 28, 2009 at 2:00 PM, Seth Mould sethmo...@yahoo.com wrote: Hi Kwan, I have a project on SourceForge called xW which seeks to establish a standard XML format for word puzzles, so you might want to look at that for your input. Try looking for open Sudoku projects -- there is more interest in Sudoku than crosswords and the rendering of cells is the same except for numbering. Please remember that advanced UK crosswords use bars instead of black squares, so a typical bitwise enumeration for the cell's appearance will be 0 - Blank, 1 - Black, 2 - Left bar, 4 - Top bar. I haven't got round to writing a generic renderer for Android but when I do it will be Open. Regards Seth- 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: DatePicker.init crashes without reason
Oh yes of course, here it is: Error: null java.lang.ArrayIndexOutOfBoundsException at com.android.internal.widget.NumberPicker.updateView (NumberPicker.java:238) at com.android.internal.widget.NumberPicker.setCurrent (NumberPicker.java:180) at android.widget.DatePicker.updateSpinners(DatePicker.java:299) at android.widget.DatePicker.init(DatePicker.java:289) at nl.magnatron.streetwars.EditProfile $GetProfileTask.onPostExecute(EditProfile.java:142) at nl.magnatron.streetwars.EditProfile $GetProfileTask.onPostExecute(EditProfile.java:1) at android.os.AsyncTask.finish(AsyncTask.java:416) at android.os.AsyncTask.access$300(AsyncTask.java:127) at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:428) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3948) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) at dalvik.system.NativeStart.main(Native Method) I thought my String[] was wrong, but via the debugger i can see 0,1 and 2 are populated just like they should. On 6 okt, 15:54, Mark Murphy mmur...@commonsware.com wrote: I'm having a weird problem. When I try to update my DatePicker it crashes, but I dont understand why. Via the debugger I could see the date[] function is filled the way it should be. Do you guys see the problem? String[] date = dateofbirthNode.getStringValue().split(/); // 12/31/1969 DatePicker dateofbirthView = (DatePicker)findViewById (R.id.editprofile_dateofbirth_picker); dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date [1]), Integer.parseInt(date[0]), null); What did the Java stack trace tell you? You can view that via adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy)http://commonsware.com Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mapview key problems
Well I think you are correct about that superclass problem. But I'm unsure how to fix it. Any suggestions? On Oct 6, 10:56 am, Konrad Pietzka kon...@java-schmiede.de wrote: Hi Your problem might be caused of being unable to resolve superclass, look at following logcat entries: 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM Hope this helps -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 15:42 An: Android Developers Betreff: [android-developers] Re: mapview key problems Here is the tail end of my logcat for a run where it crashed. I notice it added a capital letter L before the ian.com.elgin about 10 lines down. 10-06 13:34:48.146: INFO/ActivityManager(571): Start proc ian.com.elgin for activity ian.com.elgin/.Elgin: pid=723 uid=10023 gids={3003} 10-06 13:34:48.197: INFO/jdwp(642): received file descriptor 31 from ADB 10-06 13:34:48.307: INFO/jdwp(658): received file descriptor 25 from ADB 10-06 13:34:48.457: INFO/jdwp(676): received file descriptor 27 from ADB 10-06 13:34:48.567: INFO/jdwp(680): received file descriptor 34 from ADB 10-06 13:34:48.856: INFO/jdwp(723): received file descriptor 20 from ADB 10-06 13:34:50.296: WARN/dalvikvm(723): Class resolved by unexpected DEX: Lian/com/elgin/Elgin;(0x43594518):0x192640 ref [Lcom/google/ android/maps/MapActivity;] Lcom/google/android/maps/MapActivity; (0x43594518):0x1886e8 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM 10-06 13:34:50.375: WARN/dalvikvm(723): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 10-06 13:34:50.396: ERROR/AndroidRuntime(723): Uncaught handler: thread main exiting due to uncaught exception 10-06 13:34:50.467: ERROR/AndroidRuntime(723): java.lang.IllegalAccessError: cross-loader access from pre-verified class 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.defineClass(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.loadClass(DexFile.java:193) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Handler.dispatchMessage(Handler.java:99) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Looper.loop(Looper.java:123) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.main(ActivityThread.java:3948) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invokeNative(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invoke(Method.java:521) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.NativeStart.main(Native Method) 10-06 13:34:50.557: INFO/Process(571): Sending signal. PID: 723 SIG: 3 10-06 13:34:50.557: INFO/dalvikvm(723): threadid=7: reacting to signal 3 10-06 13:34:50.916: INFO/dalvikvm(723): Wrote stack trace to '/data/ anr/traces.txt' 10-06 13:34:57.203: WARN/ActivityManager(571): Launch timeout has expired, giving up wake lock! 10-06 13:34:59.507: WARN/ActivityManager(571): Activity idle timeout for HistoryRecord{436ad390 {ian.com.elgin/ian.com.elgin.Elgin}} 10-06 13:35:05.987: DEBUG/dalvikvm(680): GC freed 2923 objects / 164832 bytes in 487ms 10-06 13:35:11.126: DEBUG/dalvikvm(614): GC
[android-developers] Re: how to add item to hyperlink context menu
i tried, but Share Link doesn't trigger the activity with ACTION_SEND, it just send the url to sms. thanks a lot Mark. On Oct 6, 9:53 pm, Mark Murphy mmur...@commonsware.com wrote: when you long click a hyperlink of browser, you will see a context menu with 'Open, Open link in new browser, Browser Link, etc'. is it possible to add some customized item to the context menu? Not directly. Some of those will allow the user to choose an option (e.g., Share Link triggers a pop-up list of everyone supporting ACTION_SEND). -- Mark Murphy (a Commons Guy)http://commonsware.com Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mapview key problems
Well I think you are correct about that superclass problem. But I'm unsure how to fix it. Any suggestions? On Oct 6, 10:56 am, Konrad Pietzka kon...@java-schmiede.de wrote: Hi Your problem might be caused of being unable to resolve superclass, look at following logcat entries: 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM Hope this helps -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 15:42 An: Android Developers Betreff: [android-developers] Re: mapview key problems Here is the tail end of my logcat for a run where it crashed. I notice it added a capital letter L before the ian.com.elgin about 10 lines down. 10-06 13:34:48.146: INFO/ActivityManager(571): Start proc ian.com.elgin for activity ian.com.elgin/.Elgin: pid=723 uid=10023 gids={3003} 10-06 13:34:48.197: INFO/jdwp(642): received file descriptor 31 from ADB 10-06 13:34:48.307: INFO/jdwp(658): received file descriptor 25 from ADB 10-06 13:34:48.457: INFO/jdwp(676): received file descriptor 27 from ADB 10-06 13:34:48.567: INFO/jdwp(680): received file descriptor 34 from ADB 10-06 13:34:48.856: INFO/jdwp(723): received file descriptor 20 from ADB 10-06 13:34:50.296: WARN/dalvikvm(723): Class resolved by unexpected DEX: Lian/com/elgin/Elgin;(0x43594518):0x192640 ref [Lcom/google/ android/maps/MapActivity;] Lcom/google/android/maps/MapActivity; (0x43594518):0x1886e8 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM 10-06 13:34:50.375: WARN/dalvikvm(723): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 10-06 13:34:50.396: ERROR/AndroidRuntime(723): Uncaught handler: thread main exiting due to uncaught exception 10-06 13:34:50.467: ERROR/AndroidRuntime(723): java.lang.IllegalAccessError: cross-loader access from pre-verified class 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.defineClass(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.loadClass(DexFile.java:193) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Handler.dispatchMessage(Handler.java:99) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Looper.loop(Looper.java:123) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.main(ActivityThread.java:3948) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invokeNative(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invoke(Method.java:521) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.NativeStart.main(Native Method) 10-06 13:34:50.557: INFO/Process(571): Sending signal. PID: 723 SIG: 3 10-06 13:34:50.557: INFO/dalvikvm(723): threadid=7: reacting to signal 3 10-06 13:34:50.916: INFO/dalvikvm(723): Wrote stack trace to '/data/ anr/traces.txt' 10-06 13:34:57.203: WARN/ActivityManager(571): Launch timeout has expired, giving up wake lock! 10-06 13:34:59.507: WARN/ActivityManager(571): Activity idle timeout for HistoryRecord{436ad390 {ian.com.elgin/ian.com.elgin.Elgin}} 10-06 13:35:05.987: DEBUG/dalvikvm(680): GC freed 2923 objects / 164832 bytes in 487ms 10-06 13:35:11.126: DEBUG/dalvikvm(614): GC
[android-developers] Re: Implements Filterable question
Hi, Check out the source code of ArrayAdapter at android.git.kernel.org, in the project frameworks/base. The adapter is in core/java/android/widget. On Tue, Oct 6, 2009 at 4:56 AM, EvgenyV evgen...@gmail.com wrote: Hi! I'm using custom Adapter extends BaseAdapter. Unfortunately BaseAdapter doesn't implements Filterable interface. That's a reason I can't use setTextFilterEnabled(true) functionality. Where can I learn how ArrayAdapter implements Filterable interface? There is my simple code: private class MyDataAdapter extends BaseAdapter implements Filterable { .. .. ListMyObject _data; public Filter getFilter() { return new MyFilter(_data); } } private class MyFilter extends Filter { ListMyObject _data; public MyFilter(ListMyIntent data) { _data = data; } �...@override protected FilterResults performFiltering(CharSequence constraint) { } �...@override protected void publishResults(CharSequence constraint, FilterResults results) { ? } } Thanks in advance, Evgeny -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
AW: [android-developers] Re: mapview key problems
Hi Ian, Do you have the following entires in your AndriodManifest.xml? uses-library android:name=com.google.android.maps / Which should be within application And uses-permission android:name=android.permission.INTERNET / Within manifest Otherwise it wont work Cheers -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 17:22 An: Android Developers Betreff: [android-developers] Re: mapview key problems Well I think you are correct about that superclass problem. But I'm unsure how to fix it. Any suggestions? On Oct 6, 10:56 am, Konrad Pietzka kon...@java-schmiede.de wrote: Hi Your problem might be caused of being unable to resolve superclass, look at following logcat entries: 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM Hope this helps -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 15:42 An: Android Developers Betreff: [android-developers] Re: mapview key problems Here is the tail end of my logcat for a run where it crashed. I notice it added a capital letter L before the ian.com.elgin about 10 lines down. 10-06 13:34:48.146: INFO/ActivityManager(571): Start proc ian.com.elgin for activity ian.com.elgin/.Elgin: pid=723 uid=10023 gids={3003} 10-06 13:34:48.197: INFO/jdwp(642): received file descriptor 31 from ADB 10-06 13:34:48.307: INFO/jdwp(658): received file descriptor 25 from ADB 10-06 13:34:48.457: INFO/jdwp(676): received file descriptor 27 from ADB 10-06 13:34:48.567: INFO/jdwp(680): received file descriptor 34 from ADB 10-06 13:34:48.856: INFO/jdwp(723): received file descriptor 20 from ADB 10-06 13:34:50.296: WARN/dalvikvm(723): Class resolved by unexpected DEX: Lian/com/elgin/Elgin;(0x43594518):0x192640 ref [Lcom/google/ android/maps/MapActivity;] Lcom/google/android/maps/MapActivity; (0x43594518):0x1886e8 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM 10-06 13:34:50.375: WARN/dalvikvm(723): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 10-06 13:34:50.396: ERROR/AndroidRuntime(723): Uncaught handler: thread main exiting due to uncaught exception 10-06 13:34:50.467: ERROR/AndroidRuntime(723): java.lang.IllegalAccessError: cross-loader access from pre-verified class 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.defineClass(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.loadClass(DexFile.java:193) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Handler.dispatchMessage(Handler.java:99) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Looper.loop(Looper.java:123) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.main(ActivityThread.java:3948) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invokeNative(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invoke(Method.java:521) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:782) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.NativeStart.main(Native Method) 10-06 13:34:50.557: INFO/Process(571): Sending signal. PID: 723
[android-developers] Re: RotateAnimation modifying ImageView
Because the animation is still set on your ImageView. Just call setAnimation(null). On Tue, Oct 6, 2009 at 12:39 AM, Blackpool alex.lehmb...@gmail.com wrote: have a question regarding RotateAnimation. If I do not set the property FillAfter to true then the image in my view, that I use RotateAnimation to animate, returns to the initial position after the animation is done. My problem is that when I set fillafter to true when I later set the image on my imageview to another image than the one I animated some kind of transformation is applied to that image also - Why? -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Overlay on MapView
Hi, I have created an image of a tracked trail and want to overlay this on to my map view so that the bounding box of the overlay is at static co- ordinates. This way when the mapview is zoomed in or out, the overlayed trail stays in the correct place and to scale I just wondered if this is possible? and if so how? or is there a better way of doing this? Thanks, Liam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 as a Universal Remote for CE/HA?
Any thoughts on this anyone? Much Appreciated, Jed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Soft Keyboard
I was wondering if anyone had access to one of the offending Hero phones that has been updated via the OTA 1.6 roll out? Has the long- press menu been addressed? Best Regards, Eric --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: ADC2 submissions and Android 1.6 (Donut)
Right, I think he's suggesting however, that the issue is with 1.6. A random user who gets the app and has it crash immediately won't think Oh, this likely has something to do with the recent update to my phone, I'll skip judging. They're more likely to think Crashed, sucks, 1star. Which leads to a possible good number of 1star ratings due to something the developer could have no hope of knowing/fixing/understanding as 1.6sdk wasn't out prior to releasing for ADC. Developers however, are far more likely to get a crashing app, and say Oh, it might be due to 1.6, I'll skip, and skip. - Dan On Tue, Oct 6, 2009 at 5:27 AM, Beowolve beowo...@gmail.com wrote: I don't believe so. A smaller number of qualified testers would yield a more reliable result than a huge number of people who do not know how to develop software. No one will concede to the developer that the app crashes because of Donut - in fact, he can't tell whether it's the app or the operating system - s/he will just give 1 star. But that's the way it works with Google - let the developers work for nothing and have the mob blame them. In my opinion this is plane wrong. An applications is mainly used by none developers and thats why the response from a simple user counts a lot more. It is also one of the main principles how you should develop an application. You need to develop for the user and not for you. It is very often not easy to know what the user actually wants most, thats for sure *g*. You can for example create the most powerful command line tool for file management with cool batch features and automation just like you would like it as a old style programmer coming from a unix background. But the user will most likely prefer the simple windows explorer. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Game Framework ?
I tested Rokon for a while, its pretty clean. He said he was planning on upgrading the sound engine to JetBoy (or at least look into it), but Rokon was written pre-1.6 - Dan On Tue, Oct 6, 2009 at 9:48 AM, MrChaz mrchazmob...@googlemail.com wrote: Rokon looks pretty good and sounds pretty much like what you're looking for. You'll never be able to avoid writing the game loop but at least Rokon removes a whole bunch of the engine code. On Oct 5, 10:57 pm, vetch oldpete...@gmail.com wrote: I do not know if Rokon is good or great. I looked through his code - for me it looks like early alpha stage. Besides, it has licensing issues, so I prefer to writing my own, that I really understand. I hope Google knows how badly Android needs embedded game framework. On 5 Paź, 23:43, Dan Sherman impact...@gmail.com wrote: But its a community effort... The guy from Rokon was on here looking for help on his (very well designed) game engine, could be very neat if it got some power behind it. Look at the iphone (as hopefully a decent example), theres not much there in terms of game frameworks. Someone ported cocos2d which ended up doing quite well. XNA is a bad example, as it was built for something that only does games, and has been since ported to other places. Google doesn't build games... - Dan On Mon, Oct 5, 2009 at 5:34 PM, vetch oldpete...@gmail.com wrote: very funny :) but I think, you did not understand my point. I think about game engine framework embedded in SDK. Google done great job with UI framework, hardware interfaces and others, so I think, creating another high level framework for games, should not be a problem for them. On 5 Paź, 23:25, Dan Sherman impact...@gmail.com wrote: http://lmgtfy.com/?q=android+game+framework On Mon, Oct 5, 2009 at 5:17 PM, vetch oldpete...@gmail.com wrote: Me, and I think, many other developers, always tried to write some game. Problem with a game, is a complexity of technic stuff. Complexity, means learning. Learning is great, but takes time. I think, Android needs a game framework. Something like SDL or more, XNA from Microsoft. Of course, we can use Canvas to draw, but it is slow. We can use OpenGL, but after two days of learning I still do not know how to draw f** background. Of course, I will do that. Some day :) But state and flags-ful OGL interface is really hard to understand if you go from wonderful world of objective thinking. I just want to focus on creating art, not wondering how to create tools for that. I'm worrying, really worring about Android and games. M$ has XNA, porting it to Zune with Tegra. After that, XNA will come to WinMo. If you ever used C# and XNA, you know, how simple and great it is. What does it mean ? Thousands of games for Microsoft Mobile Junk and still no great games for Android. Worst. Many Android developers will go to WinMo for XNA. Many games will be easily ported from Xbox Arcade too. And we will be wasting time, wondering, how to get 25fps from Canvas or OpenGL. Without sound. Now, I think, is the time to do something with that. Android really needs something like XNA, to allow us producing games without all that technic stuff like OpenGL, game loops with managing threads, times, buffers, right pixel format settings and others. What you think about official game framework for Android ? Is Google working on something like that ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Game Framework ?
As I mentioned before. Rokon has GPL licensing. It is useless, if you think about selling your game. Second: using framework without any support is a big risk. One-man support is no support. Third: I need something Google-approved, improved, fixed, developed, tested and stable as rock. No offence to Rokon, but I think, team of 10 professionals working for money is better than one-man team. Maybe community should ask Google to create Android native game framework ? It is still time for that. For three years from here, Android on a game field can be a big looser. We must learn from others; Before XNA, there were almost none DirectX game with commercial success, made by small teams. Because of complexity and costs. After XNA, community created hundreds of games, many of them with big success on PC/Steam and Xbox Arcade. And many of them by one man only ! As you see, easy to use framework allows all developers with great ideas, to create good games. Good tools are important. On 6 Paź, 15:48, MrChaz mrchazmob...@googlemail.com wrote: Rokon looks pretty good and sounds pretty much like what you're looking for. You'll never be able to avoid writing the game loop but at least Rokon removes a whole bunch of the engine code. On Oct 5, 10:57 pm, vetch oldpete...@gmail.com wrote: I do not know if Rokon is good or great. I looked through his code - for me it looks like early alpha stage. Besides, it has licensing issues, so I prefer to writing my own, that I really understand. I hope Google knows how badly Android needs embedded game framework. On 5 Paź, 23:43, Dan Sherman impact...@gmail.com wrote: But its a community effort... The guy from Rokon was on here looking for help on his (very well designed) game engine, could be very neat if it got some power behind it. Look at the iphone (as hopefully a decent example), theres not much there in terms of game frameworks. Someone ported cocos2d which ended up doing quite well. XNA is a bad example, as it was built for something that only does games, and has been since ported to other places. Google doesn't build games... - Dan On Mon, Oct 5, 2009 at 5:34 PM, vetch oldpete...@gmail.com wrote: very funny :) but I think, you did not understand my point. I think about game engine framework embedded in SDK. Google done great job with UI framework, hardware interfaces and others, so I think, creating another high level framework for games, should not be a problem for them. On 5 Paź, 23:25, Dan Sherman impact...@gmail.com wrote: http://lmgtfy.com/?q=android+game+framework On Mon, Oct 5, 2009 at 5:17 PM, vetch oldpete...@gmail.com wrote: Me, and I think, many other developers, always tried to write some game. Problem with a game, is a complexity of technic stuff. Complexity, means learning. Learning is great, but takes time. I think, Android needs a game framework. Something like SDL or more, XNA from Microsoft. Of course, we can use Canvas to draw, but it is slow. We can use OpenGL, but after two days of learning I still do not know how to draw f** background. Of course, I will do that. Some day :) But state and flags-ful OGL interface is really hard to understand if you go from wonderful world of objective thinking. I just want to focus on creating art, not wondering how to create tools for that. I'm worrying, really worring about Android and games. M$ has XNA, porting it to Zune with Tegra. After that, XNA will come to WinMo. If you ever used C# and XNA, you know, how simple and great it is. What does it mean ? Thousands of games for Microsoft Mobile Junk and still no great games for Android. Worst. Many Android developers will go to WinMo for XNA. Many games will be easily ported from Xbox Arcade too. And we will be wasting time, wondering, how to get 25fps from Canvas or OpenGL. Without sound. Now, I think, is the time to do something with that. Android really needs something like XNA, to allow us producing games without all that technic stuff like OpenGL, game loops with managing threads, times, buffers, right pixel format settings and others. What you think about official game framework for Android ? Is Google working on something like that ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: mount other usb devices to android gphone
On Oct 5, 9:09 pm, jonathan topcod...@gmail.com wrote: is it possible to mount another usb device x to gphone and then create a program that communites to x on the usb port? X is used for capturing data and gphone will be used for analysis/display. thanks Not really right now. The current phones only know how to be USB devices, which means they can only talk to usb hosts, and not to other USB devices. If your external device has USB host functionality you might be able to interface it to a phone, but it would take a fair amount of software work, well below the SDK level that is the subject of this group. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Google Checkout API for Android application
I want to implements a payment process for my Android Application use Google Checkout. Any advice for me about API/Libraries? Thanks your attention! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 Game Framework ?
The guy behind Rokon has said that he was actively persuing changing the license on the next release to the Android License (which should solve the licensing issues)... Just seems odd to me, with an Open Source project like Android to expect Google to step up to the plate and eat the millions of dollars extra to create a game framework... I'm not saying it wouldn't be great, I've made plenty of games so far on Android, and would love it if there were some easy methods for some of the common tasks, but when someone sets out a very good starting point (Rokon), it seems a better option to just build on that... Also, your mention of Before XNA, there were almost none DirectX game with commercial success, I would be interested to hear how you came to that conclusion, as I remember plenty of very popular games requiring various versions of directx. - Dan On Tue, Oct 6, 2009 at 12:50 PM, vetch oldpete...@gmail.com wrote: As I mentioned before. Rokon has GPL licensing. It is useless, if you think about selling your game. Second: using framework without any support is a big risk. One-man support is no support. Third: I need something Google-approved, improved, fixed, developed, tested and stable as rock. No offence to Rokon, but I think, team of 10 professionals working for money is better than one-man team. Maybe community should ask Google to create Android native game framework ? It is still time for that. For three years from here, Android on a game field can be a big looser. We must learn from others; Before XNA, there were almost none DirectX game with commercial success, made by small teams. Because of complexity and costs. After XNA, community created hundreds of games, many of them with big success on PC/Steam and Xbox Arcade. And many of them by one man only ! As you see, easy to use framework allows all developers with great ideas, to create good games. Good tools are important. On 6 Paź, 15:48, MrChaz mrchazmob...@googlemail.com wrote: Rokon looks pretty good and sounds pretty much like what you're looking for. You'll never be able to avoid writing the game loop but at least Rokon removes a whole bunch of the engine code. On Oct 5, 10:57 pm, vetch oldpete...@gmail.com wrote: I do not know if Rokon is good or great. I looked through his code - for me it looks like early alpha stage. Besides, it has licensing issues, so I prefer to writing my own, that I really understand. I hope Google knows how badly Android needs embedded game framework. On 5 Paź, 23:43, Dan Sherman impact...@gmail.com wrote: But its a community effort... The guy from Rokon was on here looking for help on his (very well designed) game engine, could be very neat if it got some power behind it. Look at the iphone (as hopefully a decent example), theres not much there in terms of game frameworks. Someone ported cocos2d which ended up doing quite well. XNA is a bad example, as it was built for something that only does games, and has been since ported to other places. Google doesn't build games... - Dan On Mon, Oct 5, 2009 at 5:34 PM, vetch oldpete...@gmail.com wrote: very funny :) but I think, you did not understand my point. I think about game engine framework embedded in SDK. Google done great job with UI framework, hardware interfaces and others, so I think, creating another high level framework for games, should not be a problem for them. On 5 Paź, 23:25, Dan Sherman impact...@gmail.com wrote: http://lmgtfy.com/?q=android+game+framework On Mon, Oct 5, 2009 at 5:17 PM, vetch oldpete...@gmail.com wrote: Me, and I think, many other developers, always tried to write some game. Problem with a game, is a complexity of technic stuff. Complexity, means learning. Learning is great, but takes time. I think, Android needs a game framework. Something like SDL or more, XNA from Microsoft. Of course, we can use Canvas to draw, but it is slow. We can use OpenGL, but after two days of learning I still do not know how to draw f** background. Of course, I will do that. Some day :) But state and flags-ful OGL interface is really hard to understand if you go from wonderful world of objective thinking. I just want to focus on creating art, not wondering how to create tools for that. I'm worrying, really worring about Android and games. M$ has XNA, porting it to Zune with Tegra. After that, XNA will come to WinMo. If you ever used C# and XNA, you know, how simple and great it is. What does it mean ? Thousands of games for Microsoft Mobile Junk and still no great games for Android. Worst. Many Android developers will go to WinMo for XNA. Many games will be easily ported from Xbox Arcade too. And we will be wasting time,
[android-developers] Hi
I am trying to create a Home application that contains AppWidgets. Can I make a own AppWidgets list layout that includes AppWidgetHostView without APPWIDGET_PICK intent? I mean I wanna make a visual AppWidget list. Actualy I made it, but i couldn't start AppWidget some like Music widget. I think it does not contain a intent. How can I get the AppWidgets 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] Multitouch: Two buttons at the same time?
Hi, I'm planning to develop a small jump and run game and wondered how to recognize two button presses at one time. For example, I want to run left and jump during running. Is it possible to catch both button presses on the touch? Regards, Florian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] TV API for Android...
Hello Everyone, I am Akash and I've recently started working on Android platform. I want to develop a TV widget for Android based mobiles. so I want to know that is there any API exist for same, just like the java TV API or can we use the same TV API on android also..? Any Suggestion will be helpful --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] TV API for Android...
Hello Everyone, I am Akash and I've recently started working on Android platform. I want to develop a TV widget for Android based mobiles. so I want to know that is there any API exist for same, just like the java TV API or can we use the same TV API on android also..? Any Suggestion will be helpful to me Thanks... Akash --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: problem in services
Simple, don't have any activities in your application! // TG Nemat wrote: Hello frnds. I am presently working on services.I have read many articles related to services.But one thing I dont understand is if we want our application to run in background how can we implement services without using Activities... Urgent help needed Thanks Nemat --- Robosoft Technologies - Come home to Technology Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: tabs iphone style
Hi, I am confused. As far as I can see ppl just want to be able to do some cosmetic adjustments to the appearance of the tabs - mostly shape and position. BTW, what about tabs on sides (for landscape layout maybe)? We don't care about functionality (OK, business logic), radio-buttons behavior and switching content will do just fine :) So, why was it so hard for the Android Team to give us this ability (cosmetic adjustments) in the first place? And next about nEx.Software code. Can I somehow replace TabWidget only in the original TabHost? On Sep 18, 12:13 pm, nEx.Software email.nex.softw...@gmail.com wrote: In case anyone is watching this thread, I'll post the example I threw together here as well. I was planning on writing a full blown tutorial but since I can tell you are anxious to see it... This is a 1.5 compatible version that uses modified versions of the TabActivity, TabHost, and TabWidget (and related resources) from Android 1.6. There are obvious things that could be done better but the idea is there and should at least get you headed in the right direction. http://nexsoftware.net/Android/Tutorials/CustomTabActivity.zip This allows you to dynamically move the tabs from top to bottom, and also allows you to hide or show them, you can swipe left or right to switch tabs (particularly useful if you have hidden the tabs) and you can also replace the activity of atabwith another activity. Because this is theTabframework from Android 1.6 you can alsochangethe View that is used for the tabs. Also... as I said, this is compatible with Android 1.5. On Sep 17, 1:36 pm, Wouter wouterg...@gmail.com wrote: So what do I have to use? Someone has an example for me? On 17 sep, 17:30, nEx.Software email.nex.softw...@gmail.com wrote: I had actually copied the sources for TabActivity, TabHost, and TabWidget from the Open Source Project yesterday, I didn't realize that this was achangeactually until your response. I am not even using the 1.6 SDK yet... I am now going to peruse the diff report a little more closely. On Sep 17, 8:24 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote: Yes...http://developer.android.com/sdk/api_diff/4/changes/android.widget.Ta... Ah, yes. setIndicator() used to just have the Drawable options, not the whole View. I'll have to experiment with these. Thanks for pointing this out! -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] animation-less android menus
I am planning to use android on a device with slow refresh rate display. I was wondering whether it was possible to bring up the apps menu without sliding the apps menu pull-tab, just with a long-press menu button for instance. Ideally, this long press action would directly show the apps menu without the sliding animation. Is this possible? Gilles --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Bug 2628 needs review: 1.5/1.6 API indeterminate loading of ARGB_8888 PNG images
Greets, This is not a new bug, but it needs to at least be reviewed and has been open for 5 months without review. It is one that is causing some consternation here. While updating a 1.1 OpenGL app to the 1.6 API things failed to work because some PNGs are not loading and getConfig () returns null. The bitmap is constructed and getWidth() / getHeight() returns the proper values, but there is no Bitmap.Config attached to the bitmap. I am using the standard BitmapFactory.decodeResource() method and have detailed things in the bug as an additional comment: http://code.google.com/p/android/issues/detail?id=2628 My review is posted below as well: I too see this problem with the 1.6_r1 API/SDK running against 1.5 and 1.6 platforms and on devices G1 (1.6 firmware) and Ion (1.5 firmware). I was updating an OpenGL app circa 1.1 API and it broke when getConfig() on all pngs w/ transparency loaded with decodeResource returns null. This causes GLUtil to fail in my case I was using GLUtils.getType() with a message Unknown internalformat. I tried various versions of pngs modified with Photoshop using both the save as web and save as to no result. I can copy the broken pngs to a known working fresh Android 1.6 app and they fail to load. The really weird thing is that I can create a new png the same size as one that fails to load and copy (image copy in Photoshop) 3/4 of the broken png to the new png and it will load and with ARGB_ transparency. If I copy (image copy) the entire broken png simply by using select all then saving it as a new png in Photoshop it fails to load with decodeResource. This is not an OpenGL ES bug and is a problem with decodeResource. Pngs that don't have a valid config don't work with 2D Android graphics either. Google devs please comment on a work around as it now seems loading pngs is broken badly with default usage of BitmapFactory.decodeResource. Granted the bug can perhaps even be located in the build tools. This bug should not go unnoticed/unfixed and that it has been known to exist since May without review is not good! Loading pngs should not be have indeterminate results! I am working on Windows with the 1.6_r1 API. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] AppWidget configure and ChildActivities
Hi, I am new to Android development, so I hope I am not missing something obvious. I have created an AppWidget with an associated configuration activity. I did this like described here: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/appwidget/ExampleAppWidgetConfigure.html My problems are: 1) The widget gets created and displayed when I am compiling it without the configuration activity. When the configuration activity is launched and back is pressed, the widget is not created/displayed. The widget updating and result-setting is done in onStop() of the configuration activity. Could that be the problem ? 2) The configuration activity has two sub-activities. When the configuration activity is started by the launcher, the back key takes me back from the sub-activity to the main activity. When it is launched due to widget creation, the back key takes me from the sub-activity to the homescreen. Why is that ? The funny things is that the widget gets created and displayed when going back from the sub-activity. Thanks for your help, Matthias. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] AnCal implementation
Hi All, I'm working with this simple calendar UI app i have a problem on designing the UI, does anyone has an idea on how they implement the AnCal application. If you wanna know what it is please visit this site : http://vetch.magot.pl/pages/ancal.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Contact Photo and Facebook Photo
I use People.loadContactPhoto to get the Bitmap of the photo from the contact. So far so good. But all contacts with a facebook photo (connected the contact with facebook) i get no photo. Why? Is there any other routine to load photos from contacts with facebook photos? Are facebook photos not stored into the contact? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: DatePicker.init crashes without reason
You set the wrong values. Instead of: dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date [1]), Integer.parseInt(date[0]), null); You must set: dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date [0]), Integer.parseInt(date[1]), null); First parameter is year, second is monthOfYear and third is dayOfMonth. But you set year, dayOfMonth and monthOfYear. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] MapView bounds changed
Hi There. I'm really struggling to get my app notified when the area being viewed has changed. There appears to be no handler built in to the class, so all I've been able to do is extend MapView and catch it in either getProjection() or onTouchEvent() The problem I have is that I'm changing the overlays based on the area being viewed, so that I can lazy load what applies to the given area (there are large volumes of items to show from a db). Using getProjection gets updates whenever zooming or scrolling, however it sits within the onDraw call (it seems) which means altering the Overlays can result in concurrency errors. OnTouchEvent is sort of working, although getting no notification of the zoom change. Is there a way which I can get notified when what the user is looking at on the map has changed to update overlays. I know that the MapKit stuff on iPhone does this (which is also google maps based), but can't seem to see how to hook it up on android without these awkward hacks. Any help would be most useful. 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: Changing TabHost font size
Unfortunately, the link shows how to change TAB size not the FONT size. But the main warning stays correct: ...this code will likely break in future Android releases. However, continuing the same incorrect way to deal with problems, one may try the following: TabWidget tw = getTabWidget(); for (int i=0; itw.getChildCount(); i++) { RelativeLayout relLayout = (RelativeLayout)tw.getChildAt(i); TextView tv = (TextView)relLayout.getChildAt(1); tv.setTextSize(25.0f); // just example } It works so far (1.5r3) On Sep 10, 7:22 pm, Mark Murphy mmur...@commonsware.com wrote: Enoch wrote: Hi, I'm creating Tabs for my application and I wonder how do Ichangethe font size in theTabHost (TabMenu) There is no reliable officially-supported solution for this. You are welcome to poke around in the view hierarchy, find the TextView widgets that represent thetablabels, andchangetheir font sizes. The following link shows this technique, in this case changing the size of the tabs: http://wiki.andmob.org/faq-tabsize However, this code will likely break in future Android releases, so you will need to be prepared to make changes going forward. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010:http://bignerdranch.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: AppWidget configure and ChildActivities
figured it out myself. Called finish() at the end of onStop(). That was the source of both problems. On 6 Okt., 17:21, WonkoTheSane mdang...@gmail.com wrote: Hi, I am new to Android development, so I hope I am not missing something obvious. I have created an AppWidget with an associated configuration activity. I did this like described here: http://developer.android.com/guide/samples/ApiDemos/src/com/example/a... My problems are: 1) The widget gets created and displayed when I am compiling it without the configuration activity. When the configuration activity is launched and back is pressed, the widget is not created/displayed. The widget updating and result-setting is done in onStop() of the configuration activity. Could that be the problem ? 2) The configuration activity has two sub-activities. When the configuration activity is started by the launcher, the back key takes me back from the sub-activity to the main activity. When it is launched due to widget creation, the back key takes me from the sub-activity to the homescreen. Why is that ? The funny things is that the widget gets created and displayed when going back from the sub-activity. Thanks for your help, Matthias. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: mapview key problems
My manifest is as follows: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=ian.com.elgin android:versionCode=1 android:versionName=1.0 application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.Elgin android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity uses-library android:name=com.google.android.maps / /application uses-sdk android:minSdkVersion=3 / uses-permission android:name=android.permission.INTERNET / /manifest That seems to be OK but I do believe this is some problem with my build path allright and nothing to do with my api key as I had first thought. - Ian in Nova Scotia On Oct 6, 12:39 pm, Konrad Pietzka kon...@java-schmiede.de wrote: Hi Ian, Do you have the following entires in your AndriodManifest.xml? uses-library android:name=com.google.android.maps / Which should be within application And uses-permission android:name=android.permission.INTERNET / Within manifest Otherwise it wont work Cheers -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 17:22 An: Android Developers Betreff: [android-developers] Re: mapview key problems Well I think you are correct about that superclass problem. But I'm unsure how to fix it. Any suggestions? On Oct 6, 10:56 am, Konrad Pietzka kon...@java-schmiede.de wrote: Hi Your problem might be caused of being unable to resolve superclass, look at following logcat entries: 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM Hope this helps -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 15:42 An: Android Developers Betreff: [android-developers] Re: mapview key problems Here is the tail end of my logcat for a run where it crashed. I notice it added a capital letter L before the ian.com.elgin about 10 lines down. 10-06 13:34:48.146: INFO/ActivityManager(571): Start proc ian.com.elgin for activity ian.com.elgin/.Elgin: pid=723 uid=10023 gids={3003} 10-06 13:34:48.197: INFO/jdwp(642): received file descriptor 31 from ADB 10-06 13:34:48.307: INFO/jdwp(658): received file descriptor 25 from ADB 10-06 13:34:48.457: INFO/jdwp(676): received file descriptor 27 from ADB 10-06 13:34:48.567: INFO/jdwp(680): received file descriptor 34 from ADB 10-06 13:34:48.856: INFO/jdwp(723): received file descriptor 20 from ADB 10-06 13:34:50.296: WARN/dalvikvm(723): Class resolved by unexpected DEX: Lian/com/elgin/Elgin;(0x43594518):0x192640 ref [Lcom/google/ android/maps/MapActivity;] Lcom/google/android/maps/MapActivity; (0x43594518):0x1886e8 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM 10-06 13:34:50.375: WARN/dalvikvm(723): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 10-06 13:34:50.396: ERROR/AndroidRuntime(723): Uncaught handler: thread main exiting due to uncaught exception 10-06 13:34:50.467: ERROR/AndroidRuntime(723): java.lang.IllegalAccessError: cross-loader access from pre-verified class 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.defineClass(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.loadClass(DexFile.java:193) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at
[android-developers] Merchant Support for additional countries Options
Hi Guys, Any ideas or news on Merchant suppor for additional countries? I currently reside in India and I am waiting for this support for 8 months now, and I do not see anything positive happening. I have send numerous mails to google's support mails, but havnt got an encouraging response so far. From February this year they have added support for 9 countries in 9 months. Going by this rate when r we going to see the support getting expaanded, are there chances of PayPal or some other modes of payment introduction proposed? How long should we wait further, this is getting irritating to a large extent, and I am losing hope on the platform. Regards, R.Karthik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Location doesn't have a bundle with satellite count any more?
Just upgraded my phone firmware to 1.6, and it looks like Location objects don't have satellite counts in them any more: locMan = (LocationManager)con.getSystemService (Context.LOCATION_SERVICE); Location loc = locMan.getLastKnownLocation (LocationManager.GPS_PROVIDER); Bundle extraBundle = loc.getExtras(); extraBundle is null. So, I can't call extraBundle.getInt(satellites) anymore to get the satellite count. What happened? Richard Schilling Mobile Operating Systems Engineer Root Wireless --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: mapview key problems
Oh my gosh, | got it to work. I shuffled around my maps.jar and by copied it next to android,jar and mucked around with the build path. Et voila! Thanks to Konrad and Xav for pointing me on the correct path. Much appreciated!!! Konrad Pietzka wrote: Hi Ian, Do you have the following entires in your AndriodManifest.xml? uses-library android:name=com.google.android.maps / Which should be within application And uses-permission android:name=android.permission.INTERNET / Within manifest Otherwise it wont work Cheers -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 17:22 An: Android Developers Betreff: [android-developers] Re: mapview key problems Well I think you are correct about that superclass problem. But I'm unsure how to fix it. Any suggestions? On Oct 6, 10:56 am, Konrad Pietzka kon...@java-schmiede.de wrote: Hi Your problem might be caused of being unable to resolve superclass, look at following logcat entries: 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM Hope this helps -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 15:42 An: Android Developers Betreff: [android-developers] Re: mapview key problems Here is the tail end of my logcat for a run where it crashed. I notice it added a capital letter L before the ian.com.elgin about 10 lines down. 10-06 13:34:48.146: INFO/ActivityManager(571): Start proc ian.com.elgin for activity ian.com.elgin/.Elgin: pid=723 uid=10023 gids={3003} 10-06 13:34:48.197: INFO/jdwp(642): received file descriptor 31 from ADB 10-06 13:34:48.307: INFO/jdwp(658): received file descriptor 25 from ADB 10-06 13:34:48.457: INFO/jdwp(676): received file descriptor 27 from ADB 10-06 13:34:48.567: INFO/jdwp(680): received file descriptor 34 from ADB 10-06 13:34:48.856: INFO/jdwp(723): received file descriptor 20 from ADB 10-06 13:34:50.296: WARN/dalvikvm(723): Class resolved by unexpected DEX: Lian/com/elgin/Elgin;(0x43594518):0x192640 ref [Lcom/google/ android/maps/MapActivity;] Lcom/google/android/maps/MapActivity; (0x43594518):0x1886e8 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM 10-06 13:34:50.375: WARN/dalvikvm(723): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 10-06 13:34:50.396: ERROR/AndroidRuntime(723): Uncaught handler: thread main exiting due to uncaught exception 10-06 13:34:50.467: ERROR/AndroidRuntime(723): java.lang.IllegalAccessError: cross-loader access from pre-verified class 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.defineClass(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.loadClass(DexFile.java:193) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Handler.dispatchMessage(Handler.java:99) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Looper.loop(Looper.java:123) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.main(ActivityThread.java:3948) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invokeNative(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invoke(Method.java:521) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at
[android-developers] ADC2 First Round Complete?
I opened up my ADC2 judging app today to see the next app to review, and got this message: The first round of judging has concluded. Thanks again for all your reviews. Round 2 will commence after a brief scoring and review period, so there will be no apps to review for several days. Don't worry, you'll start seeing those same notifications in the status bar soon enough. Can anyone else confirm this? If it's true, seems like they're cutting the first round a little short, right? It's only been 13 days by my count. I thought maybe this might have something to do with 1.6 compatibility issues...but then why resume user judging again in a few days? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: mapview key problems
Oh my gosh, | got it to work. I shuffled around my maps.jar and by copied it next to android,jar and mucked around with the build path. Et voila! Thanks to Konrad and Xav for pointing me on the correct path. Much appreciated!!! Konrad Pietzka wrote: Hi Ian, Do you have the following entires in your AndriodManifest.xml? uses-library android:name=com.google.android.maps / Which should be within application And uses-permission android:name=android.permission.INTERNET / Within manifest Otherwise it wont work Cheers -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 17:22 An: Android Developers Betreff: [android-developers] Re: mapview key problems Well I think you are correct about that superclass problem. But I'm unsure how to fix it. Any suggestions? On Oct 6, 10:56 am, Konrad Pietzka kon...@java-schmiede.de wrote: Hi Your problem might be caused of being unable to resolve superclass, look at following logcat entries: 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM Hope this helps -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von ian Gesendet: Dienstag, 6. Oktober 2009 15:42 An: Android Developers Betreff: [android-developers] Re: mapview key problems Here is the tail end of my logcat for a run where it crashed. I notice it added a capital letter L before the ian.com.elgin about 10 lines down. 10-06 13:34:48.146: INFO/ActivityManager(571): Start proc ian.com.elgin for activity ian.com.elgin/.Elgin: pid=723 uid=10023 gids={3003} 10-06 13:34:48.197: INFO/jdwp(642): received file descriptor 31 from ADB 10-06 13:34:48.307: INFO/jdwp(658): received file descriptor 25 from ADB 10-06 13:34:48.457: INFO/jdwp(676): received file descriptor 27 from ADB 10-06 13:34:48.567: INFO/jdwp(680): received file descriptor 34 from ADB 10-06 13:34:48.856: INFO/jdwp(723): received file descriptor 20 from ADB 10-06 13:34:50.296: WARN/dalvikvm(723): Class resolved by unexpected DEX: Lian/com/elgin/Elgin;(0x43594518):0x192640 ref [Lcom/google/ android/maps/MapActivity;] Lcom/google/android/maps/MapActivity; (0x43594518):0x1886e8 10-06 13:34:50.316: WARN/dalvikvm(723): Unable to resolve superclass of Lian/com/elgin/Elgin; (134) 10-06 13:34:50.336: WARN/dalvikvm(723): Link of class 'Lian/com/elgin/ Elgin;' failed 10-06 13:34:50.357: DEBUG/AndroidRuntime(723): Shutting down VM 10-06 13:34:50.375: WARN/dalvikvm(723): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 10-06 13:34:50.396: ERROR/AndroidRuntime(723): Uncaught handler: thread main exiting due to uncaught exception 10-06 13:34:50.467: ERROR/AndroidRuntime(723): java.lang.IllegalAccessError: cross-loader access from pre-verified class 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.defineClass(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.DexFile.loadClass(DexFile.java:193) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2186) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2284) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.access$1800(ActivityThread.java:112) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Handler.dispatchMessage(Handler.java:99) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.os.Looper.loop(Looper.java:123) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at android.app.ActivityThread.main(ActivityThread.java:3948) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invokeNative(Native Method) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at java.lang.reflect.Method.invoke(Method.java:521) 10-06 13:34:50.467: ERROR/AndroidRuntime(723): at
[android-developers] Re: ADC2 First Round Complete?
Yes, see the blog post http://android-developers.blogspot.com/2009/10/adc-2-round-1-scoring-complete.html -- Carmen http://www.twitter.com/CarmenDelessio http://www.talkingandroid.com http://www.facebook.com/BFFPhoto http://www.twitter.com/DroidDrop On Tue, Oct 6, 2009 at 2:12 PM, polyclefsoftware dja...@gmail.com wrote: I opened up my ADC2 judging app today to see the next app to review, and got this message: The first round of judging has concluded. Thanks again for all your reviews. Round 2 will commence after a brief scoring and review period, so there will be no apps to review for several days. Don't worry, you'll start seeing those same notifications in the status bar soon enough. Can anyone else confirm this? If it's true, seems like they're cutting the first round a little short, right? It's only been 13 days by my count. I thought maybe this might have something to do with 1.6 compatibility issues...but then why resume user judging again in a few days? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: more parseable output from instrumented tests?
For reference to others, it turns out that passing the -r flag to instrument produces more easily parseable results. It would still be nice to get a full report with things like test runtimes though. On Oct 6, 9:21 am, markwhitney markwhit...@gmail.com wrote: Is there a way to get more easily parseable output from a test suite of ActivityUnitTestCases and ActivityInstrumentationTestCase2s? Possibly some extras passed to adb am instrument? The output of am instrument is fine for manual test runs, but I am looking for something more structured so that I can feed it into a continuous integration system. Maybe something like the XML reports produced by JUnit? Since the Android test framework is based on JUnit, is there a way to turn on such features? Or does this output already exist and I was looking in the wrong place on the filesystem? Note, I am not really looking for EMMA coverage reports (unless that also produces detailed test reports?), just unit test results. 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: Location doesn't have a bundle with satellite count any more?
And, here, folks is the exact day the earth stood still in Android Land: TIMESTAMP (UTC)SATELLITE COUNT 2009-10-02 23:24:09.08.0 2009-10-02 23:32:53.00.0 Is anybody out there ... ? Is anybody at all? Perhaps a new space war started that knocked out our satellites and we weren't told.? Mayhem? Armegeddon? Richard On Oct 6, 11:01 am, Richard Schilling richard.rootwirel...@gmail.com wrote: Just upgraded my phone firmware to 1.6, and it looks like Location objects don't have satellite counts in them any more: locMan = (LocationManager)con.getSystemService (Context.LOCATION_SERVICE); Location loc = locMan.getLastKnownLocation (LocationManager.GPS_PROVIDER); Bundle extraBundle = loc.getExtras(); extraBundle is null. So, I can't call extraBundle.getInt(satellites) anymore to get the satellite count. What happened? Richard Schilling Mobile Operating Systems Engineer Root Wireless --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: HttpURLConnection headers
Hello Lucas, Have you been able to solve this problem. I have tried to use the apache httpclient classes to get my networking going and that does not seem to help either. I am interested in the x-up-subno header that ATT adds. I looked thro the source of the WebView, WebViewCore, BrowserFrame classes from the android src and noticed that the loading is happening via a native method - public void loadData(String baseUrl, String data, String mimeType, String encoding, String failUrl) { mLoadInitFromJava = true; if (failUrl == null) { failUrl = ; } if (data == null) { data = ; } // Setup defaults for missing values. These defaults where taken from // WebKit's WebFrame.mm if (baseUrl == null || baseUrl.length() == 0) { baseUrl = about:blank; } if (mimeType == null || mimeType.length() == 0) { mimeType = text/html; } nativeLoadData(baseUrl, data, mimeType, encoding, failUrl); mLoadInitFromJava = false; } -- thanks, kiran On Sep 16, 12:23 pm, Lucas roll...@gmail.com wrote: That is not an option. Because also i need some more headers that are not being added and that i can't add by hand. Indeed once of the headers i need is added by the operator APN, and for some reason when connecting by code it is not being added. Below there is more info about this: Here are the headers i get when connecting though browser:http://bannergame.googlecode.com/files/device_browser.png And here the ones i get when connecting through code:http://bannergame.googlecode.com/files/device_code.png The header i need besides the User-Agent is the **x-up-subno*** which is a special header that ATT adds and identify the GSM seem card that the device is using. Do you know why this is not added? How can i force the connection though the APN wap setting? Or how can i mimic Webkit connection from code? Thanks, Lucas On Sep 15, 7:37 pm, Mark Murphy mmur...@commonsware.com wrote: rollbak wrote: Does anyone know we i get different behaviors? Because WebKit does not useHttpURLConnection. How i can i connect in the same way the browser does? Set your own User-Agent header via methods onHttpURLConnection. http://stackoverflow.com/questions/480153/how-to-modify-the-header-of... -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADC2 First Round Complete?
I agree it's due to the Donut update that broke quite a few apps there. Wouldn't surprise me if they allow an app update for the next round. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: animation-less android menus
Please post questions about developing devices to android-porting. (And fwiw, you can completely replace the home screen with whatever home app you want, so you can certainly tweak the standard one to have some different behavior.) On Tue, Oct 6, 2009 at 7:46 AM, Gilles TALIS gilles.ta...@gmail.com wrote: I am planning to use android on a device with slow refresh rate display. I was wondering whether it was possible to bring up the apps menu without sliding the apps menu pull-tab, just with a long-press menu button for instance. Ideally, this long press action would directly show the apps menu without the sliding animation. Is this possible? Gilles -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: TV API for Android...
There is currently no such API in the platform. On Tue, Oct 6, 2009 at 4:54 AM, akash ideavate ideavate.ak...@gmail.comwrote: Hello Everyone, I am Akash and I've recently started working on Android platform. I want to develop a TV widget for Android based mobiles. so I want to know that is there any API exist for same, just like the java TV API or can we use the same TV API on android also..? Any Suggestion will be helpful to me Thanks... Akash -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Does anyone has the documentation of window manager?
Sorry, the documentation is the source code. On Tue, Oct 6, 2009 at 6:50 AM, Karthik P karthi...@gmail.com wrote: I have the entire source code base, but I would like to have some documents which illustrates the working of this window manager. Karthik On Tue, Oct 6, 2009 at 11:43 AM, Dianne Hackborn hack...@android.comwrote: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/java/com/android/server/WindowManagerService.java Um, have fun...? On Mon, Oct 5, 2009 at 10:13 PM, Karthik P karthi...@gmail.com wrote: Can someone point me where the documentation of window manager is present? Karthik -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Multiple tables in one ContentProvider
Hi I want to operate on multiple tables. I searched a lot but everywhere I could find is single table with one content provider. How can I use multiple tables under one content provider? How can I get result from two/three tables ? Can I provide my own SQL select query from multiple tables in ContentProvider? Can anybody give me any example or link where I can get idea? Thanks Harshit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Stop TextView from taking up too much width in layout?
Hi, I have three views within a horizontal linear layout: [ textview1 | imageview | textview2 ] I need imageview, and textview2 to expand to however much width they need, and textview1 should use whatever is left over and truncate its text (so as not to push around the other views). I have it setup horizontally now, but if the text of textview1 is too long, it pushes the others off the screen. How can I get it to only use whatever space is leftover from the other two? 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] Updating permissions for apps that modify sharedUserId
Hi All, I'm looking to update my app and provide a sharedUserId as part of my manifest, so that the several apps I have can all nicely look at each other's private files if necessary. Unfortunately, I've discovered that adding a sharedUserId where it did not exist before will change the userId and make me unable to modify current existing files. Is there a graceful way to handle updating your sharedUserId now that I need its functionality? Or am I pretty much resigned to requiring people to uninstall and reinstall my app to be able to do 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 -~--~~~~--~~--~--~---