[android-developers] Re: Voice 2 text help

2009-09-10 Thread Abhi
there On Sep 10, 6:30 am, Lance Nanek lna...@gmail.com wrote: On Sep 8, 10:15 am, Abhi abhishek.r.sha...@gmail.com wrote: I want to know if I can extract the text result on the list view and use it as a String further on? The part of code I am refering to is below where mList is defined as ListView

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-15 Thread Abhi
Hi Stefano, All I am really knew to this... don;t even know how to add these new libraries into my Cupcake 1.5 to make use of Bluetooth API. Could you please guide me to a basic level of adding libraries and working with it? Thanks, Abhi On Sep 13, 9:44 am, Stefano Sanna gerda...@gmail.com

[android-developers] Switch case on String

2009-09-24 Thread Abhi
Can I do a switch(String), case (compare with other string) and how? I am trying to compare string results and perform actions... Thanks, Abhi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Switch case on String

2009-09-24 Thread Abhi
Ok. Thanks Felipe. I just figured that out. Regards, Abhi On Sep 24, 12:47 pm, Felipe Silveira webfel...@gmail.com wrote: No, you can't. In Java we don't have switch with Strings. Regards, Felipe Silveira On Thu, Sep 24, 2009 at 11:56 AM, Abhi abhishek.r.sha...@gmail.com wrote: Can

[android-developers] Activity blocks till service completes

2009-10-11 Thread abhi
Hi, I am starting a service from an activity. Once the services starts, the calling activity loses focus and blocks till the service is completed. Why is this and is there a way around it to return the control to the calling activity while the service runs in the background? Thanks,

[android-developers] Re: Activity blocks till service completes

2009-10-12 Thread abhi
on the main thread.  If you want to run on another thread, you'll need to make it yourself. On Sat, Oct 10, 2009 at 1:21 AM, abhi rkabhi1...@gmail.com wrote: Hi, I am starting a service from an activity. Once the services starts, the calling activity loses focus and blocks till the service

[android-developers] Re: Activity blocks till service completes

2009-10-12 Thread abhi
IntentService to let it take care of this for you: http://developer.android.com/reference/android/app/IntentService.html On Mon, Oct 12, 2009 at 11:19 AM, abhi rkabhi1...@gmail.com wrote: I created a new thread and tried starting the service from there, but the service is not being started from

[android-developers] How to set up a new PC in one easy session

2008-09-25 Thread abhi
Fellow ZDNet blogger Jason Perlow helped a friend and colleague buy a new PC and migrate her data and settings from the old machine (Windows XP) to the new one (Windows Vista). He documents the process in The New Adventures of Christine’s Old PC. I tip my hat to Jason for his dedication to a

[android-developers] Re: Android 2.0 SDK is here!

2009-10-29 Thread Abhi
/repository.xml, reason: Connection timed out: connect. I tried all methods, using Eclipse, using command 'android.bat update sdk' and also directly running 'SDK Setup.exe'. Please help! I need to get this new SDK running ASAP. Thanks, Abhi On Oct 27, 12:45 pm, Xavier Ducrohet x...@android.com wrote: Hello

[android-developers] Re: Transfer file between phone

2009-11-09 Thread Abhi
Hi, I am trying to do a similar thing but not between two phones. I am trying to accomplish wireless printing to my home wireless printer. Could you please guide me through to the initial steps? Thanks, Abhi On Nov 9, 1:50 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You

[android-developers] Re: Transfer file between phone

2009-11-09 Thread Abhi
to identify each other? Thanks, Abhi On Nov 9, 1:59 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, I am trying to do a similar thing but not between two phones. I am trying to accomplish wireless printing to my home wireless printer. Could you please guide me through to the initial steps

[android-developers] ImageButton location

2009-11-12 Thread abhi
I am trying to place two ImageButtons on an ImageView. I'm using RelativeLayout (also tried FrameLayout) in the XML file. But this just places the three elements (ImageButtons and ImageView) at location 0,0 at the top left corner even if I specify layout_marginLeft, layout_marginRight etc for the

[android-developers] Re: ImageButton location

2009-11-12 Thread abhi
Never mind. I got it -- 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

[android-developers] Inter-activity communication

2009-11-13 Thread abhi
Hi, Currently, I am starting a Child activity from a Parent activity in the following manner: public class Parent extends Activity { private int message; public Parent() { message = 0; } @Override public void onCreate(Bundle

[android-developers] Sending Image over socket using URI

2009-11-16 Thread Abhi
ObjectInputStream (clientSocket.getInputStream()); byte[] buffer = (byte[])ois.readObject(); FileOutputStream fos = new FileOutputStream(C:\\Downloaded\ \picture.jpg); fos.write(buffer); Any help would be appreciated. Thanks, Abhi -- You received this message because you

[android-developers] how to send image over socket, knowing its URI?

2009-11-16 Thread Abhi
Please help... thanks, Abhi -- 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

[android-developers] fwd: get the file path from a URI instance

2009-11-16 Thread Abhi
()); oos.writeObject(buffer); Please help me to move forward. Thanks, Abhi -- 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

[android-developers] Re: fwd: get the file path from a URI instance

2009-11-17 Thread Abhi
FileInputStream(absoluteFilePath); ... and so on Regards, Abhi On Nov 17, 10:06 am, Streets Of Boston flyingdutc...@gmail.com wrote: When using openInputStream on the content-resolver, the returned input- stream is not as 'flexible' as a FileInputStream. For example, FileInputStreams can

[android-developers] locator app

2009-11-20 Thread Abhi
and quickest way to do it? Thanks for any help in this regard. Abhi -- 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

[android-developers] Re: locator app

2009-11-20 Thread Abhi
Hi Tom, I am not sure if I understood your previous post right... Abhi On Nov 20, 2:44 pm, Loki117 thomas.sheppar...@gmail.com wrote: Yeah epic fail on my behalf that does not work! On Nov 20, 1:49 pm, Loki117 thomas.sheppar...@gmail.com wrote: Try this. Concat the lat and long

[android-developers] Re: locator app

2009-11-30 Thread Abhi
Hi, Is there no one who could help me figure this out, please? Thanks, Abhi On Nov 20, 2:51 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi Tom, I am not sure if I understood your previous post right... Abhi On Nov 20, 2:44 pm, Loki117 thomas.sheppar...@gmail.com wrote: Yeah epic

[android-developers] UPnP

2010-01-19 Thread Abhi
Hi, Does anyone have any idea on implementing UPnP in Android? I am working on a Project for which I need my Android phone to talk to UPnP devices directly. Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] You do not have permission to open this page

2010-01-19 Thread abhi
I am developing a MySpace app on android and I'm using the sample from OpenSocial java SDK. Using the various OAuth and OpenSocial API's I am getting the log on page for MySpace. However when I log in to my account, I am getting the below message: You do not have permission to open this page

[android-developers] Re: UPnP

2010-01-19 Thread Abhi
Anyone has any clue about this? On Jan 19, 10:01 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Does anyone have any idea on implementing UPnP in Android? I am working on a Project for which I need my Android phone to talk to UPnP devices directly. Thanks, Abhi -- You received

[android-developers] SMS inbox

2010-01-19 Thread abhi
How do I access the SMS inbox in android? I am able to receive new messages. However I could not find a straightforward tutorial on accessing the SMS inbox. I know I have to use content provider. If you know how to use content provider to access SMS inbox, please let me know. Thanks. -- You

[android-developers] MMS from/to location?

2010-01-20 Thread abhi
Hi, I am accessing the MMS content provider to get the messages in the MMS inbox. However, among the columns in the MMS inbox, there are no from/ to location. When I saw the MMS protocol (http://74.125.95.132/search? q=cache:uanGCG1YrPcJ:www.miniware.net/docs/OMA-MMS-ENC-V1_2-20050301-

[android-developers] Access telephony database table from content provider

2010-01-20 Thread abhi
Hi, I want to access the addr table from the mmssms.db database in the / data/data/com.android.providers.telephony/databases directory on Android emulator/phone. This table contains the phone numbers of SMS/ MMS conversations. However I have not been able to figure out the correct URI for this

[android-developers] UPnP

2010-01-21 Thread Abhi
Hi, Need help in understanding how to build UPnP stack in Android? Anyone? Abhi -- 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

[android-developers] extract video frames

2010-01-26 Thread Abhi
Hi, I am trying to know if is possible to extract frames from a video at regular intervals? Thanks, Abhishek -- 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

[android-developers] background services

2010-01-28 Thread Abhi
Hi, I have an application with a single activity. When the user taps the screen while on the activity, I want to start the accelerometer in the background (keeping the main activity running) and read values till the User taps at the screen again. I have worked on some basic android programming

[android-developers] how to use MediaRecorder to record highest quality video?

2010-01-28 Thread Abhi
Hi, Is there a way to get the best quality of video recording possible using MediaRecorder? the camcorder app does a lot better in terms of quality. Any help? Thanks, A -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-01-28 Thread Abhi
Anyone? On Jan 28, 1:33 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Is there a way to get the best quality of video recording possible using MediaRecorder? the camcorder app does a lot better in terms of quality. Any help? Thanks, A -- You received this message because you

[android-developers] Re: background services

2010-01-28 Thread Abhi
can anyone point me to a sample code that uses this? On Jan 28, 1:11 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, I have an application with a single activity. When the user taps the screen while on the activity, I want to start the accelerometer in the background (keeping the main

[android-developers] Re: background services

2010-01-29 Thread Abhi
JFrog, Thanks a ton for that reply. I will try not using a background service, the way you mentioned. Let me see how that goes and post something quick back here. Thanks again. Abhi On Jan 29, 8:49 am, JFrog jeremiah.paul.sna...@gmail.com wrote: Hey Abhi, If what I've understood about

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-01-29 Thread Abhi
Is rooting the device the only solution? On Jan 28, 2:27 pm, Abhi abhishek.r.sha...@gmail.com wrote: Anyone? On Jan 28, 1:33 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Is there a way to get the best quality of video recording possible using MediaRecorder? the camcorder app does

[android-developers] Droid Video Recorder

2010-02-01 Thread Abhi
try using the CAMERA as VideoSource instead of DEFAULT, the app force closes. MediaRecorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT) Am I doing something wrong? Which is the best configuration (encoding options?) to give the best video quality? Thanks, Abhi -- You received this message

[android-developers] Re: Droid Video Recorder

2010-02-02 Thread Abhi
Hi Kevin You sure can record videos at that resolution but only with the in- built camcorder app in Droid. Try writing your own recorder app and you will see the difference. Abhi On Feb 1, 7:20 pm, Kevin Duffey andjar...@gmail.com wrote: I believe the video can be taken up to 640 x 480

[android-developers] Re: Droid Video Recorder

2010-02-02 Thread Abhi
that is what it is. It doesn't make sense to me either. There has to be a way around this from Google (if you guys are hearing). Abhi On Feb 2, 10:41 am, Kevin Duffey andjar...@gmail.com wrote: Ahh..interesting. That would REALLY suck if Google/Android is allowed to access that resolution

[android-developers] Re: how to use MediaRecorder to record highest quality video?

2010-02-03 Thread Abhi
Isn't there anyone out there who can tell me not to pursue this with a good reason? I am spending too much of my time figuring this out and if there is some knowledgeable person out there who can give me a straight answer, I would really appreciate it. Thanks, Abhi On Feb 1, 9:12 am, Abhi

[android-developers] TimeStamp to record Start and Stop times!

2010-02-03 Thread Abhi
Hi, I have a ACTION_DOWN motion event and I start and stop another activity based on the touch events. At first touch, I want to start the activity and record the time (in nanoseconds) and at the Second touch, I want to stop the activity and record the time again. How do I achieve this? Thanks,

[android-developers] how to stop accelerometer sensor running in background?

2010-02-04 Thread Abhi
() { mSensorManager.unregisterListener(mSensorListener, mySensor); super.onStop(); } Am I doing it wrong? Abhi -- 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

[android-developers] Re: how to stop accelerometer sensor running in background?

2010-02-04 Thread Abhi
Also, the app exits only when I press the back button. On Feb 4, 9:14 am, Abhi abhishek.r.sha...@gmail.com wrote: I have an app where the accelerometer runs in the background and continues to read values from the sensor even after the activity exits. Here is how I am trying to stop

[android-developers] launch activity from on-screen Camera/Capture button?

2010-02-08 Thread Abhi
Hi, Is it possible to start an activity from the built-in Camera app after the user touches the on-screen Capture button? Abhi -- 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-developers] Re: launch activity from on-screen Camera/Capture button?

2010-02-10 Thread Abhi
anyone? On Feb 8, 1:24 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, Is it possible to start an activity from the built-in Camera app after the user touches the on-screen Capture button? Abhi -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: UPnP

2010-02-11 Thread Abhi
How do I download the stuff from the repository? Abhi On Jan 29, 4:11 am, Zhihong GUO gzhh...@gmail.com wrote: Hi skonno, All of the java code is downloaded, but I can't find a Android project to run in emulator or on read device James 'http://sourceforge.net/projects/cgupnpjava/develop

[android-developers] Re: launch activity from on-screen Camera/Capture button?

2010-02-12 Thread Abhi
video recorder (which I have before) coz it doesn't do better than 320 x 240. So basically, I want to be able to call the Camera app, and use the camera/video button (on-screen or the hard button) to trigger the accelerometer. Could you help? Abhi On Feb 10, 1:21 pm, Jason Proctor

[android-developers] Re: Streaming Sensor Data from Device to a server

2010-02-16 Thread Abhi
i m sure there r many ways to do this... the easiest way i wud do it is through sockets. Having the Client write everything to a file and the server pulling this information every few seconds. Abhi On Feb 16, 8:23 am, Mjdgard mjdg...@gmail.com wrote: I would like to continuously send/stream

[android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Abhi
On that note, Can I launch an activity from the called 'Camera App' within my own activity on the press of Capture button? Abhi On Feb 18, 2:13 pm, Mark Murphy mmur...@commonsware.com wrote: TreKing wrote: I don't know if this will help your situation at all, but note

[android-developers] Calling activity from inside a thread?

2010-02-18 Thread Abhi
, Abhi -- 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 options

[android-developers] How to save a WiFi connection?

2010-02-23 Thread Abhi
Hi, I have written an app that programmatically scans for open WiFi networks and connects to the one that has been hard-coded in the app code. For e.g., I have a home network, SSID: Abhi and is secured as WPA-Personal with a Passkey. The passkey for the above network has been saved within the App

[android-developers] Capturing Hard key events on WidgetApp

2009-08-07 Thread Abhi
I am developing a widget for that i need to control some mmi using Hardware key...please let me know how can i capture hardware key events on widgetApp as it is controlled by Widgetprovider. If any body have any solution please let me know thanks Abhi

[android-developers] WifiReceiver not part of SDK 1.5???

2009-08-11 Thread Abhi
the part of code that has WifiReceiver in it with any of the existing classes. Thanks, Abhi --~--~-~--~~~---~--~~ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Bouncing ListView Effect

2009-08-31 Thread Abhi
Hi, I was interested in making a springy-bouncing effect for ListViews similar to one in iphone. I wanted to make sure about a few things before implementing it. 1). Does Android provide this feature somewhere in the new Donut version thats coming out?(so that i don't have to re-invent the

[android-developers] USB Host/Serial Port access

2009-09-02 Thread Abhi
mass storage mode. What I want to know is if after this, I can read data from the frame or send data to it. I want to write an app that pulls data over USB and stores it into the phone memory. Can you guys suggest a way out? Thanks, Abhi --~--~-~--~~~---~--~~ You

[android-developers] Re: Using an Android Phone as a Host Device

2009-09-02 Thread Abhi
things. I am not a pro developer but I understand the technicalities and have some programming/developing background around embedded systems. Let me know. Thanks, Abhi On Aug 31, 3:37 am, Kit kitduna...@gmail.com wrote: Im trying to find out if it is possible to use an Android device

[android-developers] Re: Voice 2 text help

2009-09-09 Thread Abhi
Is there no one who could help me on this? Mark Murphy? On Sep 8, 10:15 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi guys, I have been trying to develop an app around the voice recognition functionality of Cupcake. As a sample code, I used the VoiceRecognition.java project available under

[android-developers] A question on Gallery

2009-12-03 Thread Abhi
Hi, I am trying to do the following in my app: 1. Open Gallery just the way it is on the phones (picture folders) 2. Select a folder (say for e.g. 'Camera Pictures') 3. Pick an Image and use it in my app (edit, send etc.) I have implemented the Image picking feature as below but it doesn't open

[android-developers] Re: A question on Gallery

2009-12-04 Thread Abhi
This group has been disappointing me last couple of weeks Where are all the experts? C'mon, you can do better than this. Abhi On Dec 3, 4:37 pm, Abhi abhishek.r.sha...@gmail.com wrote: Hi, I am trying to do the following in my app: 1. Open Gallery just the way it is on the phones

[android-developers] Adding button to ListView

2009-12-07 Thread Abhi
Hello, I have a tab layout with two tabs, the first of which has a listview of 5 clickable rows. Below this listview, I need a button. I have been able to create the listview but don't know how to create the button to the bottom of the display. Please help. Also, the listview is created using

[android-developers] Re: Adding button to ListView

2009-12-08 Thread Abhi
can anyone help me on this topic please? On Dec 8, 1:06 am, Abhi abhishek.r.sha...@gmail.com wrote: Hello, I have a tab layout with two tabs, the first of which has a listview of 5 clickable rows. Below this listview, I need a button. I have been able to create the listview but don't know

[android-developers] Start activity from Menu option

2009-12-09 Thread Abhi
Hi, I am completely exhausted to think logically right now. I am sure it is pretty easy to implement I have a menu item which when selected would call another activity class. I am using switch case to select between menu items. I tried creating an Intent to start activity using the Class

[android-developers] Re: Start activity from Menu option

2009-12-09 Thread Abhi
/site/rezmobileapps/treking On Wed, Dec 9, 2009 at 4:02 PM, Abhi abhishek.r.sha...@gmail.com wrote: Hi, I am completely exhausted to think logically right now. I am sure it is pretty easy to implement I have a menu item which when selected would call another activity class. I am

[android-developers] Checkbox in Context Menu

2009-12-10 Thread Abhi
anyone know if this is possible and if so, how? Thanks, Abhi -- 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

[android-developers] Re: Checkbox in Context Menu

2009-12-10 Thread Abhi
Thanks Mark. I will try this. Also, I just came across a multiple choice Dialog option in API Demos - App - Dialog - Repeat Alarm. But I don't see the supporting code for this anywhere. Would you or anyone have any idea on this? I think this is a better way to do it than Context Menu. Abhi

[android-developers] Long Press ListView item to open AlertDialog

2009-12-10 Thread Abhi
Hi, I am trying to use the long press option on the listview items to open a multi choice Alert Dialog. Is this possible? Abhishek -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Long Press ListView item to open AlertDialog

2009-12-10 Thread Abhi
would you be able to guide me to the right tutorial? I am unable to find it Thanks, Abhi On Dec 10, 2:39 pm, Jason Proctor jason.android.li...@gmail.com wrote: yes. Hi, I am trying to use the long press option on the listview items to open a multi choice Alert Dialog. Is this possible

[android-developers] Re: Long Press ListView item to open AlertDialog

2009-12-10 Thread Abhi
. would you be able to guide me to the right tutorial? I am unable to find it Thanks, Abhi On Dec 10, 2:39 pm, Jason Proctor jason.android.li...@gmail.com wrote:  yes.  Hi,  I am trying to use the long press option on the listview items to open  a multi choice Alert Dialog

[android-developers] Save ListView items for next time

2009-12-10 Thread Abhi
Hi, My problem sounds pretty easy to solve... not getting any right direction. My app starts with a blank listview with a Menu option to Add contacts to the ListView. Now, I want that my ListView gets saved every time I quit my App so that the next time I start my App, I see all the contacts

[android-developers] Pick Contacts and dynamically adding into ListView.... Help!

2009-12-11 Thread Abhi
Hi I am copying my code below to do the above. The problem I have right now is after I have picked a Contact from the list, I am not able to add the name to the listview. I get a Force Close at that step. See point no. A below to understand what I am talking about. Also, the ListView is built

[android-developers] Re: Pick Contacts and dynamically adding into ListView.... Help!

2009-12-11 Thread Abhi
I guess I found the solution. Abhishek On Dec 11, 11:15 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi I am copying my code below to do the above. The problem I have right now is after I have picked a Contact from the list, I am not able to add the name to the listview. I get a Force Close

[android-developers] Adding ListView items dynamically - Force Close

2009-12-11 Thread Abhi
Hi All, I have an Absolute Layout with two buttons on top, a Text View of fixed size in the middle and List View as the rest of the Layout. I want to use the top left button to add a list view item to the existing list and the top right button to remove the last item from the list. The List is

[android-developers] Re: Adding ListView items dynamically - Force Close

2009-12-11 Thread Abhi
tell you exactly why your app is crashing :) On Fri, Dec 11, 2009 at 1:46 PM, Abhi abhishek.r.sha...@gmail.com wrote: Hi All, I have an Absolute Layout with two buttons on top, a Text View of fixed size in the middle and List View as the rest of the Layout. I want to use the top left

[android-developers] Re: Adding ListView items dynamically - Force Close

2009-12-12 Thread Abhi
exactly why your app is crashing :) On Fri, Dec 11, 2009 at 1:46 PM, Abhi abhishek.r.sha...@gmail.com wrote: Hi All, I have an Absolute Layout with two buttons on top, a Text View of fixed size in the middle and List View as the rest of the Layout. I want to use the top left button

[android-developers] Re: Adding ListView items dynamically - Force Close

2009-12-12 Thread Abhi
Is there no one who could help me? On Dec 12, 12:57 pm, Abhi abhishek.r.sha...@gmail.com wrote: 12-12 12:25:13.412: INFO/ActivityManager(589): Starting activity: Intent { act=android.intent.action.MAIN cat= [android.intent.category.LAUNCHER] flg=0x1020 cmp=com.sample.headerlist

[android-developers] Re: Adding ListView items dynamically - Force Close

2009-12-12 Thread Abhi
Stupid man plain Stupid. :) It was the adapter. On Dec 12, 3:40 pm, Abhi abhishek.r.sha...@gmail.com wrote: Is there no one who could help me? On Dec 12, 12:57 pm, Abhi abhishek.r.sha...@gmail.com wrote: 12-12 12:25:13.412: INFO/ActivityManager(589): Starting activity: Intent { act

[android-developers] checkbox and icons in listview

2009-12-14 Thread Abhi
Hi, I am looking to create a custom ListView with 6 fixed items in the list. Each list row comprising of the checkbox, image icon and a single line of text. I have read couple of tutorials but none of them seem to be that well explanatory. Could someone please guide me to a sample code? That

[android-developers] Re: checkbox and icons in listview

2009-12-15 Thread Abhi
(this, R.layout.shippinglistitem, items); lv.setAdapter(adapter); } That should do it Hopefully it makes sense! Sincerely Jose C Gomez http://www.josecgomez.com On Mon, Dec 14, 2009 at 8:09 PM, Abhi abhishek.r.sha...@gmail.com wrote: Hi, I am looking to create a custom ListView with 6

[android-developers] Change button style

2009-12-15 Thread Abhi
Hello, I want to put a triangular shaped button in my app. I have the button image (.png) but don't know how to use this as my button. I don't want to use an ImageButton as I don't want to have a rectangular box behind this image. Can anyone help? Thanks, Abhishek -- You received this

[android-developers] how to change Menu background color?

2009-12-16 Thread Abhi
Is it possible to change the background color, style of the Menu items? Thanks, Abhishek -- 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

[android-developers] ListView scrolling problem

2009-12-16 Thread Abhi
Hi, I have a custom layout with two buttons placed horizontally on top, textview below them and two buttons placed horizontally at the bottom of the screen. The space in between the textview and the buttons at the bottom is used for my custom listview of 6 items. The complete layout is defined

[android-developers] Re: how to change Menu background color?

2009-12-17 Thread Abhi
the given name: attr 'textStyle'. I am not understanding. Please help. Abhi On Dec 16, 2:11 pm, Abhi abhishek.r.sha...@gmail.com wrote: Is it possible to change the backgroundcolor, style of theMenu items? Thanks, Abhishek -- You received this message because you are subscribed

[android-developers] screen size compatibility

2009-12-17 Thread Abhi
Hi, I want to make my app compatible to different screen sizes. I am right now developing on the Droid and need to know how can I import the screen image on eclipse emulator? I don't have a droid phone but want to make sure my app layout doesn't change on the Droid. Any suggestions? Abhi

[android-developers] Re: send sms with a phone number in parameter

2009-12-17 Thread Abhi
Hi, You could try this: Intent m_intent = new Intent(Intent.ACTION_VIEW, Uri.parse(sms: 06)); m_intent.putExtra(sms_body, Hello World); startActivity(m_intent); On Dec 16, 10:50 pm, Bibou mebi...@gmail.com wrote: Hello everyone, I am trying to send a sms throughout an application. I

[android-developers] button Click event inside custom listview.... Help!

2009-12-17 Thread Abhi
Hi guys, I have my own custom adapter to create a custom listview with checkbox, textview and button in each row. I want to implement onClick on Button and take different action based on which row button is pressed. How can I use onClickListener in this case? Define it inside getView? If so how?

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-17 Thread Abhi
Bibek http://tech-droid.blogspot.com On Dec 18, 7:47 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi guys, I have my own custom adapter to create a custom listview with checkbox, textview and button in each row. I want to implement onClick on Button and take different action based

[android-developers] OutofMemoryError: bitmap size exceeds VM budget.....

2009-12-17 Thread Abhi
the full-sized picture by changing phone orientation back and forth. What am I supposed to do to save memory? I can't change the use case of my app... the user has to follow the above steps. How can I free up memory without having to change anything in my app. Thanks, Abhi -- You received

[android-developers] Re: OutofMemoryError: bitmap size exceeds VM budget.....

2009-12-18 Thread Abhi
Anyone? On Dec 18, 12:11 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi, I am doing the following in my app, which at times results in the above error. Action 1: Button on Main activity calls all pictures using ACTION_PICK (results in a thumbnail view of all pictures on my phone). User

[android-developers] Re: OutofMemoryError: bitmap size exceeds VM budget.....

2009-12-18 Thread Abhi
Resolved!!! On Dec 18, 9:25 am, Abhi abhishek.r.sha...@gmail.com wrote: Anyone? On Dec 18, 12:11 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi, I am doing the following in my app, which at times results in the above error. Action 1: Button on Main activity calls all pictures

[android-developers] Re: OutofMemoryError: bitmap size exceeds VM budget.....

2009-12-19 Thread Abhi
of my app... the user has to follow the above steps. How can I free up memory without having to change anything in my app. Thanks, Abhi- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Abhi
/basic_drag_and_drop-t3095.html I hope you will get the something from the above example. Best Luck. Thanks. On Dec 18, 7:47 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi guys, I have my owncustomadapter to create acustomlistviewwith checkbox, textview and button in each row. I want

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-21 Thread Abhi
); label.setText(items[position]); ImageView icon=(ImageView)row.findViewById (R.id.icon); Button row_button = (Button) findViewById (R.id.btlst1); if (items[position].compareTo(Abhi) == 0

[android-developers] Fancy ListView help

2009-12-21 Thread Abhi
Hi, I am using excerpts from this website - http://www.androidguys.com/2008/07/14/fancy-listviews-part-one/ (under Dynamic) to build my own ListView with 6 list rows. I am doing the exact same thing, but with a button added to each row. I want to be able to listen to each button click and take

[android-developers] Re: Fancy ListView help

2009-12-22 Thread Abhi
Hi guys, All I need is a listview with 6 items, each having an icon, textview and a button/imageview. I want to be able to click the button/ imageview to open up a new activity and each row opens up a different activity. Any suggestions? Abhi On Dec 21, 8:11 pm, Abhi abhishek.r.sha

[android-developers] Re: Fancy ListView help

2009-12-29 Thread Abhi
Hi Your suggestion sounds good. But I haven't been able to figure out how to use tags with buttons to determine the position. Would you be able to give me an example? Thanks, Abhi On Dec 22, 10:30 am, WoodManEXP woodman...@gmail.com wrote: Although I use ListView a lot it has always been

[android-developers] pass checkbox status between activities

2010-01-03 Thread Abhi
that are checked to the calling acitivity. I am not able to figure out how to do this efficiently? Can anyone help please? Thanks, Abhi -- 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-developers] Re: pass checkbox status between activities

2010-01-04 Thread Abhi
I bundle the checkbox status to the Intent data? Step #3: Back in the calling activity, send_to.java, I need to override onActivityResult(int requestCode, int resultCode, Intent data). Is this correct? Thanks, Abhi On Jan 3, 8:57 pm, Mark Murphy mmur...@commonsware.com wrote: How can we pass

[android-developers] Image not dithering

2010-01-06 Thread abhi
Hi, I am using this image http://android.amberfog.com/wp-content/uploads/2009/11/001.png from this page: http://android.amberfog.com/?p=247 to test dithering on my android phone. However, when I used the android:dither=true option in my XML file and when I added android:tileMode=repeat as well,

[android-developers] Re: Image not dithering

2010-01-06 Thread abhi
BTW I am using a 320x640 device. On Jan 6, 3:03 pm, abhi rkabhi1...@gmail.com wrote: Hi, I am using this imagehttp://android.amberfog.com/wp-content/uploads/2009/11/001.png from this page:http://android.amberfog.com/?p=247to test dithering on my android phone. However, when I used

[android-developers] Re: Image not dithering

2010-01-07 Thread abhi
Has anyone got dithering to work? On Jan 6, 3:42 pm, abhi rkabhi1...@gmail.com wrote: BTW  I am using a 320x640 device. On Jan 6, 3:03 pm, abhi rkabhi1...@gmail.com wrote: Hi, I am using this imagehttp://android.amberfog.com/wp-content/uploads/2009/11/001.png from this page:http

[android-developers] How to disable Home and End Call Key

2010-01-08 Thread Abhi...
Hi, I am going to develop one application for android (As per client request). Which starts after booting of device. When device get booted then only this application will be there on screen. No key press will minimise that application. The solution i found on this site is able to block all keys

  1   2   3   >