Re: [android-developers] Re: Write storage on Samsung Galaxy Tab 7.7
It appears that no one on this forum has more insight into number 2. Darn. If Dianne hasn't chimed in, there is probably not much hope that you will get an answer. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] TCP Connection - Service design question
Hi all, I am developing a simple multiplayer game. To make the things easy, given that every session is supposed to be quite fast, if a player gets disconnected all the other players are notified of her disconnection and the game goes on (no reconnection for the disconnected player). The persistent tcp connection is kept on in a couple of threads (one is reading from the socket, the other is a looper thread waiting for the messages to send). I was thinking to use a service, to share the opened connection across two or three activities. Now my question is: what kind of service should I create? I was thinking of a non sticky one, given that if the os shuts it down, the player will automatically be disconnected and I don't mind having it reconnected. In this way I could also let it self kill in case of disconnection, so that I can be sure I won't leave it active when the user is not playing anymore. In that case, when I am supposed to create (and re-create) it? In this early stage I am creating it in the onCreate() of the first launched actiivty, but maybe it's better to create it when the user wants to play (and thus, link it to a login button). What happens if I try to create it and it is already running? Another approach I thought of was not to use a service and to keep everything in a singleton class that hosts the two threads (and keeps track of the state of the game), and let the client disconnect during onPause(). Any help / consideration may be appreciated, Thanks in advance, Federico -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Do we need to have 64 bits OS to run Android CTS and Monkey test for Android ICS version ?
Dear Experts: I would like to know if I run Android CTS for ICS or higher , do I need to upgrade my test machine to 64 bit ? Also, do you have instruction how to instruction of how to set up a CTS. 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] Does android-sdk_r18-linux.tgz/ADT 18.0.0 work on linux 64bits ?????????
I have used more then a week to make android-sdk_r18-linux.tgz/ADT 18.0.0 work on ubuntu11.10 without a success. The description of the problem I have installed freshed ADT 18.0.0 and SDK Tools, r18 on Eclipse :Version: Indigo Service Release 2 Build id: 20120216-1857 on ubuntu 11.10 64bits. but when I try to create App Engine Connected Android project I get the following error /home/test/DEVS2/android-sdk-linux/tools/lib/proguard.cfg (No such file or directory) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] the focused activity is able to receive the simulated Key/touch tap Msg ?
Hey , I am trying to investigate the simulation of key/touch tap and sending to ther application . After some navigation on internet , I get to know that sending these msg seems impossible. and also , I am told that key/touch tap msg is destinated to the focused activity... So my question is : if I launch a service where the key pressing or screen touching is simulated, then the focusd activity(it is in other application) can receive it ??? Thanks a lot. Daniel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email 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: the focused activity is able to receive the simulated Key/touch tap Msg ?
Also , as for dispatchKeyEvent , my understanding is that it only intercepts all Keys EVENT to the process where dispatchKeyEvent is invoked,instead of system-wide Key Events ... please help to verify my statement. Thanks ... On Sat, Apr 14, 2012 at 5:11 PM, Xie Daniel jasic2...@gmail.com wrote: Hey , I am trying to investigate the simulation of key/touch tap and sending to ther application . After some navigation on internet , I get to know that sending these msg seems impossible. and also , I am told that key/touch tap msg is destinated to the focused activity... So my question is : if I launch a service where the key pressing or screen touching is simulated, then the focusd activity(it is in other application) can receive it ??? Thanks a lot. Daniel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email 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 integrate Google maps and Facebook page and Twitter in android apps.
Facebook integration: https://developers.facebook.com/docs/reference/api/ Twitter integration: https://dev.twitter.com/ Google maps integration: http://code.google.com/android/add-ons/google-apis/ If any one of them have source code or any reference please share with me. Are you willing to pay what you are asking for? Probably not. Please know that a competent developer never asks for readyly cooked code; he writes the code himself instead. - Ali Chousein http://socialnav.blogspot.com | http://twitter.com/socialnav1 http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy http://www.codeproject.com/KB/android/PayGol-Android.aspx http://geo-filtered-assistant.blogspot.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Search a contact using phone number
I would like to retrieve the name of the contact associated with an incoming message number. I came up with the following code. Uri lookupUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(msgSender)); Cursor c = getContentResolver().query(lookupUri, new String[]{Contacts.DISPLAY_NAME},null,null,null); try { c.moveToFirst(); displayName = c.getString(0); } catch (Exception e) { // TODO: handle exception }finally{ c.close(); } The problem is, its working on emulator but not working on my mobile device. I tried restarting my phone. But still not working. I searched and found codes similar to this one but is not working on actual phone. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Does android-sdk_r18-linux.tgz/ADT 18.0.0 work on linux 64bits ?????????
It does. FWIW, my setup is Debian Wheezy, Oracle Java, Eclipse 3.7.1, everything 64 bit. I updated tools yesterday and they continune to work so far. ADT 17 changed how ProGuard is configured: http://tools.android.com/recent/proguardimprovements It's possible that the Android / C2DM plugin has not been updated yet. -- K 14 апреля 2012 г. 12:20 пользователь zousey luc...@gmail.com написал: I have used more then a week to make android-sdk_r18-linux.tgz/ADT 18.0.0 work on ubuntu11.10 without a success. The description of the problem I have installed freshed ADT 18.0.0 and SDK Tools, r18 on Eclipse :Version: Indigo Service Release 2 Build id: 20120216-1857 on ubuntu 11.10 64bits. but when I try to create App Engine Connected Android project I get the following error /home/test/DEVS2/android-sdk-linux/tools/lib/proguard.cfg (No such file or directory) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Search a contact using phone number
The problem is, its working on emulator but not working on my mobile device What exactly do you mean by not working? Is it crashing? Are you getting an exception? Does your mobile device catch on fire? Does the code cause your lights to turn on and off? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Apr 14, 2012 at 4:27 AM, Atif Farrukh atiffarr...@gmail.com wrote: The problem is, its working on emulator but not working on my mobile device -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Search a contact using phone number
I mean to say, on emulator I am able to get the contact name. But on on my phone I am not able to get the contacts name. before this code I did this: String displayName = ? after looking for contact name I did: msgDialog.setTitle(From : + displayName); the output is From : ? whereas on emulator I am getting the contact name. On Saturday, 14 April 2012 18:05:55 UTC+5, MagouyaWare wrote: The problem is, its working on emulator but not working on my mobile device What exactly do you mean by not working? Is it crashing? Are you getting an exception? Does your mobile device catch on fire? Does the code cause your lights to turn on and off? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Apr 14, 2012 at 4:27 AM, Atif Farrukh atiffarr...@gmail.comwrote: The problem is, its working on emulator but not working on my mobile device -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email 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: WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH and 4.0+ touch events not captured
Kudos for finding such an ingenious way of doing that. Unfortunately it was never intended to work. Check the documentation. On Apr 13, 7:38 pm, Bsweet tony.sa...@gmail.com wrote: I have a service that I allow other applications to bind to remotely. During key events that they record to my service, I shownn a small overlay above their app. I use the following: WindowManager.LayoutParams params; params = new WindowManager.LayoutParams(); params.flags = WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH ; params.format = PixelFormat.RGBA_; params.gravity = Gravity.CENTER; params.type = WindowManager.LayoutParams.TYPE_TOAST; windowManager.addView(this, params); Pre ICS I was able to capture the special touch event as indicated by FLAG_WATCH_OUTSIDE_TOUCH. If the touch landed in my overlay, I would launch an activity. Otherwise I would ignore the touch event. In both cases the underlying activity would receive the touch event. This all works fine until I try to use this code on ICS. Now I am unable to capture any touch events for my overlay. So in summary what I want is this: *Draw a temporary view from a remote service * Not pause the running activity * Not take all touch events from the running activity * Detect with my temporary view is touched. I realize that the method I have used in the past may not be supported. If anyone has any suggestions outside of don't do this to get the stated functionality I would very much appreciate it. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Does android-sdk_r18-linux.tgz/ADT 18.0.0 work on linux 64bits ?????????
To be specific. I have no problem of creating Android project. only I can create Android project that works fine, the problem arised when I try to create App Engine Connected Android project. then I get the error that proguard.cfg is missing. On Apr 14, 10:20 am, zousey luc...@gmail.com wrote: I have used more then a week to make android-sdk_r18-linux.tgz/ADT 18.0.0 work on ubuntu11.10 without a success. The description of the problem I have installed freshed ADT 18.0.0 and SDK Tools, r18 on Eclipse :Version: Indigo Service Release 2 Build id: 20120216-1857 on ubuntu 11.10 64bits. but when I try to create App Engine Connected Android project I get the following error /home/test/DEVS2/android-sdk-linux/tools/lib/proguard.cfg (No such file or directory) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Does android-sdk_r18-linux.tgz/ADT 18.0.0 work on linux 64bits ?????????
Yes, I already realize that. Thank you. 14 апреля 2012 г. 19:34 пользователь zousey luc...@gmail.com написал: To be specific. I have no problem of creating Android project. only I can create Android project that works fine, the problem arised when I try to create App Engine Connected Android project. then I get the error that proguard.cfg is missing. On Apr 14, 10:20 am, zousey luc...@gmail.com wrote: I have used more then a week to make android-sdk_r18-linux.tgz/ADT 18.0.0 work on ubuntu11.10 without a success. The description of the problem I have installed freshed ADT 18.0.0 and SDK Tools, r18 on Eclipse :Version: Indigo Service Release 2 Build id: 20120216-1857 on ubuntu 11.10 64bits. but when I try to create App Engine Connected Android project I get the following error /home/test/DEVS2/android-sdk-linux/tools/lib/proguard.cfg (No such file or directory) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Search a contact using phone number
I mean to say, on emulator I am able to get the contact name. But on on my phone I am not able to get the contacts name. before this code I did this: String displayName = ? after looking for contact name I did: msgDialog.setTitle(From : + displayName); the output is From : ? whereas on emulator I am getting the contact name. If that is the case then it seems that you are getting an exception from one of the statements in your try block... Try debugging to find out what the problem is. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Apr 14, 2012 at 7:28 AM, Atif Farrukh atiffarr...@gmail.com wrote: I mean to say, on emulator I am able to get the contact name. But on on my phone I am not able to get the contacts name. before this code I did this: String displayName = ? after looking for contact name I did: msgDialog.setTitle(From : + displayName); the output is From : ? whereas on emulator I am getting the contact name. On Saturday, 14 April 2012 18:05:55 UTC+5, MagouyaWare wrote: The problem is, its working on emulator but not working on my mobile device What exactly do you mean by not working? Is it crashing? Are you getting an exception? Does your mobile device catch on fire? Does the code cause your lights to turn on and off? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/**magouyawarehttp://sites.google.com/site/magouyaware On Sat, Apr 14, 2012 at 4:27 AM, Atif Farrukh atiffarr...@gmail.comwrote: The problem is, its working on emulator but not working on my mobile device -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Hello Everyone---a Quick question please
Hello everybody, i am trying to split a line to a set of strings, and i am using the following bunch of code: str = hello welcome to your application text= X, A String t1[]=str.split( ); String t2[]=text.split( ); the problem is that the strings (the original ones) are printed correctly but once it's splatted, it gets printed something like: 04-14 21:29:56.985: W/System.err(3427): ===132[Ljava.lang.String;@4462ac88 before splitting method was: 04-14 21:29:56.985: W/System.err(3427): ===133A, X Please any help will be very appreciated. cheers. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android Dex is giving a message when try to import a external library
This is a recently problem with the new SDK for Android. Now Android SDK uses the ANT convention when import external jars to the apk package, the external jars must be on the lib folder and the SDK ever will export the jars from that folder. My problem is when i add my jars and run my project i get this message: trouble processing javax/transaction/HeuristicCommitException.class: Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library. This is often due to inadvertently including a core library file in your application's project, when using an IDE (such as Eclipse). If you are sure you're not intentionally defining a core class, then this is the most likely explanation of what's going on. However, you might actually be trying to define a class in a core namespace, the source of which you may have taken, for example, from a non-Android virtual machine project. This will most assuredly not work. At a minimum, it jeopardizes the compatibility of your app with future versions of the platform. It is also often of questionable legality. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine distribution, as opposed to compiling an application -- then use the --core-library option to suppress this error message. If you go ahead and use --core-library but are in fact building an application, then be forewarned that your application will still fail to build or run, at some point. Please be prepared for angry customers who find, for example, that your application ceases to function once they upgrade their operating system. You will be to blame for this problem. If you are legitimately using some code that happens to be in a core package, then the easiest safe alternative you have is to repackage that code. That is, move the classes in question into your own package namespace. This means that they will never be in conflict with core system classes. JarJar is a tool that may help you in this endeavor. If you find that you cannot do this, then that is an indication that the path you are on will ultimately lead to pain, suffering, grief, and lamentation. i have read about this message here and other forums, some people says that the Android.jar is the problem so removing will fix it. But i can't found that Android.jar, except the Android librar that can't be removed. This issue about import libraries to android it's making me mad because my application was working very good. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] forcing slidingDrawer content always in landscape mode
Hallo! My activity contains a Slidingdrawer. How is it possible that the content of the sliding drawer is always in landscape mode, even if the phone is in portrait mode? This means that when the sliding drawer is open the orientation switches to landscape, no matter what the orientation of the phone is. The rest of the activity (apart from the content of the sliding drawer) should behave as normal, when the phone is rotated. Thanks Charlie -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Hello Everyone---a Quick question please
This isn't an android question... This is more of a really beginner java question. That being said, what are you doing to print out the strings? http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#split%28java.lang.String%29 Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Apr 14, 2012 at 2:49 PM, Soyer mblack...@gmail.com wrote: Hello everybody, i am trying to split a line to a set of strings, and i am using the following bunch of code: str = hello welcome to your application text= X, A String t1[]=str.split( ); String t2[]=text.split( ); the problem is that the strings (the original ones) are printed correctly but once it's splatted, it gets printed something like: 04-14 21:29:56.985: W/System.err(3427): ===132[Ljava.lang.String;@4462ac88 before splitting method was: 04-14 21:29:56.985: W/System.err(3427): ===133A, X Please any help will be very appreciated. cheers. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email 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: Demo/Full Game options on Google Play
The best way at the moment to beat the crackers it to use native code to do things like checking the signature matches an expected hash. You have to do other fancy stuff like encrypting some of that to further hide the logic. But don't be under any illusion - native code is tougher than java and requires a lot more time to get it right. You also need to plumb it into lots of places in your app and make it something essential otherwise it's just as easy for a hacker to stub it out quickly. Unfortuntely there's a new app in town called LuckyPatcher. I haven't looked at it in any detail, but I think it patches the dalvik cache so the app still has the same signature according to the packagemanager, but different code is executed including a few crafty return true statements stuck in certain places in your app. But I think they still have to use similar logic to antilvl to patch your app in the first place. I'd suggest you make your lvl code a lot more tricker to subvert - antilvl uses scripts and easy to see logic. If you do something different, the scripts backfire and someone has to manually read all the smali wich takes a lot of time and is easy to miss some crafty code. So add dummy parameters in most of the methods in the lvl so the signatures don't match. Add extra logic to some of the important methods so you can easily spot if the whole method isn't executed. Change the spelling of some of the enums by adding an extra charcter here or there. It all makes things a lot harder. Ensure you use proguard! On Apr 12, 8:42 pm, Kristopher Micinski krismicin...@gmail.com wrote: This blog looks more script kiddie-ish than you'd want... the posts are mostly about using smali to do things with apps and inspect your bytecode... In general the people you should be afraid of probably won't have blogs :-P kris 2012/4/12 Kostya Vasilyev kmans...@gmail.com: This is the top result when Googling for android application cracking: http://androidcracking.blogspot.com/ for educational purposes only, of course. It should give you an idea of what kinds of attacks your application might be subjected to. There might be even be a script or two to test your own protection scheme. -- K 12 ÁÐÒÅÌÑ 2012šÇ. 23:17 ÐÏÌØÚÏ×ÁÔÅÌØ Latimerius l4t1m3r...@googlemail.com ÎÁÐÉÓÁÌ: 2012/4/12 Kostya Vasilyev kmans...@gmail.com: Class.forName is just as easy to identify asšgetPackageManager.getPackageInfo... IIRC, the script I was referring to earlier could handle reflection... So I assume reflection could only be of significant help if you a) use it a lot, not just to hide your security-related calls, and b) obfuscate your strings properly. šPoint a) would be hard to achieve in my case. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: forcing slidingDrawer content always in landscape mode
simply counter-rotate your sliding drawer when you handle the rotation to portrait. On Saturday, April 14, 2012 5:54:31 PM UTC-4, charlie babitt wrote: Hallo! My activity contains a Slidingdrawer. How is it possible that the content of the sliding drawer is always in landscape mode, even if the phone is in portrait mode? This means that when the sliding drawer is open the orientation switches to landscape, no matter what the orientation of the phone is. The rest of the activity (apart from the content of the sliding drawer) should behave as normal, when the phone is rotated. Thanks Charlie -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email 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 two devices connected by USB
I can send and receive information from one device to another by usb. android two devices connected by USB. eg send commands -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Program crashes on Android 4.0.4 but not on 2.3.3
Hello, I am trying to understand what may be happening in my program. I don't get any indication as to why it is crashing, but the basic flow is: First activity starts user selects to see map Remote Service starts up Almost immediately after binding to and calling onStart on the service the mapview activity dies. There is nothing in the logcat to help explain what may be going on. This works fine on 2.3.3. This is from my manifest: uses-sdk android:minSdkVersion=7 android:targetSdkVersion=11 / I don't know if it could have anything to do with this. Any idea how I may want to gather more information? I put a breakpoint in onDestroy but that didn't help in any way. When I don't bind to the service it still exits, so it appears the problem has nothing to do with the service. -- I know that you believe you understandst what you think I said, but I'm not sure you realize that what you heard is not what I meant. - Robert McCloskey -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Program crashes on Android 4.0.4 but not on 2.3.3
On Sat, Apr 14, 2012 at 11:06 PM, James Black planiturth...@gmail.comwrote: Almost immediately after binding to and calling onStart on the service the mapview activity dies. Can you elaborate on dies? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en