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

Only in LA!

When I heard reports of a man in a jetpack flying in the air space of LAX, I immediately said 'only in LA!'

Later, when I read reports from Air Traffic Control, guess what one of them said when an incoming pilot told him about the jetpack man? Yep! "Only in LA."

On KTLA's morning news yesterday, one anchor said, 'come on, Elon [Musk], we know it was you. Call us and come clean,' or words to that effect.

I love my hometown. :D

PRO CHARTS: Marine Navigation GPS Maps & Noaa Nautical Charts.

The MiraTrex PRO CHARTS™ is a powerful, yet easy-to-use marine navigation solution. For those who prefers travelling by their own boat, but worried about getting lost in the ocean, Marine Navigation is one of the Best Marine navigation GPS trackers which will let you find your direction in the sea. It Includes High Standard satellite, Road, Hybrid maps, Noaa nautical charts navigational features, and frequent app upgrades.Whether you’re a fisherman, weekend cruiser, sailor, jet-skier, or an offshore captain, if you need to find an exact location hundreds of miles offshore, PRO CHARTS ™ helps you get there safely.


Marine Navigation: Key Features:

  • Super easy to use GPS map tracker tool
  • Download Maps to use in offline mode
  • Available in different languages: English, Arabic, Danish, Dutch, Finnish, French, German, Greek, Hebrew, Italian, Japanese, Korean, Norwegian Bokmål, Norwegian Nynorsk, Polish, Portuguese, Russian, Simplified Chinese, Spanish, Swedish, Traditional Chinese, Turkish
  • High-resolution nautical chart coverage for all U.S. navigation coastal areas, the Great Lakes, major U.S. river systems, and Brazil plus global high-level nautical charts. Charts are automatically updated after the 7 days based on NOAA chart corrections.
  • Easy one-touch Waypoint and Route creation. Pre-plan your routes at home or create it at sea with equal ease. Just touch the screen to create new waypoints and routes.
  • Find your friends on the water. With our new Buddy-tracking feature, you can find your friends while you’re out on the water. If you’re on your secret spot and don’t want to be seen, you can hide your marine location with the touch of a button.
  • Stay safe. Easily create and send a Float Plan of your trip to a friend or family member. Your Float Plan and location history can be forwarded to search and rescue personnel in case of an emergency.
  • Easy point-and-steer navigation. The red heading bug on the large on-screen compass always directs you to the next point on your route. Navigation is as easy as pointing your boat at the heading bug to stay on course.
  • No Network. No Problem: PRO CHARTS™ is designed in such a way that it will not stop working if you have no internet connection. It will allow you to view your charts Available on offline navigation GPS maps while out on the water.You simply have to download the location charts in advance that you need while travelling and then you can use it with the touch of a button.
  • Record your marine navigation tracks. Track your position in real-time and later view your track history.
  • Fully indexed point of interest (POI) database including weather, aids to navigation (markers and lights), obstructions, tides, currents, your buddies, and more.
Get all the exciting features of PRO CHARTS™ in minimum amount and discover your routes just in $2.99/mo or $29.99/yr.

Download the app now and find your way now with this app.

Website: www.miratrex.com

Z-Flip doesn't connect to Dr.Fone/MobileTrans

I got the Z-Flip in March and at that time I was able to transfer WhatsApp, SMS, contacts etc. from my iPhone Xs to the Z-Flip, using Dr. Fone. I haven't used the Z-Flip since then because there was no belt holster available and I kept on using the iPhone. Meanwhile I was able to find a belt holster which arrived 2 weeks ago and so I decided to update the data on the Z-Flip. There was also an Android-update. However, since these updates, Dr. Fone doesn't connect to the Z-Flip anymore. It recognizes it but the bar gets stuck at approx 75%. The same thing happens when I use MobileTrans (which I think is the same program just different design).
Once or twice I read the note on the phone "connector app needs to be updated" but when I clicked on "update", nothing happened.
Does anyone had/have the same issue and -most important- a solution for the problem ?
Thank you

Fragment not displaying RecyclerView.

I'm trying to have 2 fragments on my screen, currently only one is showing up and its vertical instead of horizontal which I assume is because my second fragment isn't showing up.
The Fragment in question that isn't working is my MapFragment.

Firstly ill show the code where I commit the transactions.

```
public class MainActivity extends AppCompatActivity {

@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

FragmentManager fragmentManager = getSupportFragmentManager();
MapFragment mapFrag = (MapFragment) fragmentManager.findFragmentById(R.id.map);
SelectorFragment selectorFrag = (SelectorFragment) fragmentManager.findFragmentById(R.id.selector);

if (mapFrag == null)
{
//Create the Fragment Object
mapFrag = new MapFragment();
//Queues the operation to attach a Fragment
//Tells it where to add and what to add.
//Commit makes it happen
fragmentManager.beginTransaction().add(R.id.map, mapFrag).commit();
}

if (selectorFrag == null)
{
//Create the Fragment Object
selectorFrag = new SelectorFragment();
//Queues the operation to attach a Fragment
//Tells it where to add and what to add.
//Commit makes it happen
fragmentManager.beginTransaction().add(R.id.selector, selectorFrag).commit();
}

}
}
```

So the Selector Fragment displays fine except for being Vertical.

Now ill post my main xml associated with the above Activity.

```
<?xml version="1.0" encoding="utf-8"?>
<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=".MainActivity">
<FrameLayout
android:id="@+id/map"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/selector"
/>

<FrameLayout
android:id="@+id/selector"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/map"
app:layout_constraintBottom_toBottomOf="parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>

```

So the Map should be constrained to the top and take up 3/4 of the screen.

Now Ill show the Map Fragment Code followed by the xml for the Map Fragment.

```
public class MapFragment extends Fragment {

//Private Classfields
private MapData map;
private MyAdapter adapter;

@override
public View onCreateView(LayoutInflater inflater, ViewGroup ui, Bundle bundle)
{
//Takes a layout reference, instantiates all View objects.
//Reads the XML and creates the UI Based on it.
//Returns the root View object.
View view = inflater.inflate(R.layout.fragment_map, ui, false);

//Setup any event handlers below.

//Setting up RecyclerView
RecyclerView recyclerView = (RecyclerView) view.findViewById(R.id.mapRecyclerView);

//Specify how it should be laid out.
recyclerView.setLayoutManager(new GridLayoutManager(getActivity(), MapData.HEIGHT, GridLayoutManager.HORIZONTAL, false));

//Have your data ready.
map = MapData.getInstance();

//Create your adapter
adapter = new MyAdapter(map);

//Attach Adapter to Recycler View.
recyclerView.setAdapter(adapter);

return view;
}


//Nested ViewHolder inside Fragment
private class MyDataVHolder extends RecyclerView.ViewHolder
{
private ImageView topLeftImageView, topRightImageView, bottomLeftImageView, bottomRightImageView, mainImageView;

public MyDataVHolder(LayoutInflater li, ViewGroup parent)
{
super(li.inflate(R.layout.grid_cell, parent, false));
//Divide the RecyclerViews runtime height by the number of cells
//that must fit in that space(MapData.HEIGHT)
//Add 1 to account for rounding errors that might leave a 1 pixel gap.
//Size value becomes the width and the height of the grid cell.
int size = parent.getMeasuredHeight()/MapData.HEIGHT + 1;
ViewGroup.LayoutParams lp = itemView.getLayoutParams();
lp.width = size;
lp.height = size;
//Grab UI Elements
//textView = (TextView) itemView.findViewById(R.id.list_data);
topLeftImageView = (ImageView) itemView.findViewById(R.id.topLeftImageView);
topRightImageView = (ImageView) itemView.findViewById(R.id.topRightImageView);
bottomLeftImageView = (ImageView) itemView.findViewById(R.id.bottomLeftImageView);
bottomRightImageView = (ImageView) itemView.findViewById(R.id.bottomRightImageView);
mainImageView = (ImageView) itemView.findViewById(R.id.mainImageView);

}

public void bind(MapElement mapElement)
{
//Set the image views.
//ImageView iv = ...;
//MapElement me = ...;
//iv.setImageResource(me.getNorthWest());
if (mapElement == null)
{
System.out.println("Map Element is null.");
}
else
{
System.out.println("Map Element is not null.");
}
topLeftImageView.setImageResource(mapElement.getNorthWest());
topRightImageView.setImageResource(mapElement.getNorthEast());
bottomLeftImageView.setImageResource(mapElement.getSouthWest());
bottomRightImageView.setImageResource(mapElement.getSouthEast());
if (mapElement.getStructure() != null)
{
mainImageView.setImageResource(mapElement.getStructure().getDrawableId());
}
}
}

private class MyAdapter extends RecyclerView.Adapter<MyDataVHolder>
{
private MapData map;

public MyAdapter(MapData inMap)
{
map = inMap;
}

@NonNull
@override
public MyDataVHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
LayoutInflater li = LayoutInflater.from(getActivity()); //Fragment Method

return new MyDataVHolder(li, parent);
}

@override
public void onBindViewHolder(@NonNull MyDataVHolder holder, int position) {
int row = position % MapData.HEIGHT;
int column = position / MapData.HEIGHT;

MapElement currentMapElement = map.get(row, column);
holder.bind(currentMapElement);
}

@override
public int getItemCount() {
return map.HEIGHT * map.WIDTH;
}
}

private void updateUI(int pos)
{
adapter.notifyItemChanged(pos);
}
}

```

No here is the Map XML containing a singular RecyclerView.

```
<?xml version="1.0" encoding="utf-8"?>
<androidx.recyclerview.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/mapRecyclerView"
/>
```

Here is the grid cell xml that the Fragment inflates.

```
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">

<ImageView
android:id="@+id/topLeftImageView"
android:layout_width="0dp"
android:layout_height="0dp"
android:src="@android:color/transparent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toLeftOf="@id/topRightImageView"
app:layout_constraintBottom_toTopOf="@id/bottomLeftImageView"
app:layout_constraintWidth_default="percent"
app:layout_constraintHeight_default="percent"
app:layout_constraintWidth_percent="0.5"
app:layout_constraintHeight_percent="0.5"
/>

<ImageView
android:id="@+id/topRightImageView"
android:layout_width="0dp"
android:layout_height="0dp"
android:src="@android:color/transparent"
app:layout_constraintLeft_toRightOf="@id/topLeftImageView"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toTopOf="@id/bottomRightImageView"
app:layout_constraintWidth_default="percent"
app:layout_constraintHeight_default="percent"
app:layout_constraintWidth_percent="0.5"
app:layout_constraintHeight_percent="0.5"
/>

<ImageView
android:id="@+id/bottomLeftImageView"
android:layout_width="0dp"
android:layout_height="0dp"
android:src="@android:color/transparent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@id/topLeftImageView"
app:layout_constraintRight_toLeftOf="@id/bottomRightImageView"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintWidth_default="percent"
app:layout_constraintHeight_default="percent"
app:layout_constraintWidth_percent="0.5"
app:layout_constraintHeight_percent="0.5"
/>

<ImageView
android:id="@+id/bottomRightImageView"
android:layout_width="0dp"
android:layout_height="0dp"
android:src="@android:color/transparent"
app:layout_constraintLeft_toRightOf="@id/bottomLeftImageView"
app:layout_constraintTop_toBottomOf="@id/topRightImageView"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintWidth_default="percent"
app:layout_constraintHeight_default="percent"
app:layout_constraintWidth_percent="0.5"
app:layout_constraintHeight_percent="0.5"
/>

<ImageView
android:id="@+id/mainImageView"
android:layout_width="0dp"
android:layout_height="0dp"
android:src="@android:color/transparent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
/>

</androidx.constraintlayout.widget.ConstraintLayout>

```

Not sure why this isn't working and guessing it must be something fiddly that me and my peers are missing.

Cheers, if there is any other code you would like for context ill be hanging around.

Thanks for the help in advance.

  • Poll Poll
Root Alcatel Idol 5 (6060C codename simba6) Bootloader Unlock and Recoveries Now With Official TWRP

Any body interested in being able to use gsi's with this phone?

  • Yes definitely

    Votes: 1 100.0%
  • Not really

    Votes: 0 0.0%
  • What are gsi's

    Votes: 0 0.0%
  • Who cares

    Votes: 0 0.0%

New From A-TEAM:
6060C
ACCESS FASTBOOT
UNLOCK BOOTLOADER
INSTALL TWRP

Special thanks to the mVirus Team for the reboot tool.

Cracked screen repair Tab S6

I purchased a Tab S6 Fall of 2019 when they came out. the screen cracked in February 2020 despite having a cover on it.

I have tried Samsung, U Break I Fix, and Best Buy and no one can fix the screens on a Tab S6. Samsung never provided any parts for the product even to their own repair service.

Anyone have any advice as to where I can get the device repaired.

Samsung has said they have no options except buying a new one.

Cashtime-Play MathQuiz game Earn Cash (by DPTOOL)

Earn Free Cash Rewards By Playing Free Math Quiz Cash Game!

Cashtime Is a Free Cash Earning App Where You Can Earn Free Cash Rewards & More for Playing Simple Cash Game and Solving Math Quizes!

How To Earn?

>Spin The Lucky Wheel
>Refer Your Friends!
>Enter Friends Refer Code!
>Sub Channel & Earn!
>Play & Earn! & ETC....

How To Withdraw?


>You Can Withdraw Your Rewards Points To Your Bank Account Using Wallet!


Download link:
https://play.google.com/store/apps/details?id=com.scratch.offer.spin.cashtime

how to create a custom layout that is capable of rotating any of its child view/or nested layouts

I am having so much confusion creating custom layouts that can rotate it's child layout/views(any number of then nested). (Should I just think about rotating it's direct child only?) The closest I could find was this library: rotate-layout , but for some reason it's not working for nested constraintLayouts.

I didn't find much resources online for extending viewGroups, and I'm having trouble understanding the very basic of things, e.g. MeasureSpec, where everyone says that it is the constraint imposed by the parent to it's children, but, is the parent the view we're extending or the viewGroup that holds the viewGroup we're extending? If the MeasureSpec is referring to the parent's specs, then would getPadding also get the padding of the parent of the ViewGroup we're extending?

If possible please answer my above confusions and give me hints to how I should go about making the kind of view I have described above.

Help 4a network reception

I discovered I cannot connect my new 4a to 5Ghz Wifi in my garage where my original Pixel will stream music all day on same band. This lead me to more testing where I confirmed significantly lower signal and speed on the 4a compared to my OG Pixel, both 5Ghz and 2.4Ghz, holding the phones side by side, checking various networks at different distances. (They both have Spigen Rugged Armor cases... and I did do network reset, etc.) It may be that the 4a is functioning properly and that the OG Pixel just has very good reception. I'd be interested to hear if anyone else experiences something similar.
I love the 4a, a very nice upgrade except this, at least for me.

Filter

Back
Top Bottom