[android-developers] Re: How to delegate layout in an abstract ViewGroup

2011-07-15 Thread Tapomay Dey
O god, ViewStub is declared final. Why??? I can't extend it. How do I reuse it? On Jul 13, 7:14 pm, Tapomay Dey tapomay@gmail.com wrote: Thanks for the ViewStub approach. On Jul 13, 6:08 pm, Kostya Vasilyev kmans...@gmail.com wrote: Yeah, why not? Presumably, you have

[android-developers] Re: BroadcastReceivers and orientation changes

2011-07-15 Thread Hera
Thanks Mark, I no sure about the difference between registering the event on the activity or registering it on the application context, can ´t I pass the broadcastReceiver object thought onRetainNonConfigurationInstance() if I made it on the activity? Another problem would be what happends if I

[android-developers] Send dtmf tone on uplink

2011-07-15 Thread Amit Mangal
Hi Everyone, I want to send dtmf tone 12345 when called party picked up the phone . I am not getting idea from where to start ? is any one can guide me for sending dtmf tone from where to strat ? is it possible on android ? thanks -- You received this message because you are subscribed to

[android-developers] Re: Best way to support mobile app customers

2011-07-15 Thread gjs
Hi, The best way would be in person, especially if you charge by the hour + expenses. I use a website, accessible by pressing an About button within the app + email for semi automated bug reports where user opts to send each email. The Android market allows links to website email the developer

[android-developers] Re: Missing gen folder R.java in googlecode

2011-07-15 Thread mas_apri
I created a new android project from the beginning and manually imported all the resource file source code and the R.java is automatically generated by Eclipse. *wow! lots of manual tasks here, but it works! Thanks, my problem is solved! On Jul 15, 9:47 am, mas_apri aprid...@gmail.com wrote:

[android-developers] Re: What is programming

2011-07-15 Thread gjs
http://en.wikipedia.org/wiki/Computer_programming On Jul 15, 2:20 pm, Conny mcon...@gmail.com wrote: Well, if you have a robot who only knows how to move in 4 directions, you will need to give it a set of instructions to walk to the nearby grocery store and pick up some heavy bags for you and

[android-developers] Gesture Detector

2011-07-15 Thread shanmu nathan
Hi guys, I need on help. I develop a sample application using gesture detector. Its working on api leven 2.1 and 2.2. But its not working on Api level 4.. Can u help me? -- With Regards, SHANMUGANATHAN. A Software Engineer Trainee, Citrisys Solution, Phone: +91.44.22311173 Mail To:

[android-developers] arun

2011-07-15 Thread arun kumar
?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:id=@+id/ll android:background=@drawable/circle6 TextView

[android-developers] background image

2011-07-15 Thread arun kumar
-- Forwarded message -- From: arun kumar arun.kata...@gmail.com Date: Fri, Jul 15, 2011 at 12:45 PM Subject: arun To: android-developers@googlegroups.com ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;

Re: [android-developers] Prompting a user once

2011-07-15 Thread Filip Havlicek
Yes, or a simple static variable if it's the case of a per-instance dialog. 2011/7/15 TreKing treking...@gmail.com On Wed, Jul 13, 2011 at 4:01 PM, elvisdsdev elvisds...@gmail.com wrote: How do I have the app remember that it's already called the AlertDialog and the user's gone through those

Re: [android-developers] arun

2011-07-15 Thread gaurav gupta
Hi Arun, U have to set ur background image for all three screen resolution. Insert your image in drawable-hdpi for 420*800, drawable-mdpi for 320*400, and drawable-ldpi for 240*320. u have to insert three background according to ur screen resolution. i hope it will work for u. On Fri, Jul 15,

[android-developers] Re: Best way to support mobile app customers

2011-07-15 Thread Ali Chousein
I mean how do you show your customer that a WebSite / Facebook or Twitterfeed exists for the app? Maybe you can display the relevant links on an About dialog in your application. -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ Cisco Android

Re: [android-developers] Re: database query

2011-07-15 Thread Filip Havlicek
Actually if you navigate to the SQLite page on Android Developers (by simply using the search bar and the SQL keyword), the Notepad tutorial is mentioned there, so it is nowhere hidden, you just need to use the search and reading skills. 2011/7/15 Indicator Veritatis mej1...@yahoo.com

[android-developers] Re: What is programming

2011-07-15 Thread Ali Chousein
What is programming. Man!!! How soon do you plan to publish your application? -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ Cisco Android marketplace (Chosen for Cisco Cius) https://marketplace.cisco.com/apphq/products/510 -- You received this

[android-developers] android service

2011-07-15 Thread yanamala siddaiah
If service stopped by user or any other situation . I want to start the service again . or user dont want stop the service delete the option to user to stop the service for our app. is there any flags .. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: How to delegate layout in an abstract ViewGroup

2011-07-15 Thread Kostya Vasilyev
You don't need to subclass ViewStub to use it. http://developer.android.com/resources/articles/layout-tricks-stubs.html -- Kostya 15.07.2011 10:02, Tapomay Dey пишет: O god, ViewStub is declared final. Why??? I can't extend it. How do I reuse it? -- Kostya Vasilyev -- You

[android-developers] Weird java.util.Timer behavior in App Widget

2011-07-15 Thread cathal coffey
Hey guys, I have an app widget which looks like this. public class MyWidget extends AppWidgetProvider { public static String ACTION_WIDGET_RECEIVER = ActionReceiverWidget; public Timer timer = new Timer(); public int count = 0; @Override public void

Re: [android-developers] Weird java.util.Timer behavior in App Widget

2011-07-15 Thread Kostya Vasilyev
AppWidgetProvider is a subclass of BroadcastReceiver, and can (and will) be destroyed soon after processing an event. Do not store your data or object references there. -- Kostya Vasilyev 15.07.2011 12:04 пользователь cathal coffey coffey.cat...@gmail.com написал: Hey guys, I have an app

[android-developers] Re: 127.0.0.1 Connection refused when not connected to WiFi

2011-07-15 Thread Uffe
As I mentioned in the original post, I need to use the numeric address. In any case, this is not a name lookup issue. The port is definitely open (verified with netstat), and the behaviour is consistent: WiFi on, connection succeeds; WiFi off, connection refused. I have tested switching the WiFi

[android-developers] ninepatch

2011-07-15 Thread arun kumar
Hi how to make background image as nine patch image. -- 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] arun

2011-07-15 Thread arun kumar
thanks for ur reply. i placed the image in hdpi,ldpi and mdpi..but its getting the same issueor i have to make that image as nine patchhow to make image as ninepatch Thankyou arun -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: To integrate SSL certificate in android app

2011-07-15 Thread Sapna Srivastav
Still no reply. Please help anyone. Its urgent. On Jul 12, 9:41 am, Sapna Srivastav sapna.ari...@gmail.com wrote: Hi In my application, there is need ofSSLcertificateto add and make an https connection in theandroidconnection. I follow the steps from this link  

Re: [android-developers] Re: To integrate SSL certificate in android app

2011-07-15 Thread Kumar Bibek
A simple search would definitely give you some hints. Try those and come back if you have any specific problem. http://stackoverflow.com/questions/995514/https-connection-android Mention a little more about your implementation. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com

[android-developers] How to find the load time of UI

2011-07-15 Thread sreenivas p m
Hi, i want to know time taken to load UI / activity on to UI Thank you... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] the application looks like be forced change the configration after landscape application be called

2011-07-15 Thread cht
when the application running request portrait mode, then start camera or mediaplayer who's screen orientation is landscape mode. when return back to my application, the onSizeChanged method of the application layout view will be called. be the onConfigrationChanged method of the activity is not

Re: [android-developers] arun

2011-07-15 Thread gaurav gupta
Hi Arun, You need to insert images with same name is each drawable , but each image size will change according to their screen resolution. You have to make three images with different sizes but same name. On Fri, Jul 15, 2011 at 2:07 PM, arun kumar arun.kata...@gmail.com wrote: thanks for ur

[android-developers] Re: How to measure activity load time

2011-07-15 Thread sreenivas p m
i am looking for a tool that will do this, because i have a application with more then 100 activity or any method or class in android sdk will help On Jul 15, 7:31 am, TreKing treking...@gmail.com wrote: On Thu, Jul 14, 2011 at 6:34 AM, sreenivas p m sreenivas...@gmail.comwrote: how

[android-developers] Re: ninepatch

2011-07-15 Thread Christine
First read docs, then ask here. http://developer.android.com/guide/developing/tools/draw9patch.html On Jul 15, 10:34 am, arun kumar arun.kata...@gmail.com wrote: Hi how to make background image as nine patch image. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: alert dialog with refreshable listview

2011-07-15 Thread kamiseq
so my final solution is A. create custom adapter based on CursorAdapter (or BaseAdapter) B. create custom row layout in xml and inflate it in adapter C. create AlertDialog and setItem(new CharSeq[0], null) - this will create default list with default look and feel, without this code listView is

[android-developers] Re: android service

2011-07-15 Thread Christine
What exactly do you want to achieve? When the user stops your service, they have a reason to do so, so I don't think the app should automatically restart it. On Jul 15, 9:31 am, yanamala siddaiah siddaiahforj...@gmail.com wrote: If service stopped by user or any other situation . I want to

[android-developers] Style resource parent can be specified with or without @ symbol. Bug or documentation error?

2011-07-15 Thread James
Hi, the documentation for styles states that the parent attribute should start with an @ but it does not seem to be mandatory. http://developer.android.com/guide/topics/resources/style-resource.html parent=@[package:]style/style_to_inherit However looking at iosched app it never uses this

Re: [android-developers] Re: How to measure activity load time

2011-07-15 Thread Filip Havlicek
I'm not sure about the others, but I have a really bad feeling about an application with more than 100 Activities. 2011/7/15 sreenivas p m sreenivas...@gmail.com i am looking for a tool that will do this, because i have a application with more then 100 activity or any method or class in

[android-developers] image view listener

2011-07-15 Thread arun kumar
Hi am having two image one is placed rightside and other is placed leftside to the layout when i click on image 1 image 3 has to display inbetween image 1 and image 2similarly when i click on image 2... image 4 has to display inbetween image1 and image2 for me here when i

[android-developers] popupwindow on onCreate()

2011-07-15 Thread bhavani sankari
Hi All, I am displaying a popwindow onCreate() of an Activity A.When launching Activity A from Activity B am getting this popupwindow?...I dont want this behaviour Any ideas? Regards Bhavani -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Take low Resolution Image

2011-07-15 Thread Ankit Kasliwal
Hello Every One, I am trying to click image in my application and send it to over server in Bytes so please help coz i need Low resolution image and send it to server in small bytes. but my current code click image and convert it in bytes but the image size may be big. I

Re: [android-developers] popupwindow on onCreate()

2011-07-15 Thread Filip Havlicek
Insert some extra to the Intent indicating you don't want to show the popup? 2011/7/15 bhavani sankari bhavani...@gmail.com Hi All, I am displaying a popwindow onCreate() of an Activity A.When launching Activity A from Activity B am getting this popupwindow?...I dont want this behaviour

[android-developers] Gridview row background

2011-07-15 Thread vani reddy
Hi all, How to set the background for a particular row in gridview in android. i reffered the below link -- Regards, Vani Reddy -- 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] sendBroadcast vs ContentProvider

2011-07-15 Thread sriram
Hi , I have a scenario where data needs to be continously exchanged between two applications or rather, one application acts as the data provider and the other simply uses it. I am thinking of two possible solutions, 1. Use the sendBroadcast() - broadcast a app-directed intent with the specific

[android-developers] How to Delay between Two frames in Frame-By-Frame Animation

2011-07-15 Thread Devon Smith
Now I have four Images and I have applied frame animation on these four images 1.one 2.two 3.three 4.Go I want to give a time delay between three and Go frame which would be a random time. Here is my code int d=5000; AnimationDrawable drawable=new AnimationDrawable();

[android-developers] Re: In-app billing. How to store information about transactions of unmanaged products?

2011-07-15 Thread Mc Bell
On 15 июл, 04:20, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Use REQUEST_ID to link orders to your custom information? Thanks for your answer. But I don't realy understand how could I use REQUEST_ID. As I see REQUEST_ID is unique for every new request. I need to associate REQUEST_ID of

Re: [android-developers] Re: alert dialog with refreshable listview

2011-07-15 Thread Kostya Vasilyev
Not sure why you need step C. Other than that, yes, AlertDialog has a getListView method, which you can call from onPrepareDialog, get the adapter, and tell it about the new data. -- Kostya 15.07.2011 13:44, kamiseq пишет: so my final solution is A. create custom adapter based on

Re: [android-developers] Re: How to measure activity load time

2011-07-15 Thread Kostya Vasilyev
Fine with me - as long as each activity has an image of a Korean girl in a bikini :) 15.07.2011 13:50, Filip Havlicek ?: I'm not sure about the others, but I have a really bad feeling about an application with more than 100 Activities. 2011/7/15 sreenivas p m sreenivas.pm

Re: [android-developers] Re: BroadcastReceivers and orientation changes

2011-07-15 Thread Mark Murphy
On Fri, Jul 15, 2011 at 2:17 AM, Hera aide...@gmail.com wrote: Thanks Mark, I no sure about the difference between registering the event on the activity or registering it on the application context, can ´t I pass the broadcastReceiver object thought onRetainNonConfigurationInstance() if I made

[android-developers] Image Issue Please help me

2011-07-15 Thread Ankit Kasliwal
Hello Everyone, Is there anyway to reduce the resolution of picture taken using camera? It takes long time to upload the image to server Coz i m converting the image in bytes and send to server and may be the size of image may be 3 MB. Here is my code which i use. SurfaceHolder.Callback

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

2011-07-15 Thread Mark Murphy
On Fri, Jul 15, 2011 at 2:32 AM, Amit Mangal forum.amit.man...@gmail.com wrote: I want to send dtmf tone 12345 when called party picked up the phone . I am not getting idea from where to start ? is any one can guide me for sending dtmf tone from where to strat ? is it possible on android ?

Re: [android-developers] Re: In-app billing. How to store information about transactions of unmanaged products?

2011-07-15 Thread Kostya Vasilyev
The Order ID is available as well - and that doesn't change once you get one that goes through. 15.07.2011 15:03, Mc Bell пишет: On 15 июл, 04:20, Nikolay Elenkovnikolay.elen...@gmail.com wrote: Use REQUEST_ID to link orders to your custom information? Thanks for your answer. But I don't

[android-developers] Fwd: Gridview row background

2011-07-15 Thread vani reddy
Hi all, How to set the background for a particular row in gridview in android. i referred the below link http://erikw.eu/?p=77 -- Regards, Vani Reddy -- 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] sendBroadcast vs ContentProvider

2011-07-15 Thread Kostya Vasilyev
A ContentProvider doesn't have to be SQL based - you can store the data in memory, as long as you use a Cursor subclass that's not SQL based either. What is a very long String? Depending on your data size, you may want to use Messenger:

[android-developers] How to highlight specific date in calendar view?

2011-07-15 Thread vijayakumar M
Hi Frnds, I have list of specific date.. then How to highlight that specific date in calendar view? Thanks -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ -- You

[android-developers] Re: Weird java.util.Timer behavior in App Widget

2011-07-15 Thread cathal coffey
Thanks Kostya but where should I store my objects? Is the correct approach to spawn a service and store my objects there? -- 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: In-app billing. How to store information about transactions of unmanaged products?

2011-07-15 Thread Mc Bell
On 15 июл, 14:11, Kostya Vasilyev kmans...@gmail.com wrote: The Order ID is available as well - and that doesn't change once you get one that goes through. But I don't have order id at the moment when I need to store my additional information) And I don't have additional information when I

Re: [android-developers] Re: Weird java.util.Timer behavior in App Widget

2011-07-15 Thread Kostya Vasilyev
A service can get killed too, and I don't think you'd want a foreground-class service just to update your widget. The usual solution is to use AlarmManager, possibly combined with a service, or not. Keep in mind that updating a widget every few seconds can be a huge battery drain, no matter

Re: [android-developers] How to highlight specific date in calendar view?

2011-07-15 Thread Mark Murphy
I have not used CalendarView, but it would appear that you should call setDate(). On Fri, Jul 15, 2011 at 7:22 AM, vijayakumar M iamvijayaku...@gmail.comwrote: Hi Frnds, I have list of specific date.. then How to highlight that specific date in calendar view? Thanks -- Nobody can go

[android-developers] Re: In-app billing. How to store information about transactions of unmanaged products?

2011-07-15 Thread Mc Bell
On 15 июл, 14:35, Kostya Vasilyev kmans...@gmail.com wrote: Have you considered using the |DEVELOPER_PAYLOAD |field? You've got a point! I didn't think about developer_payload... That might help. I'll try to use this. Thanks for your advice! -- You received this message because you are

Re: [android-developers] Re: In-app billing. How to store information about transactions of unmanaged products?

2011-07-15 Thread Kostya Vasilyev
Have you considered using the |DEVELOPER_PAYLOAD |field? http://developer.android.com/guide/market/billing/billing_reference.html 15.07.2011 15:30, Mc Bell пишет: On 15 июл, 14:11, Kostya Vasilyevkmans...@gmail.com wrote: The Order ID is available as well - and that doesn't change once you

[android-developers] android service

2011-07-15 Thread rich friedel
You cannot hide stopping a service... all one has to do is close it from the settings. Also restarting a service after the user explicity shut it down will quickly turn users away from your application. You can flag the service for restart after the system shuts it down by using the

[android-developers] Display on Screen

2011-07-15 Thread kirti waykole
hello all, I am new in android . I want display all data from database. i am not using any gridview.on plan Screen i want display all data from database. How should i do this . plz guide me. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] android service

2011-07-15 Thread Perumss Naren
Hi yanamala , ya we can achieve that by Boolean flag the scenario of service can destroy are: 1. when user itself can stop the service by settings- application settings - Running service- then your app service 2. when the mobile

[android-developers] Re: Querying the max value of a column in SQLite For Android.

2011-07-15 Thread lbendlin
why are you asking for index -1? You should ask for the first row which has the index of 0. -- 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] Display on Screen

2011-07-15 Thread mayank k varshney
use sql lite to save data check for Databasehelper and sqllite data base classes of android and use list view to display the data on UI search for tutorials of sql lite and list view On Fri, Jul 15, 2011 at 5:41 PM, kirti waykole kirti.carr...@gmail.comwrote: hello all, I am new in android .

Re: [android-developers] Re: Querying the max value of a column in SQLite For Android.

2011-07-15 Thread ilcredo
No, i just execute a query. The result is an cursors which has the index -1.I think is due to a malformed query. Well i guess i should dig more in SQLite to find the answer. Thank you for reply. On Fri, Jul 15, 2011 at 3:26 PM, lbendlin l...@bendlin.us wrote: why are you asking for index -1?

Re: [android-developers] Re: Querying the max value of a column in SQLite For Android.

2011-07-15 Thread ilcredo
Thank you, i'll try it. I'll just do a study of SQLite and see. On Fri, Jul 15, 2011 at 7:04 AM, gjs garyjamessi...@gmail.com wrote: Hi, I think you have the parameters wrong, you probably want the resulting query to be SELECT MAX(price) FROM spending. Then use that value for subsequent

[android-developers] Freemium Model with In-App Purchases

2011-07-15 Thread polyclefsoftware
I'm close to releasing a new iPhone/Android local multiplayer game and I'm looking into monetization issues. My ad revenue is still dismal this year, even though impressions and clicks are fairly robust. And the format of the game is such that I want to encourage new users to easily try the

[android-developers] Re: 127.0.0.1 Connection refused when not connected to WiFi

2011-07-15 Thread Uffe
I have now tested with a simple client, and also with Opera. It works in both those cases. In other words, this is not an IP stack issue but an issue with the default browser, or possibly with the settings enforced by the manufacturer (Samsung) or carrier (Telenor Sweden). Either way, there is a

[android-developers] Re: Need Help regrading sound meter

2011-07-15 Thread Amritesh
Thanks for the input Gary... could you tell me I am using the example API demos there it has example of equalizer and visualizer class but when I am running that application NoClassDefFoundError its throwing .I have tested it with the api-9,10,11 and 12. do you know how to resolve that issue. I

[android-developers] WebView Scale

2011-07-15 Thread Mark
I am having trouble manually controlling the scale of a WebView. My Webview is loading html content with a known body size. When the app is rotated and/or pages are loaded, I want to be able to manually control the scale of the WebPage to control how the content is displayed. I am currently using

[android-developers] Re: WebView Scale

2011-07-15 Thread Mark
I meant to type my html content does NOT specify a scale value... On Jul 15, 8:52 am, Mark mbus...@bitwisecontrols.com wrote: I am having trouble manually controlling the scale of a WebView. My Webview is loading html content with a known body size. When the app is rotated and/or pages are

Re: [android-developers] Gesture Detector

2011-07-15 Thread TreKing
On Fri, Jul 15, 2011 at 2:09 AM, shanmu nathan win.sha...@gmail.com wrote: Can u help me? Not if that is the extent of the information you have to provide. http://www.catb.org/~esr/faqs/smart-questions.html

Re: [android-developers] Re: How to measure activity load time

2011-07-15 Thread TreKing
On Fri, Jul 15, 2011 at 4:28 AM, sreenivas p m sreenivas...@gmail.comwrote: i have a application with more then 100 activity Why? I would really, really like to know why. - TreKing

[android-developers] Re: Display on Screen

2011-07-15 Thread rich friedel
Through the magic of search I found... This awesome information... http://developer.android.com/guide/topics/data/data-storage.html Which led me to this information which is awesome too... http://developer.android.com/guide/topics/data/data-storage.html#db Which in turn led me to even more

[android-developers] Re: What is programming

2011-07-15 Thread rich friedel
Why is the sky blue? Why is the grass green? How does posi-trak on a Plymouth work? Some things we'll never know. -- 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] Re: What is programming

2011-07-15 Thread Mark Murphy
On Fri, Jul 15, 2011 at 12:43 PM, rich friedel rich.frie...@gmail.com wrote: How does posi-trak on a Plymouth work? Some things we'll never know. Oh, no, that one's easy: it's a Plymouth, *nothing* works. :-) -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: Streaming Wav Audio Error: MediaPlayer Prepare failed status=0x1

2011-07-15 Thread nbonwit
We have tried prepareAsync() and it does not work either. On Jul 13, 5:24 am, Praveen Raj praveenraj1...@gmail.com wrote: You should use prepareAsync() for streams, inplace ofprepare(). On Jul 13, 3:42 am, nbonwit nevi...@freescalemcu.org wrote: Hello, We are streaming audio via

[android-developers] How to cancel the default longclick menu on edittext

2011-07-15 Thread Daniel Haywood
Hi, I am trying not get the default longclick menu (input method selections etc) when longclicking an edittext The menu still appears after I displayed by date and timepicker dialogs. I am not sure what I am doing wrong here. private View.OnLongClickListener

[android-developers] Re: What is programming

2011-07-15 Thread Jeremy Dagorn
http://en.wikipedia.org/wiki/Computer_programming On Jul 12, 11:54 pm, BrightestSirius kyawth.soe.k...@gmail.com wrote: What is programming. I just want to know. Please reply me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Retrieve and send data between MySQL and Android App

2011-07-15 Thread Fábio cunha
Hi everyone, I want to know a way to retrieve and send data to my MsSQL database in my server Is there any method or activity that does that? I already know how to use the sqlite database inside android, but i need to access a external database. I can use JDBC inside android to connect to the

[android-developers] Re: What is programming

2011-07-15 Thread Indicator Veritatis
Actually, ask.com would give a better answer. But the question was quite off-topic for this group anyway. On Jul 14, 4:06 pm, TreKing treking...@gmail.com wrote: On Wed, Jul 13, 2011 at 1:54 AM, BrightestSirius kyawth.soe.k...@gmail.comwrote: What is programming. I just want to know.

Re: [android-developers] Re: Ayuda con el emulador Android

2011-07-15 Thread Nick Risaro
Nice answer Indicator Veritatis ;) The translation you made is pretty good but i'm not sure because i can't understand very well the original question in spanish (and it's my native language). Only a minor detail Jonathan says that the issue started after an upgrade of the SDK (for windows) and

Re: [android-developers] Eclipse - Android - can't connect my device to Eclipse

2011-07-15 Thread Nick Risaro
On linux you need a little script, check the developers site, all the info is in there. On Thu, Jul 14, 2011 at 8:27 PM, TreKing treking...@gmail.com wrote: On Thu, Jul 14, 2011 at 8:31 AM, Zwiebel hunzwie...@gmail.com wrote: What can I do? Thanks for help! If you're on Windows, you need

[android-developers] Regarding Wifi in android

2011-07-15 Thread Sohan badaya
Hi All, I want to develop an android app that is based on Wifi. App should always be active to receive wifi signal. From my research I have come to know that I have to use WifiManager.WifiLock class. But this will consume battery a lot. Please let me know that is it only the way to get wifi

[android-developers] NFC : Device Configuration Gate

2011-07-15 Thread junaidien
Can any one explain the device configuration gate used in Android NFC. -- 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] wants to catch event before shutting down and background wallpaper change.

2011-07-15 Thread Talha Hafeez
How may I get the SHUTDOWN event of android mobile, means to say that when user tries to shut its mobile off, I want to make some changes in shared preferences before shutting down. Similarly I want to do some changes when User tries to change its background wallpaper. --desperately waiting for

[android-developers] How to grab data from a website in android?

2011-07-15 Thread Anilkumar
Hi, I want to grab data from the website and display that data in my app, Like daily horoscope. Every day the data in the website will change. so i have to grab that data and display that in to my app. can anyone help me please? i tried in searching google with no result . Please help me

[android-developers] Reading SQL Query row by row

2011-07-15 Thread FBondarenko
Hi there, I'm using a large SQLite DB from which a query could return 70k+ rows. As i understand, the query result is written to the CursorWindow, in which the SQLiteCursor is moving freely to get values. Since I want to limit the memoryfootprint of my query result, i want to keep the size of the

Re: [android-developers] android service

2011-07-15 Thread Deepak Yadav
no On Fri, Jul 15, 2011 at 1:01 PM, yanamala siddaiah siddaiahforj...@gmail.com wrote: If service stopped by user or any other situation . I want to start the service again . or user dont want stop the service delete the option to user to stop the service for our app. is there any flags

Re: [android-developers] ninepatch

2011-07-15 Thread Chinmay V S
Use the 9patch tool from the android-sdk. http://developer.android.com/guide/developing/tools/draw9patch.html -- 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] background image

2011-07-15 Thread Chinmay V S
Using the 9patch-tool, you can try adding equal 1 pixel regions on all 4 sides of the text-area such that the guidelines surround the text-area but do not intersect the text-area in the image. [image: 9patch-guideline.png] regards CVS -- You received this message because you are subscribed to

[android-developers] How to check caching in DefaultHttpClient on Android

2011-07-15 Thread Sathish
My Android application requires to cache the response text from a web service call using DefaultHttpClient. The cache should be valid till the expiry time set in the Http response header. I found similar questions but they were complaints that the DefaultHttpClient is caching their responses.

[android-developers] Help me to create my application(data to be edited real time)

2011-07-15 Thread julious raj
I want to create an application which stores the given data such as name, DOB, address, mail, and etc., into sqlite database and then goes to another activity and that activity shows the data like tableview . i've done this by listing data in listview in column. But it is not aligned well. the

[android-developers] Undestanding the dumpsys meminfo format

2011-07-15 Thread arcturus
Hi all! I've been working a while with the dumpsys meminfo process_id tool to fetch some statistics of the memory usage of my application, but there is something that still dont get: Applications Memory Usage (kB): Uptime: 103374017 Realtime: 103374015 ** MEMINFO in pid 554 [com.example.myapp]

[android-developers] Scrollviews within tabs

2011-07-15 Thread homerz
Hi everybody, I'm building an application with 4 tabs; each tab has a scrollview with some textview, some spinners and 2 buttons... my problem is that only the current tab is displayed, when I click on other tabs, nothing happens... tabs don't switch and no error is logging I manage all tabs

[android-developers] Unable to send UDP msg from host to emulator.

2011-07-15 Thread lb
Hi All, I'm running UDP application in host and emulator. My host is Fedora13 and emulator is running on same host. The Host application receives UDP msg on 192.168.1.3:9020 from 192.168.1.3:32456 (from emulator). Now from host I tried to send response to the emulator at 192.168.1.3:32456 but it

[android-developers] Re: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2011-07-15 Thread Mills
Do we have any word yet on the status of unlocking CDMA bootloaders? A lot of developers and consumers are feeling left high and dry without an unlock method. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Discrepancy between streaming data over localhost vs WIFI network interfaces on 3.0

2011-07-15 Thread Johan Lindquist
Hi all, I have written a proxy server which takes a remote HLS video and simply streams the content to the MediaPlayer (running on a Galaxy Tab 10.1 - Android 3.0.1).Whatever request the MediaPlayer makes, the proxy mirrors onto a remote web server. I have noticed that the MediaPlayer will

[android-developers] Re: NFC Secure Element

2011-07-15 Thread Rui Campos
Do any of you have an image that can be applied directly to a Nexus S? -- 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] GPS app

2011-07-15 Thread cmosser
Hi guys, New to Android developing, but I do have slight experience in Php and Java, so I'm not a complete newbie. From searching online, it appears that it is pretty trivial to get GPS coordinates out of the phone. My question is if there is any existing interface available that would allow me to

[android-developers] WARN/ActivityManager(68): Launch timeout has expired, giving up wake lock!

2011-07-15 Thread jamiller40
Hello, i am new to android, and i am having trouble with my application. It launches fine, and sends me to the main screen, which it is supposed to do, but when i click a button in the main screen, it crashes and the log file says: WARN/ActivityManager(68): Launch timeout has expired, giving up

Re: [android-developers] wants to catch event before shutting down and background wallpaper change.

2011-07-15 Thread Mark Murphy
On Fri, Jul 15, 2011 at 1:50 AM, Talha Hafeez talha.haf...@confiz.com wrote: How may I get the SHUTDOWN event of android mobile, means to say that when user tries to shut its mobile off, I want to make some changes in shared preferences before shutting down. Listen for ACTION_SHUTDOWN

Re: [android-developers] WARN/ActivityManager(68): Launch timeout has expired, giving up wake lock!

2011-07-15 Thread Mark Murphy
If it crashes, then there will be an error, not a warning, and usually there will be a Java stack trace associated with the error. Please look more closely at your LogCat output. On Fri, Jul 15, 2011 at 2:19 PM, jamiller40 jamille...@hotmail.com wrote: Hello, i am new to android, and i am

Re: [android-developers] Scrollviews within tabs

2011-07-15 Thread Mark Murphy
You only have one tab. Your tabs, in this design, are the immediate children of your FrameLayout. You have one such child -- a LinearLayout. On Fri, Jul 15, 2011 at 10:43 AM, homerz dgel...@gmail.com wrote: Hi everybody, I'm building an application with 4 tabs; each tab has a scrollview with

  1   2   >