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

2011-04-07 Thread ole!
Appreciate the answer Mark... Thanks.. I wonder if anyone knows how to get in touch with developers who ported Android to Galaxy tablet? It seems to me that if the dialer/caller intents do nothing that they should throw an exception that could be caught downstream. On Apr 3, 11:45 am, Mark

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

2011-04-07 Thread Kostya Vasilyev
07.04.2011 21:39, Nathan ?: As has been noted in these forums, a ContentProvider*never* closes a database because is there is no call on its interface to do so. The Linux kernel closes open files when/if the process is killed or crashes, just like it cleans up other stuff. SQLite, as

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

2011-04-07 Thread Dianne Hackborn
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. And let me be clear -- there is NOTHING wrong with the content provider never closing the database. Nothing. That

[android-developers] Oracle Financial Developer Needed in TX -- F2F Required

2011-04-07 Thread Leon Parker
Hello Folks, Hope the day is treating you well! Please go through the below requirement and let me know if you have any consultant for the below position? *Job Title: Oracle Financial Developer Location: Houston, TX Duration: 3+ Months* Job Description: Strong experience writing and supporting

[android-developers] Re: Android emulator too snow, unusable

2011-04-07 Thread seanw
Hi, Some random tips: - Make sure to enable the snapshot feature when creating new emulator instances to greatly improve startup time. - When the emulator has started up, turn off animations in the settings screen to improve performance. - Test the parts of your app that aren't tablet specific

[android-developers] Re: SQLCipher for Android?

2011-04-07 Thread lbendlin
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 Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Honeycomb Sourcecode

2011-04-07 Thread JAlexoid (Aleksandr Panzin)
Why would you need Honeycomb source? On 5 апр, 11:53, MeikeTalbach meike.talb...@women-at-work.org wrote: Hi all, this is my first post to this group and for the start, I only have a simple question. I've read on multiple web sites that the Honeycomb source code is not available for general

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

2011-04-07 Thread andre
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 action pointers are consumed with events caused in

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

2011-04-07 Thread lbendlin
are you using the multitouch version of the event handler? -- 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] Re: Android sqlite and multithreading

2011-04-07 Thread Emanuel Moecklin
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 all connections are closed or should Application be sub-classed and the db closed in

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread lbendlin
I close the databases in the onDestroy() of the launcher activity. I also include code in other activities and services to check if the databases have been closed, and then prevent these lenient lurkers from trying to access them. -- You received this message because you are subscribed to the

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

2011-04-07 Thread Kostya Vasilyev
Ok, here is my setup, just for grins. I have one database object in the entire application, opened by the content provider and never closed. The database is accessible as a singleton (my own SQLiteOpenHelper type class that can put the DB on the memory card). The UI uses the CP for the few

[android-developers] Re: Rich UI Development

2011-04-07 Thread Paulo Cesar
If you find a professionaly designed toolkit for Android tell us, because I know none of them. But here is two nice links about UI design on Android: http://www.mutualmobile.com/wp-content/uploads/2011/03/MM_Android_Design_Guidelines.pdf and http://www.androidpatterns.com/ On 5 abr, 13:08,

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Emanuel Moecklin
That doesn't work if the launching activity has been removed from the task (e.g. because Android needs more memory). With your approach the db would be closed and the other activities had no db access any more (the other activities could still be running). Instead of spreading the db access code

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

2011-04-07 Thread String
I assume you've looked at the docs: *Show bad patches*: Adds a red border around patch areas that may produce artifacts in the graphic when stretched. Visual coherence of your stretched image will be maintained if you eliminate all bad patches Still not *too* clear what that means, but I'd

Re: [android-developers] Problem loading gadget

2011-04-07 Thread String
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 as the same widget - so it can't find the widget to load - so it displays that

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread 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 availability of the sdcard can be shaky at times

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

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.comwrote: 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 all

[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

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Nathan
On Apr 7, 11:22 am, Dianne Hackborn hack...@android.com 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

[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 l...@bendlin.us 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

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

2011-04-07 Thread Dianne Hackborn
On Thu, Apr 7, 2011 at 2:04 PM, Nathan critter...@crittermap.com 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

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 andre.steingr...@gmail.com 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

[android-developers] Re: Android sqlite and multithreading

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

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

2011-04-07 Thread Mark Murphy
On Thu, Apr 7, 2011 at 6:33 PM, Nathan critter...@crittermap.com 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

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

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 dalveermar...@gmail.com 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

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

2011-04-07 Thread Michael
try adb logcat *:e On Apr 7, 6:12 am, Yash Jain yash2le...@gmail.com 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,

[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 t...@filigreeinc.com wrote: I

[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

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 zvasv...@gmail.com 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,

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Nathan
On Apr 7, 3:46 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Apr 7, 2011 at 6:33 PM, Nathan critter...@crittermap.com 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

[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

[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

[android-developers] Re: Code Needed.

2011-04-07 Thread Kromosome
Get a clue! On Apr 5, 8:32 pm, Kirti Joshi joshikirti...@gmail.com 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

[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

[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

[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

[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 dalveermar...@gmail.com wrote: Hi, I am not quite sure how to achieve this. The requirement is to

[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, आशुतोष हिन्दुस्तानी ashutosh.h...@gmail.com wrote: can i make a autostart or startup application in android. -- Thanks Ashutosh Mohle Software Engineer CS-KNIT-2010 --

[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

[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-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

[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 =

[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 =

Re: [android-developers] startup application

2011-04-07 Thread Samuel Anandaraj.J
Yes! you can. uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / 2011/4/6 आशुतोष हिन्दुस्तानी ashutosh.h...@gmail.com can i make a autostart or startup application in android. -- Thanks Ashutosh Mohle Software Engineer CS-KNIT-2010 -- You received this

[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] 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 eugene.ko...@bluescopesteel.com wrote: Hi All, I am trying to reuse an external class in the same package in 2 Activities thus: First.class Manual.class

[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 zaandr...@gmail.com wrote:

[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

[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

[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-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,

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 t...@filigreeinc.com 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?

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] Re: Thread and ProgressDialog

2011-04-07 Thread TreKing
On Wed, Apr 6, 2011 at 10:10 PM, Kromosome m...@kromosome.net 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] 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

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

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

[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);

[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

[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 =

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:

[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:

[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

[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

[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

[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

[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

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

[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 

[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:

[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] 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

[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

[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

[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

[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

[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 nap...@android.com wrote: https://review.source.android.com//#change,21478 https://review.source.android.com//#change,21478Adds support for this

[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

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

2011-04-07 Thread weasel
This is what the 'show bad patches' mode looks like: https://lh5.googleusercontent.com/_23u4H0QVvog/TZ4WKD8-XRI/Ax8/4k7DcLa3gVA/patches-bad.jpg And when it's off: https://lh4.googleusercontent.com/_23u4H0QVvog/TZ4W2OxZijI/AyA/DbjLnI1jYOs/patches-bad-hidden.jpg But it's really

[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 kbwi...@gmail.com 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

[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

[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

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 asm@gmail.com 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

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 vishnunaraya...@gmail.com 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] Memory Leaks in application

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 5:16 AM, NURAIZ yousuf_...@yahoo.com 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

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 hari.zla...@gmail.comwrote: 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] How does one post a question here?

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 8:07 PM, Greg v.greg...@gmail.com 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.

[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 ?xml version=1.0 encoding=utf-8? resources

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 r.dustin.l...@gmail.com 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

[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

<    1   2   3   >