[android-developers] Re: how to show an activity only at the time of launch

2011-04-18 Thread Zsolt Vasvari
My app does it. Send me $100 and I will send you my code. On Apr 18, 1:28 pm, Siva Kannabiran sivasanka...@gmail.com wrote: i have created an app, there i have an activity for registration purpose. I want the particular activity to be shown for the the first time when the app is been launched

[android-developers] Re: IllegalArgument Exception: Service is not registered

2011-04-18 Thread mort
If after bindService, there is an orientation change or the activity is finished before onServiceConnected is called, myBinder will still be null, and your code won't call unbindService, despite having called bindService. You're right, I'll change that. Don't know if this can later cause

[android-developers] Fragment, how to send message from one fragment to another

2011-04-18 Thread Droid
If I click a button in one fragment, what is the best way to get a response in another fragment? eg click button in fragment1 which displays text in a TextView in fragment2. which is the best approach here? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] how to show an activity only at the time of launch

2011-04-18 Thread Kristopher Micinski
On Mon, Apr 18, 2011 at 1:28 AM, Siva Kannabiran sivasanka...@gmail.comwrote: i have created an app, there i have an activity for registration purpose. I want the particular activity to be shown for the the first time when the app is been launched in a device and in the next time of use the

[android-developers] Re: Intent not received after application started

2011-04-18 Thread Gorka
Hi, Finally I made it work, so I post the solution as someone could be interested in the future: The point is to set the activity launchmode to singleTask (singleInstance should work too) instead of singleTop android:launchMode=singleTask Bye. On 11 abr, 14:54, Gorka gork...@gmail.com wrote:

[android-developers] Re: ANR Camera Button Long Press Event

2011-04-18 Thread Pandi
OK...My camera activity is getting into pause state and resume continuously. At one time, it is giving ANR and application getting closed. On Apr 15, 10:41 pm, lbendlin l...@bendlin.us wrote: I have never tried to do a long press on the camera button - need to test my app for that (it also uses

[android-developers] How to get the cursor position on webview? (about the text selection)

2011-04-18 Thread king
I would like to modify the text selection feature on honeycomb. Because I want to join the highlights and underline,combined with the original text selection function. If you have relevant experience please help me. I need your help. Thank you -- You received this message because you are

[android-developers] Re: how to show an activity only at the time of launch

2011-04-18 Thread Mochamad Basofi
I think you could save a value on SQLite that stores an int(or anything) when you start your activity for the 1st time So on the second time you start your activity, your app first read the sqlite, if the value is not null, then the first activity won't be brought on screen so the scheme is just

Re: [android-developers] Google Translate's new TTS feature

2011-04-18 Thread Mark Carter
Thanks very much Nikolay. I found this response from a Googler which might be useful: https://groups.google.com/d/msg/google-ajax-search-api/MDIY-N4cPmk/DOzSLcXfe2sJ On 18 April 2011 12:38, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Apr 18, 2011 at 1:29 PM, Mark Carter

[android-developers] Re: State of in-app billing

2011-04-18 Thread ishihata
On 4月18日, 午後2:49, Kostya Vasilyev kmans...@gmail.com wrote: The items need to be published, the application uploaded as draft (at least), the test account listed under your developer profile. Yes, my app was not published (uploaded as draft), but the items were published. And the google account

Re: [android-developers] Re: State of in-app billing

2011-04-18 Thread Nikolay Elenkov
On Mon, Apr 18, 2011 at 4:47 PM, ishihata ishihata.k.t...@gmail.com wrote: On 4月18日, 午後2:49, Kostya Vasilyev kmans...@gmail.com wrote: The items need to be published, the application uploaded as draft (at least), the test account listed under your developer profile. Yes, my app was not

[android-developers] Programmatically use VPN on Android ?

2011-04-18 Thread Ved Antani
I have an application that talks to a remote server which most likely will be behind a VPN. Is there a way to programmatically enable VPN and connect to GPRS in Android ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: how to show an activity only at the time of launch

2011-04-18 Thread Vinay Julme
Ho ho... Use shared preferences. It is the best approach. When your app starts a launcher activity gets called. now in its onCreate method check for your shared preferences.Check for shared preferences just after setContentView(). If this value is not set then you can start your registration

Re: [android-developers] Re: State of in-app billing

2011-04-18 Thread Kostya Vasilyev
I just ran a couple more tests. On 2.1, the Checkout popup window took a long time to close, so I pretended to be an impatient user and closed it after about 15 seconds. The confirmation came about 15-30 seconds later. On 2.2, the Google Checkout window closed almost immediately, and

Re: [android-developers] Programmatically use VPN on Android ?

2011-04-18 Thread Marcin Orlowski
On 18 April 2011 10:41, Ved Antani ved.ant...@gmail.com wrote: I have an application that talks to a remote server which most likely will be behind a VPN. Is there a way to programmatically enable VPN and connect to GPRS in Android ? Not sure, but if not, you can always check what interfaces

[android-developers] Re: how to show an activity only at the time of launch

2011-04-18 Thread Mochamad Basofi
Wow thanks, that's a lot easier than mine thanks :D On Apr 18, 3:49 pm, Vinay Julme vinayju...@gmail.com wrote: Ho ho... Use shared preferences. It is the best approach. When  your app starts a launcher activity gets called. now in its onCreate method check for your shared

Re: [android-developers] how to show an activity only at the time of launch

2011-04-18 Thread Rocky
Hi Siva, Let your main activity is Activity1. You want first time Registration Activity. Create a pseudo Activity2 (which is your main and launcher activity), check the validation. if(BooleanReigstraitonActivity completed) { startActivity(Activity1) } else {

[android-developers] Re: Class not found exception static fragment library

2011-04-18 Thread Droid
Might be connected with different: android-support-v4.jar I think they are different incompatible versions. http://stackoverflow.com/questions/5561353/fragmentactivity-can-not-be-tested-via-activityinstrumentationtestcase2 On Apr 17, 7:58 am, k_day kevin.r@gmail.com wrote: Another

Re: [android-developers] how to show an activity only at the time of launch

2011-04-18 Thread Nikolay Elenkov
On Mon, Apr 18, 2011 at 6:11 PM, Rocky rkjhaw1...@gmail.com wrote: And at RegistrationActivity, on save/submit button create a static variable boolean BooleanReigstraitonActivity set it to true thats it. Really, guys, there is only one way to do this right: 1. Write a Ruby on Rails

[android-developers] Re: Display large html content page wise in WebView

2011-04-18 Thread Sourav Howlader
If I extract data from HTML, then how to maintain the formatting ? Not getting any clue, can you elaborate a little or show some example ? Thanks for your reply. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Trying to set toggleButton at right of text view

2011-04-18 Thread ABSOLUT
Hi, I'm trying to put a toggleButton at right of a text view but AVD put the button under of textview. Could you help me please? The layout is: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-developers] Objdump -S don't work to intermix source code with disassembly

2011-04-18 Thread violetson
I want to check segmentation fault in skia.so. But I can't get intermix source code with disassembly by using objdump -S symbols/system/lib/libskia.so. Any suggestion will be appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Google Api Maps publishing an application

2011-04-18 Thread lbendlin
you need to specify the market key in the code, then export the signed app package, and then install that APK instead of the development version. -- 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: Display large html content page wise in WebView

2011-04-18 Thread lbendlin
you're not maintaining the formatting. You have to recreate the formatting for each page, adding the with the appropriate link at the end of all but the last pages. So you make the HTTP request to get the entire page, save it either to disk or into memory, extract the contents via the DOM,

[android-developers] Application icon missing

2011-04-18 Thread David Caunt
Hi, I have an application with around 8000 installs. Of these, around 5 users have contacted me to say that they have no launcher icon for the app. I have specified a drawable icon in the manifest and added normal (drawable), ldip (drawable-ldpi) and hdpi (drawable-hdpi) versions to my drawable

[android-developers] Sending APDU Command from Nexus S

2011-04-18 Thread perumal316
Hi All, I am having Nexus S and a Mifare Tag. Using TagWriter application I am write and read from the Tag. Now I want to try sending an APDU command to the Tag. Is this possible? Any recommendation on how this can be done? Thanks In Advance, Perumal -- You received this message because you

[android-developers] Re: Google Api Maps publishing an application

2011-04-18 Thread Andrei
Thank you! Now try On 18 апр, 14:45, lbendlin l...@bendlin.us wrote: you need to specify the market key in the code, then export the signed app package, and then install that APK instead of the development version. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Application icon missing

2011-04-18 Thread Marcin Orlowski
On 18 April 2011 12:54, David Caunt dca...@gmail.com wrote: I have an application with around 8000 installs. Of these, around 5 users have contacted me to say that they have no launcher icon for the app. I have specified a drawable icon in the manifest and added normal (drawable), ldip

Re: [android-developers] Application icon missing

2011-04-18 Thread Mark Murphy
On Mon, Apr 18, 2011 at 6:54 AM, David Caunt dca...@gmail.com wrote: I have an application with around 8000 installs. Of these, around 5 users have contacted me to say that they have no launcher icon for the app. I have specified a drawable icon in the manifest and added normal (drawable), ldip

Re: [android-developers] Fragment, how to send message from one fragment to another

2011-04-18 Thread Mark Murphy
On Mon, Apr 18, 2011 at 3:07 AM, Droid rod...@gmail.com wrote: If I click a button in one fragment, what is the best way to get a response in another fragment? eg click button in fragment1 which displays text in a TextView in fragment2. which is the best approach here? I think it's a tad

Re: [android-developers] Re: FileContentProvider

2011-04-18 Thread Mark Murphy
On Sun, Apr 17, 2011 at 8:51 PM, perumal316 perumal...@gmail.com wrote: I am creating my own WebView application. Using the URI scheme I have already registered another Android application in the system. But when I am tring to invoke it from my WebView, I am getting the following error. You

Re: [android-developers] Communicating with USB devices on Android Tablet

2011-04-18 Thread Mark Murphy
On Sun, Apr 17, 2011 at 9:11 PM, Santosh skumark...@gmail.com wrote: Is it possible to communicate/use USB devices on Android OS for a tablet device. Not via the SDK. Is there a driver/Java Library for this? Do I need to write drivers all by myself? Can you pls point me to

Re: [android-developers] Application icon missing

2011-04-18 Thread lbendlin
most likely the users see the default Android icon. I noticed that when a phone boots up all the custom applications first use that default icon before showing the app specific icon. Maybe his users have particularly slow phones? -- You received this message because you are subscribed to

[android-developers] Re: Progress Bar

2011-04-18 Thread lbendlin
you need to override the DispatchDraw and the DispatchTouchEvent calls. Something like this private Matrix mMatrix = new Matrix(); private float[] mTemp = new float[2]; @Override protected void dispatchDraw(Canvas canvas) { canvas.save(Canvas.MATRIX_SAVE_FLAG);

Re: [android-developers] how to show an activity only at the time of launch

2011-04-18 Thread lbendlin
just imagine your user launches the app and then registers and then deletes the app (or clears out the data because they feel especially mean). Next time they launch they will have to register again etc etc. Nikolay's method clearly is best as the registration information is stored in the

[android-developers] Focus of List View is not working after setting theme color of layout

2011-04-18 Thread prakrati
Hi all, I have created an app in which i have three themes after selecting the theme layout color is proper but when i am clicking on list view then focus is gone how to solve this problem? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Focus of List View is not working after setting theme color of layout

2011-04-18 Thread prakrati
Hi all, I have created an app in which i have three themes after selecting the theme layout color is proper but when i am clicking on list view then focus is gone how to solve this problem? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] how to show an activity only at the time of launch

2011-04-18 Thread Siva Kannabiran
Hi friends, thanks for your replies. On Mon, Apr 18, 2011 at 5:27 PM, lbendlin l...@bendlin.us wrote: just imagine your user launches the app and then registers and then deletes the app (or clears out the data because they feel especially mean). Next time they launch they will have to

[android-developers] Re: pen source XMPP client for android

2011-04-18 Thread creativepragmatic
This has worked for me. http://www.tigase.org/content/tigase-downloads?fid=2197 On Apr 17, 6:55 am, Me tonasirin...@gmail.com wrote: Dear All ;                Anyone can point me *o**pen source XMPP client for android ?* **I am working on a social network application where I need to handle

[android-developers] problem in pie chart coding

2011-04-18 Thread Siva Kannabiran
in my app i am trying to show a pie chart. When i was searching through google i found an sample code in the following link http://blog.gafmediastudio.com/2010/04/01/draw-a-pie-chart-with-android/comment-page-1/#comment-3899 the code is very useful but i have a problem in the code. They have

[android-developers] Notification from database

2011-04-18 Thread Brad Stintson
How to notify user at a specific time fetched from the database? Moreover, how to retain the state of the data even after system reboot? -- 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] Application icon missing

2011-04-18 Thread David Caunt
Thank you for responses. One user reported the problem like this - sounds like he has to launch it via the Market every time! It's shown as installed in my download list and I can run it OK from there, but I can't find a launcher icon anywhere. It's certainly not available when I use the normal

[android-developers] Android Map Query (Please help me out)

2011-04-18 Thread sagar borse
Hello Friends, (Check code in attached file.) Can any one help me in adding Direction APIs and locating A GEO point on a click on map ??? -- THANKS, SAGAR BORSE BE IT GECA Registered Linux User #500860

Re: [android-developers] Application icon missing

2011-04-18 Thread Mark Murphy
On Mon, Apr 18, 2011 at 8:48 AM, David Caunt dca...@gmail.com wrote: One user reported the problem like this - sounds like he has to launch it via the Market every time! It's shown as installed in my download list and I can run it OK from there, but I can't find a launcher icon anywhere. It's

Re: [android-developers] Notification from database

2011-04-18 Thread Mark Murphy
On Mon, Apr 18, 2011 at 8:47 AM, Brad Stintson geek.bin...@gmail.com wrote: How to notify user at a specific time fetched from the database? Use AlarmManager, a BroadcastReceiver, and a Notification. Moreover, how to retain the state of the data even after system reboot? Use the above, plus

Re: [android-developers] problem in pie chart coding

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 7:46 AM, Siva Kannabiran sivasanka...@gmail.comwrote: How to change the color please help me. Change the line you colored red to set the color to what you want instead of picking something at random. What's the problem?

Re: [android-developers] Notification from database

2011-04-18 Thread Brad Stintson
Hey Mark, Since I am new to android programming, could you please elaborate your suggestion and may be provide a sample code if possible. Thanking you in advance. Brad On Mon, Apr 18, 2011 at 6:33 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Apr 18, 2011 at 8:47 AM, Brad Stintson

[android-developers] Re: is there a way to programmatically restart acore via adb shell after it's crashed?

2011-04-18 Thread biAji
use am ? On Apr 18, 2011 12:19 PM, eric van tassell evt...@gmail.com wrote: tia -- - evt (Eric van Tassell) twitter: evt_texelsoft linked-in: linkedin.com/in/evttxl -- You received this message because you are subscribed to the Google Groups android-platform group. To post to this

[android-developers] How declare in AndroidManifest when one application have two packages

2011-04-18 Thread a a
Dear all, I have two packages com.android.one and com.android.two. the first package have on activity, and package two have an activity name for activityA AndroidManifest.xml following manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.android.one ..

Re: [android-developers] Notification from database

2011-04-18 Thread Kostya Vasilyev
Brad, Please see this thread, it has links to documentation and sample code. http://groups.google.com/group/android-developers/browse_thread/thread/a7012ecb43d87199 -- Kostya 18.04.2011 17:12, Brad Stintson ?: Hey Mark, Since I am new to android programming, could you please elaborate

[android-developers] Re: String to Float Performance Ideas

2011-04-18 Thread Lance Nanek
An open source coding group I participate in similarly wrote our own faster float parsing: http://code.google.com/p/skylight1/source/browse/trunk/SkylightOpenGL/src/skylight1/opengl/files/QuickParseUtil.java#23 Took parsing 1000 strings from 465ms to 12ms, although it just handles what we need it

[android-developers] ANIMATION WITH BUTTON CLICK

2011-04-18 Thread Raghavaraju K
hi, I am new to android and I could nt able to solve this, I want to create a button and with the click of the button the animation should happen , whats the wrong with this , please help me with the sample code Help is always appreciated Thanks package com.transformation; //import

Re: [android-developers] How declare in AndroidManifest when one application have two packages

2011-04-18 Thread Mark Murphy
You cannot construct a ComponentName for com.android.two, as there is no com.android.two. Just because you have a Java package does not mean it is an Android application package. To fix this: Step #1: Replace com.android with some name that you own, please, as I really doubt that you own Google

[android-developers] Re: Running application on Dell Streak emulator

2011-04-18 Thread Lance Nanek
The Dell Streak is pretty odd re the screen. It is WVGA resolution, but only mdpi, medium density. Usually that high of a resolution, combined with a small phone screen, results in hdpi. The Streak is bigger, however. This then affects what drawable folders are used and how drawables are scaled.

[android-developers] Creating xml with image from DB

2011-04-18 Thread Sebastien S
Hi, I want to upload an image from my db to a server. But this image had to be in a xml. The xml format is: REC F1id/F1 F2description/F2 F3![CDATA[image_byte_array]]/F3 F4date/F4 /REC I'm building the XML with XmlSerializer: XmlSerializer serializer = Xml.newSerializer();

[android-developers] How to create ScrollView and LinearLayout Programatically

2011-04-18 Thread Mohammad Abu Hmead
Dear Developer, I want to create multi views and add them on a layout, but the view are more than the phone screen, so i want scrolling, but by java code, not by xml file. Please post a code snippet. Thanks advance, Mohammad Abu Hmead Starter Android Developer Ramallah, Palestine. -- You

[android-developers] Borders between fragments?

2011-04-18 Thread Gregg Reno
I'm building a honeycomb specific app and wanted to know if there is an easy way to create visible borders between fragments? I know I could just set different backgrounds for each fragment layout so they are distinct, but that's not what I'm going for. I want it to look like one background

Re: [android-developers] How to create ScrollView and LinearLayout Programatically

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 10:01 AM, Mohammad Abu Hmead mohammad.ka...@gmail.com wrote: Please post a code snippet. Please read the documentation and samples. - TreKing

Re: [android-developers] Communicating with USB devices on Android Tablet

2011-04-18 Thread Santosh
Hi Mark, Thanks for the reply. If not via the SDK, what are the steps to get this working? Do we need to write our own driver/library? Regards -Santosh On Mon, Apr 18, 2011 at 4:46 PM, Mark Murphy mmur...@commonsware.comwrote: On Sun, Apr 17, 2011 at 9:11 PM, Santosh skumark...@gmail.com

Re: [android-developers] problem in pie chart coding

2011-04-18 Thread Siva Kannabiran
i have tried already what you said but the pie chart appears to be a blank without any color, that's why came here for help. Following is the line which i have tried out, Item.Color = 0xff00 + 0xff228b22 + 0xff + 0xffa500; On Mon, Apr 18, 2011 at 6:41 PM, TreKing treking...@gmail.com

[android-developers] Re: Borders between fragments?

2011-04-18 Thread Streets Of Boston
Add a border to the view-group that hosts the fragment, not the fragment itself. For borders you can use 9-patches or shape drawables. -- 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] problem in pie chart coding

2011-04-18 Thread Marcin Orlowski
On 18 April 2011 17:26, Siva Kannabiran sivasanka...@gmail.com wrote: i have tried already what you said but the pie chart appears to be a blank without any color, that's why came here for help. Following is the line which i have tried out, Item.Color = 0xff00 + 0xff228b22 + 0xff

Re: [android-developers] Communicating with USB devices on Android Tablet

2011-04-18 Thread Mark Murphy
On Mon, Apr 18, 2011 at 11:16 AM, Santosh skumark...@gmail.com wrote: Thanks for the reply. If not via the SDK, what are the steps to get this working? Do we need to write our own driver/library? Beats me. You are on the wrong list. Visit http://source.android.com to learn about the Android

[android-developers] Re: Class not found exception static fragment library

2011-04-18 Thread Droid
In my App I got the same error and it was the wrong path reference in the fragment xml layout file. Here is my error: fragment android:name=com.example.android.apis.app.FragmentHideShow $FirstFragment android:id=@+id/fragment1 android:layout_weight=1

Re: [android-developers] problem in pie chart coding

2011-04-18 Thread Siva Kannabiran
Ok what should i have to give. On Mon, Apr 18, 2011 at 8:59 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 18 April 2011 17:26, Siva Kannabiran sivasanka...@gmail.com wrote: i have tried already what you said but the pie chart appears to be a blank without any color, that's why

Re: [android-developers] Gallery Infinite Loop

2011-04-18 Thread James Liu
That's a good point. And I have tried it, but still hard to get a solution. So, i have to implement a new gallery in the google code server. If anyone also wants to use this widget, you can check it there: *Android Infinite Loop Galleryhttp://blog.jmsliu.com/138/android-infinite-loop-gallery.html

Re: [android-developers] Re: State of in-app billing

2011-04-18 Thread Nikolay Elenkov
On Mon, Apr 18, 2011 at 5:13 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Apr 18, 2011 at 4:47 PM, ishihata ishihata.k.t...@gmail.com wrote: Is this an ordeal only to me...? I don't have a 2.1 device right now, but I will try to find the original NexusOne firmware and flash

[android-developers] User Interface Design Question : Application UI as Overlays

2011-04-18 Thread Samuh
I am working on an Android application that needs to have a live visual feed playing in background. All the UI elements need be drawn atop this Surface. Though the UI is pretty basic it has several flows and we have divided each flows as Tasks and therefore the application has several activities.

Re: [android-developers] User Interface Design Question : Application UI as Overlays

2011-04-18 Thread Mark Murphy
On Mon, Apr 18, 2011 at 12:10 PM, Samuh samuh.va...@gmail.com wrote: 1. What would be the best way to design the UI for such an app? Should we have only one activity and draw everything over it for all the flows? This will increase code complexity and Class size. I don't think you have a

Re: [android-developers] Gallery Infinite Loop

2011-04-18 Thread Streets Of Boston
Yep, that's what I did for a regular list-view that acts like a slot-machine roll. Return a value in your adapter's getCount() method that is a very very very high multiple of the number of actual items in your list-view's adapter. private static final int MULTIPLIER = 100; // some LARGE

[android-developers] ActionBar Tabs Fragment EditText instance

2011-04-18 Thread André
I'm working on an app that has multiple tabs in the ActionBar in Honeycomb, every tab extends a fragment and every fragment is an instance of the same class. So in every fragment I have a edittext with the same name. What I want to do is to be able to do is to reach this edittext in the selected

[android-developers] Application not installed

2011-04-18 Thread bob
I e-mailed an apk file to myself and looked at it thru the Gmail app. It showed an install button, so I tried to install it like that, but it says Application not installed. Anyone know how to fix this? I'm on an LG Optimus. -- You received this message because you are subscribed to the Google

[android-developers] Re: Application not installed

2011-04-18 Thread Moose
It seems to me that this occurs when the application you are trying to install has the same package name as a built in package. You either need to uninstall the application already present, or change the name of the package in the app you are trying to install. -- You received this message

Re: [android-developers] problem in pie chart coding

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 10:26 AM, Siva Kannabiran sivasanka...@gmail.comwrote: Following is the line which i have tried out, Item.Color = 0xff00 + 0xff228b22 + 0xff + 0xffa500; Why ... why would you do this? Just decide what color you want, figure out it's hex value (plenty of

[android-developers] Re: how should i get phone number of sms sender(i mean incoming sms phone number)?

2011-04-18 Thread Wall-E
SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); String fromAddress = message.getOriginatingAddress(); On Apr 17, 4:28 am, Prasanna prasanna.kada...@gmail.com wrote: HI , Can any body tell me how  should i get phone number of sms sender(i mean incoming sms phone number)?

[android-developers] Re: Use Google Spreadsheets API in Android

2011-04-18 Thread Reptil
Nobody can help On 14 Abr, 11:16, Reptil christophepeix...@gmail.com wrote: Hi, I have already made a Web Application using the Google Spreadsheets API with the following code giving my the liste of spreasheets i have in my google account: SpreadsheetService service = new

Re: [android-developers] Application not installed

2011-04-18 Thread Kumar Bibek
Does your phone allow installing non-market apps? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Apr 18, 2011 at 10:01 PM, bob b...@coolgroups.com wrote: I e-mailed an apk file to myself and looked at it thru the Gmail app. It showed an install button, so I tried to

[android-developers] Spinner with added Text

2011-04-18 Thread New Developer
Hi Using a Spinner Is there a way while using (or from the UI) to type in a new option Say I have a spinner with a list of calendars (actually list of .ics files) Now I want to create a NEW calendar Using a Spinner how do I type in the new name and it is added to the drop down list?

Re: [android-developers] Spinner with added Text

2011-04-18 Thread Kumar Bibek
You cant do that with a spinner. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Apr 18, 2011 at 10:40 PM, New Developer secur...@isscp.com wrote: Hi Using a Spinner Is there a way while using (or from the UI) to type in a new option Say I have a spinner with a

Re: [android-developers] Re: Use Google Spreadsheets API in Android

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 11:59 AM, Reptil christophepeix...@gmail.comwrote: Nobody can help This group is for the Android SDK. Try a group or forum dedicated to the SpreadSheet API and library. -

[android-developers] Re: Spinner with added Text

2011-04-18 Thread Kenny Riddile
On 4/18/2011 1:13 PM, Kumar Bibek wrote: You cant do that with a spinner. Are you so sure? I believe spinners can be populated both manually and from a database. Just google android dynamic spinner content. Here's one:

Re: [android-developers] Spinner with added Text

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 12:10 PM, New Developer secur...@isscp.com wrote: Using a Spinner how do I type in the new name and it is added to the drop down list? One of you spinner items could be Add New Calendar... Clicking this you popup a dialog with an EditText. When user hits OK, you pass

[android-developers] how to set permission for changing wallpaper

2011-04-18 Thread kumar Gaurav
i'm using following code in manifest for getting permission for changing wallpaper ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.and.third android:versionCode=1 android:versionName=1.0 uses-sdk

[android-developers] Purchasing a phone for development

2011-04-18 Thread droid-stricken
Hi All, I finally put together some change to be able to afford a device for purely development purpose. I would appreciate which phone/device you would recommend that gives the best bang for the buck and can be used for as long as possible without any issues for future firmware upgrades. Also,

Re: [android-developers] Re: Spinner with added Text

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 12:21 PM, Kenny Riddile kfridd...@gmail.com wrote: On 4/18/2011 1:13 PM, Kumar Bibek wrote: You cant do that with a spinner. Are you so sure? Probably meant the typing into the spinner part. That you can't do.

Re: [android-developers] Purchasing a phone for development

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 12:44 PM, droid-stricken harik...@gmail.com wrote: Any tips greatly appreciated. Search this group. Which phone to get for development? comes up a lot. - TreKing

Re: [android-developers] problem in pie chart coding

2011-04-18 Thread Siva Kannabiran
The colors which i need are green blue and red i tried using the following line but the result is to be the same Item.Color = 0xff00+ 0x5BC639 + 0xC6393C + 0x3D39C6; and i tried the following lines and it shows error in the values Item.Color = 0xff00+ 5BC639 +

[android-developers] Charging for updates in Android market - officially announced but can't find how to enable/use it?

2011-04-18 Thread MB
Hi, The following post on the official blog mentions that developers can charge for updates. But I am unable to find any option/documentation in the market console regarding that. http://android-developers.blogspot.com/2011/02/new-merchandising-and-billing-features.html I would really

Re: [android-developers] problem in pie chart coding

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 12:57 PM, Siva Kannabiran sivasanka...@gmail.comwrote: The colors which i need are green blue and red Wait ... are you expecting to set *one* color attribute to 3 different colors at the same time?

Re: [android-developers] Charging for updates in Android market - officially announced but can't find how to enable/use it?

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 1:03 PM, MB manoj.bi...@gmail.com wrote: The following post on the official blog mentions that developers can charge for updates. Can you quote where it says that? But I am unable to find any option/documentation in the market console regarding that. Because it

Re: [android-developers] Charging for updates in Android market - officially announced but can't find how to enable/use it?

2011-04-18 Thread Kostya Vasilyev
The blog post says this, referring to in-app billing: This new service gives developers more ways to monetize their applications through new billing models including try-and-buy, virtual goods, *upgrades*, and more. There is no support for a trial period (called try-and-buy here) either.

[android-developers] Implement two searchable activities

2011-04-18 Thread faah
Hi, I am trying to implement two different searchable activities, one for honeycomb(with search widget) and others for non-honeycomb(with search dialog). Manifest looks like: activity android:name=.activities.Search android:theme=@style/NoTitleTheme

Re: [android-developers] how to set permission for changing wallpaper

2011-04-18 Thread Dianne Hackborn
Don't do this: permission android:protectionLevel=normal android:name=android.permission.SET_WALLPAPER /permission You are trying to declare your own wallpaper permission, overriding the platform's. The platform wouldn't be happy with this. -- Dianne Hackborn Android framework engineer

[android-developers] Transparent control on camera viewfinder

2011-04-18 Thread Peter Staab
Hi, I want to place a scrollable list in the center (landscape mode) over a camera preview (viewfinder). Is there already a control available in the SDK which can be used for this purpose? Regards, -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Charging for updates in Android market - officially announced but can't find how to enable/use it?

2011-04-18 Thread TreKing
On Mon, Apr 18, 2011 at 1:16 PM, Kostya Vasilyev kmans...@gmail.com wrote: The blog post says this, referring to in-app billing: This new service gives developers more ways to monetize their applications through new billing models including try-and-buy, virtual goods, *upgrades*, and more.

[android-developers] Re: Programmatically play DTMF tones during a call

2011-04-18 Thread keithfry
Takeyuki - from documentation on ToneGenerator: This API is not for generating tones over the uplink audio path. As such, it won't work for me. Thanks though. Keith On Apr 16, 7:05 am, Takeyuki UEDA grenouill.v...@gmail.com wrote: How about ToneGenerator?

Re: [android-developers] problem in pie chart coding

2011-04-18 Thread Siva Kannabiran
The following is the original code line Item.Color = 0xff00 +256*256*mNumGen.nextInt(256) + 256*mNumGen.nextInt(256) + mNumGen.nextInt(256); for this line the output will be as the attached file image1.png. Now i am trying to change the colors to be as green, blue and red. I am not able

Re: [android-developers] Charging for updates in Android market - officially announced but can't find how to enable/use it?

2011-04-18 Thread Kostya Vasilyev
18.04.2011 22:25, TreKing ?: This new service gives developers more ways to monetize their applications through new billing models including try-and-buy, virtual goods, *upgrades*, and more. Exactly. *Upgrade* (like buying an extra feature) != *Update* (like getting a new

Re: [android-developers] gamepad events in InputEvent onKeyDown event

2011-04-18 Thread Hardik Belani
Is there a way i can read /dev/input/event file and generate key stokes? Regards, Hardik On Sun, Apr 17, 2011 at 6:39 AM, Dianne Hackborn hack...@android.comwrote: Game pads are not currently supported. On Sat, Apr 16, 2011 at 12:56 PM, Belani hardikbel...@gmail.com wrote: When I

Re: [android-developers] Transparent control on camera viewfinder

2011-04-18 Thread Mark Murphy
On Mon, Apr 18, 2011 at 2:21 PM, Peter Staab pixst...@gmx.net wrote: I want to place a scrollable list in the center (landscape mode) over a camera preview (viewfinder). Is there already a control available in the SDK which can be used for this purpose? ListView is a scrollable list:

  1   2   >