[android-developers] Re: Good example for showing exchanging of data mostly arrays or non premitive data types,objects

2008-03-28 Thread Raja Nagendra Kumar
Is this not very close to how O.S manage the memory swapping to database.. Sorry, I was wrong here.. I was refering to O.S memory management by disk swaping. i.e though if a computer has 1 gb ram, windows could run application which in total would take 2 gb or so, by using part of disk as

[android-developers] Is this normal (emulator errors)?

2008-03-28 Thread NTR
With the latest SDK, I'm getting a lot of log entries like these: ERROR/Database(522): Failed to open database file /data/data/ com.google.android.providers.settings/databases/settings.db - unable to open database file ERROR/Database(522): Failed to open database file /data/data/

[android-developers] Use of AnalogClock?

2008-03-28 Thread Jakob Bjerre Jensen
Hi, I was looking for a fancy way to display the time (hours/minutes) and found the AnalogClock. However it seems that the clock cannot be controlled e.g. setting the time or obtaining the time. It just ticks away without any chance to communicate with it. Is there really no way to communicate

[android-developers] Re: GTalk subscription requests broken ..

2008-03-28 Thread writser
For the sake of completeness: this is some code that looks for new subscription / invite events: Handler handler = new Handler(); ContentObserver co1 = new ContentObserver(handler) { @Override public void onChange(boolean selfChange) { super.onChange(selfChange);

[android-developers] Re: Android source isn't available ?????????

2008-03-28 Thread test1 . exe
Why is Google hiding the code, it should just release it just like other open source projects. Ze On Mar 27, 10:20 pm, szeldon [EMAIL PROTECTED] wrote: It isn't open source. It will become open source at the day of final release. On Mar 28, 7:02 am, Ze [EMAIL PROTECTED] wrote: I don't

[android-developers] Re: loadFromXML causes InvalidPropertiesFormatException

2008-03-28 Thread Anil
Steve, Thanks for replying. I did not know that. I had put it into res/xml. - Anil On Mar 27, 7:52 pm, Steve Oldmeadow [EMAIL PROTECTED] wrote: Where are you putting the properties XML? Don't forget Android processes XML in res/xml into a binary format, you need to put it in res/raw or

[android-developers] List of @android:drawables ?

2008-03-28 Thread Harsh Jain
Where can i get the list of all @android:drawables I can use ? regards, harsh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: SQLite Database Issue.

2008-03-28 Thread OmarFlores
Hi Android-Berry: Try: insert into form values(null,11,22,33,44,55,66,77); This would make sure that the _id gets automatically auto-incremented. Hope it helps, Omar Flores. On Mar 28, 10:53 am, Android-Berry [EMAIL PROTECTED] wrote: Hi ALL, I open a data base and create table on my

[android-developers] Re: List of @android:drawables ?

2008-03-28 Thread Harsh Jain
Sorry, I wasnt clear, but what I meant was some kind of gallery for these, if it exists. Many of these names are quite cryptic, even some documentation would have helped. regards, harsh On Fri, Mar 28, 2008 at 10:31 PM, Zach Hobbs [EMAIL PROTECTED] wrote: It's in the docs:

[android-developers] Re: Unresolved symbols JNI

2008-03-28 Thread Digit
thanks David, I'm still interested in knowing exactly which symbols are missing for you in the C library. Also, I would appreciate if you could give us instructions to exactly reproduce the things you see so we can test them ourselves. what I mean is: 1. a small C or C++ source file 2. the

[android-developers] Re: schema site not available

2008-03-28 Thread andy
Got it, thanks. I was thinking to go through the schema file to lookup things; but it would be a huge file, better just look through the API doc. Andy On Mar 28, 10:16 am, Joe Onorato [EMAIL PROTECTED] wrote: No. It's not a joke. URIs as schema identifiers are not required to point to

[android-developers] Re: Unresolved symbols JNI

2008-03-28 Thread David Given
Digit wrote: [...] I'm still interested in knowing exactly which symbols are missing for you in the C library. These are some of the ones I've seen missing: __aeabi_f2uiz __aeabi_lasr __aeabi_llsl __aeabi_llsr Also, I would appreciate if you could give us instructions to exactly

[android-developers] Re: InputStream returns 0 always when using SSLSocketFactory

2008-03-28 Thread j
Hi Nipun, I can't get a working SSL Socket going and I believe there is a bug in the SDK. Are you able to get SSL socket to work? On Mar 7, 10:59 am, nipun [EMAIL PROTECTED] wrote: Thanks Sir. On Mar 7, 8:35 pm, DanAtAndroid [EMAIL PROTECTED] wrote: Again, read the documentation.

[android-developers] Re: GTalk service multithreading

2008-03-28 Thread [EMAIL PROTECTED]
It would be nice if someone from google can comment on this. Is the GTalk stuff thread safe? On Mar 28, 2:37 pm, writser [EMAIL PROTECTED] wrote: Again, could anyone help with this? We currently maintain a sloppy wrapper around GTalk that uses a global lock to prevent threading issues. If we

[android-developers] Re: List of @android:drawables ?

2008-03-28 Thread [EMAIL PROTECTED]
You can simply browse in the android.jar package to see the drawables you can use. On Mar 28, 6:53 pm, Harsh Jain [EMAIL PROTECTED] wrote: Sorry, I wasnt clear, but what I meant was some kind of gallery for these, if it exists. Many of these names are quite cryptic, even some documentation

[android-developers] Re: ListView selection problem

2008-03-28 Thread Romain Guy
It currently does not work in touch mode. This will be fixed in the next SDK. On Fri, Mar 28, 2008 at 4:09 AM, Jakob Bjerre Jensen [EMAIL PROTECTED] wrote: Hi, I am using a ListView, but have problems setting the selection from code. Sometimes the method setSelection() works, sometimes

[android-developers] Re: adb logcat -f out.log doesn't work?

2008-03-28 Thread Digit
the syntax is tag:level or *:level, where level is a single letter describing the logging level (s=silent, e=error, w=warnings, i=informative, d=debug, v=verbose) the syntax tag:* is not supported. try doing the following: adb logcat '*:s APP_TAG:v' this should ensure that only traces from

[android-developers] Re: Is there a way to manually kill a service?

2008-03-28 Thread Dexter's Brain
of course...if u go to the DDMS perspective, it has one window that displays all the processes that are currently running. And there's a button called Stop Process .. Thanks god , the G-People didn't forget that On Mar 28, 8:14 pm, NTR [EMAIL PROTECTED] wrote: As the subject says, is there a

[android-developers] canvas outside of onDraw()

2008-03-28 Thread tatagogo
Hi, I'm currently trying to port an existing game from J2ME to android, which is proving to be a little fiddly although quite possible really I think. However, I seem to have a problem when drawing things outside of the onDraw() method. I have a couple of other methods which I call from within

[android-developers] traceview fails on Mac OS X 10.5.2 ?

2008-03-28 Thread thrusty
The instructions for running traceview on Mac OSX appear to be incomplete. When I run traceview from the command line, it fails silently. I modified the traceview script to turn on verbose output-- the output from this modified script is pasted below. Thanks in advance for any assistance.

[android-developers] Proximity Alert Extras

2008-03-28 Thread Chris D
Has anyone been able to put extras in the intent they use for addProximityAlert then be able to do a getExtra when the IntentReceiver handles the Proximity Alert? ex: Intent blah = new Intent(com.google.android.PROXIMITY_ALERT); blah.putExtra(color,red);

[android-developers] Re: PC restarts when launching the emulator

2008-03-28 Thread AMGG
It's a hard reboot. So do u think that may be the problem belongs to the computer? Because I haven't seen any system adverts, the system restarts and nothing seems to be wrong. The only thing that seems to be wrong is the adb plugin. This is the only related thing I have read about (see the

[android-developers] Re: Possible to set default highlight color?

2008-03-28 Thread hackbod
No, no application will be penalized for using the standard buttons. In fact you're more likely to get penalized for putting in custom buttons that don't work on a touch screen. :} On Mar 28, 6:13 am, android_newbie [EMAIL PROTECTED] wrote: Thank you for clarifying. We were going to create

[android-developers] Re: PC restarts when launching the emulator

2008-03-28 Thread Digit
ok, first the could not find \tools\adb.exe error message indicates that you did not setup your SDK installation path in the plugin's preferences panel. that's why the plugin is searching the root directory for the adb executable (and doesn't find it). this should be unrelated to your restart. a

[android-developers] Re: Unresolved symbols JNI

2008-03-28 Thread Digit
we have our own C library that we wrote by porting parts of the BSD C library on top the Linux kernel. but it conforms to the ARM EABI and you can trivially see that our own system libraries refer to these kind of symbols dynamically too. On Fri, Mar 28, 2008 at 12:19 PM, David Given [EMAIL

[android-developers] Re: Not able to implement search in list

2008-03-28 Thread Andz
Does anyone have idea about it? On Mar 28, 9:27 am, Andz [EMAIL PROTECTED] wrote: Hi all, I'm trying to implement seach functionality in my Expandable list activity. I have overridden public boolean onSearchRequested() { Bundle bundle = new Bundle();

[android-developers] EnumSet bugged

2008-03-28 Thread wonderoid
I think EnumSet has a bug at handling an enum with lots of elements. for(SomeEnum e : mEnumSet) { //do whatever, or do nothing.. } results in : ERROR/AndroidRuntime(603): java.lang.ArrayIndexOutOfBoundsException ERROR/AndroidRuntime(603): at java.util.HugeEnumSet

[android-developers] Re: over my head with data please help

2008-03-28 Thread dr123
The database has around 2 million records. as a text file it's more than half the disk space of the android. On 29 Μαρ, 01:12, Diego Pino [EMAIL PROTECTED] wrote: I think you should rather store your data on a local sqlite database, and access to it via a ContentProvider. You can use the

[android-developers] Re: Special Actions for IGTalkSession.sendDataMessage()

2008-03-28 Thread jtaylor
Where are there instructions to create a Custom Intent? I'm supposing I need it to send a data message in GTalk? - Juan On Mar 26, 8:19 pm, jtaylor [EMAIL PROTECTED] wrote: This is obviously an Intent defined by the App. android.intent.action.SAMPLE_GTALK_DATA_MESSAGE in the AndroidManifest

[android-developers] Re: Are you satisfied or disappointed with the level of support from Google, for Android?

2008-03-28 Thread GUS
Just to explain: When I say you I mean Google. On 28 mar, 20:23, GUS [EMAIL PROTECTED] wrote: I just had an idea!!! You could do something like a prize called Cooperation Prize, with no benefits. Just as recognition for those who send good projects, but don't win the challenge. List the

[android-developers] Re: canvas outside of onDraw()

2008-03-28 Thread Steve Oldmeadow
Is it a real time game? If so I'd suggest using a SurfaceView, you can grab a canvas from the SurfaceHolder and draw to it when you like. You can tick your game from a Handler. Alternatively you could draw into a Bitmap and then just draw the Bitmap in the onDraw().

[android-developers] Re: is this still true?

2008-03-28 Thread hackbod
To add a little -- most of the orientation work is in M5, though there is still some to be done. Some initial docs are here: http://code.google.com/android/reference/android/app/Activity.html#ConfigurationChanges On Mar 28, 2:35 pm, Megha Joshi [EMAIL PROTECTED] wrote: Hi, You can

[android-developers] Re: Relative Layout for a List Item

2008-03-28 Thread [EMAIL PROTECTED]
Your xml looks ok, but I guess that the implementation of RelativeLayout is buggy. On Mar 29, 1:18 am, Harsh Jain [EMAIL PROTECTED] wrote: Hi,  I am having a tough time getting this simple layout to work. Please advice. What I need is something like this...  

[android-developers] Re: over my head with data please help

2008-03-28 Thread Digit
keep in mind that a desktop browser has a *lot* more memory and a lot more CPU than the one running on a cellphone 2008/3/28 dr123 [EMAIL PROTECTED]: trie seems nice but the challenge is in two weeks :) i don't try to populate the spinner with 18000 entries, i have them on my web

[android-developers] Re: Are you satisfied or disappointed with the level of support from Google, for Android?

2008-03-28 Thread Paul Marrington
My 2 cents: I am satisfied. The software has just come out. The examples and documentation are great for pre-alpha as it has been called here. In fact, for pre-alpha software it behaves remarkably well. I would have like to have seen the Java library source released as it would have made things