[android-developers] Regarding MAPS

2011-08-08 Thread sourabh sahu
I want to implement district map ,in which when I tap on a district ,a map with all blocks should be shown and then on a click of a block all gram panchayats should be shown and then all grams of that panchyat will be displayed and after the click of gram or village some action needs to fired. I

[android-developers] generate dtmf tone on uplink

2011-08-08 Thread Amit Mangal
Hi Everyone, I am implementing one application in that i make a call programaticaly to a server and after that my requirement is send some number by dtmf tone to server. please guide me how to generate dtmf tone so that server can listen it . thanks -- You received this message because you

Re: [android-developers] Current location in android

2011-08-08 Thread TreKing
On Mon, Aug 8, 2011 at 12:45 AM, Ratheesh Valamchuzhy android...@gmail.comwrote: i want to display the map in my android application and find the current location(place name) to display or mark in the map, i tried some sample most of them just viewing the map in app, not displaying the

Re: [android-developers] Current location in android

2011-08-08 Thread Ratheesh Valamchuzhy
Hi Means the Current location Name .. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: question about other markets

2011-08-08 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 2:27 PM, William Ferguson william.ferguson...@gmail.com wrote: I'd second TreKing's suggestion to use a separate bug reporting mechanism. ACRA handles the reporting mechanism well. And you can have it deliver the reports to BugSense which seems to do an excellent job

Re: [android-developers] Current location in android

2011-08-08 Thread TreKing
On Mon, Aug 8, 2011 at 1:18 AM, Ratheesh Valamchuzhy android...@gmail.comwrote: Means the Current location Name .. That is not any clearer (not to me anyway). - TreKing

[android-developers] Splash + Background loading design pattern

2011-08-08 Thread Mark Cz
Hi All, My first activity is a start/splash screen, with one button show my list. The next activity is obviously the list (which represents an heavy model). Today, I only load the data while starting the second activity (using AsyncTask, while loading there is a progress dialog). But what I

[android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Divya
hi I did what you said. But now too am receiving the same 'force close' error, the same errors that I mentioned above. The android API are included in the SDK download and the source code is also on the eclipse build path. I received 'Source Not Found' error while debugging. There is no source

Re: [android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Kumar Bibek
You cannot Debug into the Android classes with a normal setup. Post some error logs from your Logcat. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Mon, Aug 8, 2011 at 1:09 PM, Divya hiiamdi...@gmail.com wrote: hi I did what you said. But now

[android-developers] Re: process large images

2011-08-08 Thread alexandros mouzakidis
For the first part, i have found that i can process parts of the image by using the BitmapRegionDecoder. Does anyone knows how to store an image piece by piece ? On Aug 6, 8:01 pm, alexandros mouzakidis greatalexand...@gmail.com wrote: Hi, i want to process an image that the phone has not enough

[android-developers] how to copy email-id as a contact from phone memory to SIM

2011-08-08 Thread Abhishek Kumar Gupta
I just want to copy Email-Id as a contact from phone-memory to SIM. Is it possible to add Email-Id as a contact to SIM. If possible then please provide related reference. Any help in this regard will be well appreciated. -- You received this message because you are subscribed to the Google

[android-developers] Re: question about other markets

2011-08-08 Thread William Ferguson
True. I hope I'm not going to regret using BugSense. But I think its collation capability will more than make up for it. On Aug 8, 4:22 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Aug 8, 2011 at 2:27 PM, William Ferguson william.ferguson...@gmail.com wrote: I'd second

[android-developers] how automated testing can be done for Android apps

2011-08-08 Thread Perumss Naren
HI All, Can any one explain : 1) how automated testing can be done for Android apps 2) tools available for doing automated testing -- Thanks and Regards, Perumal.N -- You received this message because you are subscribed to the Google Groups Android

[android-developers] application/json MIME type in Download Provider

2011-08-08 Thread Rashmi
Hi, I am working on froyo 2.2 for downloading apk from server and install the apk. For this I need download url as input, which I will be passing to Download provider to download the apk. But, along with download url as input I need some more information. So now I am getting the JSON object from

Re: [android-developers] how automated testing can be done for Android apps

2011-08-08 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 5:39 PM, Perumss Naren peru2...@gmail.com wrote: HI All,   Can any one explain :     1) how automated testing can be done for Android apps     2) tools available for doing automated testing Did you Google it? If you are too lazy too

Re: [android-developers] application/json MIME type in Download Provider

2011-08-08 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 5:44 PM, Rashmi rashmi@gmail.com wrote: Can anybody suggest me how to make the Download Provider to support JSON response / how does it supports the 'application/json' MIME type. Why? The download provider is for downloading large files in the background. Your JSON

Re: [android-developers] how automated testing can be done for Android apps

2011-08-08 Thread sai krishna
U can use NativeDrivers and Robotium for testing Android Apps. http://seleniuminyou.blogspot.com/2011/06/black-box-testing-for-android-using.html Hope this helps u for Black Box testing . On Mon, Aug 8, 2011 at 2:17 PM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Mon, Aug 8, 2011

Re: [android-developers] application/json MIME type in Download Provider

2011-08-08 Thread Rashmi
Thanks for the response. My concern is, as Download Provider is already establishing the Http Connection and handling all the exceptions, I need not to do it for the second time. But this Download Provider is not supporting JSON MIME type and ending with 'no handler found' message. When I add

[android-developers] Amazon aws-android-sdk problem on DroidX

2011-08-08 Thread dmtrl...@gmail.com
Hi all, I am using aws-android-sdk and on DroidX all was fine. But after last system update DroidX cant get pictures from amazon. In logs i see 01-29 04:18:36.332: WARN/HttpClient(2562): Unable to execute HTTP request: org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not

Re: [android-developers] application/json MIME type in Download Provider

2011-08-08 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 6:05 PM, Rashmi rashmi@gmail.com wrote: My concern is, as Download Provider is already establishing the Http Connection and handling all the exceptions, I need not to do it for the second time. Whatever you do, you will need two connections: one to get the JSON

Re: [android-developers] Amazon aws-android-sdk problem on DroidX

2011-08-08 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 6:14 PM, dmtrl...@gmail.com dmtrl...@gmail.com wrote: Hi all, I am using aws-android-sdk and on DroidX all was fine. But after last system update DroidX cant get pictures from amazon. In logs i see 01-29 04:18:36.332: WARN/HttpClient(2562): Unable to execute HTTP

[android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Divya
LogCat errors are 08-08 14:53:04.101: ERROR/DEBUGTAG(214): error occured 08-08 14:53:04.101: ERROR/DEBUGTAG(214): java.lang.Exception 08-08 14:53:04.101: ERROR/DEBUGTAG(214): at draw.tab.TestUIActivity.init(TestUIActivity.java:44) 08-08 14:53:04.101: ERROR/DEBUGTAG(214): at

Re: [android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Kumar Bibek
Can you also post some code? Looks like the problem is in your UserInterface class at line 214. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Mon, Aug 8, 2011 at 2:53 PM, Divya hiiamdi...@gmail.com wrote: LogCat errors are 08-08 14:53:04.101:

Re: [android-developers] application/json MIME type in Download Provider

2011-08-08 Thread Rashmi
Thanks Nikolay -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Divya
sure... package draw.tab; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.ImageView; public class TestUIActivity extends Activity implements

Re: [android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Kumar Bibek
try{ throw new Exception(); } Why are you throwing this Exception -- 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] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Divya
sure... package draw.tab; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.ImageView; public class TestUIActivity extends Activity implements

Re: [android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread abhay chavan
resource provides actualpath of file or any image file Drawable provides src path of imageview On Mon, Aug 8, 2011 at 2:35 AM, Divya hiiamdi...@gmail.com wrote: sure... package draw.tab; import android.app.Activity; import android.os.Bundle; import android.util.Log; import

Re: [android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread abhay chavan
Please provide Imageview In the xml Layout file On Mon, Aug 8, 2011 at 2:35 AM, Divya hiiamdi...@gmail.com wrote: sure... package draw.tab; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.view.View; import

Re : Re: Re : Re: Re : Re: [android-developers] Is SQLite database in cache after first use?

2011-08-08 Thread CocoRambo
Note that getLocalContentProvider is API level 5. Thanks for the information!! I didn't pay attention to this... :p I will use the static as you suggested! Thanks for all time passed to discuss with me. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Amazon aws-android-sdk problem on DroidX

2011-08-08 Thread dmtrl...@gmail.com
No, clock settings set to get automatically from internet. But if set time directly (current date and time) - logs changed and now looks like The difference between the request time and the current time is too large. On Aug 8, 1:17 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On

[android-developers] Re: question about other markets

2011-08-08 Thread Yahel
Hey Jim, Sorry, don't want to be harsh or anything so please take the following as constructive criticism. More markets won't help your apps. The Android Market is like Goliath and even Amazon looks like David. Others are just ant-sized compared to the official market. So if your app doen't

[android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Divya
got an uncaught exception in logcat. That's why I threw the exception On Aug 8, 2:38 pm, Kumar Bibek coomar@gmail.com wrote: try{                    throw new Exception();      } Why are you throwing this Exception -- You received this message because you are subscribed to the

Re: [android-developers] Re: How to place two buttons side by side at thebottom of the android emulator to get the appropriate shape displayed byclicking on the appropriate buttons

2011-08-08 Thread b . ampwera
T -Original Message- From: Divya hiiamdi...@gmail.com Sender: android-developers@googlegroups.com Date: Mon, 8 Aug 2011 02:56:17 To: Android Developersandroid-developers@googlegroups.com Reply-To: android-developers@googlegroups.com Subject: [android-developers] Re: How to place two

[android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Divya
If I provide Imageview, please tell me, what I have to do then. How can I represent the Image id in the activity code. Please tell me clearly. On Aug 8, 2:40 pm, abhay chavan chavan@gmail.com wrote: Please provide Imageview In the xml Layout file On Mon, Aug 8, 2011 at 2:35 AM, Divya

[android-developers] Re: How to place two buttons side by side at the bottom of the android emulator to get the appropriate shape displayed by clicking on the appropriate buttons

2011-08-08 Thread Divya
Please tell me, what to do after providing the Imageview in the xml layout file. How can I represent the image id in the activity code. can I use Imageview in LinearLayout. Please help me. On Aug 8, 2:40 pm, abhay chavan chavan@gmail.com wrote: Please provide Imageview In the xml Layout file

[android-developers] Re: how to copy email-id as a contact from phone memory to SIM

2011-08-08 Thread Abhishek Kumar Gupta
private static final Uri SIM_CONTENT_URI = Uri.parse(content://icc/adn); ContentResolver cr=getContentResolver(); Cursor cursor = cr.query(SIM_CONTENT_URI, null, null, null, null); ContentValues cv = new ContentValues(); cv.put(tag, ABHISHEK); Uri uri =

[android-developers] Re: How Can I keep data between my activities?

2011-08-08 Thread Zwiebel
I tried it, thanks for answer, but It doesn't do the expected result. Here is my code what I tried to do: public class s extends Activity{ private static final int REQUEST_CODE = 1; ImageView secret; public int counter; public int counter_foe; public

[android-developers] Re: How to get the nfc card' UID?

2011-08-08 Thread Michael Roland
Hallo, According to that, I use the API: byte[] uid = tagFromIntent.getId(); byte[] uid = intent.getByteArrayExtra(NfcAdapter.EXTRA_ID); Correct, both of them should return the same value. But the results appear in a bunch of strange number, not UID.For example: DISCOVERED TAG

Re: [android-developers] How to look and understand @ each of the Test Case in CTS : Please suggest

2011-08-08 Thread Mark Murphy
Step #1: Visit http://source.android.com Step #2: Click the Community tab Step #3: Find a relevant Google Group Step #4: Ask there -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 3.1

Re: [android-developers] generate dtmf tone on uplink

2011-08-08 Thread Mark Murphy
On Mon, Aug 8, 2011 at 2:09 AM, Amit Mangal forum.amit.man...@gmail.com wrote: I am implementing one application in that i make a call programaticaly to a server and after that my requirement is send some number by dtmf tone to server. please guide me how to generate dtmf tone so that server

[android-developers] Problem sending message to facebook wall

2011-08-08 Thread Sd
Hi, I am using android-facebook-sdk to post text messge on my wall. I want to pass this message from my code. I m using the following code.. Facebook fb = new Facebok(myAppId); Bundle parameter = new Bundle(); parameter.putString(method, Stream.Publish); parameter.putString(message, Hello);

Re: [android-developers] Problem sending message to facebook wall

2011-08-08 Thread Mark Murphy
That would be a fine question for Facebook, since it is their API to their Web service and their Web site where you are not seeing the results. On Mon, Aug 8, 2011 at 6:58 AM, Sd sukhdev1...@gmail.com wrote: Hi, I am using android-facebook-sdk to post text messge on my wall. I want to pass

Re: [android-developers] Re: question about other markets

2011-08-08 Thread Jim Graham
On Mon, Aug 08, 2011 at 02:50:38AM -0700, Yahel wrote: Sorry, don't want to be harsh or anything so please take the following as constructive criticism. Ok. More markets won't help your apps. The Android Market is like Goliath Yeah, that's about what I'd guessed. I was, however,

[android-developers] Re: How Can I keep data between my activities?

2011-08-08 Thread Zwiebel
Thanks, I think that I could make it with SharedPreferences! Thanks for help. On aug. 8, 12:36, Zwiebel hunzwie...@gmail.com wrote: I tried it, thanks for answer, but It doesn't do the expected result. Here is my code what I tried to do: public class s extends Activity{         private

[android-developers] Re: HTTPS in Android

2011-08-08 Thread perumal316
Hi All, Below is my code snippet: File file = new File(filepath); HttpClient client = new DefaultHttpClient(); //String url = http://test.; String url = https://test..;;

[android-developers] advertising your own apps

2011-08-08 Thread emre önal
Hi, For one of my apps I want to see how advertising will affect the download numbers. I was going to try admob but it asks for 50$ at least. For startup I was looking for somethings cheaper, first I want to try and see the results. I was going to try appbrain but I had a problem about rating

[android-developers] Re: I need a CamScanner like example

2011-08-08 Thread martypantsROK
why so hostile? What's wrong with asking for a tutorial? On Aug 6, 10:38 pm, rich friedel rich.frie...@gmail.com wrote: You have a lot of needs but what you really need is to do a damn search on google and find the information yourself and then come on back and ask specific questions ;)

Re: [android-developers] advertising your own apps

2011-08-08 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 8:55 PM, emre önal emr...@gmail.com wrote: Hi, For one of my apps I want to see how advertising will affect the download numbers. I was going to try admob but it asks for 50$ at least. For startup I was looking for somethings cheaper, first I want to try and see the

[android-developers] How to scroll two ListViews together

2011-08-08 Thread Francesco Pontillo
Hello, I have two ListViews (one of which is inside a swipe-workspace), and I need to synchronize their scrolling. How can I do this? I already tried and used the setSelectionFromTop method, but it is the slowest thing I've ever seen! Anyway, this is the code I am usually using: public void

Re: [android-developers] Re: I need a CamScanner like example

2011-08-08 Thread Jim Graham
On Aug 6, 10:38?pm, rich friedel rich.frie...@gmail.com wrote: On Mon, Aug 08, 2011 at 04:59:31AM -0700, martypantsROK wrote: You have a lot of needs but what you really need is to do a damn search on google and find the information yourself and then come on back and ask specific questions

Re: [android-developers] Re: question about other markets

2011-08-08 Thread Chrystian Vieyra
Amazon is waiving the $99 program fee for developer's first year of the program. -- 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] Re: advertising your own apps

2011-08-08 Thread elix
In fact my other apps have less traffic but I will give it a try. Thanks for reminding them. On Aug 8, 3:09 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Aug 8, 2011 at 8:55 PM, emre önal emr...@gmail.com wrote: Hi, For one of my apps I want to see how advertising will affect

[android-developers] IMarketBillingService do not created. Android 3.0

2011-08-08 Thread Vladimir Svydenko
Hello, guys! I want to implement In-app Billing app Have some problems with IMarketBillingService.java-file creating. I do these steps: 1. Create the following directory in your application's /src directory: com/android/vending/billing/ 2. Copy the IMarketBillingService.aidl file into the

Re: [android-developers] Re: Standalone Java applications?

2011-08-08 Thread Bill Gatliff
Chris: On Sun, Aug 7, 2011 at 9:40 PM, Chris crehb...@gmail.com wrote: Will you emulate swing?  If so, I'll buy you a beer. Although I would love to emulate swing someday, my motivation right now is to deal with headless applications. Enjoy the beer. :) b.g. -- Bill Gatliff

[android-developers] Re: Jphfgyofjfjhghkloljgjkhilgxbcbghghghy

2011-08-08 Thread Ali Chousein
@Kumar: Brilliant! :-D -- 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

Re: [android-developers] Standalone Java applications?

2011-08-08 Thread Bill Gatliff
Nikolay: On Sun, Aug 7, 2011 at 9:49 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Assuming by 'standalone application' you mean a Java program with a main method, there is an dalvikvm command. If your class is in a dex file, you should be able to run it from the command line. Cf. #

Re: [android-developers] Re: Jphfgyofjfjhghkloljgjkhilgxbcbghghghy

2011-08-08 Thread Nico Balestra
What's iPod? :) 2011/8/8 Ali Chousein ali.chous...@gmail.com @Kumar: Brilliant! :-D -- 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

Re: [android-developers] Re: Jphfgyofjfjhghkloljgjkhilgxbcbghghghy

2011-08-08 Thread Nikolay Elenkov
On Mon, Aug 8, 2011 at 10:58 PM, Nico Balestra nicobales...@gmail.com wrote: What's iPod? :) It's like an Android tablet, only cheaper :) -- 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] Standalone Java applications?

2011-08-08 Thread Kostya Vasilyev
You can get an sdcard in the emulator by using -c or --sdcard with android create avd: Action create avd: Creates a new Android Virtual Device. Options: * -c --sdcard Path to a shared SD card image, or size of a new sdcard for the new AVD* -n --name Name of the new AVD [required]

Re: [android-developers] Standalone Java applications?

2011-08-08 Thread Mark Murphy
On Mon, Aug 8, 2011 at 9:53 AM, Bill Gatliff b...@billgatliff.com wrote: Note that the generic SDK emulator doesn't seem to have a useful /sdcard Yes, it does. First, you have to specify an SD card in the AVD configuration. Second, it's /mnt/sdcard on modern versions of Android. my motivation

Re: [android-developers] Re: I need a CamScanner like example

2011-08-08 Thread rich friedel
@Spooky Thank you sir :) -- 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

[android-developers] ADB doesn't see my Galaxy tab on OS X Lion

2011-08-08 Thread OldSkoolMark
My Galaxy tab works fine as a debug device under Win 7 and Ubuntu, but I am unable to get ADB to recognize it on a new OS X Lion machine. Nor does it appear on the Mac file system when I 'mount' the tab. I'm relatively new to OS/X but it appears that there are no special drivers for the Galaxy.

Re: [android-developers] Re: Jphfgyofjfjhghkloljgjkhilgxbcbghghghy

2011-08-08 Thread Nico Balestra
I thought it was a rotten Apple :) 2011/8/8 Nikolay Elenkov nikolay.elen...@gmail.com On Mon, Aug 8, 2011 at 10:58 PM, Nico Balestra nicobales...@gmail.com wrote: What's iPod? :) It's like an Android tablet, only cheaper :) -- You received this message because you are subscribed to

[android-developers] Re: ADB doesn't see my Galaxy tab on OS X Lion

2011-08-08 Thread OldSkoolMark
Actually, I can mount the tab from the Mac and access the FS. ADB devices still comes up empty. On Aug 8, 7:20 am, OldSkoolMark m...@sublimeslime.com wrote: My Galaxy tab works fine as a debug device  under Win 7 and Ubuntu, but I am unable to get ADB to recognize it on a new OS X Lion machine.

Re: [android-developers] Is there a best (or worst) time to release apps?

2011-08-08 Thread rich friedel
Sir, I am sorry that you feel as if I took a swipe at you personally as you mentioned in another post. I was merely saying that this subject (Android Marketplace usage research) was probably better asked on the Android Marketplace groups forum. I still feel that way. If others do not or choose

[android-developers] Re: Splash + Background loading design pattern

2011-08-08 Thread rich friedel
Just move the data loading logic into the splashscreen activity then pass your data to the second activity (your list) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Current location in android

2011-08-08 Thread cellurl
I started with Hello Map View. It works perfectly. Then I learned KML which fakes locations in the emulator. It moves around just like you want it to automatically. http://developer.android.com/guide/tutorials/views/hello-mapview.html -cellurl -- You received this message because you are

[android-developers] Correct Binding to a service?

2011-08-08 Thread Boozel
Hi I have a main activity that binds to a service. The service has a data connection where it gets data based on async tasks in my main activity. When is the correct time to bind and unbind from my service? I dont want to kill the service often because id like the data connection to remain open

Re: [android-developers] Correct Binding to a service?

2011-08-08 Thread Mark Murphy
On Mon, Aug 8, 2011 at 11:00 AM, Boozel boozelcl...@gmail.com wrote: I have a main activity that binds to a service. The service has a data connection where it gets data based on async tasks in my main activity. When is the correct time to bind and unbind from my service? In the final

[android-developers] how to add scroll bar to view

2011-08-08 Thread aparna rani
hi i am implement a dynamically adding editText boxes. in mu app wanto add scroll view. please help me how to do scroll bar? import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import

Re: [android-developers] Correct Binding to a service?

2011-08-08 Thread Boozel
Thanks very much My service returns an ArrayListString of data to my main activity which then uses Intent tagPickerIntent = new Intent(PlantPulseActivity.this, TagPicker.class); tagPickerIntent.putExtra(analogue, analogTags);

[android-developers] Re: Just in section

2011-08-08 Thread Vance Turnewitsch
I think the Just In section has been removed on the Market. On Aug 7, 7:30 pm, Jim Graham spooky1...@gmail.com wrote: On Sun, Aug 07, 2011 at 01:43:13PM -0500, TreKing wrote: I think the Android Market on my phone got updated, and I can't find the Just in section any more.  Anyone know

[android-developers] Serious bug in 3.2 ResolverActivity

2011-08-08 Thread webmonkey
In Honeycomb 3.2 when you start an intent and there are multiple activities that are capable of handling the intent the ResolverActivity is displayed but it does not show the choice menu so the user is unable to do anything. This is quite a serious bug and I have got quite a few reports about it

[android-developers] If statements doesn't work (I think that I made a mistake, not the if isn't good), with button appearing.

2011-08-08 Thread Zwiebel
I want to make a new button (again) appearing when one of my variables reached the 5. I tried to do it with the if statements but It doesn't make the button appearing, and I don't know exactly why. Here is my code: public class p extends Activity{ private static final int REQUEST_CODE =

Re: [android-developers] Just in section

2011-08-08 Thread Dianne Hackborn
On Sun, Aug 7, 2011 at 4:30 PM, Jim Graham spooky1...@gmail.com wrote: Third, and this just started today, the screen lock, which I have disabled via a widget called Unlocked, kept trying to engage while I was in the Market trying to find my app. It actually did engage once. Completely and

Re: [android-developers] Correct Binding to a service?

2011-08-08 Thread Mark Murphy
No clue -- sorry. On Mon, Aug 8, 2011 at 11:28 AM, Boozel boozelcl...@gmail.com wrote: Thanks very much My service returns an ArrayListString of data to my main activity which then uses Intent tagPickerIntent = new Intent(PlantPulseActivity.this, TagPicker.class);        

[android-developers] 3.2 Honeycomb Market Issue?

2011-08-08 Thread ColorTheorist
This morning I had picked up a Xoom tablet for the first time and updated it to the latest release which brought me up to Honeycomb 3.2. Then I attempted to download something from the market and it hangs. While I had attempted to search for ways to resolve this online, I feel as though I have

Re: [android-developers] Correct Binding to a service?

2011-08-08 Thread Dianne Hackborn
The only really interesting thing there is the failed binder transaction... this is generally due to trying to send a transaction that is too large -- more than 512K or so (depending on what other transactions are in flight). The timeout messages indicate your app is not letting its message loop

Re: [android-developers] Correct Binding to a service?

2011-08-08 Thread Boozel
Thanks, I'm trying to pass an ArrayListString with about 1500 elements as an extra between the activities which may be causing it. Is there a better way of doing this which would prevent the Failed binder transaction? -- You received this message because you are subscribed to the Google

Re: [android-developers] Correct Binding to a service?

2011-08-08 Thread Dianne Hackborn
On Mon, Aug 8, 2011 at 8:11 AM, Mark Murphy mmur...@commonsware.com wrote: Getting binding right with an activity given configuration changes is a PITA. If you are using fragments, you may be able to bind from the fragment and use setRetainInstance(true) to minimize the pain, though I haven't

Re: [android-developers] Correct Binding to a service?

2011-08-08 Thread Mark Murphy
On Mon, Aug 8, 2011 at 12:18 PM, Dianne Hackborn hack...@android.com wrote: Doing this with an Activity isn't *too* hard: Well, you also have to pass the IBinder object, since you can't get that any other way. And, in the OP's case, you have to pass the AsyncTask too, so it can be attached to

[android-developers] Re: Intents

2011-08-08 Thread kypriakos
Hi Mark, right on! An oversight on my part. Thanks On Aug 7, 6:38 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Aug 7, 2011 at 4:25 AM, kypriakos demet...@ece.neu.edu wrote: I start an new intent on an activity: Intent intent = new Intent(); intent.seClass (..);

Re: [android-developers] Just in section

2011-08-08 Thread Jim Graham
On Mon, Aug 08, 2011 at 09:08:37AM -0700, Dianne Hackborn wrote: On Sun, Aug 7, 2011 at 4:30 PM, Jim Graham spooky1...@gmail.com wrote: Fyi turning off the lock screen like that is not currently supported by the platform. It's not a bug in whatever app you are running in the foreground that

[android-developers] Re: Just in section

2011-08-08 Thread niko20
Well I think apps are only allowed to control the lock screen for themselves, and if they are in the foreground. There is no allowable way for an app to control the lock screen globally. -niko On Aug 8, 11:44 am, Jim Graham spooky1...@gmail.com wrote: On Mon, Aug 08, 2011 at 09:08:37AM -0700,

Re: [android-developers] Just in section

2011-08-08 Thread Dianne Hackborn
It's not currently supported. On Mon, Aug 8, 2011 at 9:44 AM, Jim Graham spooky1...@gmail.com wrote: On Mon, Aug 08, 2011 at 09:08:37AM -0700, Dianne Hackborn wrote: On Sun, Aug 7, 2011 at 4:30 PM, Jim Graham spooky1...@gmail.com wrote: Fyi turning off the lock screen like that is not

Re: [android-developers] Correct Binding to a service?

2011-08-08 Thread Dianne Hackborn
It depends on where that string came from. Some possibilities: - If the user entered stuff related to that string, put it in persistent storage. You don't want to lose significant data from the user! - If you retrieved this from the network, have a singleton that manages it (downloads it when

Re: [android-developers] Just in section

2011-08-08 Thread Jim Graham
On Mon, Aug 08, 2011 at 09:08:37AM -0700, Dianne Hackborn wrote: Fyi turning off the lock screen like that is not currently supported by the platform. It is a bug, however, that the lock screen tries to engage at all, when I have (since the day I got my Android phone) had it turned off in

Re: [android-developers] If statements doesn't work (I think that I made a mistake, not the if isn't good), with button appearing.

2011-08-08 Thread TreKing
On Mon, Aug 8, 2011 at 11:00 AM, Zwiebel hunzwie...@gmail.com wrote: I tried to do it with the if statements but It doesn't make the button appearing, and I don't know exactly why. Could you trim your posted code to the specific part that does not work as intended? You're more likely to get

[android-developers] Re: how to get the resource id of the set wallpaper

2011-08-08 Thread rich friedel
You will want to look into properly accessing resourceshttp://developer.android.com/guide/topics/resources/accessing-resources.htmland probably more specifically Context.getResources()http://developer.android.com/reference/android/content/Context.html#getResources() -- You received this

Re: [android-developers] Re: How Can I keep data between my activities?

2011-08-08 Thread TreKing
On Mon, Aug 8, 2011 at 5:36 AM, Zwiebel hunzwie...@gmail.com wrote: I tried it now. I tried with onRestoreInstanceState too, but it looked like this. I couldn't show my counter and counter_foe content, because it's everytime shows 0. I didn't follow that, but what you put in the Bundle in

[android-developers] Android goolge contact fetch

2011-08-08 Thread Goutom
Hi All I want to fetch all goolge contact of a group by group id.Here is my code. public ArrayListT Get_Contact_Info(String groupid, String groupname) { ArrayListContact_Content contactlist = new ArrayListContact_Content(); String[] projection = new String[] {

[android-developers] I want to show webview from cache till I say look for new.

2011-08-08 Thread sabanim
uumm help :) My goal is to bring up a page in webview ( i got that) then show that activity from cache till I say go to the network. I will tell it to look for new via a push but how do I get it to pull from the cache till then? -- You received this message because you are subscribed to the

[android-developers] Re: All apps + developer suddenly disappears from devices

2011-08-08 Thread Adam Ratana
On Monday, August 8, 2011 1:15:09 AM UTC-4, Raghav Sood wrote: Hi, I have 11 apps in the android market. Quite suddenly none of them can be found on my friends Dell XCD 35. The web version of the market states that it is incompatible. There is nothing in any of the apps that would cause

[android-developers] Re: How Can I keep data between my activities?

2011-08-08 Thread Zwiebel
Yes, maybe, but I think that the problem was, that the program wasn't destroyed only put to the background. So, I had an A activity, from it I called B activity. A went to background, but it wasn't destroyed. So it didn't call onRestoreInstanceState. It's my opinion, but I'm not sure in it.

[android-developers] Re: If statements doesn't work (I think that I made a mistake, not the if isn't good), with button appearing.

2011-08-08 Thread Zwiebel
It's true, sorry: Here is the code, which I want to use to decide, whether counter and counter_foe is 5 or not. if (counter == 5) { again.post(r3); next.post(r4); } else if (counter_foe == 5) {

Re: [android-developers] Re: How Can I keep data between my activities?

2011-08-08 Thread TreKing
On Mon, Aug 8, 2011 at 12:40 PM, Zwiebel hunzwie...@gmail.com wrote: So, I had an A activity, from it I called B activity. A went to background, but it wasn't destroyed. Right. onSaveInstanceState / onRestoreInstance state is for preserving / restoring the state of a single Activity if and

Re: [android-developers] Re: If statements doesn't work (I think that I made a mistake, not the if isn't good), with button appearing.

2011-08-08 Thread TreKing
On Mon, Aug 8, 2011 at 12:43 PM, Zwiebel hunzwie...@gmail.com wrote: if (counter == 5) { again.post(r3); next.post(r4); } else if (counter_foe == 5) { again.post(r3);

[android-developers] Cheap Bluetooth devices sought

2011-08-08 Thread cellurl
Anyone know of a $10 bluetooth device that I can buy in low quantities? For example something a phone could turn on/off? I need 2 remote switches. Just on and off. There are hacking options, but that seems last resort. A: Butchering a BT-headset and sending/decoding DTMF. B: Butchering

[android-developers] Re: Screen Shot Capture Timing!!!

2011-08-08 Thread Sebastian Tomaszewski
Bring this to the TOP again... See if someone has the potential answers... Thank you ahead of time Sebo On Thu, Aug 4, 2011 at 4:01 PM, Sebastian Tomaszewski stomasze101...@gmail.com wrote: Hello All, I have a little dilema with the Timing on one of my Screen Capture applications: 1.

  1   2   3   >