[android-developers] Android -- the forgotten "real" fragmentation

2011-08-02 Thread Zsolt Vasvari
There is a lot of FUD about Android fragmenation. The vast majority of the issue mentioned can be dealt with with properly following the guidelines, but there is one issue that I don't know how to deal with: This forgotten issue is the SQLite versioning problem. For example, if the user moves to

[android-developers] Re: AudioTrack: changing audio while playing

2011-08-02 Thread Doug
You probably just need to google for libraries that process PCM data to apply effects. What you're asking is not specific to Android, since AudioTrack and AudioRecord just deal with raw PCM data. Doug On Aug 2, 6:17 am, nicoletto wrote: > Hi there, > I've spent days already trying to sort out t

[android-developers] Socket Programming

2011-08-02 Thread Perumss Naren
Hi, I have a task that need to make a udp Socket connection to find the printer device which connected in the socket can any one help how to start. Thanks in Advance!! -- Regards, Perumal.N -- You received this message because you are subscribed to the Google Groups "Android Develope

Re: [android-developers] Re: Detect a NFC tag removal

2011-08-02 Thread suneel kumar
Dear all, I required ADB drivers for Samsung Google Nexus S mobile. Please provide the link or send the attachment. thanks suneel On Tue, Aug 2, 2011 at 11:01 PM, JIG wrote: > Thanks Android user i used that code and it was work! > > On Aug 2, 11:46 am, android user wrote: > > Hello Dav

[android-developers] How to make icon of app on desktop? Problems with WebView

2011-08-02 Thread Vladimir Svydenko
Hi, guys! In my app I have one activity with WebView. When I push Home button and then click on icon my app -- web page do not reload - it is good. But in code I create icon manually: private void createIcon(int iconId){ final Intent shortcutIntent = new Intent(Intent.ACTION_M

[android-developers] Strange service unbind behavior

2011-08-02 Thread bburd
I've created a REALLY simple service and a really simple client. But, I see some strange behavior. After I call unbindService and the service's onDestroy method is called (as evidenced by a log message or toast), I can still query the service. 1. When the service and client are bound, I can't se

[android-developers] update spinner in tab

2011-08-02 Thread Dev_red
hi i am having two tabs tab1 and tab2. the tab2 spinner dropdown list should get update when i click on tab1 button. -- 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: ocr implementation with android

2011-08-02 Thread Nikolay
Hello Barun, My name is Nikolay Khlebinskiy, I work @ ABBYY. If you are planning commercial usage of your software, you may want to look at our ABBYY Mobile OCR Engine (http://www.abbyy.com/mobileocr/). It supports Android OS and it’s free to try. Feel free to contact me if you have any questions.

[android-developers] Re: Sending intent between two activities

2011-08-02 Thread Shabu Thomas
I got it!! If I use FLAG_ACTIVITY_CLEAR_TOP all activities on the top of the activity to be launched will be destroyed. That should not be happened in my case. Instead of destroying it, t should be brought back behind the activity launched. so I have to use intent.setFlags(Intent.FLAG_ACTIVITY_REOR

[android-developers] Re: Is it possible to use MonkeyRunner from java

2011-08-02 Thread Karthikeyan R
You can use shutdown() function from AdbBackend On Aug 3, 3:06 am, Nitin Chhabra wrote: > Hi karthik, > > Thanks for the help. I am able to run Monkeyrunner using Java. > But "device.dispose()", does not seem to work, it does not close the > socket connection being made. > > Is there any way arou

[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)

2011-08-02 Thread Mike
You get them from envsetup. Sh -- 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...@googlegroup

Re: [android-developers] Re: Service Implemenration

2011-08-02 Thread Sivaprakash
Great !! So the document says IntentService works as if like "work queue processor" which means queue mechanism is implemented internally and developer need not worry about to control the requests for example if 1000's of intents tries to access it can queue the requests and process them latter? is

Re: [android-developers] Hard Crash (Reboot) in 3.2

2011-08-02 Thread Dianne Hackborn
Thanks, I've filed a bug. On Tue, Aug 2, 2011 at 10:45 AM, Joshua Smith wrote: > Update: We've created a small reproducible test case. Run this code for an > hour (usually less) on a XOOM with 3.2 and you will reboot. > > We haven't gotten lucky enough to get a log, so we cannot be absolutely >

Re: [android-developers] Install .apk without User action

2011-08-02 Thread Dianne Hackborn
You can't introduce anything new to the manifest: no new activities, no new services (which means no new IME, live wallpaper, etc), no new receivers (thus no new app widgets, device admins, etc), no new content providers. On Tue, Aug 2, 2011 at 8:30 PM, Chris Stratton wrote: > On Tuesday, August

Re: [android-developers] Google Map Road Showing In Dev But not When Signed for Deployment

2011-08-02 Thread usafrmajor
Yep, that was it. Thanks Just wondering, is it possible to have both keys for the map view active? I am assuming not, but thought I would ask just in case I could some way -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: TabHost with ListViews - Accessing elements

2011-08-02 Thread RobinDroid
Is that really necessary because your tabhost has view content and on that content you have ure listview? So why not use your tabhost content view for that particular tab. On Aug 3, 4:13 am, Giorgio Torres wrote: > Hi, I have a TabHost that hosts 4 ListViews with some elements. > > I would like t

[android-developers] Re: Issues with CheckBox setting checBox ID in a ListView

2011-08-02 Thread RobinDroid
Any hints on this? On Aug 2, 6:07 pm, RobinDroid wrote: > Actually my listview is as: > After refresh is clicked and the checkbox is invisible > - > Fruit Name: Apple > Type: Sweet Apple > - > Fruit Name: Mango > Type: Sweet Mango >

Re: [android-developers] Install .apk without User action

2011-08-02 Thread Chris Stratton
On Tuesday, August 2, 2011 6:17:53 PM UTC-4, Dianne Hackborn wrote: > > That isn't the same thing. It still can't do anything more than the > permissions you allowed it. > That's why I said "additional code operating within its current permissions limits" > NDK or Java is irrelevant -- you

Re: [android-developers] Google Map Road Showing In Dev But not When Signed for Deployment

2011-08-02 Thread TreKing
On Tue, Aug 2, 2011 at 10:11 PM, usafrmajor wrote: > Can anyone tell me what may be going wrong? You didn't get a new map key for your release / signing key. - TreKing

Re: [android-developers] Google Map Road Showing In Dev But not When Signed for Deployment

2011-08-02 Thread Brad Gies
You're probably using your development map key. You need another key for your prod app. Sincerely, Brad Gies --- MaxHOMEValue.com Kelowna, British Columbia, Canada email: bg...@maxhomevalue.com http://maxhomevalue.com ht

[android-developers] Sending intent between two activities

2011-08-02 Thread Shabu Thomas
In my application, activity A is the default one and I have created another activity B. There is a button in each activity. On click event of the button, the other activity should be brought to front. So, for the first click, the activity will be created (OnCreate will be called) and for the subse

[android-developers] Google Map Road Showing In Dev But not When Signed for Deployment

2011-08-02 Thread usafrmajor
I have an application that used Google Maps. When I am developing and installing on my device the roads and such are displayed when I open a map, however when I sign the app and deploy on the Android Market all I see is a dashed grid, that is no roads or other map objects. However, my custom

[android-developers] Re: An apps that will make a call

2011-08-02 Thread gjs
Hi, See intent action call - http://developer.android.com/guide/appendix/g-app-intents.html Regards On Aug 2, 9:10 pm, Sahi wrote: > Hi, > I want to develop an application for android that will make a call, > Actually, I want to do this for learning the basics, of android call > making, and wa

[android-developers] Re: how to use setPreviewCallbackWithBuffer() for real-time camera processing

2011-08-02 Thread gjs
Hi, Try reviewing the source code for the zxing project it processes camera preview frames - http://code.google.com/p/zxing/ Regards On Aug 2, 9:55 pm, Zohob wrote: > I am experiencing the same problem: the callback is only called once. > Did you find a solution for this? > > My current hypot

[android-developers] Re: bitmap cache

2011-08-02 Thread Dinko Chong
I think it's a bug , the only way you can clean you cache is to delete these pics all by yourself -- 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 t

[android-developers] Re: XML attributes about childViews

2011-08-02 Thread Dinko Chong
anybody knows ?? -- 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 use Camera setPreviewCallback listener?

2011-08-02 Thread gjs
hi, TCP IP sockets - http://developer.android.com/reference/javax/net/ServerSocketFactory.html http://developer.android.com/reference/javax/net/SocketFactory.html http://developer.android.com/reference/java/net/Socket.html regards On Aug 3, 12:42 am, TurboMan wrote: > Any idea, how to transf

Re: [android-developers] HELP!!! Anyone know about streams real time video from an android to Facebook, and/or our own server????

2011-08-02 Thread Nick Risaro
Or use UStram On Tue, Aug 2, 2011 at 9:36 PM, TreKing wrote: > On Tue, Aug 2, 2011 at 3:12 PM, Morning Glorie wrote: > >> I just use it not developer ; ( >> >> We would like to create an Android application by using JAVA programming >> language(or other) that streams real time video from a mobil

[android-developers] Re: Image buttons selector XML - how to align with phone's original theme?

2011-08-02 Thread Eric
Any idea? Is it possible to simulate a button click and the app captures the color of the pressed button? 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

Re: [android-developers] HELP!!! Anyone know about streams real time video from an android to Facebook, and/or our own server????

2011-08-02 Thread TreKing
On Tue, Aug 2, 2011 at 3:12 PM, Morning Glorie wrote: > I just use it not developer ; ( > > We would like to create an Android application by using JAVA programming > language(or other) that streams real time video from a mobile phone to, if > possible, Facebook, and/or our own server. > > anyone

Re: [android-developers] Java Color Coding Issue

2011-08-02 Thread TreKing
On Tue, Aug 2, 2011 at 2:11 PM, CaRRtel Industres < carrtelindustr...@gmail.com> wrote: > I am currently trying to take a button and have it's function be that each > time it is pressed the linear layout background changes to a random color. > Does anyone know of a way i can do this? It doesn't se

Re: [android-developers] can we detect tablets and mobiles in android programmaticaly.

2011-08-02 Thread TreKing
On Tue, Aug 2, 2011 at 11:24 AM, arun joshi wrote: > How can do this, any ideas or help are welcome. Your app shouldn't care. What is a "mobile" type versus a "tablet" type, to you? - TreKing

Re: [android-developers] Maths App

2011-08-02 Thread TreKing
On Tue, Aug 2, 2011 at 9:00 AM, Gaurav Agarwal wrote: > Please suggest. Please explain. - TreKing - Chicago transit tracking app for Android-power

[android-developers] Re: bitmap cache

2011-08-02 Thread Streets Of Boston
That's a bug in Zynga, it seems. They need to store these pics in a *private *folder (i.e. in a folder on your SD-card whose name starts with a period '.'). File a bug report with Zynga and ask them to fix it. -- You received this message because you are subscribed to the Google Groups "Android

Re: [android-developers] Custom RatingBar Implementation

2011-08-02 Thread Tor Norbye
See the solution listed in http://code.google.com/p/android/issues/detail?id=18659 (and in particular see Xav's comment, #8). -- Tor On Tue, Aug 2, 2011 at 12:10 PM, Saulo Aguiar wrote: > Hi all, > i followed this article Pretty Rating Bar and it's working fine when i > extends the @android:styl

Re: [android-developers] How to pass data from service back to the activity that started it

2011-08-02 Thread Mark Murphy
Use a broadcast Intent, or a Messenger, or pass a listener if you are using the binding pattern, or use a PendingIntent (e.g., createPendingResult()), or... On Tue, Aug 2, 2011 at 3:42 PM, Urooj Haq wrote: > I am new to Android and wanted to check how to pass data from a > service back to the act

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

2011-08-02 Thread Mark Murphy
On Tue, Aug 2, 2011 at 4:44 PM, billgockeler wrote: > First of all, thanks for your contributions to this and all the other > groups you post to. I have benefited from your discussions, examples, > etc. many times. Thanks! > This one caught my eyebecause I was planning on doing it in an app

[android-developers] bitmap cache

2011-08-02 Thread maddog718
Hi! I went to look at my pics on my phone and there was a folder with over 1300 images of people I don't know. I play zynga poker on my phone a lot & I figured out that these pics were of all the people I have been at a table with. Why does it save these & how do I make it stop??? -- You received

[android-developers] Start a broadcastReceiver from an activty

2011-08-02 Thread Victor Basurto
I need to transfer some values from a broadcastReceiver, this values i want to use in an activity, this values refresh in a continuos way, how could i do this?? THANKS -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] gTalk not working with bluetooth

2011-08-02 Thread Jing Wang
It is good that SIP stack (over Wifi) and gTalk are added to Gingerbread. But so far gTalk audio is not routed to bluetooth. Meantime, I see SipPhone is added to frameworks/base/telephony/java/ com/android/internal/telephony. But the code is not completed yet. If CallManager manages SipPhone in

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

2011-08-02 Thread billgockeler
Mark, First of all, thanks for your contributions to this and all the other groups you post to. I have benefited from your discussions, examples, etc. many times. This one caught my eyebecause I was planning on doing it in an app I'm currently developingsubclassing ActivityGroup to allow

[android-developers] HELP!!! Anyone know about streams real time video from an android to Facebook, and/or our own server????

2011-08-02 Thread Morning Glorie
I got project to create Real-Time Mobile Video Streaming Android app BUT!!! i don't have any ideas about android everything. I just use it not developer ; ( We would like to create an Android application by using JAVA programming language(or other) that streams real time video from a mobile phon

[android-developers] How to pass data from service back to the activity that started it

2011-08-02 Thread Urooj Haq
I am new to Android and wanted to check how to pass data from a service back to the activity which started the service. -- 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] Java Color Coding Issue

2011-08-02 Thread CaRRtel Industres
I am currently trying to take a button and have it's function be that each time it is pressed the linear layout background changes to a random color. Does anyone know of a way i can do this? It doesn't seem like it should be that complicated. -- You received this message because you are subscribe

[android-developers] Custom RatingBar Implementation

2011-08-02 Thread Saulo Aguiar
Hi all, i followed this article Pretty Rating Bar and it's working fine when i extends the @android:style/Widget.RatingBar. But when i try to extend the @android:style/Widget.RatingBar.Small the eclipse IDE points an error saying that are 'no r

Re: [android-developers] Hard Crash (Reboot) in 3.2

2011-08-02 Thread Joshua Smith
Update: We've created a small reproducible test case. Run this code for an hour (usually less) on a XOOM with 3.2 and you will reboot. We haven't gotten lucky enough to get a log, so we cannot be absolutely certain that this reboot is the same one we're hitting, but it probably is. Who do I se

[android-developers] Re: Detect a NFC tag removal

2011-08-02 Thread JIG
Thanks Android user i used that code and it was work! On Aug 2, 11:46 am, android user wrote: > Hello David, > Here is some code > try { >                 tag.connect(); >                         if(tag.isConnected() && tag.isWritable()){ >                                 tag.writeNdefMessage(mes

[android-developers] Re: Advanced Android training

2011-08-02 Thread pooja nair
Hi, Our compnay is an IT Consulting company and we specialise in mobile application development concentrating on Android application development in San francisco bay area. We do remote training as well and its a 2 week course 5 days a week, 2 hours every day from 6:60 pm to 8:30 pm pacific time. We

Re: [android-developers] Advanced Android training

2011-08-02 Thread Feras Aldahlawi
How about Seattle WA area? Anyone knows place for training? -- 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-devel

[android-developers] can we detect tablets and mobiles in android programmaticaly.

2011-08-02 Thread arun joshi
hello all, i am working on a project in which i had to detect the type of device whether it is of type mobile or tablets which will avail this application. How can do this, any ideas or help are welcome. Thanks. -- You received this message because you are subscribed to the Google G

[android-developers] Maths App

2011-08-02 Thread Gaurav Agarwal
I want to develop an Maths App but couldn't figure out how give user space for rough work. Please suggest. -- Many thanks and regards Gaurav Agarwal 99249 60088 *Disclaimer:* *The information contained in this communication is intended solely for the use of the individual or entity to whom it

[android-developers] Re: ocr implementation with android

2011-08-02 Thread Nikolay
Hello Barun, My name is Nikolay Khlebinskiy, I work @ ABBYY. If you are planning commercial usage of your software, you may want to look at our ABBYY Mobile OCR Engine. It supports Android OS and it’s free to try. Feel free to contact me if you have any questions. Best regards, Nikolay. On Jul

[android-developers] Re: Tamil unicode for Android users - project working!!

2011-08-02 Thread xkrishx
and I didn't ask for YOUR reply anyway... read carefully!!! oh btw im polite enough On Aug 1, 11:54 am, srihari babu wrote: > I don't need it. > > On Jul 30, 9:29 pm, xkrishx wrote: > > > > > > > > > Hi, > > > it seems everyone is waiting for the Unicode support for Android > > phones. I'm devel

[android-developers] TabHost with ListViews - Accessing elements

2011-08-02 Thread Giorgio Torres
Hi, I have a TabHost that hosts 4 ListViews with some elements. I would like to know if it is possible to access those elements from the tabHost object. Exemplifying, i would like something like that: tab(0).getListViewElement(2).findViewById(R.id.name_textview) where tab(0) returns the first

Re: [android-developers] Install .apk without User action

2011-08-02 Thread Dianne Hackborn
That isn't the same thing. It still can't do anything more than the permissions you allowed it. NDK or Java is irrelevant -- you could just have a little scripting engine and download code for it. Or whatever. Trying to prevent apps from doing dynamic code execution is kind-of a doomed battle.

Re: [android-developers] Forgot how to log in to update my app.

2011-08-02 Thread Tobiah
On 08/02/2011 02:31 PM, Mark Murphy wrote: On Tue, Aug 2, 2011 at 4:19 PM, Tobiah wrote: That sounds like you have a Google Apps for Business account. You will need to manage that domain and add support for the Android Market. It may be, but I have already made several updates to the app - ju

[android-developers] Re: Service Implemenration

2011-08-02 Thread dnkoutso
Use an IntentService. It is much easier and less to worry about. It will come up, do the work in a worker thread and then die automatically when the work is done. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

Re: [android-developers] Re: How Android Market's OTA works?

2011-08-02 Thread Jose_GD
That explains why my Eclair phone receives the app installation "tickle" from the Market webapp. Dianne, please correct me if I'm wrong: 1) The foundation for C2DM was always present in Android, Google apps used the mechanism since the beginning, and was made available to developers since Froy

[android-developers] Re: Is it possible to use MonkeyRunner from java

2011-08-02 Thread Nitin Chhabra
Hi karthik, Thanks for the help. I am able to run Monkeyrunner using Java. But "device.dispose()", does not seem to work, it does not close the socket connection being made. Is there any way around to disconnect my MonkeyRunner from the device? On Aug 2, 2:41 am, CCN CCN wrote: > Hi Karthikeya

Re: [android-developers] Forgot how to log in to update my app.

2011-08-02 Thread Mark Murphy
On Tue, Aug 2, 2011 at 4:19 PM, Tobiah wrote: >> That sounds like you have a Google Apps for Business account. You will >> need to manage that domain and add support for the Android Market. > > It may be, but I have already made several updates to the app - > just not recently.  Would it make sens

[android-developers] Re: ACTION_SEND Image from Memory?

2011-08-02 Thread Sheado
bump =] On Aug 1, 7:29 pm, Sheado wrote: > Hi All, > > Is it possible to create anACTION_SENDIntent and ContentProvider to > send a compressed image directly from memory? > > I want to avoid having to the save the image to the SD card and then > sharing it via its URI. Instead I would like to wri

Re: [android-developers] Re: instantiating widgets from an xml layout within a custom View class leads to nullpointerexception

2011-08-02 Thread Kostya Vasilyev
http://developer.android.com/reference/android/view/View.html#onFinishInflate() >> Finalize inflating a view from XML. This is called as the last phase of inflation, after all child views have been added. Even if the subclass overrides onFinishInflate, they should always be sure to call the

[android-developers] Re: instantiating widgets from an xml layout within a custom View class leads to nullpointerexception

2011-08-02 Thread CresCoJeff
I thought I was setting up the layout for the custom view class with this: private Button anotherB; ... anotherB = (Button) findViewById(R.id.nextbutton); What should I add to make CustomView 'aware' of its elements? Is it necessary to use the LayoutInflater class perhaps? thanks, Jeff On Aug

[android-developers] textview catching onclick?

2011-08-02 Thread RichardLalancette.Blogspot.com
Hi Guys, for some reason, a textview I have inside a layout is catching the onclick event and won't let it pass to the parent view. I would like to stop categoryname from catching events so the underlying controls can handle it. Any idea? The following layout is 5 times in another layout. htt

Re: [android-developers] Forgot how to log in to update my app.

2011-08-02 Thread Tobiah
On 08/02/2011 01:11 PM, Mark Murphy wrote: On Tue, Aug 2, 2011 at 4:08 PM, Tobiah wrote: Any that I am successful at logging in, tell me that the market service is not available with that account. That sounds like you have a Google Apps for Business account. You will need to manage that domai

Re: [android-developers] Forgot how to log in to update my app.

2011-08-02 Thread Mark Murphy
On Tue, Aug 2, 2011 at 4:08 PM, Tobiah wrote: > Any that I am successful at logging in, tell me that the > market service is not available with that account. That sounds like you have a Google Apps for Business account. You will need to manage that domain and add support for the Android Market.

[android-developers] Forgot how to log in to update my app.

2011-08-02 Thread Tobiah
I uploaded an app a couple of months ago, and it's in the market. I want to update it now. I tried: http://market.android.com/publish I get a login box, and I've tried for a couple of days to log in with what I think might have been the account that I used to publish. I only have a few possib

Re: [android-developers] instantiating widgets from an xml layout within a custom View class leads to nullpointerexception

2011-08-02 Thread Kumar Bibek
Your CustomView implementation is a bit skewed. Your button will be null since, the CustomView doesn't yet know what elements it has. You will need to first setup the layout for this custom view. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Au

Re: [android-developers] Google maps URL

2011-08-02 Thread Mark Murphy
http://developer.android.com/guide/topics/location/obtaining-user-location.html On Tue, Aug 2, 2011 at 3:50 PM, Duygu Kahraman wrote: > ın my application i want to get my current location with GPS but i dont want > to show maps in my screen just get it.And than i want to send email > but i dont w

Re: [android-developers] Google maps URL

2011-08-02 Thread Duygu Kahraman
ın my application i want to get my current location with GPS but i dont want to show maps in my screen just get it.And than i want to send email but i dont want to send x,y coordinate i want to url like .Ex: http://maps.google.com/ maps?q=40.9287875,29.1664677

[android-developers] Re: instantiating widgets from an xml layout within a custom View class leads to nullpointerexception

2011-08-02 Thread CresCoJeff
My logcat reads as follows: 08-02 15:29:14.310: WARN/dalvikvm(25400): threadid=1: thread exiting with uncaught exception (group=0x40015560) 08-02 15:29:14.314: ERROR/AndroidRuntime(25400): FATAL EXCEPTION: main 08-02 15:29:14.314: ERROR/AndroidRuntime(25400): java.lang.NullPointerException 08-02 1

Re: [android-developers] Google maps URL

2011-08-02 Thread TreKing
On Tue, Aug 2, 2011 at 2:27 PM, Duygu Kahraman wrote: > i want to get my current location with GPS (but i dont want to seem it) > Don't "want to seem it" ? > and than to get information with URL.Ex: > http://maps.google.com/ maps?q=40.9287875,29.1664677 maps?q=40.9287

[android-developers] Google maps URL

2011-08-02 Thread Duygu Kahraman
Hi all; i want to get my current location with GPS (but i dont want to seem it) and than to get information with URL.Ex:http://maps.google.com/ maps?q=40.9287875,29.1664677 Please help me! Duygu Kahraman -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] App Widget stops responding to input after all instances are removed and another added

2011-08-02 Thread Ash McConnell
I am having trouble when I add a one or more instances of my widget to the home screen, remove them all, then add another. Here is the code I use to set the "onClick" intent for each button (button is a resource) protected void matchButtonToAction(Context context, RemoteViews views, String

Re: [android-developers] Install .apk without User action

2011-08-02 Thread Chris Stratton
On Tuesday, August 2, 2011 3:13:26 PM UTC-4, Dianne Hackborn wrote: Also just to confirm -- it is indeed not possible for a third party app to > silently install another third party app. > Though it is possible for a 3rd party app to silently augment its current functionality with additional co

Re: [android-developers] Install .apk without User action

2011-08-02 Thread Dianne Hackborn
No it is not possible to install a *third party* app as non-removable by the user. If you are building your own device, sure, you can put whatever apps you want in the system image and they can't be "uninstalled" by the user because the entire system image is read-only. That is entirely different

Re: [android-developers] INSTALL_REFERRER honeycomb

2011-08-02 Thread Dianne Hackborn
In 3.1 this shouldn't be sent until the user actually launches the app for the first time. On Tue, Aug 2, 2011 at 12:00 PM, Mark wrote: > Does anyone know if something changed with INSTALL_REFERRER on > hoeycomb? Just trying to update some code to work properly on > honeycomb and it doesn't loo

Re: [android-developers] instantiating widgets from an xml layout within a custom View class leads to nullpointerexception

2011-08-02 Thread Kumar Bibek
Your first code is the correct way to initialize stuff. Something else is going wrong. Please post what your logcat says. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Aug 3, 2011 at 12:35 AM, CresCoJeff wrote: > Hi all, > > I am rather new t

[android-developers] instantiating widgets from an xml layout within a custom View class leads to nullpointerexception

2011-08-02 Thread CresCoJeff
Hi all, I am rather new to Android programming in general and am having particular difficulty with the xml/java UI shuffle... I have a layout which I would like to use as the view displayed when a custom, view class is instantiated in the activity class. This much works fine by simply calling set

[android-developers] INSTALL_REFERRER honeycomb

2011-08-02 Thread Mark
Does anyone know if something changed with INSTALL_REFERRER on hoeycomb? Just trying to update some code to work properly on honeycomb and it doesn't look like we are receiving referrer information from the market app on hoeycomb. We might be missing something obvious, but just checking to see if

[android-developers] SurfaceView is sometimes not clipped within the bounds of the parent

2011-08-02 Thread Shri
I have a SurfaceView that is larger than its parent LinearLayout, and I display the camera preview on it. The parent LinearLayout has clipChildren set to true (that is the default value anyway). I get differing behaviors of whether the SurfaceView is clipped by the bounds of the parent LinearLayout

Re: [android-developers] Install .apk without User action

2011-08-02 Thread Jim Graham
On Tue, Aug 02, 2011 at 11:13:43PM +0530, Raghav Sood wrote: > On Tue, Aug 2, 2011 at 11:00 PM, Jim Graham wrote: > > On Tue, Aug 02, 2011 at 09:05:42AM -0700, Chris Stratton wrote: > > > On Tuesday, August 2, 2011 1:17:04 AM UTC-4, Spooky wrote: > > > > and set it so it can't be removed. > > > H

[android-developers] Re: Resource not found exception

2011-08-02 Thread Andy
I clean all projects before releasing the apk. We need to delete the gen directory everytime?? Why would this always perfectly on samsung (I have run the app over 100 times on my samsung and I never get this error on that activity page), but I have seen multiple crash reports - so this is definit

[android-developers] Re: Comms with Intent

2011-08-02 Thread kypriakos
Sure will man thanks. But that was the idea so you were right on! On Aug 2, 10:35 am, Nikolay Elenkov wrote: > On Tue, Aug 2, 2011 at 11:29 PM, kypriakos wrote: > > > Actually one more question - since I want the Activity to keep alive > > with the camera preview on, would the subsequent Intent

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

2011-08-02 Thread Raghav Sood
http://developer.android.com/guide/topics/ui/custom-components.html On Tue, Aug 2, 2011 at 4:40 PM, shubh wrote: > thanks Mark, can u show me way to start it. > > > On Jul 30, 5:16 pm, Mark Murphy wrote: > > You will have to write your own layout manager for that. > > > > > > > > On Sat, Jul 30

Re: [android-developers] Resource not found exception

2011-08-02 Thread Raghav Sood
Try regenerating R.java from scratch. I delete the entire gen folder every now and then and let eclipse recreate the entire R class. Thanks On Tue, Aug 2, 2011 at 9:35 PM, Andy wrote: > > > I am getting weird exception about resource not found crashed reported > in my developer console in a act

Re: [android-developers] Install .apk without User action

2011-08-02 Thread Raghav Sood
@Jim - It would be possible to configure an app to be non-removable by your average user. Of course you can't stop them but AFAIK if the app is installed by the superuser, example the bloatware that comes pre-installed on most devices, then it cannot be uninstalled by anyone except the superuser. N

[android-developers] Re: Openssl for Android (libssl.so and libcrypto.so)

2011-08-02 Thread rickrvo
Anyone can help me? what are the m and mm commands? how Do I get them? -- 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 an

[android-developers] Re: Navigating between dialog and tabs

2011-08-02 Thread Y
Hello all, Does anyone have answers to my question below? I have an app with 4 tabs, with one main activity and with each tab having views as tab content. I have created a custom Dialog (extends Dialog) which is launched in Tab 0. This dialog has a button which when clicked should dismiss the dia

[android-developers] Re: Detect a NFC tag removal

2011-08-02 Thread David P
Hey John, Thanks for that code but what I really need is an example of polling for tag removal detection. On Aug 2, 9:46 am, android user wrote: > Hello David, > Here is some code > try { >                 tag.connect(); >                         if(tag.isConnected() && tag.isWritable()){ >    

Re: [android-developers] Install .apk without User action

2011-08-02 Thread Jim Graham
On Tue, Aug 02, 2011 at 09:05:42AM -0700, Chris Stratton wrote: > On Tuesday, August 2, 2011 1:17:04 AM UTC-4, Spooky wrote: > > > > Install it before the user is given their corporate phone and set it so > > it can't be removed. Of course, you can't prevent them from killing it, > > but that's an

Re: [android-developers] Re: Emulator has Alzheimers (forgets who it is)

2011-08-02 Thread Raghav Sood
I too get some problems with the emulator. I have a MacBook Pro. 1) Sometimes after closing a precious project and working on another one when I use the emulator to test the app it runs the previous projects app. I need to close the emulator and start it thrice to get the right app working. 2) On

Re: [android-developers] profiler

2011-08-02 Thread TreKing
On Tue, Aug 2, 2011 at 11:59 AM, bob wrote: > Is there a profiler or something that can help me see where most time is > being wasted? > http://tinyurl.com/3n3u4bb - TreKing

[android-developers] profiler

2011-08-02 Thread bob
Right now, I wrote a game that runs at about 15 FPS on the Samsung Galaxy S. I think I can up it to 45 FPS with some optimizing. Is there a profiler or something that can help me see where most time is being wasted? Thanks. -- You received this message because you are subscribed to the Google

[android-developers] Re: Detect a NFC tag removal

2011-08-02 Thread android user
Hello David, Here is some code try { tag.connect(); if(tag.isConnected() && tag.isWritable()){ tag.writeNdefMessage(message); tag.close(); } } catch (IOEx

[android-developers] Atul Raut wants to chat

2011-08-02 Thread Atul Raut
--- Atul Raut wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-f1868ff544-286084c085-3uWa71srPkpWWenJ_fKapVhA_cY You'll need

[android-developers] Re: Hyperlink map of Android API classes

2011-08-02 Thread Constantine Shulyupin
http://groups.google.com/group/android-developers/browse_thread/thread/0c733346bb7ba12e# On Tue, Aug 2, 2011 at 7:12 PM, Constantine wrote: > Hi Android developers, > > I am designing map of Android API classes with hyperlinks to > documentation. You can find it > here: http://www.makelinux.net/a

[android-developers] Re: Verification for vibration on devices using API Level within range 4-13

2011-08-02 Thread bbbreimmm
Exactly what I was looking for :D Thank you very much good sir! On 2 août, 11:27, Mark Murphy wrote: > Use conditional class loading to only reference hasVibrator() from > class that will be used on Honeycomb. You can see an example of that > here: > > https://github.com/commonsguy/cw-android/tr

[android-developers] Re: NFC write error handling

2011-08-02 Thread android user
Hello, Thank you for your comment. I tried also using Exception e with try statement and finally also so that the code looks like this: catch (IOException e) { // TODO Auto-generated catch block } catch (FormatException e) { // TODO A

[android-developers] Hyperlink map of Android API classes

2011-08-02 Thread Constantine
Hi Android developers, I am designing map of Android API classes with hyperlinks to documentation. You can find it here: http://www.makelinux.net/android/classes/ What do you think about this map? Have you any ideas how to improve it? Thank you in advance. -- Constantine Shulyupin http://www.Mak

  1   2   3   >