My app got stolen. What can I do?

My app got stolen. What can I do?


My app got stolen. What can I do?

Posted: 11 Dec 2016 11:41 AM PST

Someone has stolen my app. They might have reversed engineered my apk from playstore. It has same code and layout. Same sound files which I had bought. What's even more frustrating is that this copy is above my app on playstore. I am not pro developer but it was my hardwork of many nights. I have reported to google but no answer yet. Is there any thing I can do?

submitted by /u/Patatopotato
[link] [comments]

Amazon Underground installed as a system app on non-rooted device. How is this possible?

Posted: 11 Dec 2016 11:22 PM PST

PSA: the HTC 10 might kill your app process unexpectedly when screen goes off

Posted: 11 Dec 2016 03:02 AM PST

Here's the story of my adventures with the HTC 10 unexpectedly killing my app when the screen goes off.
 
It all started when several users of my app on the HTC 10 were reporting that when the app was playing audio in the background and the screen went off, audio would stop playing after a few seconds. This issue was new and never reported on another device. After much hair pulling, I succeeded to have a user send a full logcat.
 
It turned out that the HTC 10 was force stopping the app's process (using the Activitymanager as in ' am force-stop <packagename>') shortly after the screen goes off. Past the WTF reaction to this troubling revelation, I found that it was caused by HTC aggressive battery saving customizations, where it will kill whatever process it deems 'inactive' when the screen goes off.
 

But my process is not inactive as it holds a foreground service and a wake lock (and is steaming audio), so why it got killed ? That's because my app uses 2 different packages whose code run in the same process, using a shared userid and android:process:
 

package1 manifest (this is the main app, also holding a foreground service):

<manifest package="packagename1" android:sharedUserId="packagename1.user" .... </manifest> 

 

package2 manifest (this is a plugin app for the main app declaring a service packagename1 binds to):

<manifest package="packagename2" android:sharedUserId="packagename1.user" .... <service android:exported="false" android:process="packagename1" android:name="com.blargh.service"/> .... </manifest> 

 
We have the service of "packagename2" run into the "packagename1" process using android:process. What happened when the screen goes off on the HTC 10, is that it force stopped packagename2 (because I suppose it deemed it "safe" to do so) which in turn killed the packagename1 process, despite packagename1 having a foreground service and more.

 
This scenario can be verified without an HTC 10, simply starting packagename1 and having packagename1 binds to packagename2's service then issuing this command (which will kill packagename1 process):

adb shell am force-stop packagename2 

 
The workaround to fix this this issue was to remove android:process so packagename2 runs into its own process and it can be killed without killing the main (packagename1) process. Although in the end it is IMHO a HTC 10 bug where its process killer is too aggressive and does not take into account that the code of a package does not necessarily runs into its own process. I used a service for this example but the result would have been the same for an activity or receiver using android:process.

 
*TL;DR: nasty HTC 10 might kill your app when screen goes off if your app's process runs code from several packages, due to its overly aggressive (and buggy) process killer whose supposedly goal is to save battery *

submitted by /u/bubbleguuum
[link] [comments]

Has anyone sold their app on appsbuyout.vc? How was it? How much did you get?

Posted: 11 Dec 2016 11:57 PM PST

Why isn't my recycler view animation working? (Supposed to animate items as you scroll)

Posted: 11 Dec 2016 11:40 PM PST

Here's my code (from my Adapter class) :

override fun onBindViewHolder(holder: RecyclerView.ViewHolder?, position: Int) { when(getItemViewType(position)) { typeExercise -> { val exerciseViewHolder = holder as ExerciseViewHolder val exercise = exercises[position] exerciseViewHolder.binding.exerciseVM = ExerciseVM(exercise = exercise as Exercise) } typeRest -> { val restViewHolder = holder as RestViewHolder val rest = exercises[position] restViewHolder.binding.rest = rest as Rest? } } if(holder != null) { if(lastPosition < holder.adapterPosition) holder.itemView.startAnimation(createEnterAnimation()) lastPosition = holder.adapterPosition } } private fun createEnterAnimation(): Animation { return AlphaAnimation(0F, 1F) } override fun onViewDetachedFromWindow(holder: RecyclerView.ViewHolder?) { super.onViewDetachedFromWindow(holder) holder?.itemView?.clearAnimation() } 
submitted by /u/pionear
[link] [comments]

I think a Grid View would work for my project but I'm still quite lost when it comes to Grid Views and adapters. Or maybe there's a better solution?

Posted: 11 Dec 2016 07:35 PM PST

As a background on my project, I want to communicate through Bluetooth with an Arduino. I have basic communications working, and a scheme to send and receive and parse different variables (proportional gain is "p10@" so I know where it starts and ends), but the Arduino sketch has many more parameters I want to be able to see and change. I want the app to essentially be an array like this:

Names (TextViews) From Arduino (TextViews) To Send (EditTexts) Send Buttons (Buttons)
Brightness 50 25 Send
Proportional Gain 10 15 Send
Integral Gain 80 25 Send
Derivative Gain 60 5 Send
Update Time 500 250 Send

And so on, for maybe 15 or so variables. It's too many to use individual views, so I was hoping a GridView would be able to do it.

So I've been reading through a bunch of GridView tutorials, including the official one. My first question is on the adapter, which is what creates all the elements in the GridView, correct? What I don't understand is...what's calling the methods in ImageAdapter? The GetView method is what creates every view, but what is calling it with the position, view and parent? What determines whether a new view gets put into the same row in a new column or a new row?

Further, in their main Java code, this is what happens when an item is touched:

gridview.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView<?> parent, View v,int position, long id) { Toast.makeText(HelloGridView.this, "" + position, Toast.LENGTH_SHORT).show(); } }); 

Ok, when an item gets clicked, we get an "OnItemClickListener" that...doesn't return the parent, view, position and id? It's a method that's void, right? I can't quite tell what's happening in here, I reformatted it to try to make sense, but it's still hard to follow. The OnItemClickListener() calls a onItemClick method that takes in the relevant data, but when the brackets for the toast part start immediately after the method, what does that mean? That it will pass that data to whatever is in the brackets?

When the buffer gets reading, I want to be able to parse that data and send it to the Brightness TextView in row 1, column 2. When the Proportional Gain Send button gets pushed, I want it to grab the string from the Proportional Gain EditText in column 3 and send it to a method that prepares it for Bluetooth communication.

I don't think I have a good enough understanding on Grid Views to see if this is possible. Is it? And if so, where am I falling short in understanding it? Thanks.

submitted by /u/whatamidoing11
[link] [comments]

[Question] Anyone here use a modular architecture?

Posted: 11 Dec 2016 05:12 PM PST

I am interested to see if anyone here uses a modular architecture, specifically, not using fragments and sticking to one activity per application.

My current architecture has a single Activity, and each feature/page of my app, extends from a ViewGroup.

I had to write a custom back stack manager with saving states across rotations and app closures.

I just insert a view into the activity and remove the old one as and when I need to, it makes it super fast, it even works with transitions.

My actual custom back stack, doesn't require any design pattern, it can be used with MVP or not, but you must use view groups and a single activity.

Its one line of code to setup the back stack and one line of code each time you want to insert or remove a view.

Does anyone use a similar style and do you think this is all unnecessary, and I should just use fragments? or is there an existing framework or library I should have used?

submitted by /u/this-is_myname
[link] [comments]

Bundled Notifications in Android

Posted: 11 Dec 2016 06:16 AM PST

[Question] Testing/Debugging a Receiver of System Intents

Posted: 11 Dec 2016 09:40 AM PST

I'm developing an app that uses a receiver to know when an app is installed/uninstalled.Usign this Broadcast Action for example. My question is, is there any way to test or debug these actions? Maybe creating fake broadcasts?

submitted by /u/ZyranosaurusRex
[link] [comments]

Running Tests With Robolectric and Parse SDK

Posted: 11 Dec 2016 03:16 PM PST

Hey guys anyone got some experience running these two? i'm currently initialising all parse items in a separate class that extends Application however when running the tests in Robolectric for an activity that isn't making use of the SDK yet, having different statements seem to make it fail

So having: Parse.initialise(parse init code here) , causes "java.lang.IllegalStateException: ParsePlugins is already initialized"

and having Parse.enableLocalDatastore(this)

causes

java.lang.RuntimeException: java.lang.IllegalStateException: Parse#enableLocalDatastore(Context) must be invoked before Parse#initialize(Context)`

Thanks!

submitted by /u/pulse1989
[link] [comments]

“OMG, Java is so verbose, guys”.

Posted: 11 Dec 2016 01:34 PM PST

Looking for help to finish my app!

Posted: 11 Dec 2016 01:30 PM PST

https://github.com/mathuin/finley-breese

It's a simple app that will generate custom ringtones in Morse code for folks on your contact list. Unfortunately, I am way out of practice on modern Android app design and I don't have the time or patience to write a good UI.

If someone out there wants to do what I consider "the hard part", I'm happy to provide the "business logic" which is in the repo above. I would be happy to have a co-writer credit.

In an ideal world, if you use the code and run ads, you'd pass along the revenue -- but the license doesn't require it, and I probably wouldn't even know if you did!

submitted by /u/mathuin2
[link] [comments]
Thanks for reading my news about My app got stolen. What can I do? at my blog Custom Droid Rom if you want too share this article, please put the resource, and if you think this article is very usefully dont forget to bookmark this site with CTRL + D on your keyboard to web browser.

New and Hot Article's :

Note: only a member of this blog may post a comment.