Creating Global Session Variables for all Activities Android Example

Here is an Android example of how to share variables through out your activities and your project. There is many ways including preferences, extending from a base activity or using  a database to share variables. I like this one because it can be accessed through the whole project and it is easy to implement. The down side is that the variables are only available through a session. For example if the user restarts the application then all the variable will also be cleared. So they can be viewed as session variables.

 

Continue reading

Posted by in Coding

Tags:

Permalink 2 Comments

Fading In/Out Image Button and Starting New Scene Unity 3D Example

Here is a simple example of a button fading an image out and fading in a different image on a button in Unity 3d. I have also included how to go to a new scene/level using the button with either index of the scene or by title of the scene.

Continue reading

Android Example Passing Variables Between Activities using Intent

Here is an example of passing variables between activities using Intent. It is easy to add extra inside an intent but unless you do it a lot then you may after reference an example.

Continue reading

Android Example of using Thread Class for Multithreading App

Here is a simple example of using the Thread Class for a Multithreading application . Shows how to use the Progress Dialog, Handler, and running on the UI Thread. Also how to handle the Looper.prepare() error (“java.lang.RuntimeException: Can’t create handler inside thread that has not called Looper.prepare()”). If you are getting this error then you are trying to do work that should be done on the UI/Main thread. I have example in the code to handle this.

device-2014-04-09-130053

Continue reading

Upload JSON Data from Android Phone to MySQL Database on Website / Server Example

Here is an example of uploading Json Data to a MySQL database on a website/Server from a Android phone.  This is great to upload user data from the phone to a website. The bad thing is  that you have to use a different Thread instead of the main UI thread. It fairly simple to multithread even though some examples  makes it pretty complicated. Check out my attempted to explain an example of using the Android Thread class.

Continue reading

Unity – Selecting Game Object by Touch and Moving with Finger

device-2014-03-27-124634Here is an example of how to select a game object by touch using Unity 3d’s Physics Raycast. The first part is to find the game object that the user is touching with their finger. This is done by a raycast.  If that is all you want to do then you can skip the inner ‘if statement.’ The next step is to get the finger’s position in pixels and then convert it to game world coordinates.

Continue reading

Posted by in Coding

Tags:

Permalink 1 Comment

How to get a direct download link for Hulkshare with pictures

Here is the steps how to get a direct download link from your Hulkshare.

Continue reading

Example Using Weather Underground for Android parsing XML

Small_nono_04Here is an example of requesting a XML document from Weather Underground (http://www.wunderground.com/weather/api/) to get the local weather.  The example also shows how to parse the XML document for Android (Java) after it is returned to display the weather.

Continue reading

Nfl Replica Jerseys – A Possess For Nfl Fans

With the 65th pick or first pick typically the third round, Carolina took defensive tackle Terrell McClain out of South The southeast. And with the th pick the final pick of the third round Carolina selected Stanford Cardinals defensive tackle Sione Fua.

Most sufferers are cheap jerseys from china born to our allegiances. Especially the home team. Our fathers taking us wholesale jerseys for your first baseball game, the perfectly manicured green grass and white on white of the baselines so precisely presented before us as giants warmed up under the brilliant summer sun. From then to eternity that team jersey city jerseys baseball team was mine. It binds us to a town a city, an era, it becomes who we are, it defines us in ways beyond rational explanation. We wear our loyalty in game jerseys with our hero’s name emblazoned over a back, we paint our faces our team’s colors, we name our children after wholesale jerseys usa paypal gambling preferred players. We’re crazy, crazy in love with our professionals.

The football season begins from site to website week of September. It runs regarding your seventeen week schedule until late December or early January. Six teams from each conference with at least one from each division plays the actual world NFL Play-offs. Various matches are played in this season and betting is shown to be at the peak inside this season. Betting enthusiasts can make the most of this along with can place bets upon the outcomes of all the regular season games, play-offs as well as course the super Bowl .

Aside from that, Newton’s declaration Thursday that he’ll almost enter the nfl draft caused no jaws to lower. After all, his stock david savard cyber monday jersey cannot get any higher. Despite him, the Tigers perhaps have gone 8-4 next season in the brutal Securities and exchange commission. He mastered Gus Malzahn’s complex offense in one season. He’ll almost certainly not get any bigger or stronger.

BYU’s Jim McMahon was the award’s first recipient in and former Cougars Steve Young and Ty Detmer round out the connected with O’Brien Award winners from BYU. Cheap Florida Panthers NHL Jerseys

Dakota Salazar
  Shirt was just as advertised. Arrived on time. Perfect transaction Very pleased.

Claudia Mendez
  Very soft and comfortable! Love the shirt!

Some Features That You May Not Know For Soccer Jerseys

What s Your Favorite Team Shirt
http://khoobdesigns.com/823-2/
So You re Thinking Of Starting A Sports Memorabilia Collection

Adding Text to a Picture using a Camera Application (Android)

If you want to add text to a picture that you took from your Android camera app that you built then you came to the right spot. This is an addition to my post Camera Application in Android Example.  So if you do not have a working camera app yet then I would recommend using the code posted there.  It is only small addition and you should not have an issue adding the code to your existing code.  Here is an example of a picture with text printed on the picture:

Camera app with text overlay
Continue reading


Graveyard Database Logo

Has everything you want to know about grave yards. Plus has many celebrites and world leaders graves. Pssst it is my other site

Google + Profile
Check out Android Photo Mapping, its a app/site I been working on

  • wholesale sports jerseys
  • Fabulou wholesale Petr Mrazek jersey is back. Best choice to get the wholesale Petr Mrazek jersey is suitable for all style of people.