Android

Did you make a game? I want to play it...

Developing Android Apps - Wed, 09/19/2018 - 08:23

I run a youtube channel where I play games from the indie community. If your a developer with a game, I want to play it. (can be in alpha, beta, full release, etc doesn't matter) It doesn't matter how silly or how serious your game is.

If your interested in seeing your game displayed on my channel, Submit an entry with the required info and ill give your game a look. Here is the link to the form https://docs.google.com/forms/d/e/1FAIpQLSeyb5q8fR6pLz240UC3f2TmCUpEF2adO30DTqAkffE-_P3ZzA/viewform?usp=sf_link (feel free to send me a message after you submitted your game to verify that I've received it.)

Interested in seeing my channel or the other games I've been playing?

https://www.youtube.com/channel/UCWqksu5_sO8JhnIkvq6FC8A?

Quick FAQ:

Q: What do i get out of this?

A: I get to play games that i otherwise may have never heard of and the indie market has some real amazing gems...sometimes.

Q: How much is this "free publicity" going to cost?

A: absolutely nothing, $0.00

Q: I saw your post on a different subreddit a while back but my game never got played?

A: That's not a question but i will play it, the video just hasn't gone up yet.

TL/Dr

Really? it wasn't that long? Anyways, let me play your game...please.

and don't forget to subscribe

submitted by /u/ev1lch1nch1lla
[link] [comments]
Categories: Android, Linux

[ TextInputLayout ] is broken or something else ? in AS3.2 RC3

Developing Android Apps - Wed, 09/19/2018 - 08:03

Hi,

It is just throwing Render problem in in Designer View along with the message.

Steps to produce :

1 - Create a new project

2 - Drop it in the layout file

What i tried:

- with / without data binding

- with API 27, API 28

- with AppCompat and AndroidX

https://i.redd.it/mfbxy89vo6n11.png

Render problem

Couldn't resolve resource @string/path_password_strike_through Tip: Try to refresh the layout.

Failed to instantiate one or more classes

The following classes could not be instantiated:

- com.google.android.material.textfield.TextInputLayout (Open Class, Show Exception, Clear Cache)

Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE. If this is an unexpected error you can also try to build the project, then manually refresh the layout.

Exception Details

java.lang.AssertionError: error in parsing "g/"java.lang.NumberFormatException: For input string: "/"

at android.util.PathParser\_Delegate.getFloats(PathParser\_Delegate.java:366) at android.util.PathParser\_Delegate.createNodesFromPathData(PathParser\_Delegate.java:183) at android.util.PathParser\_Delegate.nCreatePathDataFromString(PathParser\_Delegate.java:107) at android.util.PathParser.nCreatePathDataFromString([PathParser.java](https://PathParser.java)) at android.util.PathParser.access$200([PathParser.java:24](https://PathParser.java:24)) at android.util.PathParser$PathData.<init>([PathParser.java:76](https://PathParser.java:76)) at android.graphics.drawable.VectorDrawable$VFullPath.updateStateFromTypedArray([VectorDrawable.java:2016](https://VectorDrawable.java:2016)) at android.graphics.drawable.VectorDrawable$VFullPath.inflate([VectorDrawable.java:1967](https://VectorDrawable.java:1967)) at android.graphics.drawable.VectorDrawable.inflateChildElements([VectorDrawable.java:819](https://VectorDrawable.java:819)) at android.graphics.drawable.VectorDrawable.inflate([VectorDrawable.java:717](https://VectorDrawable.java:717)) at android.graphics.drawable.DrawableInflater.inflateFromXmlForDensity([DrawableInflater.java:142](https://DrawableInflater.java:142)) at android.graphics.drawable.Drawable.createFromXmlInnerForDensity([Drawable.java:1332](https://Drawable.java:1332)) at android.graphics.drawable.Drawable.createFromXmlForDensity([Drawable.java:1291](https://Drawable.java:1291)) at android.graphics.drawable.Drawable.createFromXml([Drawable.java:1266](https://Drawable.java:1266)) at com.android.layoutlib.bridge.impl.ResourceHelper.getDrawable([ResourceHelper.java:330](https://ResourceHelper.java:330)) at android.content.res.Resources\_Delegate.getDrawable(Resources\_Delegate.java:186) at android.content.res.Resources.getDrawable([Resources.java:827](https://Resources.java:827)) at android.graphics.drawable.AnimatedVectorDrawable.inflate([AnimatedVectorDrawable.java:544](https://AnimatedVectorDrawable.java:544)) at android.graphics.drawable.DrawableInflater.inflateFromXmlForDensity([DrawableInflater.java:142](https://DrawableInflater.java:142)) at android.graphics.drawable.Drawable.createFromXmlInnerForDensity([Drawable.java:1332](https://Drawable.java:1332)) at android.graphics.drawable.Drawable.createFromXmlForDensity([Drawable.java:1291](https://Drawable.java:1291)) at android.graphics.drawable.Drawable.createFromXml([Drawable.java:1266](https://Drawable.java:1266)) at com.android.layoutlib.bridge.impl.ResourceHelper.getDrawable([ResourceHelper.java:330](https://ResourceHelper.java:330)) at android.content.res.BridgeTypedArray.getDrawable([BridgeTypedArray.java:684](https://BridgeTypedArray.java:684)) at android.graphics.drawable.AnimatedStateListDrawable.parseTransition([AnimatedStateListDrawable.java:473](https://AnimatedStateListDrawable.java:473)) at android.graphics.drawable.AnimatedStateListDrawable.inflateChildElements([AnimatedStateListDrawable.java:455](https://AnimatedStateListDrawable.java:455)) at android.graphics.drawable.AnimatedStateListDrawable.inflate([AnimatedStateListDrawable.java:385](https://AnimatedStateListDrawable.java:385)) at android.graphics.drawable.DrawableInflater.inflateFromXmlForDensity([DrawableInflater.java:142](https://DrawableInflater.java:142)) at android.graphics.drawable.Drawable.createFromXmlInnerForDensity([Drawable.java:1332](https://Drawable.java:1332)) at android.graphics.drawable.Drawable.createFromXmlForDensity([Drawable.java:1291](https://Drawable.java:1291)) at android.graphics.drawable.Drawable.createFromXml([Drawable.java:1266](https://Drawable.java:1266)) at com.android.layoutlib.bridge.impl.ResourceHelper.getDrawable([ResourceHelper.java:330](https://ResourceHelper.java:330)) at android.content.res.Resources\_Delegate.getDrawable(Resources\_Delegate.java:186) at android.content.res.Resources.getDrawable([Resources.java:827](https://Resources.java:827)) at android.content.Context.getDrawable([Context.java:626](https://Context.java:626)) at androidx.core.content.ContextCompat.getDrawable([ContextCompat.java:463](https://ContextCompat.java:463)) at androidx.appcompat.widget.AppCompatDrawableManager.getDrawable([AppCompatDrawableManager.java:203](https://AppCompatDrawableManager.java:203)) at androidx.appcompat.widget.AppCompatDrawableManager.getDrawable([AppCompatDrawableManager.java:191](https://AppCompatDrawableManager.java:191)) at androidx.appcompat.content.res.AppCompatResources.getDrawable([AppCompatResources.java:102](https://AppCompatResources.java:102)) at androidx.appcompat.widget.TintTypedArray.getDrawable([TintTypedArray.java:76](https://TintTypedArray.java:76)) at com.google.android.material.textfield.TextInputLayout.<init>([TextInputLayout.java:344](https://TextInputLayout.java:344)) at com.google.android.material.textfield.TextInputLayout.<init>([TextInputLayout.java:247](https://TextInputLayout.java:247)) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance([NativeConstructorAccessorImpl.java:62](https://NativeConstructorAccessorImpl.java:62)) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance([DelegatingConstructorAccessorImpl.java:45](https://DelegatingConstructorAccessorImpl.java:45)) at java.lang.reflect.Constructor.newInstance([Constructor.java:423](https://Constructor.java:423)) at org.jetbrains.android.uipreview.ViewLoader.createNewInstance([ViewLoader.java:401](https://ViewLoader.java:401)) at org.jetbrains.android.uipreview.ViewLoader.loadClass([ViewLoader.java:184](https://ViewLoader.java:184)) at org.jetbrains.android.uipreview.ViewLoader.loadView([ViewLoader.java:142](https://ViewLoader.java:142)) at com.android.tools.idea.rendering.LayoutlibCallbackImpl.loadView([LayoutlibCallbackImpl.java:229](https://LayoutlibCallbackImpl.java:229)) at android.view.BridgeInflater.loadCustomView([BridgeInflater.java:421](https://BridgeInflater.java:421)) at android.view.BridgeInflater.loadCustomView([BridgeInflater.java:432](https://BridgeInflater.java:432)) at android.view.BridgeInflater.createViewFromTag([BridgeInflater.java:336](https://BridgeInflater.java:336)) at android.view.LayoutInflater.createViewFromTag([LayoutInflater.java:730](https://LayoutInflater.java:730)) at android.view.LayoutInflater.rInflate\_Original([LayoutInflater.java:863](https://LayoutInflater.java:863)) at android.view.LayoutInflater\_Delegate.rInflate(LayoutInflater\_Delegate.java:72) at android.view.LayoutInflater.rInflate([LayoutInflater.java:837](https://LayoutInflater.java:837)) at android.view.LayoutInflater.rInflateChildren([LayoutInflater.java:824](https://LayoutInflater.java:824)) at android.view.LayoutInflater.rInflate\_Original([LayoutInflater.java:866](https://LayoutInflater.java:866)) at android.view.LayoutInflater\_Delegate.rInflate(LayoutInflater\_Delegate.java:72) at android.view.LayoutInflater.rInflate([LayoutInflater.java:837](https://LayoutInflater.java:837)) at android.view.LayoutInflater.rInflateChildren([LayoutInflater.java:824](https://LayoutInflater.java:824)) at android.view.LayoutInflater.inflate([LayoutInflater.java:515](https://LayoutInflater.java:515)) at android.view.LayoutInflater.inflate([LayoutInflater.java:394](https://LayoutInflater.java:394)) at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate([RenderSessionImpl.java:327](https://RenderSessionImpl.java:327)) at com.android.layoutlib.bridge.Bridge.createSession([Bridge.java:386](https://Bridge.java:386)) at com.android.tools.idea.layoutlib.LayoutLibrary.createSession([LayoutLibrary.java:193](https://LayoutLibrary.java:193)) at com.android.tools.idea.rendering.RenderTask.createRenderSession([RenderTask.java:450](https://RenderTask.java:450)) at com.android.tools.idea.rendering.RenderTask.lambda$inflate$3([RenderTask.java:590](https://RenderTask.java:590)) at [java.util.concurrent.FutureTask.run](https://java.util.concurrent.FutureTask.run)([FutureTask.java:266](https://FutureTask.java:266)) at [java.util.concurrent.Executors$RunnableAdapter.call](https://java.util.concurrent.Executors$RunnableAdapter.call)([Executors.java:511](https://Executors.java:511)) at [java.util.concurrent.FutureTask.run](https://java.util.concurrent.FutureTask.run)([FutureTask.java:266](https://FutureTask.java:266)) at java.util.concurrent.ThreadPoolExecutor.runWorker([ThreadPoolExecutor.java:1142](https://ThreadPoolExecutor.java:1142)) at [java.util.concurrent.ThreadPoolExecutor$Worker.run](https://java.util.concurrent.ThreadPoolExecutor$Worker.run)([ThreadPoolExecutor.java:617](https://ThreadPoolExecutor.java:617)) at [java.lang.Thread.run](https://java.lang.Thread.run)([Thread.java:745](https://Thread.java:745))

submitted by /u/socialflasher
[link] [comments]
Categories: Android, Linux

[Help] Grabbing bluetooth battery?

Tasker: Total Automation for Android - Wed, 09/19/2018 - 07:55

Hey guys, newer versions of Android show how much battery percentage is remaining on your connected bluetooth devices. I'm wondering if anyone knows if that info is available via a variable of some kind or another method of getting it that wouldn't involve autoinput having to open the screen and grabbing it?

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

Does flutter is ready for serious production apps ??

Developing Android Apps - Wed, 09/19/2018 - 07:33

I ran into several wired bugs after i started a project in flutter tired of fixing bug's , i finally gave up and decided to completely drop and convert all the flutter screen to native android because there many bugs in adding flutter to existing android app .

submitted by /u/shakil807
[link] [comments]
Categories: Android, Linux

What service have you guys used to translate your strings.xml

Developing Android Apps - Wed, 09/19/2018 - 05:51

I'm aware of CrowdIn and a few others, but they're mostly paid services. Are there any free community driven alternatives that let you translate your app through your users?

submitted by /u/chrisbrendan7
[link] [comments]
Categories: Android, Linux

Beginner question about asynchronous networking

Developing Android Apps - Wed, 09/19/2018 - 04:47

I'm working on my first app, and I just made a backdrop menu.

The problem I'm facing now is when I open the app an AsyncTask fetches some items to display,
but when I press the button to show the backdrop menu while that's happening, the app stutters.

Is this normal? I thought because the AsyncTask runs on a different thread, the main thread wouldn't be affected by it.

I'm currently using a OnePlus 3T if that's relevant.

Should I not be using an AsyncTask?

Thanks!

submitted by /u/EnvironmentalFact7
[link] [comments]
Categories: Android, Linux

Any updated RTP streaming lib for android -> gstreamer?

Developing Android Apps - Wed, 09/19/2018 - 04:32

Hi all,

I have been trying to find a library to send a video stream from my app to a media server hosted on a linux device.

I have been reading through the libstreaming library but from what I understand it is setup to create an RTSP server on the mobile device. I know that RTSP is an extended version of RTP but I don't think it will work with the media server as it expects a UDP stream, not TCP.

If I'm wrong please let me know and maybe what I can do to solve the problem that way, otherwise is there any other libraries that might work for this problem? I have not been able to find anything as of yet.

(NOTE: I have looked into the native java DatagramSocket but the problem then is encoding & packetizing the video stream to send. I have also read through the gstreamer tutorials for java but they only show receiving a stream on android and not sending one.)

Thanks for any input!

submitted by /u/Squrrli
[link] [comments]
Categories: Android, Linux

Android RPC - List of Functions

Developing Android Apps - Wed, 09/19/2018 - 04:28

Hi everyone.
Can anyone direct me to some resources on what requests can be made to the RPC on Android?

submitted by /u/ashleyjamesy
[link] [comments]
Categories: Android, Linux

Pages