Tag Archives: Android

Parallax Header for ListView

I was looking the other day for a cool parallax effect to add to my application, and after researching some ways to do it, I come up with a simple way that can be added to any project with a couple of lines.

The idea is to put the header that you want to add the parallax effect inside a FrameLayout and behind the ListView, then add a transparent header to your ListView that has the same height as you other header. You will need to implement OnScrollListener on your ListView

And that’s pretty much everything you need

Here is a step by step on how to do it

First, your XML layout (main.xml)

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <FrameLayout
        android:id="@+id/header"
        android:layout_width="match_parent"
        android:layout_height=“200dp” >
      <!-- YOUR HEADER -->
    </FrameLayout>

    <ListView
        android:id="@+id/items"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:cacheColorHint="@android:color/transparent"
        android:divider=“@null”
        android:dividerHeight=“0dp"
        android:scrollbars="none" />

</FrameLayout>

Second your transparent header XML layout (empty_header.xml)

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="200dp"
    android:background="@android:color/transparent" />

Then your fragment (ParallaxListFragment.java)

public class ParallaxListFragment extends Fragment implements OnScrollListener {

	private View view;
	private ListView listView;
	private View parallaxHeader;
	private View header;

	public static ParallaxListFragment newInstance() {
		return new ParallaxListFragment();
	}


	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		view = inflater.inflate(R.layout.main, container, false);
		parallaxHeader = view.findViewById(R.id.header);
		listView = (ListView) view.findViewById(R.id.items);
		header = inflater.inflate(R.layout.empty_header, listView, false);
		listView.addHeaderView(header, null, false);
		listView.setOnScrollListener(this);
		return view;
	}

	@Override
	public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
        // TODO These lines control the parallax effect, change the number "2" for different speeds
		LayoutParams params = (LayoutParams) parallaxHeader.getLayoutParams();
		params.setMargins(0, header.getTop() / 2, 0, 0);
		parallaxHeader.setLayoutParams(params);
	}

	@Override
	public void onScrollStateChanged(AbsListView view, int scrollState) {
	}

}

That’s it, easy way for a nice effect

I’ll be start posting more often some cool stuff I coded working for some really cool projects


XBOX Live Statistics UPDATE to 4.0

Hi folks.

An update for XBOX Live Statistics is coming soon, with a new and better UI, lot of fixes and new features.

Just for now, I leave you some pictures of it


PS3 Trophies for Android UPDATE to 4.0

PS3 Trophies had a revamped update this week.

All features of the app are easily accessible from the main screen.

Transitions are smooth and graphics looks sharper and brilliant.

Also this version includes support (in development) for vita games
Main Screen shows your  profile and access to most common features
(friends, games, guides, chat, blog, events, profile, ranking and favorites)

To the left of the main screen you can find
Friends, Favorites, Ranking, Search and finally Help/News
To the right of the main screen you can find
Games, Guides, Profile, Events and finally Blogs

Every Icon on the upper left of the screen will display a menu, and some will react to long taps

When looking at games the upper right icon has two functions, tapping will open the sort filter, and long tapping will open the game type filter (Vita / PS3)
If you tap on a game you will get a new screen with all trophies earned
To the left you can see others users with the same game, and to the right you can see users reviews, then guides, then YouTube videos

When looking at friends, tapping a friend will open a new screen with the user profile and all the games he has
To the left there is the App Profile of that user, and to the right you can compare games between the users

Blogs now include Official US Playstation Blog, Official EU Playstation Blog, Official BR Playstation Blog and Official LATAM Playstation Blog.

There is a new Lock Screen option to have your profile and friends online on your phone screen even when the phone is locked.

I will write a Help Page soon, explaining all options of the application

Go download it now
FREE Version
https://play.google.com/store/apps/details?id=ar.com.ps3argentina.trophies
PRO Version
https://play.google.com/store/apps/details?id=ar.com.indiesoftware.ps3trophies

Here are some pictures of the new UI


Introducing GameFront

A new app for gamers landed on the Android Market

GameFront syncs your PS3 and XBOX Games, so you can create a publication to sell them.

Get it here https://market.android.com/details?id=ar.com.indiesoftware.gamevault

You just need to create a new account and link you existing PS3 or XBOX account to see all your games in the  application’s main screen.

From there you can:

  • See the trophies/achievements of every game.
  • Access to Guides and YouTube videos.
  • Read and Review your games.
  • Look for other users that have your same games.
  • SELL GAMES!!
  • You also have access to the entire list of games from PS3 and XBOX where you can see Guides and YouTube videos, along with the access to trophies/achievements of each game
  • Read latest news from PSN Blogs (US, EU, Latam, BR) or Major Nelson Blogs
  • Search users and game publications
  • You can even follow games and users, so you will get notifications on new deals!!!
  • Message other users about their deals or just for fun!

Each publication has its own picture, description and the option to localize the sell on the map, so you can search for deals near you!!

Description of the App

Profile

  • Choose a personalized avatar,  background and foreground color of your messages.
  • You can enter your Name, Location, Date of Birth, Gender, Facebook page, YouTube channel, Twitter and G+ user.
  • Write a small Bio so everybody else will know a little more about you.
  • Access all your publications (including those that you already finalized)
  • See what are you following (Games and Users)
  • See who are following you
  • Read/Reply all messages you got

Games

  • This is the entire list of XBOX and PS3 Games
  • Filter games by Console
  • Search for Games
  • Access to Guides and YouTube videos
  • See the Achievements/Trophies
  • Read reviews from other users
  • Follow a game, so you will get notifications if some publish a new deal for it

Blog

  • Access latest news from PSN Blogs and Major Nelson (XBOX) Blogs
  • PS3 users, you can choose from US, EU, Latam and BR blogs
  • XBOX users, you can choose from 2 Major Nelson Blogs

Profiles

  • Search other users
  • See their profile
  • Follow a user, so every time that user post a new deal, you will get a notification
  • See all the publications from one user
  • See all games from that user
  • Message the user

Publications

  • Search for publications (you can search for user or game title)
  • Access a map with all active publications
  • See details of every publication, including:
    •       Trade or Sale (if sale, then price)
    •       Description left by the user
    •       Picture taken by the user
  • Contact the seller, and sen him a message if you are interested in the game
  • See the location of the deal (if available)

First publication is FREE, if you want to publish more games you can

  • Buy the option to publish 1 game at $0.99
  • Buy the option to publish unlimited games for 30 days at $4.99
  • Buy the option to publish unlimited games, no time limit at $29.99 

Here are some pictures of the app, the more users, the more deals you can find!!


XBOX Live Statistics for ANDROID Updated

HELP coming soon


PS3 Trophies PRO HD for Android Tablets

Hello everyone

I released the HD version of the PS3 Trophies PRO app (best Playstation application), exclusive for Tablets.

This first release includes

  • Profile
  • Games
  • Trophies
  • Friends
  • Friend Games
  • Friend Trophies
  • Wall Chat
  • PSN Blog (EU/US)
  • Game Reviews
  • YouTube Videos
You can get it searching for PS3 HD in the android market (tablet only) or visisting https://market.android.com/details?id=ar.com.indiesoftware.ps3trophies.hd&feature=search_result
Here are some screenshots of the app running on XOOM


XBOX Live Statistics for Android

PRO Version is Live!!

You can download XBOX Live Statistics 1.0 from the Android Market.
Please, try the BETA version before downloading the PRO

What is included int the PRO version?

1. Your Profile, Games & Achievements
2. You can edit your profile from inside the APP
3. You can mark achievements as “in progress”
4. Messages. Send, Receive, Respond to Messages. Multiple Receipients allowed
5. Landscape support on almost all the screen
6. Friend list, games & achievements. Compare your games & achievements againts theirs.
7. Add/accept/dismiss Friend Invitation
8. Friends Widget with notifications
9. Messages Widget with notifications
10. Home widget with any profile (you can choose any gamertag) that launch the main app
11. Feedback Screen. PLEASE send feedback instead of bad ratings on the Market. I will try to fix problems ASAP

What is coming?

1. More Templates for Home Widget
2. Events Organization (Private & Public)
3. Games & Achievements Guides
4. FREE XBOX Codes Giveaway
5. More Languages
6. Friend List of Friends
7. Twitter & Facebook Integration

Investigating

1. MarketPlace (buy points & games, redeem codes, add downloads to queue)

What is not possible?

1. Audio messages. The site doesn’t allow to send or receive audrio messages.
2. Avatar Animation (those animations are in SivlerLight, not supported on Android)
3. Play XBOX Games (?????)
4. SDCard installation (because the widgets on screen get corrupted)

Is this APP secure? What about my email/password?

1. This app store your credentials in a private area of your phone, that is only accesible to this APP
2. Your email / password are only sent to Microsoft using HTTPS (SSL secure encrypted protocol)
3. I never (NEVER) get (or will get) your email or password

I can’t Login!!!

0. Check if www.xbox.com is up and you can login in there
1. Please, try the BETA version first.
2. Is too difficult to test every phone with every account. I never ask for your email/password, so the problem may be related to that and I wont be able to fixit.
3. I will release any upgrade as soon as I test it.

My Avatar doesn’t REFRESH!!!!!

1. Avatars are refreshed every 24hs.

The HOME widget (achivements) does not REFRESH!!!!

1. Home widget (achievements) has a cache of 1 hour
2. If you choose “Manual” you can refresh the widget taping on it (point 1 applies)

APP will be $0.99 untill the end of the year, so hurry and download your copy today (updates are always FREE!!)

 

As always you can Donate


Follow

Get every new post delivered to your Inbox.