[android-developers] Re: Android Toast is not clickable in some devices.
Hi, I want to open a message on the setting screen, and message should be close when user click on the message. and items of the settings screen remain clickable even when the message is visible on the setting screen. On Sunday, January 19, 2014 5:55:21 PM UTC+5:30, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom-toast-is-not-clickable-in-some-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.
[android-developers] Is there any permission control on the sender of INSTALL_REFERRER?
Hello, My APP will use action com.android.vending.INSTALL_REFERRER for install referrer tracking, but seems that I can easily write an small APP to broadcast intent with this action. Intent testIntent = new Intent(com.android.vending.INSTALL_REFERRER); testIntent.putExtra(referrer, utm_content={\TEST_BOOLEAN\:true}); sendBroadcast(testIntent); My question is that whether Android has any permission control on the sender of com.android.vending.INSTALL_REFERRER? Thanks. Br, posaidong -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] PDF files search utility
you can find on internet lot of tools for smart search in windows with previews...most of them are free...but if you want to pay,i am intrerested to create some software :) On Mon, Jan 20, 2014 at 6:15 PM, olegkon oleg...@gmail.com wrote: Hi, I am an IT, have 1000s of books (most in PDF) on my Android 4 tablet. I often need info inside these books, search inside them (without opening them), sometimes advance search (like term1 term2 on one page). It would be better if I can see some preview of results (with a few lines to get a context). Is there any such utility on Android? (or on Windows ? I use regular search in files in TextPad, but it often misses to search binaries like PDFs) Better free, but if it satisfy my need, will pay a bit too. :-) TIA, Oleg. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] PDF files search utility
Try in Csharp to find some code to do it..example: PdfDocument doc = new PdfDocument(file.pdf);string textToSearch = some text;for (int i = 0; i doc.Pages.Count; i++){ string pageText = doc.Pages[i].GetText(); int count = 0; int lastStartIndex = pageText.IndexOf(textToSearch, 0, StringComparison.CurrentCultureIgnoreCase); while (lastStartIndex != -1) { count++; lastStartIndex = pageText.IndexOf(textToSearch, lastStartIndex + 1, StringComparison.CurrentCultureIgnoreCase); } if (count != 0) Console.WriteLine(Page {0}: '{1}' found {2} times, i, textToSearch, count);} On Tue, Jan 21, 2014 at 12:49 PM, Jadranko Bodiroga jadrankobodiroga1...@gmail.com wrote: you can find on internet lot of tools for smart search in windows with previews...most of them are free...but if you want to pay,i am intrerested to create some software :) On Mon, Jan 20, 2014 at 6:15 PM, olegkon oleg...@gmail.com wrote: Hi, I am an IT, have 1000s of books (most in PDF) on my Android 4 tablet. I often need info inside these books, search inside them (without opening them), sometimes advance search (like term1 term2 on one page). It would be better if I can see some preview of results (with a few lines to get a context). Is there any such utility on Android? (or on Windows ? I use regular search in files in TextPad, but it often misses to search binaries like PDFs) Better free, but if it satisfy my need, will pay a bit too. :-) TIA, Oleg. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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-developers] LocationClient stops all location updates from device
recently I changed from LocationManager to the new LocationClient, but I have a strange problem: When I change from one location provider to another(going to config-location settings) sometimes it stops reciving locations updates, and, for some reason all the others app in the device that uses location also stop reciving updates(i tested on google maps and a test mapview aplication of my own) This is the code: public class GeoLocationClient { LocationClient mLocationClient; Location currentLocation; MainActiviy app; public GeoLocationClient(MainActiviy app) { // TODO Auto-generated constructor stub this.app = app; startLocationTracking(); } protected void startLocationTracking() { int a = GooglePlayServicesUtil.isGooglePlayServicesAvailable(app); Log.v(goglelaksjda,a+); if (mLocationClient != null) { Log.v(goglelaksjda,not null); } if (GooglePlayServicesUtil.isGooglePlayServicesAvailable(amanda) == 0) { if (mLocationClient == null) { mLocationClient = new LocationClient(amanda, mConnectionCallbacks, mConnectionFailedListener); } if(!mLocationClient.isConnected()) { mLocationClient.connect(); } } } public void disconect() { mLocationClient.disconnect(); } private ConnectionCallbacks mConnectionCallbacks = new ConnectionCallbacks() { @Override public void onDisconnected() { Log.v(on disconected,:(); } @Override public void onConnected(Bundle arg0) { LocationRequest locationRequest = LocationRequest.create(); locationRequest.setFastestInterval(1000); locationRequest.setInterval(1000).setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY); mLocationClient.requestLocationUpdates(locationRequest, mLocationListener); } }; private OnConnectionFailedListener mConnectionFailedListener = new OnConnectionFailedListener() { @Override public void onConnectionFailed(ConnectionResult arg0) { Log.v(locationclient, ConnectionFailed); } }; private LocationListener mLocationListener = new LocationListener() { @Override public void onLocationChanged(Location location) { Log.v(location,location.getProvider()+); Log.v(location,location.getLatitude()+); Log.v(location,location.getLongitude()+); Log.v(location,location.getAccuracy()+); Log.v(location,location.getTime()+); currentLocation = location; } }; } I the MainActivity onCreate i initialize it: mGeoLocationClient = new GeoLocationClient(this); In onDestroy i stop it: mGeoLocationClient.disconect(); And in onResume i start the location updates again: mGeoLocationClient.startLocationTracking(); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Android Toast is not clickable in some devices.
Forget about using toasts. Look up how Facebook made the chat heads feature. I'm sure there must be some great tutorials out there by now ;-) On Jan 21, 2014 10:01 AM, 12169 ashish.a...@gmail.com wrote: Hi, I want to open a message on the setting screen, and message should be close when user click on the message. and items of the settings screen remain clickable even when the message is visible on the setting screen. On Sunday, January 19, 2014 5:55:21 PM UTC+5:30, 12169 wrote: Hi, any help for the below question. http://stackoverflow.com/questions/21201203/custom- toast-is-not-clickable-in-some-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.
[android-developers] data-roaming setting page does not open correctly on some devices.
I use the below code to open data-roaming setting page. if(bvBuild.VERSION_CODES.JELLY_BEAN) { Intent intent=new Intent(Settings.ACTION_DATA_ROAMING_SETTINGS); ComponentName cName = new ComponentName(com.android.phone,com.android.phone.Settings); intent.setComponent(cName); startActivityForResult(intent,10); } else { Intent intent = new Intent(); intent.setAction(android.provider.Settings.ACTION_DATA_ROAMING_SETTINGS); startActivityForResult(intent,10); } and it works fine on the most of the device.but on some devices it opens the settings page but data roaming option is not available in that page. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Rating Hijacking !
I'm still far from being top or even mid-tier in terms of app downloads but this morning I also got my first 2-star mystery rating for a paid app of mine - no comment and no Google+ name I could respond to. That didn't happen to me so far since most users tried the free version first and then decided to buy afterward. This wouldn't have bothered me that much but nevertheless I wanted to see for myself how that recommendation rating widget looks like on my phone. So I opened the Google Play store app and scrolled down the lengthy front page with several swipe movements. And I suddenly saw that an image was flashing and quickly changing to 1 star. I accidentally rated some random app while swiping the screen. This bug 100% reproducible: 1. Touch one of the stars 2. Move your finger up or down outside the recommendation box 3. Lift finger 4. App gets rated This can happen quickly and accidentally while scrolling down the screen. Since I am right-handed (as the majority of people), my thumb naturally reaches to the left side of the screen, where the worse rating options are (1 and 2 stars). I bet this happens thousands of times every day without people even realizing what they just did. I sent a bug report to Google Play support about that issue. I also have to agree that the phrasing of the recommendation is completely misleading. If it weren't for this thread here I would have thought that I'd be rating recommendations and not apps. If I were asked to rate my favorite scanner app with the question rate this item to get recommendations, I would give that recommendation a bad rating because I am already 100% happy with my scanner app and I'm absolutely not interested in more apps like that. I guess something along these lines may have happened with my paid app this morning. Google Play really has to fix that as quick as possible. This new recommendation widget is a substantial change in the overall rating system Google had no experience with before. Stuff like that should be extensively tested before put into production mode. Real users should have been observed while interacting with that new widget. Real users should have been asked how they interpret the meaning of that new feature. To make that feature more useful it should be either decoupled from recommendations and be absolutely straightforward: Do you like this app? Rate it. If recommendations are more important than that then it should be a simple thumbs up / thumbs down and the result must not affect the rating of the recommended app. On Friday, December 27, 2013 4:37:06 AM UTC-6, Tolriq wrote: Hi, My app rating is being hijacked by competitors and I don't know what to do :( I've tried to contact Google but there's no category for that and they don't answer from the other category contact :( My app is 4.9 rating since a very very very long time and all very very few bad rating always had comments. Since 14 days I start to have lot's of 1 or 2 stars rating without any comments and without having released a new version or the app having problems. There's still the same amount of 4 / 5 star rating coming every day. This graph for the 6 last months from Play Store console : http://postimg.org/image/i2bpm94vt/ shows the problem clearly and proves without a doubt the hijacking action :( What are the possible actions against that ? This is a shame that years of work can be attacked so easily :( How to contact some Google representative to have this investigated ? Regards, Tolriq -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Android Toast is not clickable in some devices.
On Tue, Jan 21, 2014 at 2:58 AM, 12169 ashish.a...@gmail.com wrote: I want to open a message on the setting screen, and message should be close when user click on the message. and items of the settings screen remain clickable even when the message is visible on the setting screen. That doesn't really make sense. 1 - You are sending the user to the device settings screen, which you have no control over. 2 - Toast messages are not designed to be clickable. 3 - Even if they were, it doesn't make sense to show one that is clickable while the settings page behind it is also clickable as well. If you explain why you're trying to do this, someone might be able to suggest an alternative, but I don't think you can do what you want as is. - 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.
[android-developers] Is it possible to split only some items into the bottom with split ActionBar?
Hi, I am trying to implement a action bar style like https://developer.android.com/guide/topics/ui/actionbar.html#SplitBar. But I only want to split one of my customized menu item into the bottom. The *android.support.UI_OPTIONS* is applied to the manifest, not to the menu items. Is it possible to control the split logic in code? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Is it possible to split only some items into the bottom with split ActionBar?
On Tue, Jan 21, 2014 at 10:54 PM, davidshe...@googlemail.com davidshe...@gmail.com wrote: I am trying to implement a action bar style like https://developer.android.com/guide/topics/ui/actionbar.html#SplitBar. But I only want to split one of my customized menu item into the bottom. The *android.support.UI_OPTIONS* is applied to the manifest, not to the menu items. Is it possible to control the split logic in code? The 5th hit doing a Google Search for split action bar has your answer. - 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.