[android-developers] Re: Marquee is not worked when screen rotate

2011-04-07 Thread Zsolt Vasvari
Create a bug report on http://b.android.com I dont' see anything wrong with your code. Using the emulator, try to determine on which Android SDK level it broke on and file a bug report. Put "Regression", "Honeycomb" and "3.0" in the title, if it applies so that you get some Google people to pa

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-04-07 Thread snehalal gangadharam
hi, y i didnt get any reply? i have tested this application from real device. i am getting IO Exception. i have posted the errror log below: kindly guide me to solve this problem. /kernel ( 115): [ 508.395324] device rmnet0 entered promiscuous mode W/System.err( 1281): java.io.IOException: Una

[android-developers] Marquee is not worked when screen rotate

2011-04-07 Thread pramod.deore
Hi all, In my application I am using marquee. It works perfectly, but when I rotate screen then it is not working. following is my code. public class TextViewMarquee extends Activity { private TextView tv; @Override protected void onCreate(Bundle savedInstanceState) { super.onC

[android-developers] Get Row Id of draggable and droppable listview

2011-04-07 Thread Chung Truong
Hi, I'm building a project using draggable and droppable listview. I found the source code of creating draggable and droppable listview supported by google. In my project , there are 4 items in listview ( search, list, history and shortcut). Each item in listview interacts with each activity. The p

[android-developers] Smoothing out Handler sent repaint events

2011-04-07 Thread Numeron
Im having trouble smoothing out a hand made animation, specifically the logo on my site at www.users.on.net/~rossn The spinning sections of the logo are redrawn every frame rather a pair of rotating images, because rotating is slow and sometimes looks bad with poor rotation algorithms on other

[android-developers] How to properly implement a custom AdapterView's setSelection method

2011-04-07 Thread Adam
I'm working on designing a HorizontalListView widget and I'm getting stuck on what to do with the setSelection methods. It seems like every example of extending an ArrayAdapter never touches this method. I can have a long list, so filling to the right from 0 -> my position isn't an option. Ideally

[android-developers] Re: Problem loading gadget

2011-04-07 Thread String
Sigh. It's not ONLY the XML, I just cited that as one example. My point is that this message can be easy to stumble into when upgrading your app. You need to be quite diligent about testing the upgrade process BEFORE you release it to the Market. But all that's for future reference if you've

[android-developers] Re: Problem loading gadget

2011-04-07 Thread b_t
No, I didn't change anything in widget xmls. On Apr 7, 10:41 pm, String wrote: > If users get that message just when updating your app, one possible cause is > that you've made a change in your widget's XML. Changing something like the > name of the XML file means that the OS doesn't recognize it

Re: [android-developers] Displaying data from database in table format

2011-04-07 Thread Kapil Lokhande
Hey, Use listview for displaying data by implementing custom adapter. On Fri, Apr 8, 2011 at 9:46 AM, TreKing wrote: > On Thu, Apr 7, 2011 at 4:04 PM, hari narayanan wrote: > >> Hi, i am trying to display the data from database in table format, but it >> doesnt work. >> > > You might want to exp

Re: [android-developers] Re: resizing the touch event generating area

2011-04-07 Thread andre
Thank you for your response, Dianne. I may need to verify this once again but it seemed to me (with the left hand on the screen and doing the actual signing with my right hand) that events in the "ignore area" already triggered the maximum number of multitouch pointers on this device (galaxy ta

[android-developers] Re: Device specific trouble in gallery pic selection

2011-04-07 Thread pankaj pandey
can any one help me on it. Thanks in advance...!! On Wed, Apr 6, 2011 at 6:46 PM, pankaj pandey wrote: > Hi, I am facing problem with specific device Motorola (I have MB508), I > have a picture (picture view), on click of the picture open a gallery and > select a pic from that and set that pic o

[android-developers] Android Emulator 2.2

2011-04-07 Thread Nitin Gautam
Hi, Android Emulator opens all my Interanet sites when I am in office but when I try this from home on VPN it never works. No site get opened. Please help to resolve this. How to debug this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

Re: [android-developers] Re: Thread and ProgressDialog

2011-04-07 Thread pankaj pandey
Better suggestion, please use handler. Thanks On Fri, Apr 8, 2011 at 8:42 AM, TreKing wrote: > On Wed, Apr 6, 2011 at 10:10 PM, Kromosome wrote: > >> For starters you're still in the UI thread, your application is not multi >> threaded, try using a real thread >> > > What? Since when is a Threa

[android-developers] Help in android code syntax

2011-04-07 Thread ahens h
Hi all, I am facing some problem in android as i am new to it, i need to know how to write syntax in android for the below problem. Problem: I have a .net web service (www.somesite.com), that webserver has an authentication method which require user name and password as parameter to authenticate.

[android-developers] Re: Device Admin - Email account policy enforcement - pop and exchange

2011-04-07 Thread progtad
I continued to research and was not able to find a way to manipulate email account configuration, such as setting the 'ssl is required' property. I would still like to get confirmation that this is not possible if I could. This is a corporate requirement I am looking into. I've been able to

Re: [android-developers] Re: ListActivity, Cursor, and CursorAdapter

2011-04-07 Thread Mike Bear
At last, I used the simplest way, extract all the data out of via the cursor, and then prepare the data list for my listactivity. It works. On Fri, Apr 8, 2011 at 1:51 AM, Nadeem Hasan wrote: > Use the cursor position by calling Cursor.getPosition(). > > -- > You received this message because yo

[android-developers] Re: Video Call Recording Feature

2011-04-07 Thread Guna
Can someone pls respond! On Mar 31, 10:17 am, Guna wrote: > Please let me know whetherVideoCallRecordingis possible on Android > Phones any version > > On Mar 30, 9:26 am, Guna wrote: > > > > > > > > > Hello all, > > > I am working onVideoCallRecording feature on 2.3, and wondering if > > this i

[android-developers] Re: Can't add menu.xml in Eclipse

2011-04-07 Thread Chambras
Did you try using Galileo instead?. I am using that one and it works just fine and think Google recommends it as well it has better compatibility . -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

Re: [android-developers] Can't add menu.xml in Eclipse

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 4:54 PM, Dustin wrote: > Any help, insight, thoughts?? Right-click the file. There should be multiple options for how to open the file. Try each one. See which hoses it. There might be some debug information in one of the tools windows ("Console" I think). --

[android-developers] Problems extending AbsSeekBar, ProgressBar and SeekBar

2011-04-07 Thread Luiz Vitor Martinez Cardoso
Hello, I'm modifying the SeekBar a little bit but I'm having troubles with the "com.android.internal.R.stylable". In a 2-hour research I found that the best way to fix it is to do something like the following: # resources.xml http://schemas.android.com/apk/res/android";>

Re: [android-developers] How does one post a question here?

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 8:07 PM, Greg wrote: > How do people ask questions here? > Exactly as you just did. > Did I use too many words? > Nope. > Was my code too complicated? > Uh-uh. > What's the secret? > Patience. Google Groups ain't the fastest sometimes. ---

Re: [android-developers] Displaying data from database in table format

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 4:04 PM, hari narayanan wrote: > Hi, i am trying to display the data from database in table format, but it > doesnt work. > You might want to explain what "it doesnt work" means. It will be slightly faster than everyone guessing. ---

Re: [android-developers] Memory Leaks in application

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 5:16 AM, NURAIZ wrote: > Why our native heap size is increased every time we run the application? > Based on the detailed information you provided, I can conclude with confidence that it's because you're using more memory every time you run the application. --

Re: [android-developers] Android Build Error for 2.3 version

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 7:20 AM, NARAYANA1 wrote: > I'm facing the following build error. > All the required tools are installed. > I'm using ubuntu 10.04 > This is the wrong list for this question. Review the the documentation to find a more appropriate site to post to.

Re: [android-developers] Difference between Android application and Android service

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 7:25 AM, Asym wrote: > Fundamental question, is there any difference in the functionality of a > service and an application? > Yes. Big difference. > I know there is minimum user interaction involved with a service but can a > service also perform read write operations

[android-developers] do not get corrent value from window.innerHeight/innerWidth

2011-04-07 Thread yuuy
hello. I deveopment web application for android chromelite. In web page is not set viewport, I get html's height/width from window.innerHeight/innerWidth all of the time though pinch in/ pinch out. I want window size. is there solution? -- You received this message because you are subscribed to

[android-developers] Re: Compare MonkeyImage

2011-04-07 Thread Peddi Kanumuri
Bill, How to build just the monkeyrunner.jar with these changes? We are in need of loadImageFromFile API. -Peddi. On Mar 7, 8:02 pm, Bill Napier wrote: > https://review.source.android.com//#change,21478 > > Adds support for this > change.  If yo

[android-developers] Re: what are 9-patch bad patches?

2011-04-07 Thread weasel
Aha, no - I didn't find any links to docs about the program in the Android docs, just a reference to the program in the part talking about 9-patch images. It makes sense to warn about artifacting - I presume it refers to how stretched images will become blocky if the stretched columns and rows

[android-developers] Displaying data from database in table format

2011-04-07 Thread hari narayanan
Hi, i am trying to display the data from database in table format, but it doesnt work. Pls take a look at the code here (I dont want to spam this thread by posting a 2 page code here ...So, pls take a look at it here): http://pastebin.me/24d7e33ce334e56087dcb657081684e9 I will just post the XML p

[android-developers] Re: what are 9-patch bad patches?

2011-04-07 Thread weasel
This is what the 'show bad patches' mode looks like: And when it's off: But it's rea

[android-developers] How does one post a question here?

2011-04-07 Thread Greg
Hello, I posted a question almost 24 hours ago and I can find it no where on this site. How do people ask questions here? Did I use too many words? Was my code too complicated? What's the secret? -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Is it possible to use DDMS to send mock locations to a physical device?

2011-04-07 Thread KingFish53
I am debugging an application on a Droid 2 physical device. When I invoke DDMS I can see the physical device. I can see Logcat entries, threads etc etc., so I know I am communicating with the physical device. When I look at the emulator control tab to send a location everything is grayed out (both

[android-developers] Re: eclipse/sdk combo crash

2011-04-07 Thread Dustin Lane
I am having nearly the exact same problem. If anyone out there has any insight, it would greatly be appreciated! Thanks, On Mar 24, 10:46 pm, Keith Wiley wrote: > If I right-click the res folder of a project, I can create amenu > folder.  If I right click that folder and try to create amenu.xml

[android-developers] Viewing SVG in Honeycomb webview

2011-04-07 Thread Thomas Tobin
Is there some special setting for a webview to allow it contain SVGs in honeycomb? We have web content that renders correctly in the web browser but the SVG area doesn't render in a webview we create inside the app. Setting min sdk to 11 doesn't seem to make the webview behave like the browser webv

[android-developers] Can't add menu.xml in Eclipse

2011-04-07 Thread Dustin
I've recently starting developing with the android sdk. Currently, I am trying to add code to use a menu in my application, however, when I try to add a menu.xml under res/menu, Eclipse hangs and freezes every time. When I reopen Eclipse, menu.xml is there, but every time I try to open it, Eclipse

[android-developers] MediaPlayer to play Multicast (igmp) medias?

2011-04-07 Thread zooldk
Hi, I've been searching for a while for an example of the MediaPlayer, to play multicast medias, such as live broadcast signals (e.g. igmp://224.0.18.10:8810), by setting up my own multicast stream in VLC. Is it possible through the MediaPlayer, or should I do a MulticastSocket on my own, join th

[android-developers] How do I initiate/terminate xml-defined SurfaceView upon a button push?

2011-04-07 Thread Greg
Hello, I'm trying to initiate an animation to run in a specific xml-defined view with a button push. Currently It runs when I push the button but but the animation uses the entire display, covering all of the other widgets including the button used to start it. The info and examples I've found a

[android-developers] Memory Leaks in application

2011-04-07 Thread NURAIZ
I developed a simple application in which I just logged the Native heap size. Why our native heap size is increased every time we run the application? I logged the size with Debug.getNativeHeapAllocatedSize(). -- You received this message because you are subscribed to the Google Groups "Android D

[android-developers] FragmentActivity class appears to be incompatible with instrumented test classes

2011-04-07 Thread securelpb
I have a problem executing android unit tests against android applications that utilize the recently released Fragment support API. When the test is run against a FragmentActivity the following error shows up in the log and the class fails to load. When run against an identical class, but one deriv

[android-developers] Flickr api connection with android

2011-04-07 Thread Mohamed Hisham
Hey guys,I need assistance in connecting my android app to flickr api methods to be able to use the method of photosforlocation and view the retirevied photo from the photolist in an imageview, yet i have been searching for over 2 days with no use, please help me in this matter -- You received th

Re: [android-developers] Re: resizing the touch event generating area

2011-04-07 Thread Joao Braga
Why can't you put a method to be executed when the user touched or leaves the screen in order to get the X and Y and verify if it happend inside the area of interest for you ? if not, you just ignore it. public boolean onTouch(View v, MotionEvent event) { if (yourRectObject.verify (event

[android-developers] Re: Testing in app billing, all purchases end up cancelled

2011-04-07 Thread Steven
hi, I've just tried it with my own account and it worked on the second try. Sorry, I should have tried that earlier. No idea why the other one fails, but at least I can make some progress with the other features, testing restore purchases and refunds etc. Thanks for your help. On Apr 7, 5:39 pm

[android-developers] bouncycastle CMS API works on Android 2.3 but failed on 2.2

2011-04-07 Thread Yu Wang
Hi experts I have tried to use bouncycastle CMS API to generate CMS Enveloped Data. The following line will work on Android 2.3 but fail on Android 2.2 CMSEnvelopedDataGenerator gen = new CMSEnvelopedDataGenerator(); The exception thrown on Android 2.2 is as following: 04-07 09:50:23.764: ERRO

[android-developers] android.R.styleable.Theme

2011-04-07 Thread android
obtainStyledAttributes(android.R.styleable.Theme) gives the error "styleable cannot be resolved". what's the solution for this? -- 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@googleg

[android-developers] Running multiple Services in Android

2011-04-07 Thread declantraynor
Hi, I'm currently building some movement-detection functionality into my application. I haven't found a way of continually monitoring the accelerometer without keeping the phone awake all the time. In trying to overcome this, I currently have a Service implementing SensorEventListener. I can start

[android-developers] HelloAndroid] Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!

2011-04-07 Thread miten
Hi, I have downloaded and tried to extract and install android sdk for win xp. I tried hello android example and it gives error when trying build in subject line. here are the archives I used to setup. ADT-10.0.1.zipandroid-2.2_r02-windows.zipandroid- sdk-windows a

[android-developers] Android Playing YouTube video in WebView

2011-04-07 Thread Dan
I am trying to implement a web browser within my app and using WebView for that. For playing youtube video I used the following resource to start playing the video: http://stackoverflow.com/questions/3815090/webview-and-html5-video To stay in the webView when a link is pressed and not go to the w

[android-developers] Difference between Android application and Android service

2011-04-07 Thread Asym
Hi Guys Fundamental question, is there any difference in the functionality of a service and an application? I know there is minimum user interaction involved with a service but can a service also perform read write operations for example to the sdcard? Can a service invoke other services or applic

Re: [android-developers] Re: Honeycomb Sourcecode

2011-04-07 Thread Devon Narine
Thats not easy to come by unless someone gives it to you. Google will give you as long as you are a registered manufacturer or you are representing one of them. On Thu, Apr 7, 2011 at 3:06 PM, JAlexoid (Aleksandr Panzin) < jalex...@gmail.com> wrote: > Why would you need Honeycomb source? > > On 5

[android-developers] bouncycastle CMS API works on Android 2.3 but failed on 2.2

2011-04-07 Thread Yu Wang
Hi experts I have tried to use bouncycastle CMS API to generate CMS Enveloped Data. The following line will work on Android 2.3 but fail on Android 2.2 CMSEnvelopedDataGenerator gen = new CMSEnvelopedDataGenerator(); The exception thrown on Android 2.2 is as following: 04-07 09:50:23.764: ERRO

[android-developers] Android Build Error for 2.3 version

2011-04-07 Thread NARAYANA1
Hi, I'm facing the following build error. All the required tools are installed. I'm using ubuntu 10.04 Install: out/target/product/generic/system/lib/libttssynthproxy.so Generating CSSPropertyNames.h <= CSSPropertyNames.in Generating CSSValueKeywords.h <= CSSValueKeywords.in target Generated: libw

[android-developers] Custom ArrayAdapter add items programmatically

2011-04-07 Thread cmg_george
I need some help. i've create a custom ArrayAdapter and override getView method like this: View v=convertView; if(v==null){ LayoutInflater li = (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE); v = li.in

[android-developers] load an image from a URL

2011-04-07 Thread Julien Bunel
How to load an image from a URL in a ImageView ? I tried this : ImageView imgVw = (ImageView)findViewById(R.id.lm1); imgVw.setImageURI("http://www.intelligent-solutions.be/pics/e_mail2.jpg";); But it doesn't work !! --- Julien -- You received this message because you are subscribed to the Goo

[android-developers] FragmentActivity class appears to be incompatible with instrumented test classes

2011-04-07 Thread securelpb
I have a problem executing android unit tests against android applications that utilize the recently released Fragment support API. When the test is run against a FragmentActivity the following error shows up in the log and the class fails to load. When run against an identical class, but one deriv

[android-developers] How to eliminate paint sawtooth

2011-04-07 Thread a a
I draw a 30 degree line with paint, but it seams not smoothness. How can i eliminate the sawtooth? my code below: mPaint.setColor(Color.WHITE); mPaint.setAntiAlias(true); mPaint.setStrokeCap(Paint.Cap.ROUND); mPaint.setStyle(Paint.Style.STROKE);

Re: [android-developers] New to android development

2011-04-07 Thread Kristopher Micinski
(Let me add a comment, when I said you probably won't directly use it, I meant you will be using it *within* a content provider, which will certainly use the android.database.sqlite classes to do things like insertion, lookup, etc... Your activities will then call to this content provider) Kris O

Re: [android-developers] how to listen messages from http server

2011-04-07 Thread Kristopher Micinski
Can you not just use a standard socket connection? I don't see anything too different from a standard java socket application. Read general socket tutorials in Java to learn how to do this kind of stuff, this doesn't sound specific to Android. Kris On Thu, Apr 7, 2011 at 4:10 AM, JK Park wrote

Re: [android-developers] Best way to do this

2011-04-07 Thread Kristopher Micinski
I think I'd prefer storing them in a database as opposed to a file. How would you store them in a file? Something like comma separated values or xml or something? You can avoid all that parsing code and use a database instead. This also might make it easier if you want to add more strings for you

Re: [android-developers] Re: Thread and ProgressDialog

2011-04-07 Thread TreKing
On Wed, Apr 6, 2011 at 10:10 PM, Kromosome wrote: > For starters you're still in the UI thread, your application is not multi > threaded, try using a real thread > What? Since when is a Thread not a real thread? ---

Re: [android-developers] New to android development

2011-04-07 Thread Kristopher Micinski
Rajah, There are many references for database development using SQLite. Generally your database will be wrapped in a ContentProvider. Try googling SQLite android. You probably won't directly use it, however, so also read the "Content Provider" section in the android tutorial. Really, the android

Re: [android-developers] How do I stop the emails

2011-04-07 Thread Kristopher Micinski
What's the thing at the bottom of this email say? Kris On Thu, Apr 7, 2011 at 10:59 PM, ted wrote: > Somehow when I joined this group yesterday I got listed to be copied > on all posts, which is loading my mailbox up too fast. How do I remove > my name from the email list? > > -- > You received

[android-developers] How do I stop the emails

2011-04-07 Thread ted
Somehow when I joined this group yesterday I got listed to be copied on all posts, which is loading my mailbox up too fast. How do I remove my name from the email list? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Android 3.0 ActionBar, changing colors

2011-04-07 Thread Chris Stewart
How can I change the color of the underline beneath the tabs? It's currently the light blue, and I can't find any resources on how to change this for Android 3.0. Additionally, I'd like to change the text color for the menu items that show up on the right of the ActionBar as a result of: android:

[android-developers] Re: Intercept Emails

2011-04-07 Thread Dmitry
Hi, Daniel I solve this problem by installing app as system app. For example, I'm using following batch file with commands: adb shell mount -oremount,rw -t yaffs2 /dev/block/mtdblock3 /system adb push C:\Your.apk /system/app/ adb reboot On Apr 7, 8:53 am, Daniel Felix wrote: > Hi All, > >   Than

[android-developers] How do I initiate/terminate xml-defined SurfaceView upon a button push?

2011-04-07 Thread Greg
Hello, I've patterned my initial code from another tutorial to create classes to handle drawing to a SurfaceView. This tutorial (and others I've found) associate an xml-defined SurfaceView to a class which intiates upon creation. My goal is to initiate animation in an xml-defined surface view up

[android-developers] Re: Thread and ProgressDialog

2011-04-07 Thread Kromosome
"Hello, I'm trying to do some work in a thread" For starters you're still in the UI thread, your application is not multi threaded, try using a real thread: http://developer.android.com/reference/android/os/AsyncTask.html This will most likely guide you as to when you can update a progress dialo

[android-developers] Re: Reusing the same external class with 2 different Activities

2011-04-07 Thread Kromosome
You should include some code and the actual error, I can't clearly understand the error you are encountering On Apr 5, 1:54 pm, Digeridoo wrote: > Hi All, > > I am trying to reuse an external class in the same package in 2 > Activities thus: > > First.class > Manual.class > Auto.class > Tower.cla

Re: [android-developers] startup application

2011-04-07 Thread Samuel Anandaraj.J
Yes! you can. 2011/4/6 आशुतोष हिन्दुस्तानी > can i make a autostart or startup application in android. > > -- > Thanks > Ashutosh Mohle > Software Engineer > CS-KNIT-2010 > > > > > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" gr

[android-developers] Amazon MP3 store intents - quick how to.

2011-04-07 Thread Kent
It has been pretty difficult to track down information on interacting with the Amazon MP3 application. After a bit of poking around, it appears the app provides a way to handle external intents through a proxy activity. There are two mechanisms for accessing the Amazon MP3 search service. Here are

[android-developers] New to android development

2011-04-07 Thread Rajah
Hi I'm new to android development. I would like to develop database(SQLite) application. There got ang guide or reference. Tq Regard T.Kanagarajah -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] Re: Honeycomb Sourcecode

2011-04-07 Thread Al Sutton
>From Andy Rubins recent post at http://android-developers.blogspot.com/2011/04/i-think-im-having-gene-amdahl-moment.html ; "Finally, we continue to be an open source platform and will continue releasing source code when it is ready. As I write this the Android team is still hard at work to bring

[android-developers] anyone knows how to zoom paint view with image correctly?

2011-04-07 Thread choijuho
Hi. anyone knows how to zoom paint view with image correctly? At following code, I used canvas zoom in order to zoom paint view with image including using setImageMatrix(). But problem arised, that is entire screen became to zoom in/out but not paint view and image only. So If anyone knows this is

[android-developers] How to retrieve a JSON object from a php url to my android

2011-04-07 Thread Jennifer
Hi, I am having this code HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet(); request.setURI(new URI(uri)); HttpResponse response=client.execute(new HttpGet(uri)); InputStream ips = response.getEntity().getConte

[android-developers] Getting image from Web Server

2011-04-07 Thread Fusion
Hi, I am using this file to retrieve image - logo from web server. public ImageView getView(String myImageURL) { static String myImageURL = http://www.fusionedv.com %imagedit; Log.i("TAG","downloadFile00"+myImageURL); ImageView i = new ImageView(this); try {

[android-developers] How to retrieve a JSON object from a php url to my android

2011-04-07 Thread Jency Johnson
Hi, I am having this code HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet(); request.setURI(new URI(uri)); HttpResponse response=client.execute(new HttpGet(uri)); InputStream ips = response.getEntity().getConte

[android-developers] How to use charts in android

2011-04-07 Thread amey bura
I want use charts in my application.. Actually i want to draw varoius charts for example bar /pie chart by using the values from database.. so can anyone tell me how do i pass the values from my app to xml programs which is used for drawing the chart -- You received this message because you are s

[android-developers] [Android] Bugs TabActivity in Child ActivityGroup

2011-04-07 Thread DOXA
Hi all, I create a tab activity at main activity. When I click on 1 button, it start a new child activity. This new child has tab-groups at bottom of GUI and an input text box. When I insert into input text box, an virtual keyboard appear and push the tab-groups above it. I attached a link that on

[android-developers] Re: Create a list of items on top of an activity running a video

2011-04-07 Thread Kromosome
Depending upon what kind of data is in your list and what you want the selection to do you could use a Dialog: http://developer.android.com/guide/topics/ui/dialogs.html On Apr 7, 4:52 am, DM wrote: > Hi, > > I am not quite sure how to achieve this. > The requirement is to Create a list of ite.

[android-developers] Re: startup application

2011-04-07 Thread Kromosome
Refer here: http://groups.google.com/group/android-developers/browse_thread/thread/112887fbb59f3ee2 On Apr 6, 10:08 pm, आशुतोष हिन्दुस्तानी wrote: > can i make a autostart or startup application in android. > > -- > Thanks > Ashutosh Mohle > Software Engineer > CS-KNIT-2010 -- You received th

[android-developers] how to listen messages from http server

2011-04-07 Thread JK Park
I am trying to build up a managing program from web server. And I uses APM server and be trying in AVD. What I want to know is a program that listens a message(like packet or socket?) from server when the admin controls. Is anyone can tell me how to do? -- You received this message because you

[android-developers] Best way to do this

2011-04-07 Thread arudzki
I'ld like to make an app with a new inspirational message per day. Whats the best way to store the 365 strings so that they can be accessed? A database or a string list in a file? I'm looking for something that will be easy to code and easy to update (separate inspirational packs). I'm new to t

[android-developers] Re: Code Needed.

2011-04-07 Thread Kromosome
Get a clue! On Apr 5, 8:32 pm, Kirti Joshi wrote: > hello everyone, > > i wanna code for same application,  can any one help me ? > > https://market.android.com/details?id=br.com.android.appointments.ota... > > Thanks in advance. -- You received this message because you are subscribed to the Go

[android-developers] ActivityGroup and SearchManager

2011-04-07 Thread Cyril
Hi, I've been taking my head for hours trying to display the search UI above my activity...My app is as below : A main activity, which is tab-based : public class CsvTabWidget extends TabActivity { ... } In each tab, I have a Activity, which is a ActivityGroup. Here is the first one : public clas

[android-developers] Custom SurfaceView with overlayed views

2011-04-07 Thread Alistair
Hi there, My program is a grid (surfaceView) which holds tiles. The surfaceView runs a thread which has synchronized access to the surfaceView (I used the lunar lander example). The surfaceview is added programmatically to a frame layout. I have a "palette" object which extends a view. When i tou

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Nathan
On Apr 7, 3:46 pm, Mark Murphy wrote: > On Thu, Apr 7, 2011 at 6:33 PM, Nathan wrote: > > Would a shopping list application only allow you to have one shopping > > list, called default? > > A lame one would, yes. > > A sensible implementation would use one database, with a "lists" table > to id

Re: [android-developers] Re: Unable to detect phone call/dial capabilities on tablet

2011-04-07 Thread Mark Murphy
On Thu, Apr 7, 2011 at 7:42 PM, Zsolt Vasvari wrote: > Isn'r there a resolveIntent() or something like that where you can see > if the Intent will sucessfully execute? The problem is that on the Galaxy Tab, it *does* execute, just to a do-nothing activity of some form. Ideally, something on the

[android-developers] Re: Unable to detect phone call/dial capabilities on tablet

2011-04-07 Thread Zsolt Vasvari
Isn'r there a resolveIntent() or something like that where you can see if the Intent will sucessfully execute? -- 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 unsub

[android-developers] Re: LVL does not work while testing

2011-04-07 Thread jtoolsdev
I assume you are using a Froyo (Android 2.2) emulator? It doesn't work with versions. What Google should have done with LVL is also to have included a couple example Policy source files for the developers to examine and get hints from. On Apr 6, 1:56 pm, ted wrote: > I followed the developer.an

[android-developers] Re: Logcat debug level --help

2011-04-07 Thread Michael
try adb logcat *:e On Apr 7, 6:12 am, Yash Jain wrote: > Hello All, > I have one dumb question, > when i read a logcat message through command logcat -d, i will get a list of > all events with the prefix I, V, D, W, and E which represent *I*nformation, > *V*erbose, *D*ebug, *W*arning and *E*rror.

Re: [android-developers] Create a list of items on top of an activity running a video

2011-04-07 Thread Justin Anderson
What have you tried so far? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Apr 6, 2011 at 12:52 PM, DM wrote: > Hi, > > I am not quite sure how to achieve this. > The requirement is to Create a list of ite.ms on top of an activity > running a vid

Re: [android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Dianne Hackborn
Okay, sure, if you are letting the user open and close databases then you could have an arbitrary number open (if you are actually letting the user do that). But then... you also already have the answer for when to close the database. For the vast, vast majority of Android applications, there wil

Re: [android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Mark Murphy
On Thu, Apr 7, 2011 at 6:33 PM, Nathan wrote: > Would a shopping list application only allow you to have one shopping > list, called default? > A lame one would, yes. A sensible implementation would use one database, with a "lists" table to identify the lists, and foreign key relationships in the

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Nathan
On Apr 7, 3:15 pm, Dianne Hackborn wrote: > > You are making this too complicated. No, I am not. > > class StuffDatabase { >   SQLiteDatabase mDatabase; >   static StuffDatabase getInstance(); > > } > > class OtherStuffDatabase { >   SQLiteDatabase mDatabase; >   static OtherStuffDatabase getInst

Re: [android-developers] Re: resizing the touch event generating area

2011-04-07 Thread Dianne Hackborn
On Thu, Apr 7, 2011 at 12:12 PM, andre wrote: > the problem is that if a user accidentally has his/her hand on the bottom > half of the screen (i know it sounds silly, but it is quite often the case > with this application), it seems we can't receive any ACTION_DOWN of > interest since since all

Re: [android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Dianne Hackborn
On Thu, Apr 7, 2011 at 2:04 PM, Nathan wrote: > "The database"? I guess that would work if you only use ONE, > statically determined database. > Since I don't have just one, I think I need a singleton hash table of > opened databases, like I mentioned. > You are making this too complicated. cla

[android-developers] Re: SQLCipher for Android?

2011-04-07 Thread DanH
They need to be customized for the device file system and encryption facilities. On Apr 7, 2:06 pm, lbendlin wrote: > Not sure I understand. You include them in your source and use them. This > has nothing to do with Android. -- You received this message because you are subscribed to the Google

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Nathan
On Apr 7, 11:22 am, Dianne Hackborn wrote: > Don't do that.  Only open the database once.  If you are not using a content > provider, implement a singleton that takes care of opening the database once > for all code in your app. "The database"? I guess that would work if you only use ONE, static

[android-developers] Limits send post video and image

2011-04-07 Thread maggy mtac
Hello, What is limit to send a video file and image using method http post? How fixed a limit of size or change a quality of video (high, medium ...) before send? Thank you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

Re: [android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Dianne Hackborn
On Thu, Apr 7, 2011 at 12:18 PM, Emanuel Moecklin <1gravity...@gmail.com>wrote: > Using a singleton to open the database, where/when would you close the > database? > Should the singleton keep track of open connections from clients (the > singleton would expose a close method) and close it when al

Re: [android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Kostya Vasilyev
08.04.2011 0:42, Emanuel Moecklin пишет: I would not recommend putting the db on sdcard. I went down that path and it worked well for all the devices I tested it on (>15 hardware devices and of course emulators). It even worked well for the published app in the beginning but because the availabil

  1   2   3   >