Android Development

A place to discuss Android Development, Eclipes, the SDK, Java, xml and souch issues.

Error message I do not know the cause.

Good morning.

I ran into a problem. I'm not getting "set" a text in another Activity EditText.

it displays the following error:

Good morning.

I'm developing a system to submit simple request in my pic college.
Product registration and customer are right.
I'm not able to play the part of the application where the customer selects.

In the registration request is an Activity that lists all clients, I want that when clicked upon a client list he brings pro form of the application code and customer name.

Then you'll get:

The menu draws Activity Request
Order Activity I call another customer to select the application
but when I call back to order activity appears the error below:

05-04 11:38:41.034: ERROR/AndroidRuntime(298): Uncaught handler: thread main exiting due to uncaught exception
05-04 11:38:41.063: ERROR/AndroidRuntime(298): java.lang.NullPointerException

Parsing XML from the Net - Using the SAXParser or DOMPaser

hi :) ,

I want Parsing XML from the Net - Using the SAXParser or DOMPaser to affiche the content in spinner android
i want any example for this problem

how to connect aql server from android application using webservices

hi ....i am new to android application developmant .I am developing an android application which is associated with website.in my home screen there are two buttons login and register.if i clicks on register it should take all user details and save it into remote sql server.

i heard that ..to connect server we should use webservices.but i am not aware o fwebservices..pls help meout with step by step process or else suggest some tutorilas.

Problem in downloading SDK addons and tools updated

hi to all,

i have downloaded the SDK manager and run it. but it shows a following msg under "refresh sources" dialog box.

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: dl-ssl.google.com

and also i have attached the SDK mgr window in the file attachments...

pls help me... its urgent...

Problem in downloading SDK addons and tools

hi to all,

i have downloaded the SDK manager and run it. but it shows a following msg under "refresh sources" dialog box.

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: dl-ssl.google.com

and also i have attached the SDK mgr window in the file attachments...

pls help me... its urgent...

Checking For Null Then Exiting The Function

I'm scouring through an example project that's hosted on google and I'm constantly seeing a little snippet of code that's being used to exit a function if what's being passed in is null. Is there a better way to code this instead of placing this little snippet at the beginning of every function where that variable is used?

Snippet In Question:

  1. if (gl == null) {
  2.     return;
  3. }

Full Code:

  1. public void Init(GL10 gl) {
  2.     if (gl == null) {
  3.         return;
  4.     }
  5.     InitTex(gl, SLWP.Bg);
  6. }

Thanks,
Brian

how to get a list item position by clicking a button inside it?

Hi guys, actually I've read some previous discussions about this...

this is the code that I use

  1. auto = (ListView)findViewById(R.id.auto);
  2. String[] projection = new String[] {Browser.BookmarkColumns._ID,Browser.BookmarkColumns.TITLE,Browser.BookmarkColumns.URL};
  3.  
  4.     String[] displayFields = new String[] {Browser.BookmarkColumns.TITLE, Browser.BookmarkColumns.URL};
  5.  
  6.     int[] displayViews = new int[] { R.id.text1,R.id.text2 };
  7.  
  8.     Cursor cur = managedQuery(android.provider.Browser.BOOKMARKS_URI,projection, null, null, null);
  9.  
  10.     //auto.setAdapter(new SimpleCursorAdapter(this, R.layout.mylist, cur,displayFields, displayViews));
  11.  
  12.     myAdapter apt = new myAdapter(this, R.layout.mylist, cur,displayFields, displayViews);
  13.     auto.setAdapter(apt);

and class myAdapter

  1. class myAdapter extends SimpleCursorAdapter{
  2.  
  3.     private Cursor c;
  4.     private Context context;
  5.  
  6.  
  7.     public myAdapter(Context context, int layout, Cursor c, String[] from,

Libya opposition defeat blame foreign aid

Libya opposition defeat blame foreign aid

April 6, eastern city in Libya with front, a blaze of mogadishu soldiers carrying heavy machine gun card car sitting. The air strikes in NATO air force with the blaze of mogadishu beats by dre to add attack, but not yet sure whether Blake already occupied with the city. Xinhua just Yang perturbation
Libyan leader muammar troops and rebels 5 in Libya eastern town BuLei Blake added (and as add) firefight, lose a NATO air cover not the rebels troops, qaddafi was forced to retreat.
On the same day, the opposition forces complain beats headphone that NATO air strikes "too slow," in the western town of meters failed to stop army Ursula tower. NATO officials later rejected the claim, saying the allied troops did not reduce air raid times.
Blake added crossfire opposition was forced to retreat

How do i implement background video recording in android?

How am i going to allow background video recording after i leave the application,or received an sms/call and when i'm come back its still recording and data was not lost because i'm creating an car blackbox android application??
I was given clue that i should be using services in a new .java file in order to invoke and extend to to do background recording, but i don't seems to know how to do it despite reading tons of sites related to services,please don't relate me to any other site anymore , i have read tons of it.. I tried using AsyncTask but me lecturer told me cannot... Can someone help me related to this topic whether is it using AsyncTask or services to perform background recording??

  1. public class CameraTest extends Activity implements SurfaceHolder.Callback {
  2.    
  3.    private static final String TAG ="CAMERA_TUTORIAL";
  4.    
  5.    private SurfaceView surfaceView;
  6.    private SurfaceHolder surfaceHolder;
  7.    private Camera camera;
  8.    private boolean previewRunning;

mobile phones in india?

Latest and user friendly product from this site, this is one of the best site from online shopping such as Mobile, Laptop,home shopping, get mobile phone, mobile phones india, online india shopping

Syndicate content