[android-developers] Re: Showing the writing keypad by default

2010-08-02 Thread Amit
Dear All, Please reply to me. On Jul 29, 7:35 pm, Amit amitmishr...@gmail.com wrote: Dear All, I have created an edit text. Currently the writing keypad is made visible when i click on it. Is there a possibility where I can make the writing keypad visible from starting itself i.e. no need

[android-developers] Re: Google Maps - MapView - draw a nice flight route between 2 points

2010-08-02 Thread oriharel
yea, but I'm lazy. I'm not interested in figuring out these things. anyway, here's an easy way to learn how to draw curves (found it in other sites): http://www.tbray.org/ongoing/When/200x/2009/01/02/Android-Draw-a-Curved-Line enjoy On Aug 1, 7:51 pm, TreKing treking...@gmail.com wrote: On

[android-developers] Re: LVL - A Massive Concern

2010-08-02 Thread Mark Carter
I would imagine most paid apps do not use copy protection because of all the problems it has caused. Its a valid point, when a user buys an app, he assumes he can use it on any future Android device. The truth is, with LVL, if the device does not have the Market app, then he won't be able to use

[android-developers] New OMX component integration into Opencore

2010-08-02 Thread praji
I am trying to integrate VP8 video codec into PV opencore FW in Froyo test at PV test application level. I have done the following steps, 1. Made a new folder for vp8 @ external/opencore/codecs_v2/omx/ omx_vp8. 2. Made appropriate modifications in the omx_baseclass, omx_common etc. 3. Modified

Re: [android-developers] How to test OpenGL?

2010-08-02 Thread Kostya Vasilyev
I wonder if the emulator uses the system OpenGL drivers. If it does, you could try updating them. -- Kostya 02.08.2010 6:31, SChaser пишет: After a frustrating day of having the Emulator render lines strangely, and then discovering that my G1 renders them exactly as I expect, I am left to

[android-developers] Re: How to test OpenGL?

2010-08-02 Thread Indicator Veritatis
I have run several OpenGL programs on both emulator and G1, yet I have never seen any of the effects you mention. I cannot explain why you see them and I do not. I can think to ask: do you see them when you run the OpenGL programs in APIDemo? On Aug 1, 7:31 pm, SChaser crotalistig...@gmail.com

[android-developers] Re: 2.2 Google Api emulator not booting up

2010-08-02 Thread Folly
On 30 июл, 04:25, Folly hacena...@gmail.com wrote: I have this problem too. When I create new device it loading going normal, but when I close emulator and start again i have W/MountService(   68): Waiting too long for mReady!. I create new AVD with SD card size 1000Mb it is loading normaly

[android-developers] Re: LVL Sample application problems

2010-08-02 Thread metal mikey
If your R.java isn't being dynamically created it's likely because you've got an error in one of your XML files which is stopping Eclipse from building the App properly. Although, from what I saw of the LVL sample App, I don't think it's complete and thus is not capable of being built... On Aug

[android-developers] Re: Using ? (question mark) and @ (at symbol) as values for a string resource

2010-08-02 Thread Quintin Willison
On Aug 2, 1:02 am, { Devdroid } webnet.andr...@gmail.com wrote: Quote your strings and you will be on safe ground: string name=ButtonLabel_QuestionMark?/string string name=ButtonLabel_AtSymbol@/string Excellent. Thanks. That's the ticket! I've just read the help topic for string resources

[android-developers] Re: Android Market Licensing: Now Available!

2010-08-02 Thread James W
Yes absolutely. Not really the ideal place to vent, but the delay in rolling out to other countries is beyond ridiculous and incredibly frustrating. It has got to be self defeating also. I moved from England to Hong Kong, so now I cannot buy apps, I cannot sell my apps, because HK is not

[android-developers] Re: What is the URI for the Contacts content provider on Samsung phones? ActivityNotFoundException:

2010-08-02 Thread pistol
Currently I think the only fix is to not offer the option to Samsung phones - a very bad solution. On 31 July, 13:32, pistol lava.d...@gmail.com wrote: You are right - I needn't startActivityForResult() - just startActivity(). I still would get the ActivityNotFiundException though. ;-( I

[android-developers] Re: Scrolling text (marquee) in an AppWidget

2010-08-02 Thread James W
Use a LayoutAnimation around the textview you want, with a Marquee. The animation runs when the widget is added, and I guess if you set the Marquee to loop permanently, thats what it will do. On Jul 29, 4:38 am, Matt Quigley matthew.quig...@gmail.com wrote: Just thought I would post my solution,

Re: [android-developers] Re: Android Market Licensing: Now Available!

2010-08-02 Thread Mark Carter
AFAIK, whether you can sell apps or not is dictated by the country of your Google Developer account. So if your Google Developer account (or is that Google account?) is registered in the UK, you can move to HK and still sell paid apps. On 2 August 2010 10:00:20 UTC+2, James W

[android-developers] Re: Problems with orientationchange

2010-08-02 Thread Robert
Thank you so much for your effort. But unfortunatelly that isnt working with my code. Maybe that's because I am running my activities in Tabs or one of my activity is the camera. Anyhow, with your proposed code I am running into same problems as before. Any ideas left? Thanks On Jul 29, 1:24 

Re: [android-developers] Re: Using ? (question mark) and @ (at symbol) as values for a string resource

2010-08-02 Thread { Devdroid }
On 2 August 2010 09:52, Quintin Willison qwilli...@gmail.com wrote: But you'll get an error [Apostrophe not preceded by \ (in '?')]. I thought that this would work because the documentation states If you have an apostrophe or a quote in your string, you must either escape it or enclose the

[android-developers] Re: Scrolling text (marquee) in an AppWidget

2010-08-02 Thread schwiz
I just do a findViewById().setSelected(true); after set content view. You may have to cast it as a textview. On Jul 22, 6:35 pm, Matt matthew.quig...@gmail.com wrote: Does anyone have a working example of scrolling text in a widget? Thanks! -- You received this message because you are

[android-developers] Re: How to recreate and reinflate a ViewStub?

2010-08-02 Thread schwiz
check out the panel example here in this project its easy to reuse and makes sliding drawers in any direction http://code.google.com/p/android-misc-widgets/ On Aug 1, 8:01 pm, Victoria Busse victoriasarabu...@gmail.com wrote: I am trying to create a  SlidingDrawer that holds a menu with

[android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread schwiz
You can get a handle on the views inside the switcher and change them as needed, it just only holds memory for 2 at a time. On Jul 31, 2:50 pm, Victoria Busse victoriasarabu...@gmail.com wrote: That sounds great, but I just read that a ViewSwitcher only works with two child views and I have at

Re: [android-developers] Re: How to recreate and reinflate a ViewStub?

2010-08-02 Thread Victoria Busse
Can I download the project somewhere to see how it works?? On Mon, Aug 2, 2010 at 9:38 AM, schwiz sch...@gmail.com wrote: check out the panel example here in this project its easy to reuse and makes sliding drawers in any direction http://code.google.com/p/android-misc-widgets/ On Aug 1,

[android-developers] Closing the activity completely

2010-08-02 Thread Revathi K J Ramanan
Hi, Whenever the memory needs to be reclaimed, the process is being killed by ActivityManagerService in killPidsForProcess. I have a back button in my activity window on right corner of the title bar. I want to kill the activity completely on clicking the close button. Can I reuse the same

Re: [android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread Victoria Busse
I don't really understand what you mean, if I wanted to be able to switch the view each time a button is pressed and I got at least 4 buttons which all should call a new view, then as far as I understood it I can't use a ViewSwitcher or can I? On Mon, Aug 2, 2010 at 9:49 AM, schwiz

Re: [android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread Kostya Vasilyev
Victoria, You can use a ViewFlipper, it can hold as many child views as necessary, displaying one child view (== layout) at a time. Or you can use a FrameLayout, and manage child view visibility from code (initially - hidden or gone, then change the ones you need to visible). Or, if your

Re: [android-developers] Re: How to recreate and reinflate a ViewStub?

2010-08-02 Thread Victoria Busse
But what I am trying at the moment is not really about the drawer itself but to provide the content for it when pressing a button... On Mon, Aug 2, 2010 at 9:50 AM, Victoria Busse victoriasarabu...@gmail.comwrote: Can I download the project somewhere to see how it works?? On Mon, Aug 2, 2010

Re: [android-developers] Re: Failure loading drawables on Cupcake/1.5 when building with Froyo/2.2 SDK

2010-08-02 Thread Jenus Dong
Just said Android 2.2 set the resouce of different density resouce directory tailed with v4 defaultly, so you should assure the resource be exsiting in the drawable when runing on 1.5. On Sun, Aug 1, 2010 at 3:45 AM, machambi alexander.j...@gmail.com wrote: I have the same problem , Application

[android-developers] Re: contacts.people is deprecated...........

2010-08-02 Thread Sarwar Erfan
Cursor cx = getContentResolver().query(RawContacts.CONTENT_URI, new String[]{RawContacts._ID}, null, null, null); if(cx.moveToFirst()){ do{ Uri rawContactUri =

Re: [android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread Victoria Busse
Hey Kostya, a ViewFlipper, there are so many things about Android I haven't found out yet :) but from what I understand and have just read about it, this would be exactly what I need... because only one child View should be displayed at a time, and the view should change depending on which button

[android-developers] Re: Tab Content Overlaps Problem

2010-08-02 Thread Sasikumar.S
I'm using separate activity for each tab. same as like this example http://www.androidpeople.com/android-tabhost-tutorial-part-1/ On Jul 31, 9:32 am, b...@bresnan.net b...@bresnan.net wrote: Does the code reflect the changes between tabs on your onTouchEvent? I'd say they would need to be

Re: [android-developers] LVL - A Massive Concern

2010-08-02 Thread Mark Murphy
On Sun, Aug 1, 2010 at 9:53 PM, ocdtrekkie jtn...@gmail.com wrote: Is nobody else worried about the rampant stupidity of DRM now being applied to Android? Yes, others are worried. In fact, the first reference to it I found was in a tweet from Glyn Moody, where he expressed a related opinion to

[android-developers] Re: LVL - live test

2010-08-02 Thread RichardC
Update - tried it on my phone - same result LVL Test is ALLOWED; note: my phone (HTC Magic) was not using my Market Account. On Aug 2, 6:02 am, a1 arco...@gmail.com wrote: I do not test on emulator, since my games are GL based emulator is unusable (also it's slower than actual device), but from

Re: [android-developers] Re: contacts.people is deprecated...........

2010-08-02 Thread A N K ! T
//i am using this code for opening phone contacts. intentforcontact= new Intent(Intent.ACTION_PICK,Contacts.CONTENT_URI); startActivityForResult(intentforcontact, PICK_CONTACT); //in this code am trying to get phone numbers of contact,,but not getting any

[android-developers] Re: Problems with orientationchange

2010-08-02 Thread Sarwar Erfan
On Aug 2, 2:11 pm, Robert sebastianar...@hotmail.com wrote: Thank you so much for your effort. But unfortunatelly that isnt working with my code. Maybe that's because I am running my activities in Tabs or one of my activity is the camera. Can you share the skeleton of your code? My

[android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread 汪健飞
In the Activity I write Intent i=new Intent(IntentServiceTest); Bundle bundle = new Bundle(); bundle.putString(abc, def); i.putExtra(wer, bundle); IntentTest.this.startService(i); Start Service into Service OnCreate method,but I don't know how to do get this Intent in this method.Thanks! --

[android-developers] How to modify and re-build android source code

2010-08-02 Thread pincrespo
Hi, I followed the steps on http://source.android.com/source/download.html to download the Android Source Code under Ubuntu with Eclipse. Now, I need to modify the Android Source Code (the Operating System), but I don't know how to check the new -modified- Operating System with the Emulator.

[android-developers] Re: Installation

2010-08-02 Thread Sarwar Erfan
http://developer.android.com/sdk/requirements.html [QUOTE] Eclipse 3.4 (Ganymede) or 3.5 (Galileo) Caution: There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice. Several types of Eclipse packages are available for each platform. For

[android-developers] How to delete data from Table_data

2010-08-02 Thread Bin Dou
How can I delete data from table data which is in the database named contacts2.db something wrong with my code. Here is: String path=/data/data/com.android.providers.contacts/databases/contacts2.db; SQLiteDatabase database=SQLiteDatabase.openDatabase(path,

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread Mark Murphy
You can access the Intent in onStart() of your service. On Mon, Aug 2, 2010 at 5:56 AM, 汪健飞 wangjf...@gmail.com wrote: In the Activity I write Intent i=new Intent(IntentServiceTest); Bundle bundle = new Bundle(); bundle.putString(abc, def); i.putExtra(wer, bundle);

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Mark Murphy
On Mon, Aug 2, 2010 at 6:11 AM, Bin Dou doubin...@gmail.com wrote: How can I delete data from table data which  is in the database named contacts2.db That is not your database. Please use the Contacts or ContactsContract API for manipulating the contacts. -- Mark Murphy (a Commons Guy)

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread 汪健飞
but I don't know why does startService into onCreate method,don't into onStart method. 2010/8/2 Mark Murphy mmur...@commonsware.com You can access the Intent in onStart() of your service. On Mon, Aug 2, 2010 at 5:56 AM, 汪健飞 wangjf...@gmail.com wrote: In the Activity I write Intent

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread Kostya Vasilyev
The intent is passed to the service's onStart / onStartCommand (Android 1.x / 2.x). onCreate is only called for service creation (once, at least until the process is killed), while onStart / onStartCommand are called every time you call startService, and are passed the intent you used with

[android-developers] Re: contacts.people is deprecated...........

2010-08-02 Thread Sarwar Erfan
Hi, If you want to your strategy (using deprecated classes), then make two changes: Change 1: change the intent --- intentforcontact= new Intent(Intent.ACTION_PICK, Phones.CONTENT_URI); Change 2: change the column index --- String Number = c.getString(c.getColumnIndex(Phones.NUMBER));

Re: [android-developers] Re: contacts.people is deprecated...........

2010-08-02 Thread A N K ! T
so tell me how to get number by contactscontract...am getting name and other info but not phone number..please help me On Mon, Aug 2, 2010 at 4:18 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Hi, If you want to your strategy (using deprecated classes), then make two changes: Change 1:

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Bin Dou
ContentResolver resolver = this.getContentResolver(); resolver.delete(RawContacts.CONTENT_URI, null, null); I can delete the contacts in the phone, but i can not delete the data in the databases. 2010/8/2 Mark Murphy mmur...@commonsware.com On Mon, Aug 2, 2010 at 6:11 AM, Bin

Re: [android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread Victoria Busse
I got a question regarding the FlipperView: I was trying to call a certain childView (that calls a layout) when a button is clicked...but I don't get any results.. what am I doing wrong? public void onClick(View v){ if (v == btnExposure){ mFlipper.setDisplayedChild(R.id.view_exposure); } else

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Mark Murphy
On Mon, Aug 2, 2010 at 7:05 AM, Bin Dou doubin...@gmail.com wrote:          ContentResolver resolver = this.getContentResolver();          resolver.delete(RawContacts.CONTENT_URI, null, null); I can delete the contacts in the phone, but i can not delete the data in the databases. So? Those

Re: [android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread Kostya Vasilyev
setDisplayedChild takes the index of the view to display. Try setDisplayedChild(0), setDisplayedChild(1), etc. 02.08.2010 15:06, Victoria Busse пишет: I got a question regarding the FlipperView: I was trying to call a certain childView (that calls a layout) when a button is clicked...but I

RE: [android-developers] Re: MobClix revenue drop

2010-08-02 Thread Paul Gee
Hi, There is a useful google group for Mobclix developers where many devs have recently been complaining about the same issue (despite the group being for sdk issues). You might want to take a look at it: moblix-android-sdk -Original Message- From: android-developers@googlegroups.com

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Bin Dou
String path=/data/data/com.android.providers.contacts/databases/contacts2.db; SQLiteDatabase database=SQLiteDatabase.openDatabase(path, null,OPEN_READWRITE); database.delete(data, null, null); Can i use this method? I know little about sync management. Could you explain it? 2010/8/2 Mark Murphy

Re: [android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread Victoria Busse
I already tried that with the same result... nothing shows up :( It seems that the View inside the Flipper doesn't call the layout via android:layout=@layout/exposureview On Mon, Aug 2, 2010 at 12:12 PM, Kostya Vasilyev kmans...@gmail.com wrote: setDisplayedChild takes the index of the view

Re: [android-developers] Re: contacts.people is deprecated...........

2010-08-02 Thread A N K ! T
please sumbody help me out On Mon, Aug 2, 2010 at 4:23 PM, A N K ! T ankit.awasth...@gmail.com wrote: so tell me how to get number by contactscontract...am getting name and other info but not phone number..please help me On Mon, Aug 2, 2010 at 4:18 PM, Sarwar Erfan

[android-developers] Re: contacts.people is deprecated...........

2010-08-02 Thread Sarwar Erfan
Here is your intent: intentforcontact= new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); Here is your result handling: // === @Override protected void onActivityResult(int requestCode, int

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Mark Murphy
On Mon, Aug 2, 2010 at 7:25 AM, Bin Dou doubin...@gmail.com wrote: String path=/data/data/com.android.providers.contacts/databases/contacts2.db; SQLiteDatabase database=SQLiteDatabase.openDatabase(path, null,OPEN_READWRITE); database.delete(data, null, null); Can i use this method? No. I

Re: [android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread Kostya Vasilyev
Nothing shows up because the children of your ViewFlipper are: View android:layout_width=wrap_content android:layout_height=wrap_content android:id=@+id/view_exposure android:layout=@layout/exposureview Those are just empty views, so nothing shows up. Create some kind of layout with real

Re: [android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread Victoria Busse
THNK YOU, Kostaya include works perfectly!! On Mon, Aug 2, 2010 at 12:44 PM, Kostya Vasilyev kmans...@gmail.com wrote: Nothing shows up because the children of your ViewFlipper are: View android:layout_width=wrap_content android:layout_height=wrap_content

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Bin Dou
okay. I got it. Thank you. 2010/8/2 Mark Murphy mmur...@commonsware.com On Mon, Aug 2, 2010 at 7:25 AM, Bin Dou doubin...@gmail.com wrote: String path=/data/data/com.android.providers.contacts/databases/contacts2.db; SQLiteDatabase database=SQLiteDatabase.openDatabase(path,

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread 汪健飞
In my program into OnCreate method after Activity startService method,dont't run onStart method after OnCreate.I use android 1.5.I don't know why? 2010/8/2 Kostya Vasilyev kmans...@gmail.com The intent is passed to the service's onStart / onStartCommand (Android 1.x / 2.x). onCreate is

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread Bin Dou
Did you regist thisservice android:enabled=true android:name=.yourservicename/in your manifest? 2010/8/2 汪健飞 wangjf...@gmail.com In my program into OnCreate method after Activity startService method,dont't run onStart method after OnCreate.I use android 1.5.I don't know why? 2010/8/2

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread Kostya Vasilyev
Do you give it enough time? I mean, let it run, don't leave it stopped in the debugger once you've hit onCreate(). It's not supposed to be called from super.onCreate(). Also check your declarations: public class BlahService extends Service { @Override public void onCreate() { // blah

[android-developers] Re: Image Upload via HTTP POST/Google App Engine

2010-08-02 Thread Kumar Bibek
I think you should use the InputStreamEntity already available on Android and attach it to your post request with the correct mime type. This is a simple way to ensure that the request you would be sending is correctly formed in the first place. And then you should go on and check on the server.

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread 汪健飞
I write service android:name=.yourservicename/ don't write android:enabled=true.I try it in the tomorrow. 2010/8/2 Bin Dou doubin...@gmail.com Did you regist thisservice android:enabled=true android:name=.yourservicename/in your manifest? 2010/8/2 汪健飞 wangjf...@gmail.com In my program

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread 汪健飞
I try it in the tomorrow.Thanks. 2010/8/2 Kostya Vasilyev kmans...@gmail.com Do you give it enough time? I mean, let it run, don't leave it stopped in the debugger once you've hit onCreate(). It's not supposed to be called from super.onCreate(). Also check your declarations: public class

[android-developers] Is there a way to remove some permissions of already compiled apps?

2010-08-02 Thread Martin
Hi! There are so many apps in the market and I don't trust all of them. Is there a way to remove some permissions of the already compiled apk? It doesn't matter if I cannot sign it anymore with the original certificate of the developer. And is there also a way to add an error-handler into the

Re: [android-developers] Is there a way to remove some permissions of already compiled apps?

2010-08-02 Thread Mark Murphy
On Mon, Aug 2, 2010 at 8:05 AM, Martin google-gro...@digle.de wrote: There are so many apps in the market and I don't trust all of them. Is there a way to remove some permissions of the already compiled apk? No. It doesn't matter if I cannot sign it anymore with the original certificate of

[android-developers] Re: Binder is leaked by binding to a service

2010-08-02 Thread brucko
Sorry for slow reply - been away. By the way, if I changed LocalBinder to a static inner class, does it make sense ? I have made a separate generic class that usually use for all my services ie one that I import in - just a bit of cut and paste. That way I can reuse the code for all my

Re: [android-developers]

2010-08-02 Thread Nivedita bhadragiri
Thanks a lot i wish you the same to you all. On Sun, Aug 1, 2010 at 10:27 PM, subrat kumar panda evergreen.sub...@gmail.com wrote: Thanks a lot i Wish you the same to you all. On Sun, Aug 1, 2010 at 10:23 PM, aswinikg aswin...@gmail.com wrote: happy friendship day thanks regards

[android-developers] Framework : DevicePolicyManagerService

2010-08-02 Thread Bhavya Siddappa
Hi, I have added few more functionalities in “DevicePolicyManagerService.java” file. These functions are sending intents to custom services which require permissions. I m looking out for the manifest file where I could add uses-permission which will be used in DevicePolicyManagerService.

Re: [android-developers] Re: Google Maps - MapView - draw a nice flight route between 2 points

2010-08-02 Thread TreKing
On Mon, Aug 2, 2010 at 1:21 AM, oriharel ori.ha...@gmail.com wrote: yea, but I'm lazy. Good luck on your Android App. I'm sure you will get far with it. I'm not interested in figuring out these things. Then why did you bother posting a question? anyway, here's an easy way to learn

[android-developers] Re: Inner ListView not respecting layout gravity or width

2010-08-02 Thread William Ferguson
@Mark Thanks for making me revisit subclassing CursorAdapter. Much clearer than using a SimpleCursorAdapter and a ViewBinder. Is there a section on the ExpandableListView in the Busy Coders Guide? I could have sworn I saw it there last night, but can't find it today. If you're looking for new

[android-developers] WebView question

2010-08-02 Thread for android
I have seen the WebView Demo for JS alerts and the uses.I have not been able to find out whether we could actually get a result of JS in the java-code.Anypointers? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: getting 'permission denied' when trying to write to a file

2010-08-02 Thread paul linto
Thanks !!its working for me now .. On 8/1/10, Kumar Bibek coomar@gmail.com wrote: Also, you cannot write to the root folder of the external storage. You will have to create your own folder as well, in addition to declaring the above mentioned premission. Have a look at the error message.

Re: [android-developers] Re: Inner ListView not respecting layout gravity or width

2010-08-02 Thread Mark Murphy
On Mon, Aug 2, 2010 at 8:21 AM, William Ferguson william.ferguson...@gmail.com wrote: Is there a section on the ExpandableListView in the Busy Coders Guide? Not presently. It's on my to-do list. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Re: contacts.people is deprecated...........

2010-08-02 Thread A N K ! T
thanks a-lot erfan...now it is working fine.. do me a one more favor i need all the number of contact and name too.. but through this code am getting only mobile number.. thanks alot... On Mon, Aug 2, 2010 at 5:08 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Here is your intent:

Re: [android-developers] Is there a way to remove some permissions of already compiled apps?

2010-08-02 Thread Jonas Petersson
Hi Martin, On 08/02/2010 02:05 PM, Martin wrote: There are so many apps in the market and I don't trust all of them. Is there a way to remove some permissions of the already compiled apk? I think the closest thing to what you are after is my enhancement request from about 6 months ago.

Re: [android-developers] Closing the activity completely

2010-08-02 Thread { Devdroid }
I want to kill the activity completely on clicking the close button. Can I reuse the same function and will it have any major effect? Why can't you just finish() and let OS do its job? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Data backup in android

2010-08-02 Thread uday
Hey guys.. please respond to my mail On Jul 27, 8:59 am, uday uday.pic...@gmail.com wrote: Hi Folks, I want to backup my application's data in Android Cloud's Storage. I have some questions regarding this, 1) To backup the data it needs Backup Transport. What will happen if the Backup

[android-developers] need guidence in list-view

2010-08-02 Thread A N K ! T
i am trying to make a listview with icon in every item of this list view. i mean i want to put an icon in every item of listview. please let me know wot should i do for that. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] need guidence in list-view

2010-08-02 Thread Mark Murphy
On Mon, Aug 2, 2010 at 9:58 AM, A N K ! T ankit.awasth...@gmail.com wrote: i am trying to make a listview with icon in every item of this list view. i mean i want to put an icon in every item of listview. please let me know wot should i do for that. Here is a free excerpt from one of my books

[android-developers] how to connect two android devices ?

2010-08-02 Thread razor
What are the options to connect (create stream? or send datagrams?) between two android devices? (I know I can use internet, but i think that lag will be big and it's oversuse to just exchange data between to phones that are nearby). Is it possible to use bluetooth or wifi ? so two applications

[android-developers] Re: Retrieving XML Document from web service

2010-08-02 Thread beacon
Hi Filip, It doesn't seem to be the case, as the web service does not give me any option it just sends XML response whatever it is. On Jul 31, 9:29 am, Filip Havlicek havlicek.fi...@gmail.com wrote: Hi, just a quick thought about that - some web services have a request property to define

[android-developers] Re: Retrieving XML Document from web service

2010-08-02 Thread beacon
Hello Ed, Thanks for your response. I added the code snippet to me requesting/ receiving class . But I still get the response in the same format as mentioned above. I am not sure why. beacon On Aug 1, 10:56 pm, Ed edscha...@gmail.com wrote: Add this for all the classes you're using. This

[android-developers] Re: Retrieving XML Document from web service

2010-08-02 Thread beacon
Hello CMF, Thanks for your reply. But I dont think I can use this kind of approach as I need to send a soap object to the web service and nothing else and it also implements OAuth. beacon On Aug 1, 11:26 pm, CMF manf...@gmail.com wrote: I dont know if it is suitable for your case,

[android-developers] Re: LVL handler on a dead thread

2010-08-02 Thread Pent
Hate to do it but... bump since it was the weekend. Any support from Google on a just-released library ? Pent -- 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] Re: how to connect two android devices ?

2010-08-02 Thread Kumar Bibek
I haven't tried, but I think you can if both the devices are on the same network. You should be able to achieve this with a Wi-Fi. -Kumar Bibek http://tech-droid.blogspot.com On Aug 2, 7:03 pm, razor razorjac...@gmail.com wrote: What are the options to connect (create stream? or send

[android-developers] Re: Static variables cleared in JUnit tests! (???)

2010-08-02 Thread Streets Of Boston
I made a typo in my question. The last change to the static variable declaration should read: ... ... When i then change that line to (changing String to Object, still using 'final'): private static final Object USER = tturner; ... ... On Jul 30, 6:02 pm, Streets Of Boston

[android-developers] Re: contacts.people is deprecated...........

2010-08-02 Thread Sarwar Erfan
Thats why I asked what exactly you want to do. Use the following sample to get ALL phone numbers If you need further data or control, play with the arguments of managedQuery. //== @Override protected void onActivityResult(int requestCode, int resultCode,

Re: [android-developers] Re: Retrieving XML Document from web service

2010-08-02 Thread Filip Havlicek
Hi Beacon, it would probably be the best if you could give as a link to the service you are trying to use. We could at least look into the website to see if you are not missing something, because this just doesn't look like XML at all afaik. Best regards, Filip Havlicek 2010/8/2 beacon

[android-developers] Re: Problems with orientationchange

2010-08-02 Thread Robert
Here I have my TabLayout, which holds all my activities.: public class TabLayout extends TabActivity implements TabContentFactory{ protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanceState); tabHost = getTabHost();

[android-developers] Re: Static variables cleared in JUnit tests! (???)

2010-08-02 Thread Streets Of Boston
A colleague of mine tried it and he found out that not calling 'super.tearDown()' makes this problem go away. But not calling 'super.tearDown()' is probably not a good idea for these type of test-cases (instrumentation won't be properly cleaned up). On Jul 30, 6:02 pm, Streets Of Boston

[android-developers] Re: Retrieving XML Document from web service

2010-08-02 Thread beacon
Hi Filip, Thanks for your reply. Sure I could give that. This is the what I am trying to access. private static final String NAMESPACE = http://tempuri.org/;; private static final String METHOD_NAME = GetProfileDataXML; private static final String URL =

[android-developers] Re: SQLite Creating SQL Functions

2010-08-02 Thread DanH
I've done this on the Nokia Symbian platform (in order to enable encryption). It's a big package, but the work went off relatively hitch-free -- no more than the usual debugging headaches with the custom I/O I had to write, and likely you'd have less trouble porting to a Linux platform, since

[android-developers] either im only registering textview and webview clicks or im not getting my listitemclick

2010-08-02 Thread charles berman
i may get flamed for this question, but help me do it right. I was downloading images from a website and putting them into a database, and then displaying them in an imageview. well to reduce the size of my database, i changed from an imageview to a webview and now only do a

[android-developers] Sample UI Control like Notifications Panel (Slide open, slide bar) ?

2010-08-02 Thread richie rich
The notification panel has a cool control where you grab and slide open the notifications, select to close, or slide to close. Anyone have any pointers to the code for this control, or examples on how to build one. Like to integrate something like that into an app.. Thanks.. -- You received

Re: [android-developers] Sample UI Control like Notifications Panel (Slide open, slide bar) ?

2010-08-02 Thread TreKing
On Mon, Aug 2, 2010 at 10:46 AM, richie rich rich.al...@gmail.com wrote: Anyone have any pointers to the code for this control, or examples on how to build one. Like to integrate something like that into an app.. Look at the source code. Or use a SlidingDrawer, it's similar in concept.

[android-developers] Checking internet connection failed

2010-08-02 Thread coy
Hi, I am trying to check the internet connection. When the connection is available, everything works correctly, but when there is no intetnet connection the application unexpectedly stop! Am I doing anything wrong? see: ConnectivityManager connec =

[android-developers] setting task affinity to a intent programmatically

2010-08-02 Thread social hub
android:taskAffinity When I launch an Intent I also want to set the taskaffinity programmatically is there a method for this to accomplish ? http://developer.android.com/intl/de/reference/android/content/Intent.html I haven't found any set methods for this Please let me know how to do this

[android-developers] Re: NetMonitoring on UMTS seems.. buggy.

2010-08-02 Thread P.G.
Any updates on this subject? On 30 juil, 15:06, P.G. philippe.girard@gmail.com wrote: Hi all, First of: I have heard about the problems, I'm just wondering what the states are, and if anyone has updates / workaround to my questions, I'd be willing to listen :) Im using Nexus one phone.

Re: [android-developers] Checking internet connection failed

2010-08-02 Thread Kostya Vasilyev
You probably want to use connectityManager.getActiveNetworkInfo And watch out for this: http://code.google.com/p/android/issues/detail?id=1232 As for application unexpectedly stop - check the logcat. -- Kostya 02.08.2010 19:55, coy пишет: Hi, I am trying to check the internet connection.

[android-developers] Re: Launching Calendar in AgendaView

2010-08-02 Thread Bob Kerns
I quite agree, it IS a deep dirty hack. And I don't really disagree with your advice, but I have a slightly more nuanced view on deep dirty hacks. I view it as a trade-off -- one that has to be made very objectively and carefully. One must be very careful to exclude showcasing one's hax0r sk1llz

[android-developers] Re: Launching Calendar in AgendaView

2010-08-02 Thread Bob Kerns
I'd also like to make a completely separate point -- not addressed at { Devdroid }. I would argue that third-party vendors who replace one app with another that responds to the same intents WITHOUT DUPLICATING THE CONTRACT EXACTLY are committing a very grave sin, and should be reviled throughout

[android-developers] Incoming Ring Control

2010-08-02 Thread ricky123
Hi , I am working on a application ,where I want to assign a silent ringtone to a particular contact for a duration of time period . Please provide me some suggestion I do not have any idea to implement it . Thanks Ricky -- You received this message because you are subscribed to the Google

[android-developers] Incoming Ring Control

2010-08-02 Thread ricky123
Hi , I am working on a application ,where I want to assign a silent ringtone to a particular contact for a duration of time period . Please provide me some suggestion I do not have any idea to implement it . Thanks Ricky -- You received this message because you are subscribed to the Google

  1   2   3   >