I need to use regex in one of my app ,even i had submitted my app to playstore which is using regex and I had seen one tutorial about regex from a well known tech youtuber and founder of Learn Code Online and he said that regex is not allowed in android app and if the android app devloper should know about these then they will reject your app or removed.
I had already pushed my app updated to play store.
HERE is the link of its video at 11:00. Please tell me whether it's allowed or not.
I think he warns against excessive web scraping in android apps. I don't know if this is illegal or may cause troubles in android store.
In general using regex in android apps should be legal and valid, as they're mentioned in the official docs: https://developer.android.com/reference/java/util/regex/Pattern
Related
I have 500k active users. My application has been probably hacked. How do I know that? My production versions are 3.x.y But I can see in Firebase statistics that 1% (about a few thousand) users use version 4.0.0. I have never released app with that version. Probably somebody just changed app version and I assume ad ids. He didn't even remove Firebase analytics so I can see that the hacked app is live. I use standard ProGuard obfuscation but as we can see it didn't help.
The question is how to find the place (site, market,..) from where hacked application is downloaded?
If you are fine to update your app, then I would first change my app to read getInstallerpackageName from PackageManager, and then record it via Firebase analytics.
If the result of this is com.android.vending it was installed from Google Play, otherwise it will be the program that installed your app. If this is another app store then great, you have found it.
If the result is something like a web browser then it is harder as the user got the app from a website. Then your best option is Google searching. The normally easiest way is include your app name and the word "APK". This tends to find most sites serving your app. You could even search for your app name, "APK" and "4.0.0" as many website list the version code on the page.
When developing an iOS app one can register or claim an app name by creating an entry in iTunesConnect and supplying placeholder descriptions and screenshots. Is there a similar process in the Android app store?
I'm not interested in squatting on app names. I'm just porting an iOS app to Android and I'd like to have an identical app name.
I dont think there is an equivalent in the android ecosystem. Here are a couple of suggestions which may not guarantee the name, but may help in some ways.
1) You can publish a bare minimum app with the correct package name (like com.company.appname). But I think the actual app name part will still be pretty open.
2) Another way may be to buy a .com domain for your app (if it is still available). It may sound far fetched but I believe (I may be wrong) people take that into account to avoid getting into trademarks & copyrights issues. If you have an app that is good enough for being published in multiple platforms, then buying a domain makes sense.
Many apps just broke, perhaps google changed something? The documentation at http://developer.android.com/guide/publishing/publishing.html says that
<URI_prefix>search?q=pub:<publisher_name>
should work, and was working until very recently. Is anyone else having problems with this? Using a market:// link? It is giving No Results Found, and I tried for other publishers also. Is something wrong with my Google Play app perhaps, or is this affecting everyone?
Perhaps they broke something moving over to Google Play?
Thank You
UPDATE: The documentation seems to have been fixed now. Thanks to #Meh for pointing that out in his comment.
To create the link, you need to know your publisher name, which is
available from the Developer Console.
From a web site:
http://play.google.com/store/search?q=pub:
From an
Android app:
market://search?q=pub:<publisher_name>
Here's an example:
https://play.google.com/store/search?q=pub:Google Inc.
For details on how to send the link in an Android app, see Linking
from an Android App.
PREVIOUS ANSWER:
I found what was causing your trouble. When using a publishers name specifically, it now needs to be case sensitive. For instance, this works: http://play.google.com/store/search?q=pub:Zynga
but this doesn't: http://play.google.com/store/search?q=pub:zynga
However, if you're just searching for zynga generically, it still works even when your search term is all lower case. http://play.google.com/store/search?q=zynga
The behavior is so inconsistent now. I'd say this is a bug (or if not a bug, this quirky behavior should at least be clarified in the documentation).
I recently released an updated version of my app on the Market and would like to know how many users have updated to the latest version.
I've looked in the Market help docs and on the Google Market dev forums with no luck.
Is there a way to get this metric from directly from Android Market? or do I need to add some 3rd party analytics to my app in order to track this. I'd like to avoid that if possible, as currently my app requires no permissions and I get feedback from my users that they like this and use my app over similiar apps because of this.
But if I do need to go down the road of using a third party analytics service, is using Google's own SDK the simplest solution out there to collect this stats?
As I am understanding your question,
Android market doesn't provide like this (get stats on specific app versions installed from Android Market), Try some third party analytics (I am using FlurryAgent.jar but what you needed I never tried). Try it.
Analyze your android application
Nice way to analyze your android application behavior: http://www.flurry.com/
Flurry is just small package that catches events inside your application and sends it to flurry server from time to time. You can see what functions are most useful in your application and even analyze exceptions remotely via web interface.
(This is my personal opinion for this question, if any other solution or third party library available then I don't know)
On the Android Compatibility page it is stated that:
Once you've built a compatible device,
you may wish to include Android Market
to provide your users access to the
third-party app ecosystem.
Unfortunately, for a variety of legal
and business reasons, we aren't able
to automatically license Android
Market to all compatible devices. To
inquire about access about Android
Market, you can contact us.
Does anybody know what the actual procedure is to get Android Market on you own device, assuming the CDD is followed and the CTS is passed. Specifically I would like to hear from someone who have experience on licensing the Android Market?
Also, I hear that Google has relaxed the restrictions on licensing the Android Market after version 2.3, but I cannot find any sources supporting this statement. Does anybody have additional information on this?
Thanks
It's very easy, on the page you linked to (http://source.android.com/compatibility/index.html), there's a Contact Us link on the left side. You will find all the contacts information at http://source.android.com/compatibility/contact-us.html
Good luck!