[android-developers] Re: HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!

2011-11-22 Thread Tomáš Hubálek
@BelvCompScs I'm sorry but I don't understand your reply. What did you want to say? Is it related to my question? How do you think I have to implement it? On Nov 22, 5:53 am, BelvCompSvs fa829...@gmail.com wrote: if you really want to have some fun go listen to Brad Fitzpatrick at the video

[android-developers] How to triger Google Places details activity?

2011-11-22 Thread Kamen Goranchev
Hello, Is there a way to start the build-in activity for displaying Google Places Details with Intent? My use case is the following: I want to display my list of points of interest on a MapView and when clicking on the OverlayItem to start the Place Details activity. The behavior should

Re: [android-developers] calviling webservice

2011-11-22 Thread Sawan Darekar
hi, check this link http://www.codeproject.com/KB/android/webservice-from-android.aspx 2011/11/16 Nicolás Mariano Obregón nmobre...@gmail.com Hi jaggu, first of all, to consume a WebService you need the *Ksoap2 *library. After you get it just check for a simple tutorial on how to use it and

[android-developers] HTC desire HD + List + password masking - crash issue

2011-11-22 Thread Rocky
I'm facing issue on edittext with password. It was working fine in my HTC desire 2.2, once it upgraded to 2.3.3 error is coming. I've 1 application with List, once you click on list it will display edit text to enter value. Once you type value, and clicked on OK button, value will append with

[android-developers] generating 1d barcode

2011-11-22 Thread Kubilay D . Yılmaz
Hi Friends, How can i generate barcodes in android? I tried java version of barcode4j but it uses awt components. -- 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] Can we implement “DigitalClock” widget by using separate images for each number?

2011-11-22 Thread Abhishek Kumar Gupta
Actually I want to implement the DigitalClock widget by using separate images for each number. e.g.:- For time - *01:23*, I have to use separate image for '0', '1', '2, '3'. Is it possible? If possible, then please provide some reference to implement it. Any help in this regard will be well

Re: [android-developers] how to decompose .apk file

2011-11-22 Thread Mohd Arshi Khan
yes I want to extract java files from .apk but when i use Win Rar or 7zip its extract only folowing files: - META-INF - res - AndroidManifest.xml - classes.dex - resources.arsc i think java files are in classes.dex file but how to extract it and get main coding file? -- You

Re: [android-developers] Re: NoClassDefFoundError

2011-11-22 Thread Ratheesh Valamchuzhy
paste the code... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] how to decompose .apk file

2011-11-22 Thread Ratheesh Valamchuzhy
procedure to decoding .apk files---step wise method-- step 1: = make a new folder and put .apk file (which you want to decode) now rename this .apk file with extension .zip (eg:rename from filename.apk to filename.apk.zip) and save it..now you get classes.dex files etc...at this stage

[android-developers] Re: Can we implement “DigitalClock” widget by using separate images for each number?

2011-11-22 Thread Abhishek Kumar Gupta
Actually, I have to include Digital minutes inside the dial of the AnalogClock widget. Currently I have implemented Digital minutes with the help of textview updating the textview with updateAppWidget(). But I want to display Digital minutes with separate image for each digit. -- You

Re: [android-developers] how to decompose .apk file

2011-11-22 Thread Mohd Arshi Khan
nice site http://apkdecompile.com/ Thank u all friends...:) -- 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] Android market Payment System

2011-11-22 Thread subha
Hi GoogleGroups, We are planning to develop an App. The application is downloadable for free and after the app is installed, the user has to pay to take each test which differs in pricing. please suggest if this is feasible to be done.if it is possible let me know how this could be accomplished.

Re: [android-developers] how to decompose .apk file

2011-11-22 Thread Mohd Arshi Khan
cmd prompt command dex2jar classes.dex or dex2jar classes.dex show error: *java is not recognized as an internal or external command, operable program or batch file.* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] How to pass a web link to a button.

2011-11-22 Thread Mohd Arshi Khan
When the button is clicked (e.g., android:onClick attribute), call startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); where url is the URL you want to link to. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Programatically adding a contact issue

2011-11-22 Thread Alok Kulkarni
Hi all, I am developing a Backup restore app for contacts.There is this device HTC Desire which has Birthday and Anniversary Fields which are not present on my devices.For each field i apply ContentProviderOperation.newInsert() and finally ContentProviderResult[] res =

[android-developers] Re: android builtin listview widget and fixed headers

2011-11-22 Thread Dav
I understand that i have to implement my own custom listivew to enable both horizontal and vertical scrolling . But here i need to freeze some of the columns say i am trying to develop a cross table widget . I am looking for ideas here how to fix the header and scroll the items in the table. Fix

[android-developers] Re: to start an activity

2011-11-22 Thread Ali Chousein
Check the signatures for onCreate/onStart/onRestart/onResume/onPause/ onStop/onDestroy; they are all protected! Which means you cannot call them manually yourself. All you can do is to start an activity (e.g. startActivity(new Intent(context, YourActivity.class))) or to finish the activity

[android-developers] Re: XML file parsing ............

2011-11-22 Thread Ali Chousein
For parsing your XML you can use SAX parser. Google for Java SAX parser example. The rest of your questions, I'm sorry I don't understand. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered

[android-developers] VPN on android

2011-11-22 Thread chander
Hi all, I have to setup VPN client and server on android,what are the steps to create this in my source code. please tell me the procedure so that i can develop my own client and server to communicate through VPN. thanks Chandra -- You received this message because you are subscribed to the

[android-developers] Re: Want to develop Android app for Garmin Connect

2011-11-22 Thread Ali Chousein
Just checked what Garmin connect is. Try to talk to their online interface with HTTP GET and HTTP POST requests. Check the documentation for the Garmin connect API about how to interact with their interface. Your question is not specific to Android, it's about programming against RESTful

[android-developers] Re: How come there is no PROFILE specific URI for raw contact data in the contact api?

2011-11-22 Thread Ali Chousein
Once I wrote a blog about CONTACT_ID and RAW_CONTACT_ID. Maybe you'll find it useful: http://android-contact-id-vs-raw-contact-id.blogspot.com/ - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy

[android-developers] Re: Action Bar

2011-11-22 Thread Royston
Mark, Perhaps I could ask for an opinion here. I was intending to publish two version of an App, one pre-honeycomb and one honeycomb and beyond. With respect to the honeycomb devices I will be using Theme android:Theme.Holo. Bearing in mind ICS upcoming devices, do you consider it safe to

[android-developers] sending message

2011-11-22 Thread Narendra Singh Rathore
Hi all, Can any one plz suggest me how to send sms and email using android app. any help will be appreciated. -- 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] sending message

2011-11-22 Thread Raghav Sood
Open the SMS and/or email app, type out your message and send it. Thanks On Tue, Nov 22, 2011 at 4:52 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hi all, Can any one plz suggest me how to send sms and email using android app. any help will be appreciated. -- You received

[android-developers] Re: Activity animation

2011-11-22 Thread Neilz
I've tried various combinations yes, but the departing activity always just goes 'phhh' :) On Nov 21, 10:28 pm, TreKing treking...@gmail.com wrote: On Mon, Nov 21, 2011 at 12:04 PM, Neilz neilhorn...@gmail.com wrote: The function *is* being called on the new activity. It's when the user

Re: [android-developers] Re: Activity animation

2011-11-22 Thread Kostya Vasilyev
You are supposed to set the animations once, after having called finish() on the exiting activity. Make sure to set the parameters correctly - one is the exit animation for activity we're exiting, the other is the entry animation for the activity we're entering. Oh, and it definitely does work.

Re: [android-developers] Re: Action Bar

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 6:19 AM, Royston roystonpcar...@gmail.com wrote: Bearing in mind ICS upcoming devices, do you consider it safe to assume that if a particular device does not show a menu icon in the ActionBar then it will definitely put a menu icon somewhere else? I guarantee you that

Re: [android-developers] Re: android builtin listview widget and fixed headers

2011-11-22 Thread Mark Murphy
There was another developer on this list in the past few months attempting to pull off the same thing, with several posts along the way. You might search the archives to find those. On Tue, Nov 22, 2011 at 5:23 AM, Dav sweetcha...@gmail.com wrote: I understand that i have to implement my own

Re: [android-developers] Location Manager

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 1:30 AM, Siva Prakash siva.yuvan2...@gmail.com wrote: - Will it work though I close my application ? Briefly, until Android gets rid of your process, AFAIK. This is bad form -- do not leak a LocationListener. - Anyway for me to locationManager.removeUpdates () when

Re: [android-developers] generating 1d barcode

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 4:03 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: How can i generate barcodes in android? I tried java version of barcode4j but it uses awt components. One popular possibility is to use an online service like Google Charts, if your app will have Internet

Re: [android-developers] sending message

2011-11-22 Thread Narendra Singh Rathore
hey Raghav I actually want to develop an application for sending sms I hope u got it now -- 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,

Re: [android-developers] VPN on android

2011-11-22 Thread Mark Murphy
AFAIK, there are no APIs for you to configure a VPN programmatically. While there is VpnService added to API Level 14 (Ice Cream Sandwich), it appears to be more to allow you to define new types of VPN connections, not to actually create the connection yourself (User action is required to create a

[android-developers] fetching image from sqlite

2011-11-22 Thread Narendra Singh Rathore
Hi all I am stucked in a problem Here I want to retrieve image from sqlite database and show it in gridview I am actually giving path of that image in database, which I put in android_assets Plz help me to do that. -- You received this message because you are subscribed to the Google Groups

[android-developers] getting parse error

2011-11-22 Thread Sumedh
Hi, I have developed an application in eclipse. And created its apk file by using key. For creating an application I have used the API level 7 and also tried with API level 3. When I try to download the apk on my phone (Micromax A60) with android version Eclair 2.1 it gives me 'Parse Error' with

Re: [android-developers] sending message

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 6:22 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Can any one plz suggest me how to send sms and email using android app. any help will be appreciated. Use ACTION_SEND and allow the user to choose how to send the message and to edit its contents. Or, use

[android-developers] Re: Activity animation

2011-11-22 Thread Neilz
Kostya, would you have a brief example of what you mean here? I call overridePendingTransition() in my onCreate() method, but I don't explicitly call finish() or do anything beyond that. On Nov 22, 12:02 pm, Kostya Vasilyev kmans...@gmail.com wrote: You are supposed to set the animations once,

Re: [android-developers] HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!

2011-11-22 Thread Mark Murphy
2011/11/21 Tomáš Hubálek tom.huba...@gmail.com: BTW: Splitting bitmap into multiple chunks does now work as undocumented limit is for whole RemoteView update. Then use multiple RemoteView updates, one per chunk. Or use a ContentProvider. 1) What Google recommends to do? - Use content

Re: [android-developers] Re: Activity animation

2011-11-22 Thread Kostya Vasilyev
Ah. That's it. http://developer.android.com/reference/android/app/Activity.html#overridePendingTransition%28int,%20int%29 *Call immediately after one of the flavors of startActivity(Intent) or finish() to specify an explicit transition animation to perform next.* As a test, override

Re: [android-developers] HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!

2011-11-22 Thread Kostya Vasilyev
Using multiple remote views per update is a sure way to get a messed up widget after a configuration change, and sometimes sooner. 2011/11/22 Mark Murphy mmur...@commonsware.com 2011/11/21 Tomáš Hubálek tom.huba...@gmail.com: BTW: Splitting bitmap into multiple chunks does now work as

[android-developers] C2DM app server component limitations?

2011-11-22 Thread Brian G
I've developed an app which allows users to control their PC-based PVR (using wifi or mobile internet). The PVR software isn't written by me so I have written an associated Windows Service which runs on each of the users' own PCs to act as a proxy between my app and the PVR software. I'd like to

[android-developers] Re: NoClassDefFoundError

2011-11-22 Thread rachana govilkar
Hey problem is solved i was returning null from a function thnk u for attention btw. :) On Nov 22, 2:30 pm, Ratheesh Valamchuzhy android...@gmail.com wrote: paste the code... -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: NoClassDefFoundError

2011-11-22 Thread Ratheesh Valamchuzhy
ok. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options,

[android-developers] How to combine 'StateListDrawable + NinePatchDrawable'?

2011-11-22 Thread Build account
Hello. Any idea to combine StateListDrawable and NinePatchDrawable classes? to use programmatic image changer?? Any experiences or idea? since this is important to me.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!

2011-11-22 Thread Mark Murphy
OK, so, use a content provider. Admittedly, it'd be nice if there were a way to serve up files from RAM via a content provider -- the only way I know to serve files via openFile() is for them to actually exist as files somewhere, meaning disk I/O for no particularly good reason. On Tue, Nov 22,

Re: [android-developers] How to combine 'StateListDrawable + NinePatchDrawable'?

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 7:43 AM, Build account newandroi...@gmail.com wrote: Any idea to combine StateListDrawable and NinePatchDrawable classes? That doesn't make sense. Your StateListDrawable can refer to multiple nine-patch PNG files. That's how button backgrounds work, for example. Why

[android-developers] Re: Activity animation

2011-11-22 Thread Neilz
Bingo! Thanks Kostya :) On Nov 22, 12:23 pm, Kostya Vasilyev kmans...@gmail.com wrote: Ah. That's it. http://developer.android.com/reference/android/app/Activity.html#over... *Call immediately after one of the flavors of startActivity(Intent) or finish() to specify an explicit transition

Re: [android-developers] generating 1d barcode

2011-11-22 Thread Kubilay D . Yılmaz
Dear Mark, Thank you for your response, I have also own services that produces barcode using barcode4j api, however I have to generate inside android device. On 22 November 2011 14:12, Mark Murphy mmur...@commonsware.com wrote: On Tue, Nov 22, 2011 at 4:03 AM, Kubilay D. Yılmaz

Re: [android-developers] generating 1d barcode

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 8:13 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Thank you for your response, I have also own services that produces barcode using barcode4j api, however I have to generate inside android device. If I had to guess, you will probably have to port something to

Re: [android-developers] How to triger Google Places details activity?

2011-11-22 Thread TreKing
On Tue, Nov 22, 2011 at 2:38 AM, Kamen Goranchev kamen.goranc...@gmail.comwrote: Is there a way use the Maps application to display list of points, but not giving a search query? Not in any official capacity, AFAIK. You're probably better off using the Places API.

Re: [android-developers] Android market Payment System

2011-11-22 Thread TreKing
On Tue, Nov 22, 2011 at 3:42 AM, subha subhashini.andr...@gmail.com wrote: The application is downloadable for free and after the app is installed, the user has to pay to take each test which differs in pricing. please suggest if this is feasible to be done.if it is possible let me know how

[android-developers] ScrollView crashing on Pinch and Zoom

2011-11-22 Thread B.Arunkumar
Hi, We have defined a layout programmatically as below: framelayout1 = new FrameLayout(this); FrameLayout.LayoutParams r1 = new FrameLayout.LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT); framelayout1.setLayoutParams(r1); scrollview = new

[android-developers] Client/Server SSL Authentication

2011-11-22 Thread mgolds02
I need a few clients to connect to a few PHP web services via HTTPS. I'd like for them to NOT have to enter any authentication details but rather use certificate authentication. I already have an CA certificate and a secure domain. Are there any good examples/ tutorials that provide a

Re: [android-developers] sending message

2011-11-22 Thread Klimek
Lol, u re noob bro! Dnia 22 lis 2011 o godz. 12:22 Narendra Singh Rathore nsr.curi...@gmail.com napisał(a): Hi all, Can any one plz suggest me how to send sms and email using android app. any help will be appreciated. -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Activity animation

2011-11-22 Thread Klimek
You have to add a sysconfig , or something like that. The app will be not killed or will, thats ur choice. Dnia 21 lis 2011 o godz. 23:28 TreKing treking...@gmail.com napisał(a): On Mon, Nov 21, 2011 at 12:04 PM, Neilz neilhorn...@gmail.com wrote: The function *is* being called on the new

Re: [android-developers] Re: Activity animation

2011-11-22 Thread Klimek
If u re working on the build.prop , go from 32 to 64 , for better performance Dnia 22 lis 2011 o godz. 12:36 Neilz neilhorn...@gmail.com napisał(a): I've tried various combinations yes, but the departing activity always just goes 'phhh' :) On Nov 21, 10:28 pm, TreKing treking...@gmail.com

Re: [android-developers] Re: second call to setListAdapter() ignored

2011-11-22 Thread Kostya Vasilyev
Just for kicks, here is a fast scoll helper I just started using in my current project. It's a mash-up of two classes: one taken from Rings Extended, the other from ICS sources. https://kmansoft.wordpress.com/2011/11/22/another-fast-scroller-helper-for-listview/ -- Kostya 21 ноября 2011 г.

Re: [android-developers] Client/Server SSL Authentication

2011-11-22 Thread Nikolay Elenkov
On Tue, Nov 22, 2011 at 11:39 PM, mgolds02 mgold...@gmail.com wrote: I need a few clients to connect to a few PHP web services via HTTPS. I'd like for them to NOT have to enter any authentication details but rather use certificate authentication.  I already have an CA certificate and a secure

Re: [android-developers] Re: Activity animation

2011-11-22 Thread TreKing
On Tue, Nov 22, 2011 at 8:19 AM, Klimek oskarklimkow...@gmail.com wrote: You have to add a sysconfig , or something like that. The app will be not killed or will, thats ur choice. On Tue, Nov 22, 2011 at 8:16 AM, Klimek oskarklimkow...@gmail.com wrote: If u re working on the build.prop , go

[android-developers] GridView

2011-11-22 Thread nanna
I drop the gridview control on main.xml . Now in java file I want to create the 10 column and 10 rows dynamically and fill the gridview cell by some text value . also I want to change the color of the any cell . how can i achieve my task -- You received this message because you are subscribed

[android-developers] OpenGL doesnt work- not even sample

2011-11-22 Thread Stephen Lee
When my emulator (API 14.0) is running, I can go through API Demos and select BasicGLSurfaceView (OpenGLES2), the app runs and a triangle spins. When I load the project into Eclipse and build, the same program stops working in the emulator as soon as I unlock the phone and let it load, or load it

Re: [android-developers] OpenGL doesnt work- not even sample

2011-11-22 Thread Christopher Van Kirk
Does the emulator work with OpenGL ES 2 now? When did that happen? On 11/23/2011 12:45 AM, Stephen Lee wrote: When my emulator (API 14.0) is running, I can go through API Demos and select BasicGLSurfaceView (OpenGLES2), the app runs and a triangle spins. When I load the project into Eclipse and

Re: [android-developers] OpenGL doesnt work- not even sample

2011-11-22 Thread Christopher Van Kirk
Sorry, I'll solve your problem as well. The reason you're getting that error is that you've requested an EGL configuration that your device doesn't support for whatever reason, so the EGL configuration chooser factory is ending with no 'valid' configuration. That throws an exception that the

Re: [android-developers] GridView

2011-11-22 Thread Mark Murphy
Create an Adapter that serves up your desired data, with whatever coloring logic you want. On Tue, Nov 22, 2011 at 11:43 AM, nanna rajeshgupta1...@gmail.com wrote: I drop the gridview control on main.xml  . Now in java file I want to create the 10 column and 10 rows dynamically and fill the

[android-developers] How to get rid of Cupcake Button Scrollbar

2011-11-22 Thread lbendlin
Yes, yes, this is a very old problem. Nevertheless I would like to find a fix for it. Some of my buttons have text that technically is too large for the size of the button. This works just fine for anything 1.6+. But on Cupcake the poor button is feeling obliged to render a vertical scrollbar

[android-developers] Re: how to decompose .apk file

2011-11-22 Thread lbendlin
What I meant is that this website, while supposedly offering a service, could in fact just slurp up all the apks that are uploaded, and do things with them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re:my app

2011-11-22 Thread jaggu
hi myt takeing 58mb memory space how to reduce the memory my application -- 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] Re:my app

2011-11-22 Thread Raghav Sood
Use lighter stuff in your app? On Tue, Nov 22, 2011 at 11:19 PM, jaggu mjagadeeshb...@gmail.com wrote: hi myt takeing 58mb memory space how to reduce the memory my application -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: OpenGL doesnt work- not even sample

2011-11-22 Thread Stephen Lee
Thank you for your posts. I guess the emulator just isnt capable of opengl es 2, but the demos are very misleading. You can go to api demosgraphicsopengl es 2 and it will run. If you see the code in the sdk samples folder, it is opengl es 2. I will try to run the sample on my phone asap On Nov

Re: [android-developers] Re: OpenGL doesnt work- not even sample

2011-11-22 Thread Romain Guy
The emulator does not support OpenGL ES 2.0 at the moment. You'll need a device to run them. On Tue, Nov 22, 2011 at 10:16 AM, Stephen Lee stephenl7...@yahoo.comwrote: Thank you for your posts. I guess the emulator just isnt capable of opengl es 2, but the demos are very misleading. You can go

[android-developers] Re: How come there is no PROFILE specific URI for raw contact data in the contact api?

2011-11-22 Thread Satya Komatineni
The immediate problem seem to be my over caution that made me put cv.put(Data.IS_USER_PROFILE, 1); My reasoning was that this will be used to distinguish whether to add the data element to the profile raw contact or the plain raw contact. That paranoia seem to be unfounded. when I remove this

[android-developers] ChartDroid 3rd party library for dynamic graphing

2011-11-22 Thread droid-stricken
Hi, I had posted the same question on StackOverflow y'day and it does not seem to have strung a chord with users there. So, i am hoping someone in this group might have some insights to share - My question: Have anyone of you used chartDroid for displaying dynamic graphs esp. bargraphs? The

[android-developers] Weird memory issue on Samsung Galaxy Note

2011-11-22 Thread Ab
My application crashes on the Samsung Galaxy Note, apparently due to memory issues. The weird part is that my app does not appear to be using a particularly large amount of memory at the time of the crash. However, according to the logs, the OS seems to think that memory is running low and starts

Re: [android-developers] Re:my app

2011-11-22 Thread Jim Graham
On Tue, Nov 22, 2011 at 11:19:08PM +0530, jaggu wrote: hi myt takeing 58mb memory space how to reduce the memory my application You've already got it down to 58 thousandths of a bit (0.058 b) How small do you really expect to get it? Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73

Re: [android-developers] Re:my app

2011-11-22 Thread Chris Ruskai
I see what you did there. On Tue, Nov 22, 2011 at 2:20 PM, Jim Graham spooky1...@gmail.com wrote: On Tue, Nov 22, 2011 at 11:19:08PM +0530, jaggu wrote: hi myt takeing 58mb memory space how to reduce the memory my application You've already got it down to 58 thousandths of a bit (0.058

Re: [android-developers] Weird memory issue on Samsung Galaxy Note

2011-11-22 Thread Kostya Vasilyev
The first bunch of logcat messages mean that this process has a fairly high memory churn rate, about 2-3 megabytes per second. Still, this should only affect your process making it slower - it does _seem_ like a firmware issue to me, perhaps a lame optimization attempt? I'd recommend trying to

Re: [android-developers] Re: Android 3.1 and USB to Serial

2011-11-22 Thread Taylor Alexander
We have successively implemented an app that talks directly to an FTDI chip over USB on an Android 3.1 Tablet (Acer A500) using this code: http://android.serverbox.ch/?p=370 Note that the Samsung Galaxy Tab 10.1 (as of the 3.1 update - trying 3.2 now) lacked some component of the USB structure

[android-developers] ViewPager and OnItemClickListener in ListView

2011-11-22 Thread keyboardr
I'm working on creating a swipe-to-dismiss list view adapter. My basic methodology is to wrap the list item's view as the second view in a ViewPager and provide the necessary callbacks in the item change listener of the ViewPager. Through much pain I've got the View recycler working as

[android-developers] Verifying app signatures

2011-11-22 Thread Fernando T
So we want to verify that all apps on a phone come from the Android Market, because the setting to install apps only from the market can be turned on and off, in addition to apps being installed with adb, etc. One way I thought to do this is to make sure that it is signed by the developer of the

Re: [android-developers] Verifying app signatures

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 3:17 PM, Fernando T ftr...@gmail.com wrote: Is there a way to programmatically get either the APK or the signature of the APK from the Android Market? Not without copyright violations. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Extreme battery life

2011-11-22 Thread Bret Foreman
I'm looking to put a phone in a remote location off the grid to report back some sensor data once a day. I can buy after-market extended-life batteries for many popular phones and I'm wondering what kind of life I might get from this arrangement. The big batteries hold about 4000mAh. I'd like the

Re: [android-developers] Extreme battery life

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 4:26 PM, Bret Foreman bret.fore...@gmail.com wrote: I'm looking to put a phone in a remote location off the grid to report back some sensor data once a day. I can buy after-market extended-life batteries for many popular phones and I'm wondering what kind of life I

[android-developers] Re: Verifying app signatures

2011-11-22 Thread MB
Some developers publish the same apk (signed by the same certificate) on both the Android market and other channels. In that case checking the public key of the signing certificate would not work. The only way to really ensure that an app is installed from Android market would be to use the same

[android-developers] Re: Extreme battery life

2011-11-22 Thread Bret Foreman
On Nov 22, 1:44 pm, Mark Murphy mmur...@commonsware.com wrote: If your CPU is in sleep mode except during a small window to gather and upload your data (e.g., using AlarmManager) maybe you could get this sort of life, but I'm dubious it can make it 4 months. After all, the battery loses power

[android-developers] Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-22 Thread sblantipodi
As title. Is there some android engineer here who can explain me why galaxy nexus isn't able to go into usb host mode please? I connected mouse, keyboards, usb stick, nothing works. WHy? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Action Bar

2011-11-22 Thread String
Being fortunate enough to live in the land of the Galaxy Nexus Launch, I can speak to some of this. The GN has three places it will put a soft menu button, none of which are represented in the 4.0 emulator, unfortunately. Presumably, because it doesn't have some build flag set to say there's

[android-developers] Re: SDK 4, if I select WXGA resolution, emulator doesn't start.

2011-11-22 Thread sblantipodi
bump On Nov 20, 7:22 pm, sblantipodi perini.dav...@dpsoftware.org wrote: After the latest update it is not possible to start Emulator using WXGA resolution, this is an old problem. Is there someone who succed to use API Level 14 with WXGA res? -- You received this message because you are

[android-developers] Re: Extreme battery life

2011-11-22 Thread Bret Foreman
A little research found that my Samsung Droid Charge uses the ARM Cortex A8. Here's the datasheet for the Freescale version of that chip: http://cache.freescale.com/files/32bit/doc/data_sheet/IMX50CEC.pdf Note that the top of page 24 describes a Stop Mode with a maximum power draw (at 25 degrees

Re: [android-developers] Re: Extreme battery life

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 5:14 PM, Bret Foreman bret.fore...@gmail.com wrote: No, I don't have to take sensor data except right before I launch the daily reading. But even when the CPU is just ticking over doing nothing it still has to keep a bunch of volatile state in registers and RAM and

[android-developers] Re: Extreme battery life

2011-11-22 Thread Bret Foreman
On Nov 22, 2:52 pm, Mark Murphy mmur...@commonsware.com wrote: If you want, give me an idea of what sort of device you'd want to be running, and I can try to find something roughly equivalent here in my Secret Mountain Lair. I'll charge it up, put it on airplane mode, and let it sit for a

RE: [android-developers] Re: Extreme battery life

2011-11-22 Thread Tommy Hartz
Have you considered a solar phone charger? http://www.rei.com/gear/feature/search/Google/solar%20charger?s_kwcid=TC|130 29|solar%20phone%20charger||S|e|8644334045cm_mmc=ps_google_CH-_-Category%20 -%20Nav%2fCom-_-Nav%2fCom_Solar_Charger_General-_-solar%20phone%20chargergc

[android-developers] SDK Manager update fails every time

2011-11-22 Thread JavaSrvcs
When I launch SDK Manager and update, I get this error message every time, any ideas? SDK Manager: failed to install -= Warning ! =- A folder failed to be moved. On Windows this typically means that a program is using that folder (for example Windows Explorer or your anti-virus software.)

[android-developers] Re: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-22 Thread Bret Foreman
What does the logcat say? On Nov 22, 2:24 pm, sblantipodi perini.dav...@dpsoftware.org wrote: As title. Is there some android engineer here who can explain me why galaxy nexus isn't able to go into usb host mode please? I connected mouse, keyboards, usb stick, nothing works. WHy? Thanks.

[android-developers] Samsung Galaxy Tab 10.1

2011-11-22 Thread JavaSrvcs
I have a Samsung Galaxy Tab 10.1. Is there a way to dump out the ROM, run it under emulation, modify the ROM (store my settings or backup on my PC) and restore back to the device? I have asked around other groups, but no clear answer. What are the best free (or commercial) tools for dumping

Re: [android-developers] Re: Extreme battery life

2011-11-22 Thread Mark Murphy
On Tue, Nov 22, 2011 at 6:21 PM, Bret Foreman bret.fore...@gmail.com wrote: Mark, that would be very nice of you. Contact me off-list and we can figure out what device(s) I'll test for you. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Re: Extreme battery life

2011-11-22 Thread Bret Foreman
On Nov 22, 3:33 pm, Tommy Hartz droi...@gmail.com wrote: Have you considered a solar phone charger? The environment is too dirty for a solar charger. It doesn't take much dust to cut the panel efficiency down to almost nothing. -- You received this message because you are subscribed to the

RE: [android-developers] Re: Extreme battery life

2011-11-22 Thread Tommy Hartz
Ah ok well best of luck with your endeavor! -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Bret Foreman Sent: Tuesday, November 22, 2011 6:47 PM To: Android Developers Subject: [android-developers] Re: Extreme battery

[android-developers] Open Library to connect Lync Server 2010

2011-11-22 Thread khanh_qhi™
Hi, I want to build a communication application on Android that can connect Lync Server. So, anyone know any open lib to solve this? Thanks a lot! -- Regards, Khanh. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] how to dismiss all contextMenus/submenus from an AlertDialog result

2011-11-22 Thread Edmund
Hi, I have an alert dialog i show after the user selects a certain menu item. If the answer is 'yes' to the alert dialog it works fine as the next menu that is shown is the submenu (looks like a context menu) for that option. however, what i want to try to do is if the answer is 'no' to the

[android-developers] Re: fetching image from sqlite

2011-11-22 Thread lbendlin
So you're not actually storing the image in the database, just the path to the image. (Very good). Now all you need is to dynamically address an item in the assets folder. Have a look at AssetFileDescriptor afd = getAssets().openFd(file name); -- You received this message because you

Re: [android-developers] Re: to start an activity

2011-11-22 Thread devdutt wanjari
pls suggest me best books for android developement. I am new to android and want to be andorid devloper. thanks in advance..! On Tue, Nov 22, 2011 at 11:37 AM, BelvCompSvs fa829...@gmail.com wrote: yes - put that in the search bar at developer.android.com On Nov 21, 10:54 pm, mohana priya

  1   2   >