Re: [android-developers] Setting Screen Orientation in Service!!

2011-10-05 Thread Marcin Orlowski
And why you want to enforce certain screen orientation for non UI element like service? It's makes no much sense. If you really need certain orientation for your *Activity*, enforce it there, either via code or manifest. Otherwise keep your hands off of this unless you love users to give you names.

[android-developers] Re: How to highlight a focused item in a custom list view ?

2011-10-05 Thread abi
Thanks for your reply. My custom list view consists of Relative Layout with textviews and an image view. I need to highlight(that orange color) the selected row while focussing.. Please Suggest.. On Oct 5, 2:03 pm, tonypopsonic wrote: > set the property in the layout file. > > -

Re: [android-developers] In-app Billing - not working on 1.6 & 2.1

2011-10-05 Thread Kostya Vasilyev
2011/10/5 Sheado > Hello, > > In-app billing doesn't seem to be working on 1.6 & 2.1. I'm testing > with the Dungeons sample app and purchasing android.test.purchased. > Same issue in my own app. > I just ran a quick test on a 2.0.1 device, and it worked - for an app that's in production, with a

[android-developers] Retrieving Android API version programmatically on Android 1.5?

2011-10-05 Thread saex
Hi I know that it is possible to do it with version 1.6 or higher with this code: int currentapiVersion = android.os.Build.VERSION.SDK_INT; if (currentapiVersion >= android.os.Build.VERSION_CODES.FROYO){ // Do something for froyo and above versions } else{ // do something for phones runni

RE:[android-developers] How to highlight a focused item in a custom list view ?

2011-10-05 Thread tonypopsonic
set the property in the layout file. --- Sent from ShangMail:Travel with free pushmail www.shangmail.com -- 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] Access Pc from android Device

2011-10-05 Thread Sebs
hi, we are having an requirement where we need to access a file from computer to our android device. Please any one can direct us where to look for. Regards, Sebs -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] How to highlight a focused item in a custom list view ?

2011-10-05 Thread abi
How to highlight a focused item in a custom list view ? Please Suggest. -- 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: Browse .apk structure on android phone and compute file digest

2011-10-05 Thread Nikolay Elenkov
On Wed, Oct 5, 2011 at 5:06 PM, Leo wrote: > OK, > The apk file is not unpacked after installation, it stored as is > inside android either in internal memory or on SD-card in android- > secure directory. > Here is the code that I wrote to access the CERT.RSA file from inside > the application. >

[android-developers] Re: My Camera view is overlapping GLSurfaceView... but i want that it gets overlayed by GLSurfaceView

2011-10-05 Thread saex
i checked that in Android 2.2.2 (motorola Droid) it works perfect, but if i test it on versions from 1.5 to 2.1, then it works bad, the cameraview overlapps the other views... i checked also that if i invert the position of the views on the contentview of my app (first the GLSurfaceView, after the

RE:[android-developers] cursor.moveToFirst() & cursor.moveToLast() time consuming issue with sqlite database.

2011-10-05 Thread tonypopsonic
In fact,sqllite will meet performance issues when deal with mass data. --- Sent from ShangMail:Travel with free pushmail www.shangmail.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: Browse .apk structure on android phone and compute file digest

2011-10-05 Thread Leo
OK, The apk file is not unpacked after installation, it stored as is inside android either in internal memory or on SD-card in android- secure directory. Here is the code that I wrote to access the CERT.RSA file from inside the application. It seems that this is the only way, but maybe I'm wrong.

[android-developers] Re: cursor.moveToFirst() & cursor.moveToLast() time consuming issue with sqlite database.

2011-10-05 Thread Zsolt Vasvari
There is a limit of 256KB (?) for your data for SQLite to be able to move backwards at a reasonable pace. Once you go over it, you will see a bunch of messages in the log and the move will become very slow and AFAIK, there is nothing you can do about it other than to optimize the size of your resu

[android-developers] Browse .apk structure on android phone and compute file digest

2011-10-05 Thread petr.maza...@mautilus.com
How the .apk installation process works on device? Is the .apk file just copied to some place and kind of installer application extracts the application information, register somehow the application to environment, extract also the icon and put it on the application launch screen? Or the .apk conte

[android-developers] Re: Question about accented characters in Android Sqlite

2011-10-05 Thread Doug
Read the javadocs for SQLiteDatabase. Apparently you need to do something special for localization/collation, but they don't really help you out that much. Maybe it's time to google an answer to get your database queries to localize properly. Doug On Oct 4, 4:41 am, Jairo de Almeida wrote: > H

[android-developers] Adding raw folder to a native app

2011-10-05 Thread sriram
Hi All, I have downloaded the android source code and have added a new application to the source code. I am able to compile it and see it on the device using the resultant image files. However if I add a "raw" folder to my application and build it along with the native source, it is (the raw folde

[android-developers] My Camera view is overlapping GLSurfaceView... but i want that it gets overlayed by GLSurfaceView

2011-10-05 Thread saex
I have an augmented reality app that shows the the camera view and a GLSurfaceView with a polygon that can be rotated touching the screen. The main layout of my app is a FrameLayout. The frameLayout contains the cameraView and the GLSurfaceView. My app also have two buttons on the screen (zoom in/o

[android-developers] Re: super slow code

2011-10-05 Thread Doug
On Oct 4, 9:42 am, bob wrote: > Does anyone know why this code is ridiculously slow and/or how to make > it faster? What do you mean by "ridiculously slow"? Have you considered using DataInputStream to read binary data instead of parsing string-tokenized data? Doug -- You received this messag

[android-developers] cursor.moveToFirst() & cursor.moveToLast() time consuming issue with sqlite database.

2011-10-05 Thread imran ali
Hi all, in my one application,using sqlite database i have to show approx 17000 data from database one by one, on backward & forward buttons.For that i have been using cursor.moveToFirst(), cursor.moveToNext(), cursor.moveToPrevious(), cursor.moveToLast(), and showing desired result. every thing is

[android-developers] Re: Standards/Certification available for Android Aircraft Applications

2011-10-05 Thread Doug
On Oct 4, 6:18 am, Pathy wrote: > What procedure that i need to follow if i am going to install my > application on the aircraft. I think you're in the wrong place. You'll probably have to consult with the airline on which the craft will fly, or maybe even the FAA. What exactly are you trying t

[android-developers] Re: Have you developers even attempted address why this is happening?

2011-10-05 Thread Doug
If you are getting a "package not signed correctly" error, and you are a user of the Amazon app store, that probably means you are trying to update an app that you first downloaded from Amazon with the same app from the Android Market. Amazon repackages the developer's and includes some custom ant

[android-developers] Re: How can I get a cach directory of all installed applications

2011-10-05 Thread Doug
That's not all apps, that's just preloaded apps (and just the apk for each one). You'd also have to look in /data/app to find the apk for downloaded apps. Or you can use PackageManager to query Android for installed apps. Doug On Oct 4, 3:00 am, "Gokul.C" wrote: > see /system/app/ directory >

[android-developers] Re: Relative TIme Diff for Mysql Timestamp

2011-10-05 Thread Zsolt Vasvari
You use MySQL on Android? On Oct 4, 1:42 pm, Studio LFP wrote: > Are you wanting to compare the time in Android or have the database query in > MySQL do it? > > Steven > Studio LFPhttp://www.studio-lfp.com -- You received this message because you are subscribed to the Google Groups "Android Dev

<    1   2