Moto Racing : App review

Here is another app that I reviewed today “Racing Moto“.

This bike racing game is developed by “6DGames”.
The application utilizes accelerometer as the principle method of control. When you have crossed the sprinkle screen you get a choice to choose the bicycle.

 

Moto racing review

One of the bikes is free and rest are paid.

Post determination of bicycle you get an alternative to pick the sort of perspective or cam position, whatever you need to call it.
Motoracing review

Next comes the real diversion play, here is the feature for the same:

 

Conclusion:

This is a small bike racing game, whatever is there in it, it works, it meets expectations, you won’t be exhausted while you are playing it.

 

Improvements:

The game can be improved on Graphics.
I don’t know if it has options to de-accelerate the bike and to apply brakes.
Once these are done, the controls can be improved, and the rundown never closes.

Hope you guys will find the game interesting, I as a developer know the amount of effort it takes to create even small games.

Best of luck to 6Decgames.

Thanks

Transforming activity to Material theme

In this post I will be writing about how you can change your current activity to material design.

Material design is a certain set of specifications that allows you to change the look and feel of your app, this is done by maintaining a type of continuity in the design, the appearance of views, activity transitions etc.

With all these news features, what you can do, you change the action bar colour, change the top status bar colour, change the tints on views.

In previous versions changing all these things were quite difficult, but now they are pretty easy and Android has provided guidelines to achieve these.

For this part we will be using AppCompact library for backward compatibility.

Lets first understand the terminology of various sections of activity in styles.xml
Change android activity to material theme

Now all these attributes defined above can be customized in styles.xml.

I am now starting on with the view of one of my apps before any customization. Its a wallpaper changer app and available on Android market.
Change activity to material theme

This is just like a normal activity, now lets start customizing it.

Currently your styles.xml might be looking like:

 

<style name=”AppTheme” parent=”AppBaseTheme”>       
</style>

 

Now lets change the actionbar background colour, for this we will use colorPrimary attribute.

<item name=”colorPrimary”>@color/blue</item>

Next we can change the status bar colour. I will make the status bar of same colour.

<item name=”colorPrimaryDark”>@color/blue</item>

Lets try to change the ascent colour also, with this it will change the tint to every widget. I will be attaching a screen-shot of a view with progress bar, and you can see that its colour will be changed.

<item name=”colorAccent”>@color/red</item>

So lets see how our changes look.
Create mmaterial design activity

 

Do you see some thing here in centre, our progress bar is Red in colour, that’s a tint.

Here is how my final xml looks:

<style name=”AppTheme” parent=”AppBaseTheme”>
        <item name=”windowActionBarOverlay”>true</item>
        <item name=”colorPrimary”>@color/black</item>
        <item name=”colorPrimaryDark”>#00000022</item>
        <item name=”colorAccent”>@color/red</item>
</style>

 

and here is how my final app looks:
Material design

 

Hope you guys liked it, don’t forget to share it and follow my Facebook page, for more such content.

QDATE Wireframe

QDATE.NINJA is a small app currently to test the concept in the real world.
The app allows you to share your info for dating purpose via QR code.

User fills in his details like Interest, Facebook Url, Contact info etc, and the app generates the QR Code with all this info.
Below are few of the screens of the app.

Continue reading

Auto Change Wallpaper : Review

auto-change-wallpaper

In this post I shall be reviewing Auto Change Wallpaper android app.

Auto change wallpaper is an android app that allows you to change background of your Android device at a fixed interval.

The app opens up with a nice screen that allows you to Add images and another option to actually start this service.

Once you add images the app can easily switch the wallpaper at the interval you set it.

Once you have enabled the service, using top right button, you get an option to set the interval on Pop up.

On the bottom right, there are few other options to Remove All Images, Save, and rate the app.

Besides this there is not much in the app to write about.

You can download the app from playstore.

Below are few of the screens of the app.
auto-change-wallpaper

Wallpaper Changer Android App

ic_launcher
Android Wallpaper Changer App

As a part of my quick two day project, I created a very small  wallpaper changing app. What this app does is that it changes the wallpaper of your android mobile every time you are on wifi.

For the images we refer to various stock images sites like: IsoRepublic , Pixabay etc. The primary focus of the app was to keep it simple and clean, that’s not much features have been added in it. In case people will start liking it, then may be we can add it later on.

 

One think to keep in mind while using this app is that the functionality will not work if you are on Mobile network, this has been done intentionally to reduce the mobile data bandwidth.

The quality of certain images we host might not be very high resolution, since we are dependent on our sources of images, however we have plans to improve it further.

So guys, go ahead an try out Android wallpaper changer app, and provide feedback’s and suggestions on the links on that page.

Paypal Parallel Payment on Android

Paypal parallel payment on Android

 

In this post I shall be going around to explain how to integrate paypal parallel payment on Android.

Before we move on to integration, let me explain what parallel payment is, in very short.
Parallel payment allows you to pay to multiple merchants in just a single transaction. For example. I am running a website to book tickets, and for every booking I keep some percentage of the amount, and the rest is paid to the cineplex. In this scenario we will be using parallel payments.

You can read more about Parallel payment on paypal parallel payment guide.

 

In order to integrate parallel payments, you should be having following.

1.) Account at developer.paypal.com.
2.) Create an app at: https://www.paypal-apps.com/user/my-account/applications or you can use dummy app Id, APP-80W284485P519543T
3.) Get the api keys and grant API access. I don’t remember exactly but I believe you will have to navigate to:
https://www.paypal.com/webapps/customerprofile/summary.view then go to “Api Access”, then “Update” and finally “Grant Api Access”.

Your Api keys should be looking something like this:


API Username :   ash_avr_api1.fastmail.fm
API Password :   M67KH997ARZ52JH6
Signature  :  BGkC1TWFxKJWAj2s1.2xl9z.gDhyA3wOeKPnzhEjrPWP9cjMN-XPQSrt

 

For the integration part, the API end point for this particular payment type is:
https://svcs.sandbox.paypal.com/AdaptivePayments/Pay

 

While making post request to this api, you will have to set certain fields in header.

-H "X-PAYPAL-SECURITY-USERID:  insert_developer_user_name_here"
-H "X-PAYPAL-SECURITY-PASSWORD: insert_developer_password_here"
-H "X-PAYPAL-SECURITY-SIGNATURE: insert_developer_signature_here"
-H "X-PAYPAL-REQUEST-DATA-FORMAT: JSON"
-H "X-PAYPAL-RESPONSE-DATA-FORMAT: JSON"
-H "X-PAYPAL-APPLICATION-ID:   APP-80W284485P519543T"     #Standard Sandbox App ID

Besides header, you will also have to post certain other values to this api.
Remember you can either user name value pairs or JSON.

Below are the input parameters that will be required.

actionType=PAY      #The action taken in the Pay request (that is, the PAY action)
&clientDetails.applicationId=APP-80W284485P519543T #Standard Sandbox App ID
&clientDetails.ipAddress=127.0.0.1     #Address from which request is sent  
&senderEmail=sender_email
&currencyCode=USD        #The currency, e.g. US dollars
&receiverList.receiver(0).amount=3.00     #The payment amount for the first receiver
&receiverList.receiver(0).email=first_receiver_email
&receiverList.receiver(1).amount=4.00    #The payment amount for the second receiver
&receiverList.receiver(1).email=second_receiver_email
&requestEnvelope.errorLanguage=en_US
&returnUrl=http://www.yourdomain.com/success.html    #For use if the consumer proceeds with payment
&cancelUrl=http://www.yourdomain.com/cancel.html    #For use if the consumer decides not to proceed with payment

If you want to test the above api, here is the curl command:


curl -s --insecure -H "X-PAYPAL-SECURITY-USERID: ash_avr_api1.fastmail.fm" -H "X-PAYPAL-SECURITY-PASSWORD: M67KH997ARZ52JH6" -H "X-PAYPAL-SECURITY-SIGNATURE: BGkC1TWFxKJWAj2s1.2xl9z.gDhyA3wOeKPnzhEjrPWP9cjMN-XPQSrt" -H "X-PAYPAL-APPLICATION-ID: APP-80W284485P519543T" -H "X-PAYPAL-REQUEST-DATA-FORMAT: JSON" -H "X-PAYPAL-RESPONSE-DATA-FORMAT=JSON"   https://svcs.sandbox.paypal.com/AdaptivePayments/Pay -d "{\"actionType\":\"PAY\", \"currencyCode\":\"USD\", \"receiverList\":{\"receiver\":[{\"amount\":\"1.00\",\"email\":\"rec1_1312486368_biz@gmail.com\"}]}, \"returnUrl\":\"http://www.example.com/success.html\", \"cancelUrl\":\"http://www.example.com/failure.html\", \"requestEnvelope\":{\"errorLanguage\":\"en_US\", \"detailLevel\":\"ReturnAll\"}}"

 

 

It might be looking complicated, but if you will give some time to it, you will get it easily.

 

In response of above api you will be getting these keys:

responseEnvelope.ack=Success
&payKey=AP-70S20255150981234    #Value of the pay key, for use in a redirect to the PayPal site
&paymentExecStatus=CREATED    #Indicates that a payment is set up, ready for a sender to click Pay on the PayPal site

 

Now open your webview and navigate to:

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-3GA876285V2310346

 

Bang!.  Its done now.

In case you want to get an idea of code snippet, you can view Paypal Parallel Payment here.