Search

Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Friday, August 2, 2013

How to send a File to Server in android programming




This is an easy Android application which allows to send a file in any format to a remote server. Server acts as loacalhost and create a button in a linear layout and the oprationvwill taking places in the android app is on button press. It will allows to send a file to server.There are mainly 4  portions for this operations. First one is an input device, which is an android device who send file to the server :- easyClientActivity.java.

easyClientActivity.java has the code for sending file. next one is main.xml, which creates the layout and user interface for the application. 3rd one is AndroidManifest.xml , it has the codes for some permission for using the network operations. main.java is the 4th module which comprises the code for server portion, allows to recieve the file.



easyClientActivity.java

   



Main.Xml
   
AndroidManifest.xml
   

main.java
   


Tags:-send a File to Server ,send a File to Server android,send a File to Server android , android tricks, android file management, android coding,android network programming

Thursday, August 1, 2013

How to use Turbo C++ on your Android Device

           


                    Here is a simple way to use Turbo C and Turbo C++ in an Android Device. You may want to run some applications developed in Turbo C and Turbo C++ like Old PC games on your Android Device. By default, an adroid device does not support some applications. But you can run such applications on your android device by using Andosbox Emulator which is x86 provided for Android OS. Follow the steps given below to run the Turbo C and Turbo C++ applications in your android device by using the Andosbox emulator.


  •   Get the file andsobox.apk
  •   Install it on your android device
  •   Get the zip  turboc++.rar
  •   Extract turbo c++.rar
  •   Copy and paste turboc++.rar contents in your sd card
  •   Now run andos box 
Tags: Turbo C on android,Turbo C++ on android,C++ on android,Android emulator

How to program backgound image wallpaper android development



Here we are going to explain about, how set and fix an image as wallpaper and changing its properties in an android application.It is simple to set an image as a wallpaper, there are different small problems that need to be addressed to sharply fix a wallpaper.This app will enables you to generate a wallpaper for each day which replaces automatically every morning, this tip helps to a number of points which will help in setting the wallpaper.

Create activity to Get an image from your Album: Android image operations are taking places by a class called Intent. Intent is an abstract description of an opration that will happend.Intent allows to peform possible opration mean while in the code.



Set your picture from Album: it is setting the image that you have selected for further process.



Android Bitmap properties Setting:-

Setting hight and width properties fo your bitmap for wallpaper:Creating a new file and set hight and width of that file for pic. enabling the bitmapfactory options.This will result an images size ratio at last.



Before setting the picture that you have selected as wallpaper, you need to maintanin and manage the display prperties of your android device. And then set the image as wallpaper of your device.
 
Android - Image Operations Using BitmapFactory,android image properties,android Programming, android image size programming,android image properties, android image wallpaper,android image reviews,android image features,android image modes,android image coding