Re: [android-developers] Activity Not coming to foreground

2010-05-03 Thread Anurag Singh
This is typo mistake, I want to say that we can't use intent.getIntent(), This method is depricated now. So, please choose another option like onNewIntent() or sendbrodcast. On Mon, May 3, 2010 at 10:58 AM, Anurag Singh anusingh...@gmail.com wrote: intent.getAction() , This method is

[android-developers] Re: Notification icon from a different package

2010-05-03 Thread Menny
I can only specify the icon resource ID. I can not use Drawable objects. I need some way to (maybe) create a notification of a different Context, or some how USE a Drawable object with Notification On Apr 29, 11:18 pm, Nerdrow troybe...@gmail.com wrote: I can't remember it exactly off-hand, but

[android-developers] Re: Communicating from Android Service to an Activity

2010-05-03 Thread madmax
Thanks a lot Mark! This is exactly what i was looking for.. It works.. Regards, Prafull. On May 1, 6:25 pm, Mark Murphy mmur...@commonsware.com wrote: madmaxwrote:              I have an AndroidServicethat runs indefinitely That's not possible and is not a good idea in general:

[android-developers] Re: Can I use OpenGL to make Bitmap without GLSurfaceView

2010-05-03 Thread Robert Green
Awesome that you worked that out - but man... that sure isn't lightweight! I bet you could get substantial performance gains doing that conversion natively and passing the processed array up to java. On May 2, 4:34 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Below is a snippet of code

[android-developers] App for glowing LEDs

2010-05-03 Thread santanu
Hi, I am wirting one app which will glow the LED according to the user instraction. pls help is there any framework APIs to do so.. Thanks -- 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] Problem in renaming file in Sdcard

2010-05-03 Thread brijesh masrani
Hello Everyone, I want to rename a file in sdcard using program, i am not able to do that using String[] prog ={mv HArdcore.chm h_ardcore.chm}; Process p = Runtime.getRuntime().exec(prog); so if anyone knows how to do that than please reply. Regards, Brijesh Masrani -- You received this

[android-developers] ZoomControl Buttons in GoogleMap

2010-05-03 Thread Nithin
Hi, In google Map, when the zoom level is 21, The plus button is disabled and in the same way., when the zoom level is 1, minus button is disabled. Can we programmatically disable the ZoomControl buttons. That is, when the zoom level is 15, I want to disable the plus button. Map should not zoom

[android-developers] CTS Failure in

2010-05-03 Thread Anonymous Anonymous
Hi All, Was playing with CTS ,and came across a failure like below testAnimation fail junit.framework.AssertionFailedError: unexpected timeout at android.view.animation.cts.DelayedCheck.run DelayedCheck.java:51) Can anyone pass me some light on , how to fix this issue? or what should be

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
however it just close activity B:( On May 3, 12:56 pm, Saurav to.saurav.mukher...@gmail.com wrote: well there is a function called activity obj.finish() this wud suffice ur needs i guess. hope this helps. Regards, Saurav Mukherjee. On Mon, May 3, 2010 at 8:52 AM, CMF manf...@gmail.com

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread jamesc
Use Activity.setResult() with your own defined result value, then call Activity.finish(). So, B will call setResult() then finish(). A will now be at the top of the task, and the finish() called by B will result in a call to A's onActivityResult() (that is providing that B was started with

[android-developers] CTS Failure in View.

2010-05-03 Thread Anonymous Anonymous
Hi All, Was playing with CTS ,and came across a failure like below testAnimation fail junit.framework.AssertionFailedError: unexpected timeout at android.view.animation.cts.DelayedCheck.run DelayedCheck.java:51) Can anyone pass me some light on , how to fix this issue? or what should be

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
I did try startActivityForResult however, i get trouble with this because my Activity B is a translucent OpenGL activity, with activity A as a background when I use startActivityForResult, the translucent effect cannot be used, it becomes black in color:( On May 3, 3:48 pm, jamesc

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread jamesc
Well, that's a different problem :-) Have you searched on this forum to see if anyone else has had the same issue (re: transparency)? I tried and do get a lot of hits for 'transparent+black'. Alternatively, if you don't find any solutions, just post another question relating to the new issue.

[android-developers] Widget updated without my invoking

2010-05-03 Thread yidongsoft
Widget updated without my invoking and text size and colour settings lost. My widget consists of a TextView. I set the text colour and text size with views.setInt(R.id.widgetText, setTextColor, getResources().getColor(textColorResource)); views.setFloat(R.id.widgetText, setTextSize, textSize);

[android-developers] [Help] How to get thumbnail picture from HTC Hero?

2010-05-03 Thread Vincent Tsao
i'm trying to fetch a thumbnail with picture URI using these code below: long id = ContentUris.parseId(selectedImageURI); String[] projection = { MediaStore.Images.Thumbnails.DATA }; Cursor c = Images.Thumbnails.queryMiniThumbnail(getContentResolver(), id,

[android-developers] Re: Communicating from Android Service to an Activity

2010-05-03 Thread FrankG
Hello Mark, I have short question to your example : If I understood it right, the Broadcast from the WeatherPlusService will not start up the WeatherPlus Activity ? So how must the example be changed, that the first broadcast will startup the activity and the next ones are normal broadcast to

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
Thanks Jamesc, I will post another question:) Thanks! On May 3, 4:37 pm, jamesc jame...@gmail.com wrote: Well, that's a different problem :-) Have you searched on this forum to see if anyone else has had the same issue (re: transparency)?  I tried and do get a lot of hits for

[android-developers] ADT Problem: Creating new Android Project

2010-05-03 Thread harjeet
Hello, While trying to create a new Android Project., Get a error - An SDK Target must be specified. The documentation states that - Under Target, select an Android target to be used as the project's Build Target. The Build Target specifies which Android platform you'd like your application

[android-developers] Translucent theme turns black when using startActivityForResult

2010-05-03 Thread CMF
Hi all, I have two activities, A and B A is a background activity and B is a translucent Open GL activity I can see the background when using startActivity() , however when I use startActivityForResult, the transparency lost, and the background turns black in color is it a bug for the android? Or

[android-developers] onDraw being called - is that correct?

2010-05-03 Thread Gaurav Vaish
Hi, I have a custom view that I use in the activity. Here's the final structure: Button 1 My View Button 2 When either Button 1 or Button 2 are clicked, onDraw is dispatched to My View also. Is this the correct behaviour? Since drawing in my view is resource intensive, can this be avoided?

[android-developers] Question about reading contacts

2010-05-03 Thread EPecorari
Hi, I'm trying to read all the contacts stored in the phone using this code: Cursor cursorNumber = context.getContentResolver().query( Contacts.Phones.CONTENT_URI, new String[] { Contacts.Phones._ID, Contacts.Phones.NAME, Contacts.Phones.NUMBER }, null,

[android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-05-03 Thread Robert Green
And yet another game has the referrals - this time a featured one called iMobsters has it. I'm sure it's a fine game but it's funny because their description says, reached #1 in the iPhone market! I wonder how?? ... Almost every comment is (5 stars - Add me! code) On Apr 29, 3:08 pm, Mario

[android-developers] Re: htc droid incredible

2010-05-03 Thread ko5tik
On May 2, 5:43 pm, Simone simone.russ...@gmail.com wrote: Just a couple of questions. If I buy the droid incredible, would I be able to: -use it in Italy Why not? It surely can use all the mobile standards in place. -run my applications on it Ig this is compatible with android version -

[android-developers] Something wrong here, didn't expect com.commonsware.android.rotation.two to be resumed

2010-05-03 Thread Adrian Vintu
Hi all, I am trying to run the rotation example from http://github.com/commonsguy/cw-android/tree/master/Rotation/RotationTwo/ I created an Eclipse project, added the files from the location above. I created an emulator with target 2.0.1 API level 6. Resolution is 480x854. Abstracted LCD density

[android-developers] Re: JIT compiler explanation

2010-05-03 Thread Eddie Ringle
The upcoming JIT for Dalvik will look for hot pieces of code and compile it to native machine code, resulting in a speed boost. The JIT is not there to convert Java bytecode to Dalvik bytecode, as Android applications should already compile to Dalvik bytecode. On May 3, 1:04 am, Justin King

[android-developers] Binding Json Array to Adapter

2010-05-03 Thread Rahul
Hi, I have retrieved Json array by using the process below... http://www.josecgomez.com/2010/04/30/android-accessing-restfull-web-services-using-json/ Now, I am trying to display the Json array in a list view. So, can anyone help me determine how can i bind the values obtained from Json array

[android-developers] Re: Alarm Clock Localization query

2010-05-03 Thread Uander
Can anyone on this mailing list help me out ?? On Fri, Apr 30, 2010 at 6:48 PM, Uander uandro...@gmail.com wrote: Hi All , Issue I mentioned here works fine in cupcake android 1.5 . it refers to a OHA issue 3985: http://code.google.com/p/android/issues/detail?id=3985 Please suggest how

[android-developers] desktop remote on phone

2010-05-03 Thread Sonic..
Hello, I wanted to create an application that can be used to take the remote connection of an android phone, on a desktop running Windows, using a USB connection. So all the activity that can be performed on the handset, should be visible on the desktop. Also, If the user interacts with the PC

[android-developers] Re: Activity Not coming to foreground

2010-05-03 Thread mike
hi guys, i think you all are wrong, it works fine i found out the issue. the issue is not with the receive method. the issue was in the activity there i have not set the setContentView(); instead of that i have diaplay a view. anyhow thanks for your comments regards, Ranidka -- You received

[android-developers] Sqlite cursor closable problem

2010-05-03 Thread adag
Hello, I am receiving finalizing closable issues. the snippet from the logcat as follows: I/dalvikvm( 585): Ljava/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.sqlitecur...@437c0e60 on null that has not been deactivated or closed I/dalvikvm( 585): at

[android-developers] Re: AsyncTask and progressUpdate()

2010-05-03 Thread MobDev
thanks for the answer Mark... Well the idea of the AsyncTask was to have a place where progress would be shown to a GUI element... And the onProgressUpdate() method oviously was very tempting ;) Anyhow, everything being asynchronous and thus not possible to implement within a doInBackgournd()

[android-developers] Always retrieve incomplete result from database

2010-05-03 Thread Monica Chrismawati
Hi all, currently develop an application and when I catch data from database, the record always incomplete. I am curios whether this is because I use distinct, but when removed distinct, the incomplete result also come too. For the example I query to get all dates using rawQuery: public Cursor

Re: [android-developers] Re: Communicating from Android Service to an Activity

2010-05-03 Thread Mark Murphy
FrankG wrote: I have short question to your example : If I understood it right, the Broadcast from the WeatherPlusService will not start up the WeatherPlus Activity ? Correct. In this case, the WeatherPlus activity is already running. So how must the example be changed, that the first

Re: [android-developers] Re: AsyncTask and progressUpdate()

2010-05-03 Thread Mark Murphy
MobDev wrote: thanks for the answer Mark... Well the idea of the AsyncTask was to have a place where progress would be shown to a GUI element... And the onProgressUpdate() method oviously was very tempting ;) Anyhow, everything being asynchronous and thus not possible to implement within a

[android-developers] Re: Always retrieve incomplete result from database

2010-05-03 Thread adag
Hello Monica, It seems the query is not correct. Missing quotes for WHERE_MONTH_YEAR The correct query needs to treat WHERE_MONTH_YEAR as variable. It should look like as follows: return mDb.rawQuery(select t_date from finance + where t_month= +\' + selectedMonth + \' and + t_year = ' +

Re: [android-developers] Something wrong here, didn't expect com.commonsware.android.rotation.two to be resumed

2010-05-03 Thread Mark Murphy
Adrian Vintu wrote: Hi all, I am trying to run the rotation example from http://github.com/commonsguy/cw-android/tree/master/Rotation/RotationTwo/ I created an Eclipse project, added the files from the location above. I created an emulator with target 2.0.1 API level 6. Resolution is

Re: [android-developers] Re: How to debug BadTokenException?

2010-05-03 Thread Mariano Kamp
My main issue is to find out what is really causing the BadTokenException. Any way how to find out which code initiated the message that caused the BadTokenException or which activity was expected to be running. On Sun, Dec 20, 2009 at 1:03 PM, Chander Pechetty cspeche...@gmail.comwrote: As an

[android-developers] Custom RatingBar

2010-05-03 Thread Ajay
Hi, I wanted to use a different image for the rating bar. I tried to do this by extending the RatingBar widget style. ?xml version=1.0 encoding=utf-8? resources style name=myRatingBar parent=@android:style/Widget.RatingBar item

Re: [android-developers] Something wrong here, didn't expect com.commonsware.android.rotation.two to be resumed

2010-05-03 Thread Adrian Vintu
Hi Mark, Thank you for your answer. Please let me (us) know if you have a solution for this. All the best, Adrian Vintu On Mon, May 3, 2010 at 2:16 PM, Mark Murphy mmur...@commonsware.com wrote: Adrian Vintu wrote: Hi all, I am trying to run the rotation example from

[android-developers] Disable hardware codecs

2010-05-03 Thread Uander
Hello , I have a file a audio/3gp file that I can play in eclair-2.1 emulator but its throwing error on my Zoom2 device says Sorry , this player doesn't support this type of audio file . emulator will be using s/w codecs . while zoom2 has h/w codecs . The logic of MMM framework is like if

[android-developers] Re: htc droid incredible

2010-05-03 Thread Sebastian
The HTC Incredible is a CDMA device, so it will NOT work in Italy. You need a GSM-based phone, like the Nexus One (which has very similar specs) On May 3, 5:46 am, ko5tik kpriblo...@yahoo.com wrote: On May 2, 5:43 pm, Simone simone.russ...@gmail.com wrote: Just a couple of questions. If I buy

[android-developers] RelativeLayout bug ?

2010-05-03 Thread mbaroukh
Hi all. I suppose it's not a bug but a works as designed but I found this to be really frustrating. The use case is simplified just to the point that is a problem for me. Here is the first layout that works : ?xml version=1.0 encoding=utf-8? LinearLayout

Re: [android-developers] RelativeLayout bug ?

2010-05-03 Thread Mark Murphy
mbaroukh wrote: So, does anybody knows if it is really a bug and maybe there is a workaround or it is the expected behavior and eventually ... why ? If your goal is put a TextView at the top of the screen, either use your existing LinearLayout, or: RelativeLayout

[android-developers] Re: Retrieving the Json data into a list view...

2010-05-03 Thread Rahul
I could successfully get the Json values by using the method explained by Jose... Thanks to Jose once again. Now i m trying to display all the values of the Json into a list view using the adapters. But i m getting a null pointer exception while running the app... Can anyone tell me what the

[android-developers] how to lunch a activity from prefrence

2010-05-03 Thread Mohammad Siddiqui
Hi everyone, I want to lunch a actvitity when click on a prefrence(inflated form the xml ). how we can do it Thanks -- 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] Re: MapView does not work in HTC Hero

2010-05-03 Thread Reiny Song
thank you for your reply, I am sure that I exported the signed application. I have checked the application with the jarsigner in command line (Windows XP), and the result is jar verified I have no idea about my problem so far... 2010/5/1 javame_android su...@softwebsolutions.com Hi, Did

[android-developers] Re: Retrieving the Json data into a list view...

2010-05-03 Thread Rahul
Here's the log errors i m getting... 04-30 13:09:46.656: INFO/ActivityManager(584): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1000 cmp=com.WorldToyota/.Alerts } 04-30 13:09:50.417: ERROR/JSON(924): There was an error parsing the

[android-developers] Re: [Help] How to get thumbnail picture from HTC Hero?

2010-05-03 Thread Vincent Tsao
any help? -- 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] draw a 2d marker on a openGL scene

2010-05-03 Thread Paolo
Hi guys! I've a problem and I'm not able to solve at the moment. I have realized a grid with openGL on a GLSurfaceview. This grid rotates at 360° on all the aces using the orientation sensors. Now I'd like to put over it some markers at specified coordinates, such as 2D objects, as if they were

[android-developers] Max size of string array

2010-05-03 Thread Alain
I have a string-array with 2000 items, each item can be 60 characters long, the program crashes when it tries to load the complete string- array. Then I split the string-array in 4 sections, and the program loads each section with no problem. My question, what's the max number of items in a

[android-developers] Re: [Help] How to get thumbnail picture from HTC Hero?

2010-05-03 Thread Streets Of Boston
create a thumbnail by myself? Yes. I found that thumbnails are not always generated. On May 3, 4:39 am, Vincent Tsao caojunvinc...@gmail.com wrote: i'm trying to fetch a  thumbnail with picture URI using these code below:         long id = ContentUris.parseId(selectedImageURI);        

[android-developers] Re: Can I use OpenGL to make Bitmap without GLSurfaceView

2010-05-03 Thread Streets Of Boston
Nope, it's not lightweight.. at all. And the cred is not mine. I got the code snippet from somewhere else, but i don't remember from where... I think from anddev.org. On May 3, 2:44 am, Robert Green rbgrn@gmail.com wrote: Awesome that you worked that out - but man... that sure isn't

Re: [android-developers] Re: Retrieving the Json data into a list view...

2010-05-03 Thread Jose Gomez
Rahul As a followup go to my site again I have posted another tutorial to do this http://www.josecgomez.com Thanks! Sincerely Jose C Gomez http://www.josecgomez.com On Mon, May 3, 2010 at 9:20 AM, Rahul rahulvarma.kalidindi0...@gmail.comwrote: Here's the log errors i m getting... 04-30

[android-developers] Re: Network Problems when using AVP with Google API

2010-05-03 Thread Christopher
The answer was to turn off the Windows Firewall on my local computer and then our Network Admin had to watch for some blocks getting sent from my IP. He then had to open up a few things to allow the Maps to get through. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Max size of string array

2010-05-03 Thread Jose Gomez
Are you using String[] or ListString ? If using ListString it should basically be unlimited. Sincerely Jose C Gomez http://www.josecgomez.com On Mon, May 3, 2010 at 9:47 AM, Alain aarn...@gmail.com wrote: I have a string-array with 2000 items, each item can be 60 characters long, the program

[android-developers] VideoView transitions during playback

2010-05-03 Thread Abhi
Hello, I am trying to insert some transition effects during video playback on a VideoView. Is there a way to reduce the brightness of the playing video or create a fade in/out effect? I am wondering what I can do on the VideoView from the available APIs to achieve the above. Please help Thanks

Re: [android-developers] Something wrong here, didn't expect com.commonsware.android.rotation.two to be resumed

2010-05-03 Thread Mark Murphy
Adrian Vintu wrote: Hi Mark, Thank you for your answer. Please let me (us) know if you have a solution for this. The solution appears to be: ignore the message. Other apps, such as the built-in Launcher (home screen), Calculator, Contacts, and Music apps exhibit the same behavior. -- Mark

[android-developers] Re: Disable hardware codecs

2010-05-03 Thread Deva R
[+porting list] you can delete ./system/etc/01_Vendor_ti_omx.cfg in your file system, so as to use SW codecs from PVOMX components (picked up by ./system/etc/pvplayer.cfg). On Mon, May 3, 2010 at 6:23 PM, Uander uandro...@gmail.com wrote: Hello   , I have a file a audio/3gp file that I can

[android-developers] Re: MapView does not work in HTC Hero

2010-05-03 Thread Nicholas Albion
Do you have a Google maps API key that coresponds to MD5 certificate fingerprint used to sign the app? http://code.google.com/android/add-ons/google-apis/mapkey.html http://code.google. com/android/maps-api-signup.html -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: how to lunch a activity from prefrence

2010-05-03 Thread adag
Hello Mohammad, If you are talking about the preference activated from the xml using activity please refer the api demos that is provided. developer.android.com/resources/samples/ApiDemos/res/xml/ advanced_preferences.html The example are quite self explanatory and covers all the possible usage

[android-developers] Re: Retrieving the Json data into a list view...

2010-05-03 Thread Brion Emde
Your problems are right up on top of your log. It is not correctly parsing your JSONObject. As I said earlier, you need to figure out your parsing. I took a different approach to writing my own adapter, although I think I did that too, in some iteration or other. I create a generic JSONArrayList

[android-developers] Re: accessing and changing Sync setting for android 1.5, 1.6 and more

2010-05-03 Thread zehunter
On 1 mai, 14:27, Mark Murphy mmur...@commonsware.com wrote: remy berrebi wrote: it's very sad. i still not understand the fact that android is so close about system setting. if we can not interact with system by ourself, the possibility to make very interesting apk is very low :-(

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-03 Thread heedrox
TreKing: for those of us (including me) that have not received the N1, I think we still would like to hear ocasionally the sentence N1 received in... so as we can see that N1s are still being sent, and ours will arrive (soon?). I don't know if I'll have to wait one week or three or six more, but

[android-developers] Re: Max size of string array

2010-05-03 Thread Alain
I am using String[] String[] items = getResources().getStringArray(R.array.arrayname); I will try ListString Why would String[] be limited in the number of items? Thanks On May 3, 10:34 am, Jose Gomez j...@josecgomez.com wrote: Are you using String[] or ListString ? If using ListString it

Re: [android-developers] Re: Max size of string array

2010-05-03 Thread Jose Gomez
Not quite sure how they handle regular old arrays in the implementation of android. But List has never given me any problems. Sincerely Jose C Gomez http://www.josecgomez.com On Mon, May 3, 2010 at 11:49 AM, Alain aarn...@gmail.com wrote: I am using String[] String[] items =

[android-developers] Listen to the CheckBox event in a ListActivity

2010-05-03 Thread dillipk
Hello, I have list of Check boxes in a ListActivity. 1) How do I select/unselect the check box in the ListActivity? 2) How do I get the state of a particular checkbox in a list of checkboxes? 3) How do I listen to the event when a checkbox is selcted/unselected? I use the below code:

Re: [android-developers] Listen to the CheckBox event in a ListActivity

2010-05-03 Thread Mark Murphy
dillipk wrote: I have list of Check boxes in a ListActivity. 1) How do I select/unselect the check box in the ListActivity? getListView().setItemChecked(), as described in the Android developer documentation:

[android-developers] Re: Problem in renaming file in Sdcard

2010-05-03 Thread Thilo-Alexander Ginkel
On May 3, 9:23 am, brijesh masrani masrani.brij...@gmail.com wrote: I want to rename a file in sdcard using program, i am not able to do that using String[] prog ={mv HArdcore.chm h_ardcore.chm}; Process p = Runtime.getRuntime().exec(prog); so if anyone knows how to do that than please

Re: [android-developers] RelativeLayout bug ?

2010-05-03 Thread Romain Guy
It's unfortunately a working as expected, although I'd agree that the expected is surprising. If you read your layout you will realize it does not make much sense: - The container is as tall as its child - The child is as tall as its content - You tell the child to center its content (which is

[android-developers] Re: Prescale Background Example / Speeding up WebViews

2010-05-03 Thread Rich
Anybody using this approach? R On Apr 29, 1:35 pm, Rich miser...@gmail.com wrote: The groups site buried this before it was visible yesterday, I'm gonna bump it again and hope Romain sees it.. If it's worth mentioning during a Google I/O talk, probably worth having some confirmed example

[android-developers] ADB Device offline - HTC Desire, Win 7 64bit

2010-05-03 Thread Sebastian Kleinau
Hello, I use a HTC Desire on Windows 7 64bit with latest Android SDK and Eclipse. When I enabled USB Debugging, Windows couldn't find a driver für ADB. Hinting it manually to C:\...\SDK\usb_driver\ didn't work - no drivers found there by Windows. Installing HTC Sync also installed a driver for

[android-developers] Re: Max size of string array

2010-05-03 Thread niko20
Check your logcat to see if you have out of memory errors. Java Dalvik programs are hard limited to 16Megs. -niko On May 3, 10:53 am, Jose Gomez j...@josecgomez.com wrote: Not quite sure how they handle regular old arrays in the implementation of android. But List has never given me any

[android-developers] Re: Development and debugging tools

2010-05-03 Thread Sandy
Can someone please help answer these questions? On Apr 29, 2:41 pm, Sandy snarr...@gmail.com wrote: I'm trying to figure out a way to do the following in android, appreciate any help on this. 1. How to generate a Full Java stack trace (basically thread stack) in Android. In J2SE, we use to

[android-developers] Re: Which Intent Flags when setting PendingIntents in multiple app widget scenario?

2010-05-03 Thread westmeadboy
FLAG_ACTIVITY_CLEAR_TOP also seems to work. In this case, onCreate is called instead of onNewIntent. Unlike FLAG_ACTIVITY_SINGLE_TOP, this helps in the situation where a secondary activity is currently on top of the stack of that task. I really need to make sure the main activity is displayed. I

[android-developers] Re: MapView does not work in HTC Hero

2010-05-03 Thread Paul Turchenko
Make sure you use different mapApi keys for emulator and real device because it seems that you've obtained certificatie for debug keystore only. On May 1, 7:17 am, Reiny Song reiny.s...@gmail.com wrote: Hello, I have a MapView (in MapActivity), and it works in my simulator. The google map

[android-developers] Re: Listen to the CheckBox event in a ListActivity

2010-05-03 Thread dillipk
Hi Mark, Thank you so much for your info.. great to know this.. much easier than I thought.. Regards, DK On May 3, 12:01 pm, Mark Murphy mmur...@commonsware.com wrote: dillipk wrote:   I have list of Check boxes in a ListActivity. 1) How do I select/unselect the check box in the

[android-developers] Re: Is Google working on the Bluetooth bug? Any estimated date of completion?

2010-05-03 Thread frankentux
http://stackoverflow.com/questions/2661932 http://pastebin.org/199621 could also be interesting On May 2, 2:32 am, DonFrench dcfre...@gmail.com wrote: Nexus One.  No experience with spica. On May 1, 6:35 am, frankentux cfarrell1...@googlemail.com wrote: My device is a i5700 Samsung spica.

[android-developers] Re: Listening for Bluetooth events and AVRCP profile

2010-05-03 Thread Moto
Before I invest my time developing the AVRCP profile... Can I actually achieve this without hacking the Android platform using the given Bluetooth APIs? Thanks! On May 2, 11:32 pm, Moto medicalsou...@gmail.com wrote: I need to find out the following information or guidance to achieve a

[android-developers] Re: Activity and view inflation

2010-05-03 Thread Michael Scott
Well, I could I guess, but what I was looking for was a way to iterate through the views in a layout to do some common stuff to them. Say for instance that I would like to set the background for all buttons dynamically, then it would be neat to do it just after creation. Anyway, the question still

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-03 Thread Mario Zechner
Got my N1 on friday but missed the fed ex guy. Just received it 2 hours ago, Graz, Austria from Netherlands. Thanks a bunch Google! On 3 Mai, 17:43, heedrox heed...@gmail.com wrote: TreKing: for those of us (including me) that have not received the N1, I think we still would like to hear

[android-developers] Question concerning View creation

2010-05-03 Thread Patrick
Hallo! I'm currently implementing ExtanableListAdapter extending the ... . The method getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) of the interface returns a View. Is there a way to create such a view out of a layout.xml file? Or is

Re: [android-developers] Question concerning View creation

2010-05-03 Thread TreKing
On Mon, May 3, 2010 at 1:14 PM, Patrick patrick.manges...@gmail.com wrote: Is there a way to create such a view out of a layout.xml file? Yes, use LayoutInflater. - TreKing - Chicago transit

[android-developers] using global variables in android

2010-05-03 Thread Jim
I want to share global variables between a parser fileformat interface source fiile(/opencore/fileformats/asf/parser/src/iasff.cpp) to the omx_wma_component.cpp. Any quick replies please -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Problems accessing location data in emulator

2010-05-03 Thread Bali M.
Great post! thanks! I spent hours trying to figure out why getLastKnownLocation() was returning null. I agree with Sven, system should be able to cache the last known location (pun intended) and return it when requested. It shouldn't depend on location providers to be active. a single point of

Re: [android-developers] Re: One clicklistener for many buttons.

2010-05-03 Thread Sajarwo Anggai
use array Button btn[]...then u can use looping for it... On 30 April 2010 23:37, Brion Emde brione2...@gmail.com wrote: you could do something like putting your ids in an array and putting your discovered buttons in another array and then process them in a loop. Think about how

[android-developers] BC_ATTEMPT_ACQUIRE not supported while using android camera

2010-05-03 Thread ycwang
hi all, I'm using android 1.6, I always get below messages when I try to take a picture or stop to video recording. binder: BC_ATTEMPT_ACQUIRE not supported binder: 215: 218 ioctl c0186201 40308cc8 returned -22 the camera application is git clone from git://android.git.kernel.org/platform...

[android-developers] Google should prohibit task killers on Android Market

2010-05-03 Thread Tomáš Hubálek
Hello, I'm on developer of Digital World Clock Widget (http:// www.appbrain.com/app/net.hubalek.android.worldclock). I'm receiving a few emails per week with complain that my widget stopped working. In all cases when we do investigation the cause is some kind of task killer. What is worse that

[android-developers] Getting back from security location to my application

2010-05-03 Thread sandma...@libero.it
Hi, I have an application that allows the user to enable GPS. In order to do it, first in the main activity I do: lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); if (!lm.isProviderEnabled(LocationManager.GPS_PROVIDER)){

[android-developers] How to create the same activity in a new process?

2010-05-03 Thread davidrobin
Hi, I want to create a new process to run a new instance of the current activity. How can I do that? I tried to modify the manifest.xml and the intent flag. But only to get new instance in the same process of the current one. Any advice is very appreciated. br, Robin. -- You received this

[android-developers] AppWidget retrieving data from another Application

2010-05-03 Thread James W
I have an AppWidget which provides a summary of some data stored and controlled by my main Application. (In a similar way to a Calendar AppWidget showing the next event from the main Calendar application). I want to know the best practice for retrieving the data to update my widget. I have

[android-developers] Re: Android camera problem on HTC Desire

2010-05-03 Thread Sebastian Weier
I have the same problem with my HTC Desire. Even the code-sample of google (Camera Preview) does cause an error. Next week i'm going to test it on Xperia X10. By the way: the App ZXing works fine. But i don't know, where the difference is...Anyone have an idea? On 22 Apr., 19:26, Streets Of

[android-developers] Unwanted state changes of CheckBoxes in ListView

2010-05-03 Thread David
Hey, I am facing a very mysterious Problem. I am using a ListView with CheckBoxes that can be clicked to select people. The row layout is the following: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=horizontal

[android-developers] troubles reading other apps config files

2010-05-03 Thread Aivlis
Hi guys, I have a problem. I have to access to the data folder of other applications from my application to read configuration's file and so on but it seems it's possible only to read data from the sdcard and my application's data folder. Can you suggest me how to solve this problem? -- You

[android-developers] Camera pictures are displayed or captured with pinkish color

2010-05-03 Thread surendra
Hi, I am using the I2C core driver with bit banging algorithm from the android kernel for configuring the Camera registers. The camera preview has a pinkish shade in the image. The same is observed when the image is captures and saved in SD card. I have compared the register setting values from

[android-developers] possible to get the scale ratio or number of pixels being displayed in the webkit viewport?

2010-05-03 Thread djkraz
First, I apologize if this is the wrong place to post this but I didn't see a forum for this kind of question... I have tried every hack that I can find and think of and nothing seems to work. Webkit on the iPhone works perfectly by using window.innerWidth from javascript but I can't seem to

[android-developers] How to connect with MS SQL to android

2010-05-03 Thread remish
Hello guys, I want to do one application in which i need to do connection with MS SQL.How can i do it? Please anyone guide me.I have to send and recieve data from database(MS SQL). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] troubles reading other apps config files

2010-05-03 Thread Aivlis
Hi guys, I have a problem. I have to access to the data folder of other applications from my application to read configuration's file and so on but it seems it's possible only to read data from the sdcard and my application's data folder. Can you suggest me how to solve this problem? -- You

[android-developers] No Phone Signal in Emulator (2.1)

2010-05-03 Thread Bruno Melo
Hi there, i'm having problems with the emulator. I only get a phone signal about a third of the times i start the emulator. I've read on these groups that you have to have an internet connection before starting the emulator. Since i'm connected to the internet 24/7 :) this is not the problem

[android-developers] virtual host set up

2010-05-03 Thread Rahul Mishra
I am using mac 10.6 working in proxy environment. i have set up virtual host e.g i.mailer and others. it works fine for desktop browsers. but i am not able to connect to those host from android browser. i have set up proxy for android so able to access other sites. After going through android

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-03 Thread Will Shackleton
Received here in Lancaster, UK. Awesome phone, many thanks to Google Don't forget to update the map: (not created by me) http://maps.google.com/maps/ms?ie=UTFmsa=0msid=109593402120975111968.0004855b7d8eefa5f649b -- You received this message because you are subscribed to the Google Groups

  1   2   3   >