[android-developers] Re: Can two applications that run in the same process have different STATIC object values?

2012-12-23 Thread Chris Mawata
It has to do with class loaders is Java and not processes or applications. Java language: A class is identified by its fully qualified name Java Virtual Machine: A class object is identified by its fully qualified name and defining class loader Instances of classes loaded by the same

[android-developers] Re: ContentResolver.query return null android

2012-12-12 Thread Chris Mawata
Are you sure the uri coming into the method is not null? On Tuesday, December 11, 2012 10:19:13 PM UTC-5, Hilda Chen wrote: public int getCount(Uri uri){ Cursor c=null; int size=0; if(uri.equals(DatabaseContants.CONTENT_URI_SETTING)){

[android-developers] Re: Data interchange with a PHP server

2012-06-09 Thread Chris Mawata
The built in http client is the usual Apache HttpClient so it can handle the passing of a cookies for you. I would suggest you make the program actually work and produce correct results before worrying about speed. First worry about what you need. For example do you need validation against a

[android-developers] Re: Data interchange with a PHP server

2012-06-08 Thread Chris Mawata
There is an HTTP client on Android. When you talk about parsing strings, what structure do you have? There are facilities for handling JSON and XML. On Friday, June 8, 2012 6:48:22 AM UTC-4, Fran wrote: Hi there, I need to interchange data between my Android app, written in Java using

[android-developers] Re: best practice in extending classes

2012-06-08 Thread Chris Mawata
That should take care of itself. Initially only the Android system has a reference to that object of an internal class type (e.g. and Activity object. That reference is effectively a bridge. (Call it 'refB'). The object of an Android internal type can in turn have references to other objects

[android-developers] Re: ArrayIndexOutOfBoundsException

2012-04-04 Thread Chris Mawata
Because of items = new String[0]; On Apr 4, 3:48 am, Graham Bright gbwienmobil...@gmail.com wrote: Hi, I can't figure out why I am getting and out of bounds exception ? Any ideas Thanks public static String[] items = new String[0];         public static  HashMapString, String map = new

[android-developers] Re: application failing on similar devices

2012-03-17 Thread Chris Mawata
Looks like it is taking too long to populate the ListView. You are probably doing work on the UI thread that takes more than a few seconds. On Mar 16, 7:34 pm, momo dun...@gmail.com wrote: I debug with a Samsung Galaxy SII, running 2.3.6.  I created an app that runs fine, every time, even under

[android-developers] Re: Convert Decimal latitude longitude to Dms form

2012-03-15 Thread Chris Mawata
Nothing special -- there are 60 minutes in a degree and 60 seconds in a minute. On Mar 15, 10:00 am, agung wiguna johan agung.wiguna.jo...@gmail.com wrote: Hi, can somebody tell me (and give sample code if possible) how to convert the decimal latitude longitude into DMS form? I already seach

[android-developers] Re: Fwd: sax parsing

2012-02-25 Thread Chris Mawata
You forgot to say what the problem was. We can't guess. Chris On Feb 25, 3:04 am, Suraj Laad kingsuraj.l...@gmail.com wrote:   hi all ,              i am faceing a problem in using sax parsing . so pleses guide me achieve my goal.                          with regard.                      

[android-developers] Re: Sql Server 2008 with android

2012-02-25 Thread Chris Mawata
Your Android device should not have to know what brand of database you are using. First decide how much of the processing is on the server. If most is on the mobile device then use a web service and feed the mobile device XML. If the device is just doing presentation (especially if the data ends

[android-developers] Re: the listener only responses to last item added to main view.

2012-02-20 Thread Chris Mawata
Your onClick() is empty so one would expect nothing to happen. What was the expected behavior? On Feb 18, 8:59 am, furkan katman furkan.kat...@gmail.com wrote:  here is the code .. package com.android.KickOffPro; import java.util.Random; import android.app.Activity; import

[android-developers] Re: Please provide me the Mediarecorder documentation?

2012-02-19 Thread Chris Mawata
Google Android MediaRecorder On Feb 18, 9:46 am, muhammad.ume...@hotmail.com muhammad.ume...@hotmail.com wrote: hi all,        Please give me the Mediarecorder documentation or The report on Mediarecorder. Please please i really need it. Thanks and Regards, umer -- You received this

[android-developers] Re: Please provide me the Mediarecorder documentation?

2012-02-19 Thread Chris Mawata
What do you have so far? Are you sure that such a document exists? (e.g. Do you have a citation or do you know who was supposed to write the report). The term theoretical implementation seems to be a contradiction. On Feb 19, 8:27 am, Muhammad UMER muhammad.ume...@hotmail.com wrote: hi shris,  

[android-developers] Re: No text visible in edittext

2012-02-18 Thread Chris Mawata
The way you have written it that is what should happen -- you have a loop and you keep replacing the text with the substring. Generally in Jave setXXX methods will replace the current value of a property with the new value. Since this looks like homework check the docs for a method that will add

[android-developers] Re: How to deal with java.io.exception no space left on device when that isnt the case

2012-02-17 Thread Chris Mawata
();                 if(!adCacheDir.exists())                     adCacheDir.mkdirs();         } every where I read thats how you get to the sd card On Feb 16, 3:02 pm, Chris Mawata chris.maw...@gmail.com wrote: Your single application won't be given all of the 1 gig of memory on the device. It is a much more

[android-developers] Re: How to deal with java.io.exception no space left on device when that isnt the case

2012-02-16 Thread Chris Mawata
Your single application won't be given all of the 1 gig of memory on the device. It is a much more humble number like 16MB or 24MB. Probably the first thing to investigate is why the images are on internal memory. On Feb 16, 5:21 pm, Jim Andresakis jimandresa...@gmail.com wrote: Hello, I have

[android-developers] Re: Password application

2012-02-16 Thread Chris Mawata
In general at the application level trying to interfere with the operation of another application without the other application's cooporation is not going to be possible for obvious reasons. On Feb 16, 3:59 pm, Farhan Tariq farhan@gmail.com wrote: Any way you can think of which is NOT the

[android-developers] Re: How to stop service getting latest updates from twitter ??

2012-02-09 Thread Chris Mawata
Take a look at http://developer.android.com/reference/android/app/Service.html It depends on how you are starting the service. On Feb 9, 5:25 am, AndroidGirl8 walaamahmou...@gmail.com wrote: Hi all, i'm  trying to  make service getting twitter update by a thread every 5secs start service just

[android-developers] Re: How to stop service getting latest updates from twitter ??

2012-02-09 Thread Chris Mawata
R.id.stopservices:  startService(new Intent(MarkanaActivity.this, UpdaterServices.class));           break; } return true; On Thu, Feb 9, 2012 at 3:04 PM, Chris Mawata chris.maw...@gmail.com wrote: Take a look at http://developer.android.com/reference/android/app/Service.html It depends on how you

[android-developers] Re: How to stop service getting latest updates from twitter ??

2012-02-09 Thread Chris Mawata
R.id.stopservices:  startService(new Intent(MarkanaActivity.this, UpdaterServices.class));           break; } return true; On Thu, Feb 9, 2012 at 3:04 PM, Chris Mawata chris.maw...@gmail.com wrote: Take a look at http://developer.android.com/reference/android/app/Service.html It depends on how you

[android-developers] Re: Possible to protect settings menu with an android app?

2012-01-24 Thread Chris Mawata
package. Seems like a common and reasonable thing to restrict. On Jan 24, 8:18 am, Chris Mawata chris.maw...@gmail.com wrote: Actually my employer told me to create an android app that prevents other apps from blocking access to the settings menus. Do you see this couldn't possible

[android-developers] Re: Possible to protect settings menu with an android app?

2012-01-23 Thread Chris Mawata
Actually my employer told me to create an android app that prevents other apps from blocking access to the settings menus. Do you see this couldn't possible work? There are shared aspects of the framework that no one app should have hegemony over. On Jan 23, 1:35 pm, Yar Lag ya...@hotmail.com

[android-developers] Re: viewing source code

2011-12-05 Thread Chris Mawata
The easiest way is to ask the author. If the author says no then the answer is no. On Dec 2, 1:40 am, newtoandroid shobana...@gmail.com wrote: hii how could i view the sourcecode of an application -- You received this message because you are subscribed to the Google Groups Android Developers