[android-developers] Re: Nexus One multicolor LED notifications gone?

2010-01-12 Thread code_android_festival_way
Here we go: http://code.google.com/p/android/issues/detail?id=6018&q=nexus%20trackball&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars On 12 Jan., 15:52, code_android_festival_way wrote: > I'd like to add that the hardware is capable of doing it. (like it was > on the HTC Hero and all the o

[android-developers] Re: Developing mobily?

2010-01-12 Thread moneytoo
Scripting languages seem like a perfect choice here. http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html On Jan 12, 2:57 pm, Jhild wrote: > Does anyone have any clue if it's possible to develop on an android > device or if it will happen anytime soon? -- You received

[android-developers] Re: Moving Image Over Another Image

2010-01-12 Thread prakhy
Thanks for help. Regards Prakhy On Jan 13, 9:47 am, k_day wrote: > Here is a custom layout written by Romain Guy that displays a grid of > images.  You may be able to adapt it for your purposes: > > http://code.google.com/p/miffed/source/browse/GUI/src/uk/ac/ic/doc/ge... > > Other than that, sta

[android-developers] Re: Moving Image Over Another Image

2010-01-12 Thread prakhy
Thanks for help. Regards Prakhy On Jan 13, 9:47 am, k_day wrote: > Here is a custom layout written by Romain Guy that displays a grid of > images.  You may be able to adapt it for your purposes: > > http://code.google.com/p/miffed/source/browse/GUI/src/uk/ac/ic/doc/ge... > > Other than that, sta

[android-developers] Re: AbortBroadcast Problem With 2.0 and 2.0.1 SDK's

2010-01-12 Thread Gulfam
Thank you very much Dannie Hackborn My problem is solved now and app is working fine. Little question more: this process will work on 1.6,1.5 and 1.0 sdk's??? Best Regards, Gulfam Hassan On Jan 12, 11:11 pm, Dianne Hackborn wrote: > To cancel a call, you set the resultData to null as descr

[android-developers] Dear Android-Developers, If you can't find in google, try JUSTDIAL.COM

2010-01-12 Thread Chandrakant
Dear Android-Developers,I strongly recommend this website www.justdial.com. It's a world class local search service & I've always found anything I've ever wanted.You can find info on any company, product, or service in over 240 cities in India.You can also call them up 24x7, on phone (6999),

[android-developers] Clearing browser Session history?

2010-01-12 Thread Archana
Hi, Can any one tell me how can we clear browse session history.We have api called Browser.ClearHistory(),this will delete entire records but i want to delete history of browsing session. Please hep... -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: Link for the code of android home screen

2010-01-12 Thread Nithin
I got it. http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;... Nithin On Jan 13, 11:40 am, Nithin wrote: > Can anybody give the link for source code of android home screen page. > I searched, but can't find any... > > Thanks > Nithin -- You received this message because yo

[android-developers] Link for the code of android home screen

2010-01-12 Thread Nithin
Can anybody give the link for source code of android home screen page. I searched, but can't find any... Thanks Nithin -- 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@googlegroups.com

[android-developers] Re: How to set http proxy on Android Emulator

2010-01-12 Thread Sam Dutton
I've had problems setting a proxy from 1.5, using Eclipse 2.5 Galileo on Windows XP. I've tried: 1. Setting the default proxy from Windows > Preferences > Android > Launch. 2. Adding to '-http-proxy http://www.example.com:80' Debug Configurations > Target (pane) > Additional Emulator Command Line

Re: [android-developers] Re: Memory Leak in my map overlay

2010-01-12 Thread Kevin Duffey
Thank you for filling us in on the issue once you found it. Interesting that it was what it was. On Tue, Jan 12, 2010 at 10:05 PM, jgostylo wrote: > I finally found my issue. For some reason: > face = Typeface.createFromAsset(context.getAssets(), "fonts/ > sd_led_screen.ttf"); > was not letting

[android-developers] Re: OpenGL ES 1.1 question (one more time...)

2010-01-12 Thread Ben Gotow
Hey! +1 - Adding support for a few more functions like the one above would be great. I think this should be a relatively simple fix for you, though. Create a float array with 256 values and precompute the float value of each possible byte value. When you call glColor4f, just use the byte to index

[android-developers] Re: Memory Leak in my map overlay

2010-01-12 Thread jgostylo
I finally found my issue. For some reason: face = Typeface.createFromAsset(context.getAssets(), "fonts/ sd_led_screen.ttf"); was not letting go of all its resources. I am not sure the exact mechanics but I think it was filling the cache and not releasing that memory. When I pull out the font int

[android-developers] Java based UI & Scrolling of text

2010-01-12 Thread varun maini
Hi All, I am trying to create an application with UI totally in Java. I have a view whose's onDraw function displays a large volume of text. To add scrolling ability , i have created a new ScrollView and added the previous view as a child. The contents are being displayed on the screen , but the

[android-developers] Re: Moving Image Over Another Image

2010-01-12 Thread k_day
Here is a custom layout written by Romain Guy that displays a grid of images. You may be able to adapt it for your purposes: http://code.google.com/p/miffed/source/browse/GUI/src/uk/ac/ic/doc/gea05/miffed/wigets/GridLayout.java Other than that, start writing some code. Talking about what you wa

Re: [android-developers] Re: Process in Android

2010-01-12 Thread Kevin Duffey
Yes..my bad. Ugh. I still don't have it all memorized yet. lol. On Tue, Jan 12, 2010 at 8:38 PM, kavitha sunil wrote: > onStart() does not have Bundle argument, are you talking about > onCreate(Bundle saveinstance) > > > On Wed, Jan 13, 2010 at 10:04 AM, Kevin Duffey wrote: > >> As Dianne posted.

[android-developers] Re: Does Android Eclair code base support "Plugins" in "Android Browser"?

2010-01-12 Thread AJ
Hi group, Any info please. Thanks. - AJ On Jan 11, 11:31 am, AJ wrote: > Hi All, > > I want to know that :- > > 1- Does Android Browser (Éclair code base) support the "plug-in" or > not? > 2- Why "Google Gears" support is removed from the Éclair code base? > > I searched the forum and came to kn

Re: [android-developers] Re: Android internal storage - what are the limits?

2010-01-12 Thread Kevin Duffey
I am curious why you would need to store 4GB or more of data on a phone? That's a whopping large bit of data for a phone device? Perhaps you should consider using a server side component for the majority of data, make use of it when possible and store immediate need stuff on the device? Furthermore

[android-developers] Re: Accessing wcf service from android

2010-01-12 Thread Sudeep
How to access the web service from android? On Jan 12, 3:25 pm, Sudeep Jha wrote: > Hi Droids, >           I want to use the WCF(.net) service for login > authentication.Please tell me ASAP, the easiest way to do it. >           I was trying with wsdl also. > > Warm Regards, > Sudeep -- You rece

Re: [android-developers] Re: Process in Android

2010-01-12 Thread kavitha sunil
onStart() does not have Bundle argument, are you talking about onCreate(Bundle saveinstance) On Wed, Jan 13, 2010 at 10:04 AM, Kevin Duffey wrote: > As Dianne posted.. android takes care of destroying apps for you if you > don't do it yourself.. when memory/resources is needed. Unlike any other

Re: [android-developers] Re: Process in Android

2010-01-12 Thread Kevin Duffey
As Dianne posted.. android takes care of destroying apps for you if you don't do it yourself.. when memory/resources is needed. Unlike any other platform (that I know of) for phones/tablets, Android is multi-process.. in that you can run many programs at once. Unlike a computer OS tho, only the top

[android-developers] Re: Diconnecting Phone Call Programatically

2010-01-12 Thread Kumar Bibek
I dont think you can do it due to security reasons. If this were permitted, anyone could write an app to drop all calls the user might be getting. And he would be wondering, why people hang up so soon. :) Kumar Bibek http://tech-droid.blogspot.com On Jan 12, 4:54 pm, Pani wrote: > Hi, > I am try

[android-developers] Re: Android internal storage - what are the limits?

2010-01-12 Thread Kumar Bibek
As far as I know, till you have space left in the storage(phone/ sdcard), you should be able to extend the DB. I don't exactly know how SQLite works for large dbs. I have never run out of space with my apps. But It's an interesting question though. I would like to know more about it. Kumar Bibek

[android-developers] Re: Process in Android

2010-01-12 Thread Kumar Bibek
Even I was confused as to why the process should be running even after I exited my app. But then I realized that I dont have to care about that.' Kumar Bibek http://tech-droid.blogspot.com On Jan 13, 9:07 am, Dianne Hackborn wrote: > That is working as intended, as described here: > > http://dev

[android-developers] Re: BroadcastReceiver never getting BOOT_COMPLETED intent

2010-01-12 Thread Kumar Bibek
Hi, The boot receiver's code should not block for say, more than 5 seconds, else, you get a time out. From your service, whatever you want to do, just spawn a thread. This should solve your problem. Your logcat has a lot of unwanted logs. In your receiver class, try to do some logs. If you see th

Re: [android-developers] Process in Android

2010-01-12 Thread Dianne Hackborn
That is working as intended, as described here: http://developer.android.com/guide/topics/fundamentals.html#proclife On Tue, Jan 12, 2010 at 7:08 PM, Android Developer wrote: > Hi, > > I have an application which has one activity. The application is > launched. When i say back, OnDestory() woul

Re: [android-developers] Re: Process in Android

2010-01-12 Thread kavitha sunil
Inspite of doing that(which is what back key does also), if you see the process, the process is not killed. It will be still running. On Wed, Jan 13, 2010 at 8:45 AM, tstanly wrote: > when you leave to b from a, > if you want to close a activity, > > then you can write the code in the onDestroy

[android-developers] Nexus One - Stalled when downloading Apps from Market using Wi-Fi

2010-01-12 Thread 48-New
Anybody experiences the same issue? Saw a post last March complaining the same issue for G1. Did it get resolved but re-surface again on Nexus One w/ 2.1? Please advise. P.S. If I have a data plan from T-Mobile, would it resolve the issue? -- You received this message because you are subscribe

[android-developers] Re: Service operation

2010-01-12 Thread Bill Michaelson
Aha. That makes perfect sense. It hadn't occurred to me that the scheduling might work that way, so you've substantially improved my perspective. Thank you. As to assumptions about timing, point taken. Async is async. And I had assumed that return from bindService would guarantee completion o

[android-developers] Re: Prolonged touching (>30s) in one area causes onTouchEvent to stop registering?

2010-01-12 Thread Josh
Posted in the Issue tracker if anyone wants to follow it: http://code.google.com/p/android/issues/detail?id=6001 -- 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@googlegroups.com To unsu

[android-developers] Re: Windows Driver for Nexus One so that Adb can detect the phone

2010-01-12 Thread 48-New
Thnx, got it working. On Jan 11, 8:56 pm, Mark Murphy wrote: > 48-New wrote: > > Anybody know exactly what's the detailed step I can follow to get the > > Windows Driver for Nexus One? > > > I'm using Eclipse Galileo and even I have the USB debugging enabled on > > the phone and restart the adb,

[android-developers] Re: Process in Android

2010-01-12 Thread tstanly
when you leave to b from a, if you want to close a activity, then you can write the code in the onDestroy such as: onDestroy(){ a.this.finish(); } On 1月13日, 上午11時08分, Android Developer wrote: > Hi, > > I have an application which has one activity. The application is > launched. When i say ba

[android-developers] Re: BroadcastReceiver never getting BOOT_COMPLETED intent

2010-01-12 Thread Ian
What I see in all my sims when the emulator starts is this pop-up: "process android.process.media is not responding" which I click on "wait" and then the debugger connects to my main Activity. Also, I just reran and saw BOOT_COMPLETED broadcast "timeout": 01-12 21:57:54.916: WARN/Activit

[android-developers] OpenGL ES 1.1 question (one more time...)

2010-01-12 Thread Philip
Would it be possible in the foresable future to get the glColor4ub implemented? I am killing my drawing performances with the bunch of division by 255 on the bytes I need to convert to float to use the glColor4f. Judging by the amount of efforts to get this stuff running, it seems a very easy fix t

[android-developers] Process in Android

2010-01-12 Thread Android Developer
Hi, I have an application which has one activity. The application is launched. When i say back, OnDestory() would be called. This means that the activity is being killed. What will happen to the process? Will the process also be killed? But when i use ps command i could see the process still runn

[android-developers] Re: Problem about adding app widget into my application(custom home screen)

2010-01-12 Thread Leo
any body? On 1月8日, 上午12時23分, Leo wrote: > Hi, I would like to add app widgets in my own custom home screen, but > there are some problems about it. > > Since I have > readhttps://groups.google.com/group/android-developers/browse_thread/thre... > > http://www.mail-archive.com/android-developers@g

[android-developers] set imageView

2010-01-12 Thread tstanly
hi all, I have a imageView1 and imageView2, then i want to set imageView1 to imageView2, but use the following API will not do this, such as: setBackgroundResource(int resource id) setBackgroundDrawable(drawable d) setImageBitmap(Bitmap b) setImageDrawable(drawable d) .etc so how can I do?

[android-developers] Re: Suggestion: Math floating point library for Android

2010-01-12 Thread Philip
Thank you. Do you have any pointers to the J2ME stuff? On Jan 12, 3:27 pm, Lance Nanek wrote: > There are a couple methods that have been changed to take float > instead of double > here:http://developer.android.com/intl/fr/reference/android/util/FloatMath... > > I've actually been doing my trig

Re: [android-developers] Help me!! The fb0 no space left on device..

2010-01-12 Thread Dianne Hackborn
Hi, this group is for developing against the SDK. You should probably be posting to android-porting. On Tue, Jan 12, 2010 at 5:50 PM, Michael Wu wrote: > Sorry, The following link is my log record :http://pastebin.com/m9d9983c > > The last post is wrong. > > 2010/1/13 Michael Wu > > You are rig

[android-developers] Re: Implementing a touchable calendar

2010-01-12 Thread ClarkBattle
Thanks for your help! On Jan 12, 5:25 pm, Mark Murphy wrote: > ClarkBattle wrote: > > So if I use the 42 buttons approach then is it better to enclose them > > in a TableLayout or a GridView? > > TableLayout, since you don't need selection or scrolling, which are key > things GridView brings to t

[android-developers] change the imageview dynamically in the listview

2010-01-12 Thread tstanly
hi all, I was defined a new adapter for my listview, every rows content in the listview will include three information, that's image(imageview), title(text) and time information(text), then the three information was retrieve from server at the program beginning, and then use adapter to fill ervery

Re: [android-developers] Help me!! The fb0 no space left on device..

2010-01-12 Thread Michael Wu
Sorry, The following link is my log record :http://pastebin.com/m9d9983c The last post is wrong. 2010/1/13 Michael Wu > You are right !!! > > I want to try if my lcd driver works or not, because there is only black > screen on my lcd. > > > To avoid the bitmap problem and image size problem, I

[android-developers] Re: can write youtube api on android?

2010-01-12 Thread tstanly
thanks for your help, finally I found that I didn't add activation.jar and servelet.jar(from tomcat), at first I thought it didn't need to add. thanks On 1月12日, 上午6時44分, Kumar Bibek wrote: > Hey, > As far as I can remeber, you need to add the following the > dependencies. > gdata-media.jar

Re: [android-developers] Service operation

2010-01-12 Thread Mark Murphy
Bill Michaelson wrote: > I do a ((Context)thingy).bindService(...) from within the onCreate > callback of an Activity. I've observed that the onServiceConnected() > callback of my associated ServiceConnection does not execute > immediately, but rather, is delayed until after the Activity resumes,

Re: [android-developers] PackageManage: Couldn't copy package file to temp file.

2010-01-12 Thread Mark Murphy
Klaus Kartou wrote: > The *.apk is about 0.9 MB and 2.0 MB when installed. I have 19 MB > internal phone storage available. > It stopped working on 2 dev phones at the same time...looks like its not > a storage problem? Looking at some source code, it feels like there's not enough space in the /da

[android-developers] Re: Android 2.0 Google Maps Navigation and app use of turn-by-turn directions?

2010-01-12 Thread Avanish
I would like to know if you could figure out a solution for this problem On Nov 14 2009, 5:10 pm, mobiledude wrote: > While I don't have an answer to this question, I would like to concur > with the sentiment in the hopes that this thread would get more > attention. I am currently working on deve

[android-developers] Service operation

2010-01-12 Thread Bill Michaelson
I do a ((Context)thingy).bindService(...) from within the onCreate callback of an Activity. I've observed that the onServiceConnected() callback of my associated ServiceConnection does not execute immediately, but rather, is delayed until after the Activity resumes, or more precisely, after return

Re: [android-developers] PackageManage: Couldn't copy package file to temp file.

2010-01-12 Thread Klaus Kartou
The *.apk is about 0.9 MB and 2.0 MB when installed. I have 19 MB internal phone storage available. It stopped working on 2 dev phones at the same time...looks like its not a storage problem? On Wed, Jan 13, 2010 at 2:16 AM, Mark Murphy wrote: > Klaus Kartou wrote: > > Hi! > > > > We are suddenly

Re: [android-developers] Re: Implementing a touchable calendar

2010-01-12 Thread Mark Murphy
ClarkBattle wrote: > So if I use the 42 buttons approach then is it better to enclose them > in a TableLayout or a GridView? TableLayout, since you don't need selection or scrolling, which are key things GridView brings to the table. -- Mark Murphy (a Commons Guy) http://commonsware.com | http:/

Re: [android-developers] Help me!! The fb0 no space left on device..

2010-01-12 Thread Michael Wu
You are right !!! I want to try if my lcd driver works or not, because there is only black screen on my lcd. To avoid the bitmap problem and image size problem, I catch the /dev/urandom to fb0. However, I still get the error message : # cat /dev/urandom > /dev/graphics/fb0 write: No space left

Re: [android-developers] PackageManage: Couldn't copy package file to temp file.

2010-01-12 Thread Mark Murphy
Klaus Kartou wrote: > Hi! > > We are suddenly unable to install our app on G1 developer phones with 1.6. > Works perfectly on emulator. When installing the app we get: > > Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE > Please check logcat output for more details. > Launch canceled! >

[android-developers] PackageManage: Couldn't copy package file to temp file.

2010-01-12 Thread Klaus Kartou
Hi! We are suddenly unable to install our app on G1 developer phones with 1.6. Works perfectly on emulator. When installing the app we get: Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE Please check logcat output for more details. Launch canceled! ..and logcat: PackageManage: Couldn'

[android-developers] How to add a toggle list to a view

2010-01-12 Thread Mike M
Hey all, I've seen some of the demos to create a list that you can add items to (toggle list). There's an example in the API Demos (http:// tinyurl.com/yfscgl9). This creates an activity that is nothing but a toggle list (it extends the ListActivity) I want to add a list that I can add items to

Re: [android-developers] Re: Old dock in 2.1 SDK?

2010-01-12 Thread Dianne Hackborn
On Tue, Jan 12, 2010 at 2:54 PM, String wrote: > My leading app has deep interaction with Home, including a precursor > to "live wallpaper" that I built long before 2.1. I've been getting > reports that it doesn't work on the N1, but details are sketchy at > this point, and I don't have access to

Re: [android-developers] Re: How to completely remove application

2010-01-12 Thread Kevin Duffey
That is nice. Thanks Dianne. On Tue, Jan 12, 2010 at 4:38 PM, Dianne Hackborn wrote: > Hopefully in the next release we will have well-defined places for apps to > put their own data in the SD card, which the system will clean up when they > are uninstalled. > > > On Tue, Jan 12, 2010 at 4:19 PM,

Re: [android-developers] Re: How to completely remove application

2010-01-12 Thread Dianne Hackborn
Hopefully in the next release we will have well-defined places for apps to put their own data in the SD card, which the system will clean up when they are uninstalled. On Tue, Jan 12, 2010 at 4:19 PM, Kevin Duffey wrote: > Thats good info Mark. Makes sense. But how then do we prevent our Android

Re: [android-developers] Re: How to completely remove application

2010-01-12 Thread Kevin Duffey
Thats good info Mark. Makes sense. But how then do we prevent our Android users from having left over crap that our app may store during its time? Short of a user never uninstalling it.. I don't think that's very good to users to just leave stuff around. Is there any way in code that we can keep a

[android-developers] Re: Implementing a touchable calendar

2010-01-12 Thread ClarkBattle
So if I use the 42 buttons approach then is it better to enclose them in a TableLayout or a GridView? Thanks! On Jan 12, 3:50 pm, Mark Murphy wrote: > ClarkBattle wrote: > > Is my "42 buttons is too many" assumption correct? > > If the "assumption" is that it is "a resource hogging solution", I

Re: [android-developers] اود التعرف علي كم

2010-01-12 Thread fadi wedyan
Hi, Dude this is a group for android developers not a social network! 2010/1/8 عبدة حرز > انا من مصر مدرس واحب التعرف على امريكا والامريكين شكراً > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to

Re: [android-developers] Implementing a touchable calendar

2010-01-12 Thread Mark Murphy
ClarkBattle wrote: > Is my "42 buttons is too many" assumption correct? If the "assumption" is that it is "a resource hogging solution", I wouldn't worry about it. A reasonably complicated ListView might have many more widgets than that, and scrolling/recycling to deal with besides. > Is my keybo

[android-developers] Implementing a touchable calendar

2010-01-12 Thread ClarkBattle
I am creating a small calendar control that will be part of an application that runs on a larger-than-phone-sized screen. The calendar will simply display the current month and allow users to touch-select a day with an iPhone keyboard style popup bubble indicating which day is chosen. The problem

[android-developers] Re: Suggestion: Math floating point library for Android

2010-01-12 Thread Lance Nanek
There are a couple methods that have been changed to take float instead of double here: http://developer.android.com/intl/fr/reference/android/util/FloatMath.html I've actually been doing my trig and other complex calculations using fixed point integers myself. You can find a lot of utilities/libr

[android-developers] Re: Linking to Amazon MP3 Store on Nexus One

2010-01-12 Thread String
On Jan 12, 8:43 pm, Disconnect wrote: > (Also, is the amazon mp3 app part of the sdk at all?) Not the Android SDK. Does Amazon publish any kind of API for it? String -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: (SIGSEGV) fault when create and exit app a few times

2010-01-12 Thread fadden
On Jan 10, 4:53 am, Albert wrote: > This is a know bug filed at least 3 times with different issues > > http://code.google.com/p/android/issues/detail?id=4450&can=4&colspec=...http://code.google.com/p/android/issues/detail?id=4417http://code.google.com/p/android/issues/detail?id=3531&sort=-id&cols

[android-developers] Re: Old dock in 2.1 SDK?

2010-01-12 Thread String
Dianne, thanks for your response, and for the information on the N1 Home implementation. On Jan 12, 6:20 pm, Dianne Hackborn wrote: > Please don't go off making assumptions and getting all disgruntled about > them. I'm mostly making assumptions because there has been a dearth of developer infor

[android-developers] Android internal storage - what are the limits?

2010-01-12 Thread Arhimed
1) Our Android app will store data in a built-in SQLite DB. I see the DB can throw android.database.sqlite.SQLiteFullException, but there's no exact info in API what is the limit. Could anyone tell what are the size limits for a DB in order not to get into the SQLiteFullException? I assume DB wi

[android-developers] Re: Pass Array from Java to C (over JNI) work in an activity but fail in a thread?

2010-01-12 Thread fadden
On Jan 10, 3:53 pm, monocasa wrote: >   I'm not sure if this is your problem, but you're allocating a really > big chunk of memory on the stack (it makes my embedded code senses > tingle big time).  What are the stack size limits for android? Thread stacks are 1MB. You can look at /proc/maps (or

[android-developers] Re: Extending TabHost - override focus handling

2010-01-12 Thread RLo
wow well, i guess i solved my own problem. instead of overriding the tabhost's implementation of dispatchkeyevent, i implemented my logic in my extension of tab activity and it works! On Jan 12, 12:55 pm, RLo wrote: > Hi All, > > I have a tabhost with the tabwidget on the bottom (not hard to do,

[android-developers] Suggestion: Math floating point library for Android

2010-01-12 Thread Philip
I need maths for my game physics and lots of them, so I use the... Math library. And guess what? I never casted so much to floats in my entire life. And i know how costly it is to use doubles on an embedded device because I read the performance optimization page in the google android sdk docs. So I

Re: [android-developers] Re: Performance issue: Dalvik VM is >20x slower than most modern Java VMs

2010-01-12 Thread Sena Gbeckor-Kove
So, any news of the official Android version? Cheers S --- Sena Gbeckor-Kove CTO/Founder - imKon UK : +44 7788 146652 NL : +31 62 434 1290 s...@imkon.com|www.imkon.com Asia (Singapore) : 35 Selegie Road, #09-14/15 Parklane Shopping Mall, 188307 Singapore, Singapore Europe (London

Re: [android-developers] Re: How to completely remove application

2010-01-12 Thread Mark Murphy
Kevin Duffey wrote: > Is there now ability to have some code executed during install and > uninstall? No. You can detect the first run of your application and treat it as part of the "install", though. > I would have thought by now all OSs/frameworks would provide this sort > of process. Back w

[android-developers] Re: Multiple instances of included layout, namespacing question.

2010-01-12 Thread free1000
Thanks Romain. I should have read the API docs rather than just the dev guide, its pretty obvious from the docs for findViewById now that I look at it. On Jan 12, 9:30 pm, Romain Guy wrote: > It's easy: > > LinearLayout row1 = (LinearLayout) findViewById(R.id.row1) > TextView text1 = row1.findVi

[android-developers] Re: Performance issue: Dalvik VM is >20x slower than most modern Java VMs

2010-01-12 Thread fadden
On Jan 7, 8:55 am, Biosopher wrote: > The Dalvik JIT appears to result in a 1.7x improvement when run on an > armv7. That's a stale prototype. Quoting from the link you included, "an old snapshot of what we consider a promising proof-of-concept". > The Android team's independent benchmark resul

[android-developers] Re: onTouchEvent limited to 36x / second?

2010-01-12 Thread Philip
Trying to get this kind of "smoothness" has been my goal as well on android. I never suspected it would be so hard to reach. I am developing a game framework and I wish I could reach 10 ms response time on the UI. Above it, the lag in games and UI intensive apps like you are trying to design is no

[android-developers] Re: rooted phones, security, private storage.

2010-01-12 Thread sdphil
hm... let me phrase this in a different way (I never meant to imply that someone somewhere has 'solved the problem of security' that is un- breakable). how can I maximize the security of some content (encryption keys) using existing models in the Android OS with minimum user annoyance (i.e. I've

[android-developers] Re: Performance issue: Dalvik VM is >20x slower than most modern Java VMs

2010-01-12 Thread fadden
On Jan 7, 9:06 am, Biosopher wrote: > Just following up to my initial post, I have implemented the above > look in native code using Android's SDK.  The native code performs in > a few milliseconds as hoped.  This goes to confirm that for compute > intensive tasks, Dalvik can be hundreds of times

[android-developers] Re: Missing HashSet find

2010-01-12 Thread fadden
On Jan 11, 5:05 pm, jotobjects wrote: > There is no find() method is java.util.HashSet ASFIK I don't see it either. I'm not really sure what the OP is referring to. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

Re: [android-developers] Re: How to completely remove application

2010-01-12 Thread Kevin Duffey
Is there now ability to have some code executed during install and uninstall? I will be surprised if this is the case... reminds me of OSX.. drag an app to the can.. it removes it. But what about cleanup? There seems to be no way to be able to cleanup on OSX if you need to... I would have thought b

Re: [android-developers] rooted phones, security, private storage.

2010-01-12 Thread Mark Murphy
sdphil wrote: > I want to hide some info (encryption keys) in a private area. The best answer: the private area is the user's brain. > I know > there are a lot of threads on the topic and from what i can tell - it > basically comes down to - there's no security :-) just kidding. > > It seems li

[android-developers] Generating Entropy (Kernel level)

2010-01-12 Thread Rich
Hello! I've developed an application which requires quite a lot of entropy from the kernel. what devices feed to entropy in the kernel? What is the best way to generate more entropy? Can I turn on the accelormeters to generate more entropy? What if I listen to touch-screen events? Thanks for your

[android-developers] Re: onTouchEvent limited to 36x / second?

2010-01-12 Thread Federico Carnales
Hi Robert, Thanks for the reply. The reason I need more than 36/s for is that I want to let the use *smoothly* move elements with their finger, at 60fps. A 36 events per second limit will cap the framerate at 36fps, unless I choose to add a lag to the scrolling (ie, process the events later than t

[android-developers] Re: JDBC Driver for SQLiteDatabase

2010-01-12 Thread jotobjects
On Jan 11, 9:14 pm, Elliott Hughes wrote: > On Dec 19 2009, 2:05 am, kristianlm wrote: > > > hi Elliott, > > > what exactly does it mean that the driver is unsupported and that > > it shouldn't be used? > > > are you saying that JDBC should not be used at all? > > you can use JDBC, though it isn'

[android-developers] rooted phones, security, private storage.

2010-01-12 Thread sdphil
hey all, I want to hide some info (encryption keys) in a private area. I know there are a lot of threads on the topic and from what i can tell - it basically comes down to - there's no security :-) just kidding. It seems like the data you have in your private area -- /data/data/com.company.pro

[android-developers] Re: Live Wallpaper Tutorial

2010-01-12 Thread Robert Green
Oh man. I threw away that code last year when I switched to GLSurfaceView. I didn't think I'd need to do that again! On Jan 12, 3:45 pm, Romain Guy wrote: > Initializing GL works the same way as with a SurfaceView. > > > > > > On Tue, Jan 12, 2010 at 1:39 PM, Robert Green wrote: > > I just che

Re: [android-developers] Re: Live Wallpaper Tutorial

2010-01-12 Thread Romain Guy
Initializing GL works the same way as with a SurfaceView. On Tue, Jan 12, 2010 at 1:39 PM, Robert Green wrote: > I just checked out the CubeLiveWallpaper sample that comes with SDK > 2.1 and it's got everything you need for a canvas-based wallpaper but > doesn't give any example at all on how to

[android-developers] Re: Live Wallpaper Tutorial

2010-01-12 Thread Robert Green
I just checked out the CubeLiveWallpaper sample that comes with SDK 2.1 and it's got everything you need for a canvas-based wallpaper but doesn't give any example at all on how to initialize and use OpenGL. I have my wallpaper app all ready to go, but it's using the standard Activity/GLSurfaceView

[android-developers] Re: looking for accelerometer example code using non-deprecated apis

2010-01-12 Thread OldSkoolMark
Thanks. I also found: http://mobilehealth.posterous.com/example-for-accessing-the-accelerometer-with Mark On Jan 12, 10:06 am, Mark Murphy wrote: > OldSkoolMark wrote: > > Unfortunately, Sensors.java in the apidemos (even the latest ones) > > uses deprecated apis. Can anyone point me to an exam

Re: [android-developers] Multiple instances of included layout, namespacing question.

2010-01-12 Thread Romain Guy
It's easy: LinearLayout row1 = (LinearLayout) findViewById(R.id.row1) TextView text1 = row1.findViewById(R.id.text); LinearLayout row2 = (LinearLayout) findViewById(R.id.row2) TextView text2 = row2.findViewById(R.id.text); On Tue, Jan 12, 2010 at 11:09 AM, free1000 wrote: > I've been attempting

[android-developers] Re: Using document object

2010-01-12 Thread nikhil
I just need to read value of an element and reset it...upon reading.. On Jan 12, 11:29 am, nikhil wrote: > @TreKing > > I tried urlconnection as well but shows me the same thing.. > > @Kumar > > Sorry I cannot share the URL > > but what I can tell you guys is ...if you have done iPhone developmen

[android-developers] BroadcastReceiver never getting BOOT_COMPLETED intent

2010-01-12 Thread Ian
I have a BroadcastReceiver which never enters onReceive(), so to debug I created a bare bones project with a simple BroadcastReceiver and still it never gets the BOOT_COMPLETED intent (see manifest below). I do see a lot of warnings/errors in my Eclipse log (filtered and after manifest) which did

Re: [android-developers] Re: Old dock in 2.1 SDK?

2010-01-12 Thread Xavier Ducrohet
The new home screen, as seen on the Nexus One, is excruciatingly slow on the emulator due to the software OpenGL renderer, so we packaged the older home application, as seen on other "stock" android. The LiveWallpaper chooser is part of the emulator system image. It is accessible through the "old"

[android-developers] Extending TabHost - override focus handling

2010-01-12 Thread RLo
Hi All, I have a tabhost with the tabwidget on the bottom (not hard to do, just put the tabcontent above the tabs in the tab xml). However, I noticed the order of focus is off (since the tabhost is hardcoded to be on the top). I'd like to change 2 things in how the tabhost handles focus order:

Re: [android-developers] Linking to Amazon MP3 Store on Nexus One

2010-01-12 Thread Disconnect
Nice. Clearly the way to drive sales is to prevent people from easily finding and purchasing your products. :) They must be hanging out with Sony.. (Also, is the amazon mp3 app part of the sdk at all?) On Mon, Jan 11, 2010 at 5:34 PM, Rico wrote: > We used to be able to link to a search page on

Re: [android-developers] Re: ListView inside of a TabWidget

2010-01-12 Thread Mark Murphy
ponkin wrote: > Hello, > > If I understood you well just > try the following: > > inside you TabActivity.onCreate() > > call > > final TabHost mTabHost = getTabHost(); > mTabHost.addTab(mTabHost.newTabSpec("tab_test2").setIndicator("Tab > with ListView").setContent(ne Intent > ("INTENT_THAT_FIR

[android-developers] Re: ListView inside of a TabWidget

2010-01-12 Thread ponkin
Hello, If I understood you well just try the following: inside you TabActivity.onCreate() call final TabHost mTabHost = getTabHost(); mTabHost.addTab(mTabHost.newTabSpec("tab_test2").setIndicator("Tab with ListView").setContent(ne Intent ("INTENT_THAT_FIRE_UP_YOULIST_ACTIVITY")); and don`t for

[android-developers] Re: How to Draw Graphs(Bar Charts/Pie Charts)in ANdroid

2010-01-12 Thread k_day
You could try using the google charts api. On Jan 12, 3:50 am, RamaMohan wrote: > HI all, > I want to draw a graph/chart to represent some data.I tried to do > it.Buti have no idea and i didnt find solution in googling also. > Please if anybody have worked with drawing Bar charts/Pie > charts .Pl

[android-developers] Re: Drawing on the alpha channel

2010-01-12 Thread jamesc
Hi Looking at the Bitmap class, I presume (I've not tried) that when you call Bitmap.createBitmap() with a buffer of pixel data, it's these pixels that contain the alpha data (look at the Color class for the layout of the 32 bit integer value of a pixel), and the Bitmap.Config that you use to ensu

[android-developers] Re: Live Wallpaper Tutorial

2010-01-12 Thread juande
Ups! I'm sorry! (It requires to be a member) I tried to put the links here and I get an error (Google Groups)... ¿? On 12 ene, 13:59, TjerkW wrote: > Android 2.1 has API support for creating live wallpapers. This means > that we can implemente our own live wallpapers w00t! > > However what i lik

Re: [android-developers] Re: Getting data back from service?

2010-01-12 Thread Tommy Hartz
Thanks I'll give this a try and read that article and see what I can do. Thanks again for your time. On Tue, Jan 12, 2010 at 3:06 PM, ponkin wrote: > Hello, > > This is from > http://developer.android.com/reference/android/content/BroadcastReceiver.html > "A BroadcastReceiver object is only vali

[android-developers] Re: problem with onListItemClick()

2010-01-12 Thread Brion Emde
I don't think you should be calling the super.onListItemClick(). That's what gets called if you're not handling the click. If you are handling it, just handle it. On Jan 11, 9:04 pm, grace wrote: > i've tried displaying a simple list in ListActivity,it is working fine > but the problem i got is w

  1   2   3   >