• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

HCE - TRF7970A

Hello,

I'm building an embedded system with TI's TRF7970A RFID transceiver. I created an application that employs Host based Card Emulation. I have been able to successfully send and receive commands to and from the application. I'm just want to know how it is possible (on the Reader side - the firmware) to distinguish between different android phones?
If so, can this be done during the ISO 14443A anti-collision/activation process?
Is it also possible to edit the contents of the Historical Bytes for the ISO-DEP process?

Thank you

[FREE] [GAME] PLUMP BALL [ANDROID]

PLUMP BALL ;);)


lYE27kapk5KvbFhT7Kmsb6Hjws-ZJa_1CqfmAaSQpvXumrZ6C7hAMCSfPjj0_kpa1YU=s180-rw


DbVn_MRsz40hw7TXUfVJWzveAVI-6Dl6F7Rk7aYxCF64ciZGOMrf604CC-601YrS4qI=w1600-h795-rw
Jump and change the color of the ball like a chameleon.
- Game with smouth graphique (HD) ;
- Your goal is to change the color to match the floor , your running on and jump from platform ; it look easy, right ? Don't trust it.
- Just running o fast and duty to reach the last tile to open next level.
- Every level is less than minute , again don't think it’s easy game.
- Survival to reach the last tile and avoid to make the ball die.
- No need to subscription and no app-purchase, its full free, just install and playing.
- Plump ball is so fun it look a magic ball, i hope u can enjoy it and you share it with your friends.

DOWNLOAD NOW

Help Caught someone with my phone

Once someone has gotten unsupervised, hands-on access to anything like a mobile device or a computer, it's pretty much game-over. No there is no easy way to determine what might have been done. This sounds reactionary and scary but it's just an obvious factual matter.

Depending on the skill level of this a-hole, it could be just amateurish nonsense he implemented, or something more insidious. The point being a really good, well-crafted exploit is by design going to be hard to detect (there's no point having creating a really sophisticated hack if just anyone can see what it's doing) and hard to remove (often has multiple ways to reinstall itself when one is revealed). So taking your mobile devices to a local retail repair center 'might' find something but that's all very conditional on the skill level of the person looking into your devices and what may have actually been done.

Typically a more common occurrence of just some remote-code exploit infecting your devices can be defeated by a) backup anything you need saved off your devices, b) flashing an appropriate, stock ROM, c) doing a Factory Reset, and d) using multiple and reputed anti-virus/anti-malware utilities thoroughly scan that backup before restoring anything to your devices, e) while all the previous is being done, change the passwords to all yours online services (note that once then you'll need to re-authentic your logins with all those relative apps with your new passwords) But again, this is a more serious matter because someone had physical possession of your devices so that changes the situation significantly -- even if you cleanse your mobile devices, if one or both of them are connected to your home network, Mr. A-hole could have done something like also installed a worm on a local computer or any online storage (i.e. a NAS) so the infecting cycle could just be repeated. That's just a hypothetical but still reality so whatever the case you do have serious issues to take care of. This guy really screwed you over as unless you can tie him down and beat the truth out of him, determining just what he did will be difficult.
https://www.us-cert.gov/ncas/tips/ST05-006
Going on from here be sure to set up a lock screen on your mobile devices (iris scan, fingerprint, password, or whatever) so people can't just pick up your stuff and manipulate them, and set up a WiFi guest network for whenever you have company over so they still have online access but none to your home networking.

Wipe a phones data

So what you are saying is that even if I have logged into what's app on a new device and deleted the account , the phone will still store all the data until it's connected to WiFi or online in some format ?

Although that account is dead it can't be wiped from the device ?
No, not stating that in any way. It's a matter where just using Uninstall to remove an app does not necessarily mean everything relative to that app gets deleted. Again, for a lot of apps when you've made any changes to an app (i.e. add in your login/password and changed options) that data will be left unless you use Clear Data before using Uninstall. It's just text and such so size-wise it's an insignificant amount of storage space. So no, just to clarify, the app or its background process isn't left running, it's just data.
A typical example is when you install and use an app, then just uninstall it but decide to later reinstall it again, but you don't need to go through the same process of authenticating your account with that app again. That's because the config/settings data was left as is when you first installed and used the app but didn't totally remove it the first time.
If you find this to be upsetting, if you have ever used a computer it's a long-standing, common occurrence too. Just uninstalling a program doesn't necessarily wipe all its settings and configuration files. In most situations, they all get stored in hidden folders (preceded by .) in your local directory where you might be able to use a file manager to manually clean them.

[no banner bug] Insane bird, flappy bird's extended version for android

Keep up the good work. Honestly... the fact that you got this far and are posting to Android Forums asking for help and advice is a great sign. Keep coming back and letting us know how you're doing as things develop!

You know I'm thinking to add a feature were you'll kill the birds using obstacles instead being the bird.
Will it fit the game?

Help Force display to turn off

Thank you for the suggestions. I spent almost 10 mins setting up the app choosing the artist I like from a large list and now play its customized list, which I assume is adjusted if I thumb up or down a tune. Although it's not required, I find that feature neat. Is either of those apps have something alike?

I am not sure what you mean.

NewPipe works much the same as Youtube, except that it will play in the background, pop up player, and download.

MusicPipe only plays the music on Youtube, and allows background play.

Both have no ads and are free.

Annoying emoji on enter key how do I disable it

Get a different keyboard.

Depending on your needs, there are two that I like a lot.

Simple Keyboard
(no frills. just a keyboard)

Hacker's Keyboard
(pretty plain, but lots of options to customize)

If you want something with more bells and whistles, try SwiftKey.

Also, if I remember right (it's been a long time since I used G-Board), I think there is a setting in the app to remove the emoji key.

I might be wrong on that, or have been dealing with a different version of G-Board.

[GAME][FREE] Rotio - stop at the right time.

Android_Banner_Rotio.png




Try Now

Stop the shapes in a target in time and don't let it go or you'll lose!
Beat the levels by centering the shapes, if you hit special shapes you will get coins!



★ What makes the Rotio game special ★
• Easy one-touch control
• Endless gameplay
• Challenge your friends in the online leaderboard
• Unlock all the achievements
• More levels and shapes coming soon!
Will you be able to unlock the hidden achievement?




Thanks and I hope you enjoy!

Issues while replicating hard coded activity, programmatically in onCreate()

Good morning.

I am trying to create a simple Tic Tac Toe grid, however I am facing issues with correctly filling up the space with the child views.

Originally I hard coded the activity where I have a GridLayout (a custom one to make it square) and it contained 9 ImageViews which filled up the whole Grid perfectly. I do not have the original code of this, but I quickly replicated it below.

activity_test.xml
Code:
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".test">

<com.example.tictactoebot.Activities.SquareGridLayout
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:background="@color/black">

    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="0"
        android:layout_column="0"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="0"
        android:layout_column="1"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="0"
        android:layout_column="2"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="1"
        android:layout_column="0"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="1"
        android:layout_column="1"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="1"
        android:layout_column="2"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="2"
        android:layout_column="0"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="2"
        android:layout_column="1"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>
    <ImageView
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@color/white"
        android:layout_row="2"
        android:layout_column="2"
        android:layout_rowWeight="1"
        android:layout_columnWeight="1"
        android:layout_margin="10dp"/>

</com.example.tictactoebot.Activities.SquareGridLayout>

Image of what the result of this activity is.


Now I tried to recreate this programmatically, because I want to vary the size of the board. I tried to set the above exact variables in code as well, but for some reason only the top rows are shown.
Within the OnCreateView of the fragment, I create a GridLayout and all the required Squares (extended ImageView). The code does work, but it has some flaws.Currently only the top row of squares are shown, but they take up the whole screen. If I remove the row/column weight and set an actual height and width for each square, then they do show up. The latter is already a step better, but preferably I do not want to calculate the size of each square. Especially since the hardcoded activity works just fine with automatically taking up the whole grid.

tictactoeboard.class
Java:
private Square[][] board;
private static int boardSize = 3;
private SquareGridLayout grid;
private int squareMargin = 5;


public TicTacToeBoard() {
}

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
    View view = inflater.inflate(R.layout.fragment_tic_tac_toe_board, container, false);

    FrameLayout frame = view.findViewById(R.id.tic_tac_toe_board);

    frame.setBackgroundColor(getResources().getColor(R.color.colorAccent));

    grid = new SquareGridLayout(getContext());
    grid.setLayoutParams(new LinearLayout.LayoutParams(
            LinearLayout.LayoutParams.MATCH_PARENT,
            0
    ));
    grid.setBackgroundColor(getResources().getColor(R.color.colorPrimaryDark));
    grid.setRowCount(boardSize);
    grid.setColumnCount(boardSize);

    frame.addView(grid);

    Square square;

    board = new Square[boardSize][boardSize];

    for(int x=0; x<boardSize; x++){
        for(int y=0; y<boardSize; y++){

            square = new Square(getContext());

            //Square definition
            square.setBackgroundColor(getResources().getColor(R.color.white));
            square.setEnabled(true);

            square.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    humanClickedButton((Square)v);
                }
            });

            //Grid location
            GridLayout.LayoutParams gridParams = new GridLayout.LayoutParams();

            gridParams.height = 0;
            gridParams.width = 0;

            gridParams.topMargin = squareMargin;
            gridParams.bottomMargin = squareMargin;
            gridParams.leftMargin = squareMargin;
            gridParams.rightMargin = squareMargin;

            if(x == 0){
                gridParams.topMargin = 0;
            }
            else if(x == boardSize-1){
                gridParams.bottomMargin = 0;
            }

            if (y == 0) {
                gridParams.leftMargin = 0;
            }
            else if(y == boardSize-1){
                gridParams.rightMargin = 0;
            }

            gridParams.rowSpec = GridLayout.spec(x, 1f);//Setting weight to 1
            gridParams.columnSpec = GridLayout.spec(y, 1f);//Setting weight to 1

            square.setLayoutParams(gridParams);


            //Store copy locally
            board[x][y] = square;


            grid.addView(square, (x*3+y));
        }
    }

    return view;
}

The fragment where the GridLayout and Squares are added to:
fragment_tic_tac_toe_board.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".Activities.Fragments.TicTacToeBoard"
    android:layout_margin="20dp"
    android:layout_gravity="center_vertical"
    android:id="@+id/tic_tac_toe_board">
</FrameLayout>

I must have missed something while converting the hardcoded activity to the onCreateView code.
If anyone can point me in the right direction, that would be greatly appreciated. :-)

No connection error

Earlier on today I got an email saying an item I have for sale on market place was against copy rights so had been removed.

Since then each time I try and access Facebook either through the app or on Internet browser, on my phone or laptop. It asks me to log in, then identify myself and when I click to go onto the next stage it comes up with a white screen saying connection lost.

My Internet is fine. Everything else is working apart from Facebook messenger.

I have followed every help online I can find. I have rest my phone, factory reset it, deleted and reinstalled the app countless times. I have cleared the cache twice.

I am at a loss please help.

Could be your account login has been suspended? If so, the only fix for that is from Facebook support, and nothing we can do here.

Filter

Back
Top Bottom