[android-developers] Re: Designed for tablets with both minSdkVersion and targetSdkVersion tags?
So is there any way to keep an app tab compatible, while using both the targetSdkVersion and minSdkVersion tags? On Tuesday, August 13, 2013 10:11:50 AM UTC+2, MobileVisuals wrote: I am implementing the new Designed for tablets specification on GP. It is easy to implement and get it to work for live wallpapers. I replace uses-sdk android:minSdkVersion=7 / with uses-sdk android:targetSdkVersion=11 / in the manifest. I wonder if there is any way of having both of the minSdkVersion and targetSdkVersion tags in the manifest? I get a message that the app is not Designed for tablets when I try to include both of these tags. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Can not debug Galaxy s4 mini
I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How to achieve functionality of ListView FastScroll in Chrome for Android
How is this related to Android Developers? On Monday, August 19, 2013 3:25:05 AM UTC+3, anaran wrote: Hi All! I am trying to convert an app I wrote from a native android ListView with FastScroll to an offline-capable web app. The stock Chrome on Windows scrollbar thumb allows me to quickly dash down a long list of items (arranged in a table) by just dragging the scrollbar thumb. Now back on Android neither Chrome for Android nor Firefox for Android seem to support a scrollbar thumb. Both just display a slim proportional scrollbar track, which resists being dragged. I can at least scroll pagewise by clicking in the track-piece, but that's still too tedious when the list occasionally contains a few hundred items. See http://css-tricks.com/custom-scrollbars-in-webkit/ (specifically http://cdn.css-tricks.com/wp-content/uploads/2011/05/scrollbarparts.png) for the terminology I used. While Chrome on Windows honors ::-webkit-scrollbar-thumb { ::-webkit-scrollbar { ::-webkit-scrollbar-track { they have no effect on Chrome for Android. Any pointers would be great! Anxiously, anaran -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Can not debug Galaxy s4 mini
It's because it says the device is offline. disconnect it from the computer and plug it back in. if it wont change to online try switching USB ports. If still offline, restart the device. On Monday, August 19, 2013 11:14:29 AM UTC+3, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Thoughts of the design and development in an android environment
Hello Everyone, I have got a software design question which is related to android development (because I have already started to develop it in android.) But there is a few things I want to know and have idea's about. The system It is about an adnroid app which is created to run on tabs. The App will be used in an production environment. Meaning on an assembly line. At the beginning of the line the product is added to the system and on two other places on the line these products need to be updated with some information, which the user will fill in. So to be concrete: There will be 3 android tabs which will have to be connected to the same database. Preferably a website or maybe one tab can serve as a master and the other devices as a slave. Also there is 3 tabs which all work on the same app but with a diffrent view. Also I would like to know wether it is possible to handle a FIFO (first in first out) system on this. Meaning when the person on screen 1 adds a product to the system, the second person wil automatically get this record on his screen. And the second one after he finish to handle the first product. I would be very much interested on how to set this up in an android environment. Concrete questions So here are my concreet questions: 1. How would you combine 3 tabs to work on one and the same app. 2. Is it possible to do this in an master/slave environment 3. Can you have the 3 devices to work from a different view (Fracgment / Activity) on the same app. 4. What are the options in case there is a weak internet connection? Local/ networks / internet etc. 5. Any suggestion for good hardware to use? Thanks very much. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] JNI
Hi Still making it clear of what actually my doubt is I have android project(name cpp) with NDK built, and it has wrapper classes .so file also Now in order to use the native functions present in this wrapper classes do I have to copy the wrapper classes and lib folder in my android test project? On Monday, August 19, 2013 9:08:56 AM UTC+5:30, janvi wrote: Sorry to trouble you by asking the same question,but iam completely new to this My doubt is I have a seperate CPP project which has .so file in its lib folder. I have android project which is seperate project now Iam confused of how to use this CPP project in my android app On Sunday, August 18, 2013 12:58:34 PM UTC+5:30, Piren wrote: you were already answered - in the libs folder under the proper architecture name, where it was placed by the build process. Also, you should just follow the samples provided. On Sunday, August 18, 2013 8:28:53 AM UTC+3, janvi wrote: Hi Ya .so with ndk built is given to me which I have to use . My doubt is how to use this built file in my android app. Plz help me out with this Thanks in advance On Sunday, August 18, 2013 12:26:50 AM UTC+5:30, RichardC wrote: Did you build your .so with ndk-build? If you did it should already be in the correct folder below libs. As Android support multiple native architectures each ABI is in a separate folder below libs, see the NDK docs for the folder names. On Saturday, August 17, 2013 3:21:38 PM UTC+1, janvi wrote: Hi Thanks for your reply... I have read this post and got info I have one doubt in this like Do I have to paste the .so file in the lib folder of my android project to access native functions? Plz help me with this ... Thanks in advance... On Saturday, August 17, 2013 5:15:49 PM UTC+5:30, mbanzon wrote: Please look at this documentation: http://developer.android.com/tools/sdk/ndk/index.html On Sat, Aug 17, 2013 at 12:19 PM, janvi jagruth...@gmail.com wrote: Hi All Iam new to JNI concepts Need your help in the following topic I have an android app(seperate project) and functions which this app performs are written using CPP and I have wrapper classes for all of these functions. I need info on how to call these functions from my android app. Plz post an example too in this regard it would be helpful 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-d...@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Michael Banzon http://michaelbanzon.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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Solve permission denied error when using SystemProperties.set()
Hi, I’ve a problem of not having enough permissions for setting a “persist.x” property from one of the applications. This application shares the UserId of the phone so I tried to hack in property_service.c and add an entry: {“persist.”, AID_RADIO, 0} in property_perms structure. After this I was able to set the property but without this I get a “permission denied” error. I get this error: init: sys_prop: permission denied uid:1001 name:persist.x Does anyone know how to solve permission denied error ? 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How to achieve functionality of ListView FastScroll in Chrome for Android?
On Monday, August 19, 2013 10:51:55 AM UTC+2, Piren wrote: How is this related to Android Developers? Hello Piren, thanks for your feedback/concern. I chose to ask in the android-developers forum for two reasons: 1. Only people with knowledge of android ListView and FastScroll would understand my problem and be able to help. 2. Other android developers may have tried the same route and succeeded or failed. I hope to learn from their feedback. Any suggestions? On Monday, August 19, 2013 3:25:05 AM UTC+3, anaran wrote: Hi All! I am trying to convert an app I wrote from a native android ListView with FastScroll to an offline-capable web app. The stock Chrome on Windows scrollbar thumb allows me to quickly dash down a long list of items (arranged in a table) by just dragging the scrollbar thumb. Now back on Android neither Chrome for Android nor Firefox for Android seem to support a scrollbar thumb. Both just display a slim proportional scrollbar track, which resists being dragged. I can at least scroll pagewise by clicking in the track-piece, but that's still too tedious when the list occasionally contains a few hundred items. See http://css-tricks.com/custom-scrollbars-in-webkit/ (specifically http://cdn.css-tricks.com/wp-content/uploads/2011/05/scrollbarparts.png) for the terminology I used. While Chrome on Windows honors ::-webkit-scrollbar-thumb { ::-webkit-scrollbar { ::-webkit-scrollbar-track { they have no effect on Chrome for Android. Any pointers would be great! Anxiously, anaran -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Thoughts of the design and development in an android environment
First thing first, a tab is not a good shortcut for the word tablet since it already has meaning when it comes to android development (and any UI development actually), only halfway through your post i understood what you want. Regarding the rest of your post, it has nothing at all to do with Android development... that's just random development which just happens to run on Android, so this isn't really the appropriate place to ask such questions. I'll try and answer your questions anyhow: How would you combine 3 tabs to work on one and the same app. If you mean same app as running just the software, just install it on all devices. If you mean the exact same INSTANCE of the app, no, you can't (well, i guess it is possible theoretically, but i wouldn't go there). You can however run one instance of the app on one device and then use VNC and alike to broadcast it to other devices (they don't run the app, they just show it and allow you to control it remotely), but that requires a good internet connection and would also cause issues if you plan on letting multiple users use it at the same time. Is it possible to do this in an master/slave environment Assuming we're now talking about multiple different instances of the app on different devices, sure, why not. Can you have the 3 devices to work from a different view (Fracgment / Activity) on the same app. same as the first question. What are the options in case there is a weak internet connection? Local/ networks / internet etc. If by Internet connection you mean access to the web, it isn't mandatory. you can use local networks and run a local web service on the network (which can be one of the devices). But you would need some kind of active connection between the devices, or at least some way to physically move information between them (NFC is a good choice i guess) Any suggestion for good hardware to use? Not really On Monday, August 19, 2013 12:07:38 PM UTC+3, Jigal sanders wrote: Hello Everyone, I have got a software design question which is related to android development (because I have already started to develop it in android.) But there is a few things I want to know and have idea's about. The system It is about an adnroid app which is created to run on tabs. The App will be used in an production environment. Meaning on an assembly line. At the beginning of the line the product is added to the system and on two other places on the line these products need to be updated with some information, which the user will fill in. So to be concrete: There will be 3 android tabs which will have to be connected to the same database. Preferably a website or maybe one tab can serve as a master and the other devices as a slave. Also there is 3 tabs which all work on the same app but with a diffrent view. Also I would like to know wether it is possible to handle a FIFO (first in first out) system on this. Meaning when the person on screen 1 adds a product to the system, the second person wil automatically get this record on his screen. And the second one after he finish to handle the first product. I would be very much interested on how to set this up in an android environment. Concrete questions So here are my concreet questions: 1. How would you combine 3 tabs to work on one and the same app. 2. Is it possible to do this in an master/slave environment 3. Can you have the 3 devices to work from a different view (Fracgment / Activity) on the same app. 4. What are the options in case there is a weak internet connection? Local/ networks / internet etc. 5. Any suggestion for good hardware to use? Thanks very much. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How to achieve functionality of ListView FastScroll in Chrome for Android?
But you're not asking about ListView or FastScroll... you're asking about Chrome for Android and writing HTML. On Monday, August 19, 2013 1:52:54 PM UTC+3, anaran wrote: On Monday, August 19, 2013 10:51:55 AM UTC+2, Piren wrote: How is this related to Android Developers? Hello Piren, thanks for your feedback/concern. I chose to ask in the android-developers forum for two reasons: 1. Only people with knowledge of android ListView and FastScroll would understand my problem and be able to help. 2. Other android developers may have tried the same route and succeeded or failed. I hope to learn from their feedback. Any suggestions? On Monday, August 19, 2013 3:25:05 AM UTC+3, anaran wrote: Hi All! I am trying to convert an app I wrote from a native android ListView with FastScroll to an offline-capable web app. The stock Chrome on Windows scrollbar thumb allows me to quickly dash down a long list of items (arranged in a table) by just dragging the scrollbar thumb. Now back on Android neither Chrome for Android nor Firefox for Android seem to support a scrollbar thumb. Both just display a slim proportional scrollbar track, which resists being dragged. I can at least scroll pagewise by clicking in the track-piece, but that's still too tedious when the list occasionally contains a few hundred items. See http://css-tricks.com/custom-scrollbars-in-webkit/ (specifically http://cdn.css-tricks.com/wp-content/uploads/2011/05/scrollbarparts.png) for the terminology I used. While Chrome on Windows honors ::-webkit-scrollbar-thumb { ::-webkit-scrollbar { ::-webkit-scrollbar-track { they have no effect on Chrome for Android. Any pointers would be great! Anxiously, anaran -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Can not debug Galaxy s4 mini
I have restarted the device several times and I have tried every USB port on the PC. It is still the same problem. Do you know how I can proceed to get this fixed? On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Can not debug Galaxy s4 mini
It says target unknown and state offline. I currently don't have a SIM card or a internet connection in the mobile. Is that why it doesn't work? I am waiting to get the SIM card from the operator in my mail. On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Fwd: Google map is not showing
There get two reasons why the Map is not showing. 1. check the API key. 2. while creating the key make sure you have copied the SHA1 key only and also put down the right package name. On Sat, Aug 17, 2013 at 10:17 AM, nemi chhimpa ern...@gmail.com wrote: -- Forwarded message -- From: nemi chhimpa ern...@gmail.com Date: Wed, Aug 14, 2013 at 7:39 PM Subject: Google map is not showing To: android-developers@googlegroups.com Hi friends, I am using map api android v2 for google map. It is only showing the zoom control button and blank map. I followed all steps mention in google map api v2 doc. In logcat, unable to find Lmap message showing. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] GCM based sample app link
There are many tutorials which can helps you in understanding and setting up the GCM, basically it is a two way, first create the Server ID And the API Key and also create a server app which actually sends the notification to the GCM using the Project key. with the help of the Google documentation i have successfully implemented the Java server part and the Andoid google part. http://developer.android.com/google/gcm/demo.html On Wed, Aug 14, 2013 at 6:49 PM, Shadab Khatib shadab.kha...@gmail.comwrote: Hello Can someone post the link of the GCM based Client sample app link provided by Google licensed under Apache License 2.0 similar to the sample apps in the tutorials to all other simple features of UI design. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Can not debug Galaxy s4 mini
I had the same problem, the first thing is , restart your device and enable the USB Debugging setting uncheck and check. On Mon, Aug 19, 2013 at 6:07 PM, MobileVisuals eyv...@astralvisuals.comwrote: It says target unknown and state offline. I currently don't have a SIM card or a internet connection in the mobile. Is that why it doesn't work? I am waiting to get the SIM card from the operator in my mail. On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/**deb.jpghttp://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?**v=W4geZOSXzO8http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Can not debug Galaxy s4 mini
you dont need a sim card. Try Mukesh's suggestion and try restarting the ADB server (adb kill-server and then adb start-server). Also, as a last option, be sure to use the original USB cable that you got with your device. I'm not sure why (or how it's even possible), but i've already noticed that some devices don't play well with USB cables from other manufactures (especially Samsung devices). On Monday, August 19, 2013 3:37:45 PM UTC+3, MobileVisuals wrote: It says target unknown and state offline. I currently don't have a SIM card or a internet connection in the mobile. Is that why it doesn't work? I am waiting to get the SIM card from the operator in my mail. On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] NoClassDefFound Exception, when using imported jar from libs folder
I am trying referencing a *libs* folder in my project. *1.)* I created a simple jar with one single dummy class ImportableDummy.java and exported the project as a jar. *Jar Project:* [image: enter image description here] *2.)* Then I put the jar into the *libs folder* inside my Project. The lib is then listed under Private Libraries: *Jar referencing Project:* [image: enter image description here] [image: enter image description here] *3.)* At least I doublechecked, that the PrivateLibraries are marked as exported [image: enter image description here] *QUESTION:* Still there is a java.lang.NoClassDefFoundError: com.test.my.ImportableDummy exception, when I run the App. During compileTime the class is perfectly found by the compiler. What am I missing? - P.S. A tried to create a separate lib project for the jar too, with the same result. - P.P.S. I started Eclipse with the -clean argument with no result -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Can not debug Galaxy s4 mini
I did as Mukesh wrote, but it is still the same problem. I am using the original USB cable. Isn't the ADB server running on the mobile device? If so, do I have to unroot the mobile to execute the adb kill-server command? On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: NoClassDefFound Exception, when using imported jar from libs folder
You screenshot shows that your Java library project is built using JavaSE-1.7. Unfortunately that does not work. You have to set the Java compiler version to 1.6 for that project. On Monday, August 19, 2013 8:33:44 AM UTC-5, Skip wrote: I am trying referencing a *libs* folder in my project. *1.)* I created a simple jar with one single dummy class ImportableDummy.java and exported the project as a jar. *Jar Project:* [image: enter image description here] *2.)* Then I put the jar into the *libs folder* inside my Project. The lib is then listed under Private Libraries: *Jar referencing Project:* [image: enter image description here] [image: enter image description here] *3.)* At least I doublechecked, that the PrivateLibraries are marked as exported [image: enter image description here] *QUESTION:* Still there is a java.lang.NoClassDefFoundError: com.test.my.ImportableDummy exception, when I run the App. During compileTime the class is perfectly found by the compiler. What am I missing? - P.S. A tried to create a separate lib project for the jar too, with the same result. - P.P.S. I started Eclipse with the -clean argument with no result -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Can not debug Galaxy s4 mini
Does your phone show some popup message when you try to debug it from your PC? Beginning with 4.2.2 there is a secure USB debugging feature. You have to explicitly authorize a host computer: http://android-developers.blogspot.com/2013/02/security-enhancements-in-jelly-bean.html If you set up your phone with multiple user accounts make sure to switch to the primary user count (the first one created) to see that opt-in message. On Monday, August 19, 2013 9:15:58 AM UTC-5, MobileVisuals wrote: I did as Mukesh wrote, but it is still the same problem. I am using the original USB cable. Isn't the ADB server running on the mobile device? If so, do I have to unroot the mobile to execute the adb kill-server command? On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Can not debug Galaxy s4 mini
run it on your development computer, not on the device. On Monday, August 19, 2013 5:15:58 PM UTC+3, MobileVisuals wrote: I did as Mukesh wrote, but it is still the same problem. I am using the original USB cable. Isn't the ADB server running on the mobile device? If so, do I have to unroot the mobile to execute the adb kill-server command? On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Media.insertImage crash on latest Nexus 7
Hi, I have a painting app which works for many years, tested fine under last Nexus 7 and even Nexus 4 with 4.3 update... failed on the latest Nexus 7! When I save a file - this code works for all devices except latest Nexus 7. -- String fileURL = Media.insertImage(getContentResolver(), bitmap, KidsPaint, Picture); if (fileURL != null) { Uri uri = Uri.parse(fileURL); sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, uri)); } -- In latest Nexus 7 I got the following error messages - what have I done wrong? Any suggestions, thanks! 08-19 22:44:58.798: E/MediaStore(11181): Failed to insert image 08-19 22:44:58.798: E/MediaStore(11181): java.io.FileNotFoundException: No such file or directory 08-19 22:44:58.798: E/MediaStore(11181): at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146) 08-19 22:44:58.798: E/MediaStore(11181): at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:577) 08-19 22:44:58.798: E/MediaStore(11181): at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:673) 08-19 22:44:58.798: E/MediaStore(11181): at android.content.ContentResolver.openOutputStream(ContentResolver.java:537) 08-19 22:44:58.798: E/MediaStore(11181): at android.content.ContentResolver.openOutputStream(ContentResolver.java:513) 08-19 22:44:58.798: E/MediaStore(11181): at android.provider.MediaStore$Images$Media.insertImage(MediaStore.java:891) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Any suggestions for Ad platform in addition to AdMob
On Saturday, August 17, 2013 5:31:43 PM UTC-7, limtc wrote: Thanks pal. I am just afraid of putting all the eggs in one basket. I have a popular simple app with a simple banner ad got banned by AdMob simply because it got too many clicks and I have to appeal (why can't they send me a letter and ask first). :( That sucks and makes me lost confident in AdMob as a whole. I would assume that you must have done something wrong if not for the fact that AdMob blocked me when I *wasn't even showing ads. I had not even used my Admob account since July 2010, and was just logging in to see if I could get it going for a future app. I was locked out for invalid clicks. I'm sure whatever clicks they were were invalid, since I didn't have any valid ones. It is not in their nature to ask first. I was not even notified until I tried to log in. Nathan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Any suggestions for Ad platform in addition to AdMob
Email updates to me [image: Attach a file] Attach a file Edit subject Quote original Add Cc Thanks, everyone, for the great discussion. I am just getting started in the advertising space. 1. Test and experiment 2. Watch out for SDK bloat. Don't ship your app with a gazillion SDKs. Unfortunately, these appear to be in direct conflict. Is mediation supposed to solve this? Well, if I look at this chart. https://developers.google.com/mobile-ads-sdk/docs/admob/mediation-networks It appears, if I'm not mistaken, that ALL of the networks mentioned require both an SDK and an adapter component. And the four that were listed by Miguel as the top four, weren't even on this list, which either means they can't be mediated or I get to write my own adapters. So no chance of trying out 20 ad networks without integrating 20 SDKs and 20 adapters. Any one of the SDKs or adapters could have some stupid bug and bring the whole app down. In the meantime, my APK is of abnormal size. If I look at MoPub, it advertises Server to server integration, which might mean you need less SDKs. IT does have some footnotes. Note that in some cases, rich media and interstitial formats are only available through native SDK integrations. I don't know if, in practice, this works out to less SDKS. If it does, that is a desirable goal. And do most SDKs require the awful READ_PHONE_STATE permission? Nathan On Saturday, August 17, 2013 8:16:31 PM UTC-7, Miguel Morales wrote: Hi, I work for an monetization startup so i think i can weigh in on this. We're currently not on Android, so i think i can be fair. The networks beside us I can recommend are: Chartboost AdColony Burstly Mopub Most Ad SDKs give you a no fill response so you can always build your own waterfall or go for a mediation platform. Miguel. On Sat, Aug 17, 2013 at 7:09 PM, limtc thye...@gmail.com javascript:wrote: Thanks Kris! Now the problem is too many choices... anyone particularly good (especially work fine in additional to AdMob - means if AdMob has not enough ads, this takes over)? http://appflood.com/blog/list-**of-mobile-ad-networks-**february-2013http://appflood.com/blog/list-of-mobile-ad-networks-february-2013 gives a pretty comprehensive list... Kris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Can not debug Galaxy s4 mini
You are right, Nobu! The information on the link that you provided says If your development device appears in offline state, you may need to update ADB. I followed the information in http://stackoverflow.com/questions/17916966/missing-sdk-platform-android-api-18 It worked then. On Monday, August 19, 2013 10:14:29 AM UTC+2, MobileVisuals wrote: I can not debug my Galaxy s4 mini. Android device chooser starts, but the OK button is greyed out. This makes it impossible to proceed. It looks like the screenshot here: http://www.mobile-visuals.com/deb.jpg How should I proceed to get this working? Does this happen because the target has the unknown status on the device? I followed this guide to set the debugging on the device: http://www.youtube.com/watch?v=W4geZOSXzO8 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: to fill an object with return after POST
I use @Background void login(UserWrapper userWrapper){ try { userRestClient.login(userWrapper); sucessLogin(userWrapper); } catch (RestClientException e) { errorLogin(); } } @UiThread void sucessLogin(UserWrapper userWrapper){ pd.dismiss(); Log.d(APP, userWrapper.user.getFirstname()); Intent homeActivity = new Intent(LoginActivity.this, HomeActivity_.class); LoginActivity.this.startActivity(homeActivity); finish(); } but 08-19 14:31:54.086: E/LoginActivity_(13764): A runtime exception any iwas thrown while executing code in a runnable Any Idea? 2013/8/16 Ricardo Cardoso rick@gmail.com I did the below codes to log into my system @Post https://github.com/Post(/api/v1/sessions.json) User login(UserWrapper user); With that I have to return my webservice ender :status = 200, :json = { :success = true, :info = Logged in, :data = { :user = resource, :auth_token = current_user.authentication_token } } My doubt is how to catch the return from webservice and populate the User object? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Detect when Google Maps API v1 has put up initial map..
Hi All, I've already looked at some related posts, but what I've tried isn't working. I have an Overlay where I draw some objects, but they always appear first, on the graph background, then the Google Map finally shows up a few seconds later. I wanted to be able to wait till the map has been drawn, then do my drawing, if that's possible. I tried creating a loop waiting for: mapView.canCoverCenter() and mapView.getLatitudeSpan() waiting for them to return something, but they don't get anything, and it sits there pretty much forever. This is after I've set up: mapView.setTraffic(false); mapView.setBuiltInZoomControls(true); etc. Is there any way to do this? 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Webscokets
@Kristopher Thanks very much. I found these - https://github.com/koush/AndroidAsync too. It is a Socket.io websocket client. 2013/8/13 Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com OMG i came to post the same links Kristopher :P !! Υou got me :P On Tue, Aug 13, 2013 at 4:47 PM, Kristopher Micinski krismicin...@gmail.com wrote: I can point you at: http://stackoverflow.com/questions/16675450/support-for-websockets-on-android http://autobahn.ws/ https://github.com/koush/android-websockets But don't have any personal experience with either. Kris On Tue, Aug 13, 2013 at 9:37 AM, Gink Labrev gink.lab...@gmail.comwrote: Thanks. Could you suggest a third party alternative ? I have searched for it without success. I am developing a chat. I have a Node.js Socket.io server implementation. Regards, 2013/8/12 Kristopher Micinski krismicin...@gmail.com Not in the SDK to my knowledge. But what are you trying to do? There are a lot of third party providers that offer good / sane Android alternatives to Websockets, depending on your use case. Kris On Mon, Aug 12, 2013 at 2:21 PM, Gink Labrev gink.lab...@gmail.comwrote: Hello everyone. Does Android implement the Java API for WebSocket (JSR-356) ? http://docs.oracle.com/javaee/7/tutorial/doc/websocket.htm http://jcp.org/aboutJava/communityprocess/final/jsr356/index.html If not, is there a component that allows to use Websockets in Android ? Regards, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- *Παύλος-Πέτρος Τουρνάρης* *Android Software Developer* - *http://goo.gl/TsJ8u* - *http://acschedule.org* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit
Re: [android-developers] Any suggestions for Ad platform in addition to AdMob
Nathan, I think you may have to do less work if you use Burstly or Mopub as your mediation platform and demote admob to a second class citizen. The require less SDK integrations. You are right, the rich media ad units are the ones that will give you the most bang per impression. I'm not as familiar with Mopub, but i know burstly can deliver rich media ad units from many 3rd party networks into their SDKs. I *believe* they built their system where it takes into account the permissions available and delivers the appropriate ads. At the very least you could just have the INTERNET permission to be able to load most ad units. Doing s2s integrations would take some serious time and resources. It boils down to having your own server and support MRAIDv2 in your application. Mopub has open source MRAID compliant SDKs that you can drop into your application. This will take down bloat and give you full control but it'll take a long time to develop. A prepackaged solution like Burstly might be your best choice. In which case you could use something like Chartboost (static images, high cpm) and supplement it with admob or something. The highest paid networks, though, will have you install an SDK simply because of the complexities of the ad unit. There are a few choices and it depends on your scenario. On Mon, Aug 19, 2013 at 9:58 AM, Nathan nathan.d.mel...@gmail.com wrote: Email updates to me [image: Attach a file] Attach a file Edit subject Quote original Add Cc Thanks, everyone, for the great discussion. I am just getting started in the advertising space. 1. Test and experiment 2. Watch out for SDK bloat. Don't ship your app with a gazillion SDKs. Unfortunately, these appear to be in direct conflict. Is mediation supposed to solve this? Well, if I look at this chart. https://developers.google.com/mobile-ads-sdk/docs/admob/mediation-networks It appears, if I'm not mistaken, that ALL of the networks mentioned require both an SDK and an adapter component. And the four that were listed by Miguel as the top four, weren't even on this list, which either means they can't be mediated or I get to write my own adapters. So no chance of trying out 20 ad networks without integrating 20 SDKs and 20 adapters. Any one of the SDKs or adapters could have some stupid bug and bring the whole app down. In the meantime, my APK is of abnormal size. If I look at MoPub, it advertises Server to server integration, which might mean you need less SDKs. IT does have some footnotes. Note that in some cases, rich media and interstitial formats are only available through native SDK integrations. I don't know if, in practice, this works out to less SDKS. If it does, that is a desirable goal. And do most SDKs require the awful READ_PHONE_STATE permission? Nathan On Saturday, August 17, 2013 8:16:31 PM UTC-7, Miguel Morales wrote: Hi, I work for an monetization startup so i think i can weigh in on this. We're currently not on Android, so i think i can be fair. The networks beside us I can recommend are: Chartboost AdColony Burstly Mopub Most Ad SDKs give you a no fill response so you can always build your own waterfall or go for a mediation platform. Miguel. On Sat, Aug 17, 2013 at 7:09 PM, limtc thye...@gmail.com wrote: Thanks Kris! Now the problem is too many choices... anyone particularly good (especially work fine in additional to AdMob - means if AdMob has not enough ads, this takes over)? http://appflood.com/blog/list-of-mobile-ad-networks-**february** -2013http://appflood.com/blog/list-of-mobile-ad-networks-february-2013 gives a pretty comprehensive list... Kris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop
[android-developers] How do I call a service, to retrieve data, from a content provider?
I'm trying to implement a pattern of accessing data source, independently if it's local or remote, using a content provider. So, inside the content provider, for example in the query method: public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {...} I want to, check if data is stored locally, if not, then call the webservice, on response save and return it. Typical request process with a local cache. Now to get the data from the webservice, I wanted to use a service. Because I want that once started, it will receive and process the response, even if the user exits the app / the system kills it, etc. Note: I don't need to use anything synchronous here, since I'm already running the query to the content provider asynchronouly (AsyncQueryHandler). So I think I have to use Service instead of e.g. IntentService. The idea with the service is to have a method to call the webservice: public WebserviceResponse callWebservice(params) {...} And in ContentProvider.query(): WebserviceResponse response = myService.callWebservice(params); But the problem is that I can't find how to ensure that the service is already bound before the first query. If I bind it in ContentProvider.onCreate: @Override public boolean onCreate() { final Context context = getContext(); dbHelper = new DatabaseHelper(context); context.bindService(new Intent(context, MyService.class), mConnection, Context.BIND_AUTO_CREATE); return true; } Where mConnection is: private ServiceConnection mConnection = new ServiceConnection() { public void onServiceConnected(ComponentName className, IBinder binder) { myService = ((MyService.MyBinder) binder).getService(); } public void onServiceDisconnected(ComponentName className) { myService = null; } }; And I do a query using this content provider in my activity's onCreate(), the service is not bound yet and I get an exception when I try to use it. A way around I can think of, is to call the webservice directly - without a service - from the content provider. This will be synchronous and I can process the response without problems there. But it has mentioned disadvantage that the call can be interrupted and the data not processed. It's not the end of the world - the next time the user opens the app, the webservice would be called again. But I still would like to not have it that way. A second possibility I can think of, is to invert this logic and do the access to the content provider in a (asynchronous) service. But here I have a different problem, which is that, afair, the async service (IntentService) communicates with the caller though with IPC and this is not supposed to pass large amounts of data. So I would have again to wrap this in some other logic which after service is finished checks a flag and retrieves data, this time directly from the content provider. This would also mean to start a second async query. I already came up with an architecture that works, but it's quite complex. It: 1. Does async query to the content provider 2. If there's no data, starts an IntentService to get it from remote. 3. After the service finishes it returns a flag, and then, does again async query to get the data which was saved by the webservice. I would like to simplify it, that's why I'm asking this. So is there any way that I can use the service in the content provider, or any other approach, or advice you would recommend? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Fragments navigation and backstack issue
Hi, thanks. This is not quite what I need, but the OnBackStackChangedListener could be useful. I ended just enabling the default behaviour of letting the backstack increase endlessly when the user switches screens with the navigation. Somebody in StackOverflow adviced this, in order to not confuse the users. On the other side I think it's bad if the app crashes because out of memory. But I let it like that because I hadn't more time. Am Sonntag, 4. August 2013 18:13:56 UTC+2 schrieb Nobu Games: Hi! I remember the pain with fragments and the back stack while working on an app last year. My solution was the following. In the activity's onCreate method I would do the following: FragmentManager fm = getSupportFragmentManager(); fm.addOnBackStackChangedListener(new OnBackStackChangedListener() { @Override public void onBackStackChanged() { FragmentManager fm = getSupportFragmentManager(); if(fm.getBackStackEntryCount() == 0) { finish(); } } }); It basically listens to fragment back stack changes and forces the Activity to finish when the stack is empty On Sunday, August 4, 2013 4:47:47 AM UTC-5, user123 wrote: Im trying to implement a fragment based navigation pattern, which can be reduced to this: https://lh4.googleusercontent.com/-Ws0I4LcPFNA/Uf4irMURI3I/A0s/D1wYtJBCwXc/s1600/screen2.png https://lh4.googleusercontent.com/-4CuK_LmDSxA/Uf4iuRVg4cI/A00/ht6e2Pt1y48/s1600/sk.png In words: There is: - Home fragment - Fragment A - Fragment B The fragments are shown in FrameLayout content. The navigation bar is part of the activity. Workflow should be: Press back on home: Exit App. Press back on A or B: show Home. Most of it works as it should, but I have the problem that with a complex workflow like this: Start(home) - A - B - A - Back - B - Back I expect that it will show home, but instead it shows A. I think it's because the first transaction (home - A) it's in the backstack and it shows A. But I don't understand why then it works correctly in the simple cases? The code: public class MainActivity extends FragmentActivity { boolean isInHome; //a flag to control when we add fragment to the backstack or not @Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //set home fragment programmatically first time FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); Fragment fragmentHome = new FragmentHome(); transaction.replace(R.id.content, fragmentHome); transaction.commit(); isInHome = true; //initialize layout Button home = (Button) findViewById(R.id.home); Button a = (Button) findViewById(R.id.a); Button b = (Button) findViewById(R.id.b); home.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { //clear complete backstack (in this case, just pop home transaction) getSupportFragmentManager().popBackStackImmediate(null, FragmentManager.POP_BACK_STACK_INCLUSIVE); //show home fragment FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); Fragment fragmentHome = new FragmentHome(); transaction.replace(R.id.content, fragmentHome); transaction.commit(); isInHome = true; } }); a.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); Fragment fragmentA = new FragmentA(); transaction.replace(R.id.content, fragmentA); if (isInHome) { //add the home transaction to the backstack, such that press back on this fragment shows home again transaction.addToBackStack(home); } transaction.commit(); isInHome = false; } }); b.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); Fragment fragmentB = new FragmentB(); transaction.replace(R.id.content, fragmentB); if (isInHome) { //add the home transaction to the backstack, such that press back on this fragment shows home again transaction.addToBackStack(home); } transaction.commit(); isInHome = false; } });} @Overridepublic void onBackPressed() { super.onBackPressed(); isInHome = true; //quick solution to update status - when press back on A or B, we are in
[android-developers] Re: Wrong UTF-8 encoding when getting string programmatically
Update: The problem was that I was using a custom font and this didn't contain these special chars. There was actually no difference between xml/programmatically, I was testing incorrectly. Am Mittwoch, 17. Juli 2013 12:58:43 UTC+2 schrieb user123: I have a strange issue with vietnamese translations. They're stored in strings.vi file, in the app. The translations which are attached to TextView directly in the layout files display correctly, but if I get them programmatically: `getString(R.string.foo)`, then some of the vietnamese special chars display question marks (with squares). I checked: - Translations file saved in UTF-8 - Workspace uses UTF-8 I also tried: textView.setText(new String(getString(R.string.foo).getBytes(), UTF-8)); But nothing helps, still get these question marks. I tried also setting ISO-8859-1 in getBytes - basically because I found this in some other thread but it doesn't make really sense, since the characters should be saved in UTF-8 (and otherwise, I don't know how they are stored). textView.setText(new String(getString(R.string.foo).getBytes(ISO-8859-1), UTF-8)); This changed the result a bit, got bigger questions marks but still showing incorrectly. I also tried changing the enconding of the xml file to UTF-16, or use UTF-16 in getString, but then everything was displayed in something I believe is Chinese. Any ideas? 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How can I identify permanently certain builds of my app (for tracking)?
Update: There is a flag to detect if the app was preinstalled: ApplicationInfo.FLAG_SYSTEM Am Dienstag, 9. Juli 2013 22:38:42 UTC+2 schrieb user123: I need to identify certain builds of my app permanently. The reason is, that these will be pre-installed in certain devices and they need some different tracking parameters. I don't want to create a new app for this - the app has to be the same as the normal one, which can be downloaded from Google Play. Before any app update, the solution is clear - just create 2 different builds, with same package name and signature, one goes directly to be preinstalled on the devices and other to Google Play. But the preinstalled apps have to receive updates, and AFAIK, all differences will be overwritten. Possible solutions which come to my mind: - Pre-installed build saves a preference. Problem: the user can clear the preferences at any moment. This has to be reliable. - Server side identification. Problem: the app doesn't require user login to be used - so there would be only left the IMEI, which has to be sent to the server the first time to say I'm preinstalled, but this would need server changes, which are unwanted + not sure about legal implications of sending IMEI (maybe a hash - but still, this isn't nice). - Identify the app through the place it's stored. But I don't know where people will store these pre installed apps. I assume they go in the same place as normal apps. They are not system apps / firmware. So I guess this is also not a possibility. - Different settings in the manifest: The whole manifest, as well as the code, seems to be overwritten on updates, so I guess this is also not a possibility. Is there any other way to identify my installation subset. Maybe I'm missing something very basic. Or what do you advice, generally? 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: WebView numeric keyboard from HTML
Yes, thanks, no idea, I think it's working now, probably there was a period of time where the HTML (written by someone else) was incorrect. Am Mittwoch, 5. Juni 2013 18:22:00 UTC+2 schrieb MagouyaWare: I don't know if this will help in your case or not, but I found this after doing some searching on google: http://stackoverflow.com/questions/8333117/is-there-a-way-to-have-a-masked-numeric-input-field Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 22, 2013 at 3:09 AM, user123 ivans...@gmail.com javascript: wrote: Any update on this? I have input fields in webview with type=number but still get normal soft keyboard - showing letters first. Am Freitag, 14. Januar 2011 15:14:39 UTC+1 schrieb linhadiretalipe: Hi, I have a input in a WebView and I would like to know how can I call keyboard with only numeric buttons? tks, -- Filipe B. da S. Ferreira -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Set up Beta testing
I'm working on a new app that I'm not ready to release yet so I made an entry for it in the play store and uploaded an APK as a beta, then published it. I created a new google group for my beta testing and added it as authorized, then went to the given URL to opt in as a beta tester and it confirmed that I was a tester and gave me a market link (which looks like the standard play store link for if I had made a public release). But when I go there it says page not found! What am I missing here? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Any suggestions for Ad platform in addition to AdMob
Do you have experience with Inneractive or InMobi? I read from a web site that they are the big alternative to AdMob. Anyone can share with me some experience in integrating 2 ads services (says AdMob + Inneractive)? For example, how do you do it in XML when you have 2 ad banners sharing the same space? Or you do it one in XML and one in Java? Or this only works in full screen ads? 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Set up Beta testing
On Mon, Aug 19, 2013 at 7:22 PM, Steve Gabrilowitz steveg1...@gmail.comwrote: But when I go there it says page not found! What am I missing here? How long have you waited? It could just not be available yet. - 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Set up Beta testing
Yeah, that was it. Thanks! On Mon, Aug 19, 2013 at 10:54 PM, TreKing treking...@gmail.com wrote: On Mon, Aug 19, 2013 at 7:22 PM, Steve Gabrilowitz steveg1...@gmail.comwrote: But when I go there it says page not found! What am I missing here? How long have you waited? It could just not be available yet. - 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Fwd: Google map is not showing
Thanks On Mon, Aug 19, 2013 at 6:29 PM, Mukesh Srivastav mukicha...@gmail.comwrote: There get two reasons why the Map is not showing. 1. check the API key. 2. while creating the key make sure you have copied the SHA1 key only and also put down the right package name. On Sat, Aug 17, 2013 at 10:17 AM, nemi chhimpa ern...@gmail.com wrote: -- Forwarded message -- From: nemi chhimpa ern...@gmail.com Date: Wed, Aug 14, 2013 at 7:39 PM Subject: Google map is not showing To: android-developers@googlegroups.com Hi friends, I am using map api android v2 for google map. It is only showing the zoom control button and blank map. I followed all steps mention in google map api v2 doc. In logcat, unable to find Lmap message showing. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.