[android-developers] Re: Curious NPE

2011-07-30 Thread Doug
On Jul 28, 3:18 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Pretty darn often. Every time you need to deal with file IO, connect to a database, or call a network service. Consider a simple data access interface. You might have a file implementation and a database implementation with

Re: [android-developers] Re: Android Market news

2011-07-30 Thread Jim Graham
On Sat, Jul 30, 2011 at 12:52:49AM -0500, TreKing wrote: On Sat, Jul 30, 2011 at 12:33 AM, Adam Ratana adam.rat...@gmail.com wrote: It's always a glitch. It's their way of communicating with developers. This is how we know they're adding something. Stay tuned for some new features in the

[android-developers] Re: how to filter listview using custom baseadapter?

2011-07-30 Thread dhirendra
In getView function of baseAdapter you make each view of list and return it. There you can do whatever you want to do with view. If this is not the answer, then please specify what do you mean by filtering here !!! On Jul 30, 10:47 am, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: Hi,

[android-developers] Re: Curious NPE

2011-07-30 Thread Doug
On Jul 28, 6:40 pm, Zsolt Vasvari zvasv...@gmail.com wrote: - Most of my checked exceptions were repackaged SQLExceptions, which are unchecked.  And it's fine to be unchecked, because if I get a SQL error, I cannot do anything about it other than roll back my transaction and stop the app. I'm

Re: [android-developers] Re: how to filter listview using custom baseadapter?

2011-07-30 Thread Hitendrasinh Gohil
Here is my class. package com.android.list; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import

[android-developers] Re: Calibrating Audio Frequencies

2011-07-30 Thread Doug
On Jul 28, 2:26 pm, RLScott fixthatpi...@yahoo.com wrote: Does anyone here have any data one way or the other about Android devices having separate recording and generating calibration? I think this is entirely up to the hardware manufacturers. I'm in a situation right now where we're having

[android-developers] Re: Strange behavior after signing build with release keystore

2011-07-30 Thread Doug
On Jul 29, 4:06 pm, Donal Rafferty draf...@gmail.com wrote: Yes I think proguard is enabled, how could I check? Also what effects would disabling it have? Did you do any of this? http://developer.android.com/guide/developing/tools/proguard.html I don't think you would have any trouble with

[android-developers] out of memory when excute the CTS case of Camera

2011-07-30 Thread xhy
Hi all, The error occurs when excute CTS case android.hardware.cts.CametaTest#testPreviewPictureSizesCombination,it fail in the method takePicture() of the code.But it is normal when take a photograph. And the parameters are both same.The follow log info: V/QualcommCameraHardware( 312):

[android-developers] Re: Android Market news

2011-07-30 Thread Ecthelion
Yes, I am having the same issue. But now changed ratings affected by this bug are also visible on the market :-(. On 30 Jul., 06:51, Nikolay Elenkov nikolay.elen...@gmail.com wrote: This is new: woke up to find that the number of ratings is a few hundred less than the day before. And that's

[android-developers] AChartEngine 0.7.0

2011-07-30 Thread Dan Dromereschi
Hi all, The 0.7.0 release is now available for download. This version is compatible with all Android versions starting with the 1.5 version. On older platforms like 1.5 and 1.6, there is no support for pinch zoom, but the 2.x and 3.x have support for this. I think that other than the bunch of

Re: [android-developers] Re: place Gif image in android

2011-07-30 Thread Kunju Vava
Thanks to all... I made it using frame animation... now it is working ... Thanks to developers ROCK ANDROID. -- 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] Multiple Intents

2011-07-30 Thread perumal316
Hi All, If I got multiple intents, how do I use: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { . } I have multiple intents upon different button clicks in my application, and for one of the intent, I need to

[android-developers] How to include Button in Context Menu

2011-07-30 Thread Abhishek Kumar Gupta
I am a newbie. I just want to include Button(like OK/CANCEL) in Context Menu. Can anyone help me. Any help will be well appreciated. -- 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] Android Widget multiple instance problem?

2011-07-30 Thread shubh
I am creating an chat widget in which I starting Service class thread as I create instance (onUpdate of AppWidgetProvider) , so every time when I create new instance my onUpdate call and service started again... so let me know How can I update all instance using single service instance. thanks

[android-developers] regarding api version

2011-07-30 Thread nageswara rao rajana
hi, I developed an android application using maps in API level 6.I run the application on device 2.1, google maps not displaying. What might be the problem. Thanking you, nageswararao. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to call any method on button event of widget?

2011-07-30 Thread shubh
yes that i can try.. thanks On Jul 20, 6:29 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 20, 2011 at 3:59 AM,shubhshubhampatn...@gmail.com wrote: Hi Mark, I did same , i put my business logic in SendToRecent (which is my Service class), but here every time i have to start

[android-developers] Re: sendDtmf on Xoom WiFI / Android 3.0

2011-07-30 Thread Robert Auger
I think we miss the methods getAudioGroup() and getAudioStream() in the SipAudioCall class On 28 juil, 21:04, Robert Auger bobyg...@gmail.com wrote: Here is the log I get when I am registering : 07-28 20:55:57.980: DEBUG/dalvikvm(3853): GC_CONCURRENT freed 460K, 8% free 6788K/7367K, paused

[android-developers] Re: place Gif image in android

2011-07-30 Thread skink
On Jul 30, 10:57 am, Kunju Vava android...@gmail.com wrote: Thanks to all... I made it using frame animation... now it is working ... Thanks to developers ROCK ANDROID. You are wasting resources using frame animation, use Movie instead pskink -- You received this message

[android-developers] Input method is unable to get the action from Done button

2011-07-30 Thread sameer kamble
Dear Sir, 1. I am trying to create an Input method, for which i am using softkeyboard example provided by the android sdk. 2. I install my application (apk file) on a samsung device (android 2.1 sdk). 3. In the device i activate my IME and open the MEMO application. I change the orientation to

Re: [android-developers] How to include Button in Context Menu

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 5:17 AM, Abhishek Kumar Gupta akgaec2...@gmail.com wrote: I am a newbie. I just want to include Button(like OK/CANCEL) in Context Menu. This is not possible. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] regarding api version

2011-07-30 Thread Mark Murphy
Either: -- you have the wrong maps API key, or -- you do not have the INTERNET permission, or -- the device does not have Internet access On Sat, Jul 30, 2011 at 5:32 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: hi,       I  developed an android application using maps in API level 6.I

Re: [android-developers] regarding api version

2011-07-30 Thread nageswara rao rajana
Can we run application on 2.1 device which was developed on 1.6. On Sat, Jul 30, 2011 at 3:25 PM, Mark Murphy mmur...@commonsware.comwrote: Either: -- you have the wrong maps API key, or -- you do not have the INTERNET permission, or -- the device does not have Internet access On Sat,

Re: [android-developers] How to include Button in Context Menu

2011-07-30 Thread Abhishek Kumar Gupta
Thanks for reply, then I have to use Alert Dialog with customized List Adapter only. Is there any other alternative? -- 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

Re: [android-developers] regarding api version

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 6:03 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: Can we run application on 2.1 device which was developed on 1.6. Yes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

Re: [android-developers] regarding api version

2011-07-30 Thread nageswara rao rajana
what are the difference between 1.6 and 2.1, can you please tell(means add-on's in 2.1) On Sat, Jul 30, 2011 at 3:45 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Jul 30, 2011 at 6:03 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: Can we run application on 2.1 device which

[android-developers] Fwd: contextmenu on item selected has to display next activity

2011-07-30 Thread arun kumar
-- Forwarded message -- From: arun kumar arun.kata...@gmail.com Date: Sat, Jul 30, 2011 at 11:17 AM Subject: Fwd: contextmenu on item selected has to display next activity To: android-developers@googlegroups.com -- Forwarded message -- From: arun kumar

Re: [android-developers] regarding api version

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 6:17 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: what are the difference between 1.6 and 2.1, can you please tell(means add-on's in 2.1) Step #1: Open up a Web browser Step #2: Visit http://developer.android.com Step #3: Click the SDK tab on the Web page

Re: [android-developers] regarding api version

2011-07-30 Thread nageswara rao rajana
I have one more question i developed an application which send data through internet(gprs). so if i am in a position where WiFi is available then instead of gprs i have to use WiFi. Is this possible to shift. On Sat, Jul 30, 2011 at 3:50 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat,

Re: [android-developers] regarding api version

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 6:42 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: I have one more question i developed an application which send data through internet(gprs).   so if i am in a position where WiFi is available then instead of gprs i have to use WiFi. Is this possible to shift.

Re: [android-developers] regarding api version

2011-07-30 Thread nageswara rao rajana
so you mean when WiFi is enabled on android device data transfer will be through wifi even though gprs is activated.This will be done automatically or should we implement any code for this. On Sat, Jul 30, 2011 at 4:18 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Jul 30, 2011 at 6:42

Re: [android-developers] regarding api version

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 7:26 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: This will be done automatically That is what I meant when I said This happens automatically. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

Re: [android-developers] regarding api version

2011-07-30 Thread nageswara rao rajana
Oh thank you mark. I am very thankfull to your support. On Sat, Jul 30, 2011 at 4:58 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Jul 30, 2011 at 7:26 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: This will be done automatically That is what I meant when I said This

Re: [android-developers] regarding api version

2011-07-30 Thread Kostya Vasilyev
... provided that the network has been configured in Android (set up as a known network). 30.07.2011 15:28, Mark Murphy пишет: On Sat, Jul 30, 2011 at 7:26 AM, nageswara rao rajana nagu.raj...@gmail.com wrote: This will be done automatically That is what I meant when I said This happens

Re: [android-developers] regarding api version

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 7:54 AM, Kostya Vasilyev kmans...@gmail.com wrote: ... provided that the network has been configured in Android (set up as a known network). True enough. OTOH, it's not like you have many options if it's not configured and it's secured. :-) -- Mark Murphy (a Commons

[android-developers] How to create Curve layout in Android?

2011-07-30 Thread shubh
At place of use Vertical or Horizontal layout , how can design Circular layout. I want to create an circle layout where I can place some menu option inside that layout. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] How to create Curve layout in Android?

2011-07-30 Thread Mark Murphy
You will have to write your own layout manager for that. On Sat, Jul 30, 2011 at 8:08 AM, shubh shubhampatn...@gmail.com wrote: At place of use Vertical or Horizontal layout , how can design Circular layout. I want to create an circle layout where I can place some menu option inside that

Re: [android-developers] Verifying Map API key

2011-07-30 Thread usafrmajor
THANK YOU! it was this on your Android .jar right click Build Path- Configure Build Path. then if you see 2 maps.jar includes remove one of them... - Now would you be willing to help me solve another strange problem I am having. I have looked everywhere and trid a LOT of things

[android-developers] how to save content in webView after minimizing app? and do not reloading after restore app?

2011-07-30 Thread Vladimir Svydenko
Have question: in my app I have one webView. When I minimize application and re-open it - in webview I get white space. I want when I can minimize application and re-open it without reloading content... code here: public void onCreate(Bundle savedInstanceState) {

[android-developers] Fwd: contextmenu on item selected has to display next activity

2011-07-30 Thread arun kumar
can any one tell me where am doing wrong -- 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] Re: Curious NPE

2011-07-30 Thread Zsolt Vasvari
I'm curious what you mean by stop the app?  What are you doing to recover, if anything? No, let the system Force Close the app, roll back by existing SQL transaction and let the user submit a bug report via the Error Reporting. Actually, this is a pretty good specific case to talk about.

[android-developers] Conversion to dalvik format failed with error 1 - is dexing logged?

2011-07-30 Thread Marcin Orlowski
Hi, Is there any easy way (with Eclipse) to find out what exactly caused this error? Project was building for ages just fine, and now it causes this error when I try to export signed apk. I am wondering what code exactly is a culprit (is it logged anywhere?). The app uses only one external lib

[android-developers] Re: Conversion to dalvik format failed with error 1 - is dexing logged?

2011-07-30 Thread Marcin Orlowski
On 30 July 2011 15:28, Marcin Orlowski webnet.andr...@gmail.com wrote: Hi, Is there any easy way (with Eclipse) to find out what exactly caused this error? Project was building for ages just fine, and now it causes this error when I try to export signed apk. I am wondering what code exactly

[android-developers] Stagefright Audio Looping issue

2011-07-30 Thread csyperski
Is anyone else having issues with the new stagefright audio/media framework and seemless looping on some phones. I have an app that has used MediaPlayer.setLooping(true); for years now and all of a sudden users are complaining about the a brief gap in the loop. The strange thing is that I can't

[android-developers] Re: Android Market news

2011-07-30 Thread chis
I'm experiencing this also. My apps in the console and the market I have all lost ratings. Several of my apps went from 4.5* to 3* or worse. Only ratings with comments have remained. So, this weighs the people that are impossible to please much more. It seems more will voice their negative

Re: [android-developers] Multiple Intents

2011-07-30 Thread Raghav Sood
Send some different data in each of the intents. Then check that data. If it is the data from the intent in question do whatever you have to. Thanks On Sat, Jul 30, 2011 at 2:42 PM, perumal316 perumal...@gmail.com wrote: Hi All, If I got multiple intents, how do I use: @Override

[android-developers] Force close

2011-07-30 Thread saurabh kulkarni
My app gives me force close when I add one record to database and then returns to privious activity which shows me added record.So why force close? -- 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] Force close

2011-07-30 Thread saurabh kulkarni
My app gives me force close when I add one record to database and then returns to privious activity which shows me added record.So why force close? -- 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] Force close

2011-07-30 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your force close. On Sat, Jul 30, 2011 at 10:32 AM, saurabh kulkarni funwit.saur...@gmail.com wrote: My app gives me force close when I add one record to database and then  

Re: [android-developers] Re: Android Market news

2011-07-30 Thread Adam Ratana
On Sat, Jul 30, 2011 at 10:02 AM, chis chris.wil...@gmail.com wrote: I'm experiencing this also. My apps in the console and the market I have all lost ratings. Several of my apps went from 4.5* to 3* or worse. Only ratings with comments have remained. So, this weighs the people that are

[android-developers] Re: Avoid to handle click event on a LinearLayout

2011-07-30 Thread Paolo
anyone, please? On 29 Lug, 15:44, Paolo brand...@gmail.com wrote: Hi there, I have a FrameLayout with two inner LinerLayouts overlayed. + FrameLayout       + LinearLayout 1       + LinearLayout 2 In some cases I'd like the LinearLayout 2 doesn't handle the click event. I can't set

[android-developers] Graphs in Android

2011-07-30 Thread Boozel
Hi I need to plot a line graph in my app. I found a bunch of libraries for graphing in android, Has any one used or had any experience with these? Which is best? If any one has any suggestions please post them. Thanks a lot. GraphView: http://android.arnodenhond.com/components/graphview

[android-developers] Re: Avoid to handle click event on a LinearLayout

2011-07-30 Thread Paolo
I got a partial solution! I set the OnTouchListener for the LinearLayout2. When I want to pass the event down, I do linearLayout1.dispatchToucheEvent(event) and return true. The LL1 gets the event and it seems to work, but the LL1 doesn't pass the event to its own children. I have a Button inside

Re: [android-developers] zooming in page animation

2011-07-30 Thread arun kumar
http://www.anddev.org/novice-tutorials-f8/page-flip-animation-t16437.html refer this site. in this site some users tell some websites refer that veni its really helpful On Mon, Jul 25, 2011 at 6:31 PM, vani reddy vani.reddy.bl...@gmail.comwrote: Hi friends, i am not able to zoom the image in

[android-developers] Need help diagnosing problem

2011-07-30 Thread bob
My stuff is getting really low ratings partly because it doesn't work on certain phones. Can someone take a look at my app here and help me figure it out? https://market.android.com/details?id=com.coolfone.sonicboomfeature=search_result If you have an HTC Eris, this would be especially

Re: [android-developers] Need help diagnosing problem

2011-07-30 Thread fuad ghalep
sorry i cant help you becous i dont have any idya thank you so much On Sat, Jul 30, 2011 at 7:27 PM, bob b...@coolgroups.com wrote: My stuff is getting really low ratings partly because it doesn't work on certain phones. Can someone take a look at my app here and help me figure it out?

Re: [android-developers] Need help diagnosing problem

2011-07-30 Thread Marcin Orlowski
tried using ACRA? may help to catch the bug (as users are usually less than useful) On Jul 30, 2011 6:28 PM, bob b...@coolgroups.com wrote: My stuff is getting really low ratings partly because it doesn't work on certain phones. Can someone take a look at my app here and help me figure it

[android-developers] Open Google Maps with Route In Tab Using Activity

2011-07-30 Thread usafrmajor
I was able to get a screen to open that shows a route using Google Maps however it opens up separate from my application. I would like it to opens up in the tab that I launch it from within my application. Can that be done? if so, how would I do that? thanks I open the Activity like this

[android-developers] Multiple Activities within a Tab

2011-07-30 Thread RobinDroid
Dear All, I am currently developing a tab based application to learn Android. I have 2 tabs: TAB1 and TAB2. I created tabs: thats fine: TAB1: is used to browser some files, dats ok as well. The problem is with tab2. TAB2 extends ActivityGroup: Why because i will has multiple activities within

Re: [android-developers] Multiple Activities within a Tab

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 2:54 PM, RobinDroid librain.ro...@gmail.com wrote: I am currently developing a tab based application to learn Android. I have 2 tabs: TAB1 and TAB2. I created tabs: thats fine: TAB1: is used to browser some files, dats ok as well. The problem is with tab2. TAB2

[android-developers] Re: Multiple Activities within a Tab

2011-07-30 Thread RobinDroid
Dear, Though i am learning android but i want to bring some application in the android market. I wish to have tabs for my application. If i dont use ActivityGroup, how can i have multiples view in the same tabs. On Jul 31, 12:02 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 30,

Re: [android-developers] Open Google Maps with Route In Tab Using Activity

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 2:46 PM, usafrmajor usafrma...@gmail.com wrote: I was able to get a screen to open that shows a route using Google Maps however it opens up separate from my application.  I would like it to opens up in the tab that I launch it from within my application.  Can that be

Re: [android-developers] Re: Multiple Activities within a Tab

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 3:07 PM, RobinDroid librain.ro...@gmail.com wrote: I wish to have tabs for my application. If i dont use ActivityGroup, how can i have multiples view in the same tabs. The same way you have multiples view anywhere else: put them in a layout manager (LinearLayout,

[android-developers] Re: Multiple Activities within a Tab

2011-07-30 Thread RobinDroid
Can you just give me link or a small demo ? i have so far come up to this: http://stackoverflow.com/questions/6869474/checkbox-id-set-manually-not-being-able-to-retrieve-at-activity-class i have posted my codes here and came up with his thread here. I really find difficulty in understanding one

[android-developers] Re: DBAdapter crash when using DialogFragment

2011-07-30 Thread jtoolsdev
Follow up for those who might run into the same problem. The original code was just moved from an Activity into a DialogFragment modified for a fragment. Deep in the onCreateView code checked to see if the database existed or had any entries. If it didn't it popped up a Toast message that no

[android-developers] Re: Multiple Activities within a Tab

2011-07-30 Thread RobinDroid
I have been following your examples from tthe github.com on creating tabApplication On Jul 31, 12:17 am, RobinDroid librain.ro...@gmail.com wrote: Can you just give me link or a small demo ? i have so far come up to

Re: [android-developers] Re: Multiple Activities within a Tab

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 3:17 PM, RobinDroid librain.ro...@gmail.com wrote: Can you just give me link or a small demo ? To... what? Here is a project that shows a TabHost that uses Views as children: https://github.com/commonsguy/cw-android/tree/master/Fancy/Tab Here is another project:

[android-developers] Re: Multiple Activities within a Tab

2011-07-30 Thread RobinDroid
Thank you so much for the link. I will read the above link and if i have any queries please be there to help me. I actually follow your coding structure from the github On Jul 31, 12:24 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 30, 2011 at 3:17 PM, RobinDroid

[android-developers] How to integrate Google Earth with android application?

2011-07-30 Thread Goutom
Hi All, Is it possible to integrate Google Earth with android application? If possible then please show me a link. Thanks in advance. Regards Goutom -- 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] How to integrate Google Earth with android application?

2011-07-30 Thread Mark Murphy
On Sat, Jul 30, 2011 at 4:26 PM, Goutom goutom.sust@gmail.com wrote: Is it possible to  integrate Google Earth with android application? AFAIK, there are no documented Intent protocols for the Google Earth application. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] How to integrate Google Earth with android application?

2011-07-30 Thread Goutom
Thanks Murphy for your reply. On Sat, Jul 30, 2011 at 1:32 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Jul 30, 2011 at 4:26 PM, Goutom goutom.sust@gmail.com wrote: Is it possible to integrate Google Earth with android application? AFAIK, there are no documented Intent

Re: [android-developers] Open Google Maps with Route In Tab Using Activity

2011-07-30 Thread usafrmajor
OK, thanks I was able to figure out how to find the center point on the map based on my start and stop points. Can you point me to a good resource on how to figure out how to draw a street path between them? No expectations here, just hoping to save some time. :-) thanks -- You received

[android-developers] How to find available services in a bluetooth connected device

2011-07-30 Thread guich
Hi, I'm trying to establish a connection between an Android device and a cell phone (this is my first test, in the real world, i'll be connecting to any device, like a printer). I was already able to discover the device, and now i'm trying to connect to it. However, i didn't find in the android

[android-developers] Re: Curious NPE

2011-07-30 Thread Zsolt Vasvari
By the way, the whole JSONException stuff is foobar-ed: There is a way to avoid JSONException to be thrown by using the opt* methods for reads, which I am doing now as I know that I created the data and it must be there. But, there is no way to avoid catching the JSONException on put* operations

[android-developers] Re: ListFragment doesn't save the bundle in onSaveInstanceState()

2011-07-30 Thread nadam
I can't see anything wrong with the code. Do you get the same problem in TitlesFragment.java when running the honneycomb-gallery sample included in the SDK? On 28 Juli, 11:54, Maria D. dobr...@gmail.com wrote: I'm new to android and I'm facing the following problem. I'm developing for both,

[android-developers] Fm Range

2011-07-30 Thread Eduardo Reis
Hi people, Does anybody know the range of android's fm frequence? -- *Reis, Eduardo.* * * *Graduando em Ciência da Computação (UFMA)* *Laboratório de Processamento e Análise de Imagens (LABPAI)* * * *contato: * *eduardo_jr...@hotmail.com* *98 8839-9122* * * *As raposas têm suas tocas e as aves

[android-developers] live wallpapers and CPU/Battery consumption

2011-07-30 Thread Jim Graham
I'm working on a live wallpaper using AndEngine's physics extension. I've turned off all touch events and the accelerometer (known problems with the live wallpaper extension ... short version, they don't work right now, lots of people waiting for a fix). Here's my question: the activity in my

Re: [android-developers] How to include Button in Context Menu

2011-07-30 Thread TreKing
On Sat, Jul 30, 2011 at 5:04 AM, Abhishek Kumar Gupta akgaec2...@gmail.comwrote: Thanks for reply, then I have to use Alert Dialog with customized List Adapter only. Is there any other alternative? Alternative for what? You didn't really explain what you're trying to do. OK / Cancel in a

Re: [android-developers] Multiple Intents

2011-07-30 Thread TreKing
On Sat, Jul 30, 2011 at 4:12 AM, perumal316 perumal...@gmail.com wrote: If I just place it at the bottom, it is not executing. What does that mean? How to differentiate between he different intents? That's the whole point of the resultCode parameter ... it tells you what the result was.

[android-developers] Re: How to find available services in a bluetooth connected device

2011-07-30 Thread CBD
I am having exactly the same problem. I need to connect to a device and the docs for it do not say anything about what profiles it supports.. The device is paired, that was no problem, but I have no idea what UUID the device supports.. Been through the Blutooth API a few times, and since I'm on

Re: [android-developers] Open Google Maps with Route In Tab Using Activity

2011-07-30 Thread TreKing
On Sat, Jul 30, 2011 at 5:54 PM, usafrmajor usafrma...@gmail.com wrote: Can you point me to a good resource on how to figure out how to draw a street path between them? No expectations here, just hoping to save some time. :-) thanks Google Google Directions API

[android-developers] Regarding Center alignment of TextView in a Table Row having 2 components

2011-07-30 Thread Laxmi Verma
Hi, I am having a TableRow wrapped inside TableLayout. In the TableRow there are two widget, one is ImageButton and one is TextView. I want to center align the text of TextView. Now, the problem which is occurring is that the text is getting centre aligned corresponding to the TextView and not

[android-developers] context menu

2011-07-30 Thread arun kumar
HI i given buttons in xml file and onclick listener in java. 1).when i click on button (projects)menu has to appear(allprojects,myprojects,myfavorites)it appearing but when i click allprojects it has to show the next acitvity(allprojects class) but its not displaying the activity..

[android-developers] image view

2011-07-30 Thread arun kumar
HI how to make imageview as highlight i given imageview when i on click on that it has to become highlight(background has to become focus ... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to