[android-developers] ImageView drawing cache problem

2011-04-07 Thread Emrah KOCAMAN
Hi there, My application uses an imageview's drawing cache to create another imageview. It works very well on all devices except Motorola. Drawing cache comes always null in Motorola devices( like DROID2, DROIDX). My code portion is below. Does anyone has any idea about the solution? Thx in

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Evgeny Nacu
Hi again! DanH, I use thread synchronization. It works well. But, as I told in my first post, there are some problems: The biggest problem: I can't use Cursor for my ListAdapter and ExpandableListAdapter I've got to use something like ArrayAdapter, read all data from cursor to java objects at

[android-developers] Re: Google Maps API Key not working? Only Grid!

2011-04-07 Thread Stephan Wiesner
You need to have two keys. The one shown looks like a production key? Then it only works if you export your app. For development you need to use your development cert file (see google docu). Sunny greetings from Zurich, Stephan On Apr 5, 8:43 pm, BroOf kontaktpl...@googlemail.com wrote: I just

[android-developers] Parshing error

2011-04-07 Thread rishabh agrawal
One day i installed my application mobile it run perfectly.But now i installed same apk file on another mobile phone then it get parshing error..How it is remove... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

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

2011-04-07 Thread String
I suspect this might be the best idea longer term: http://www.slashgear.com/bluestacks-is-androids-parallels-for-windows-04144132/ Note to Google: Please buy BlueStacks and use its tech as the basis for the next generation of emulators. Thank you. String -- You received this message because

[android-developers] Re: Is Xoom a Google reference device ?

2011-04-07 Thread String
If it wasn't sold by Google, it won't be updated by them. Consider the original Droid, the closest thing there was to a reference device for 2.0 (it was vanilla), but which hasn't received updates any faster than any other handset of its generation. IOW, experience says updates for the Xoom

[android-developers] ListActivity, Cursor, and CursorAdapter

2011-04-07 Thread android.xi...@gmail.com
In my game, a table is created with 3 columns, _id, player_name, score. It is easy to get the name and score, order by score desc, then get anther value rank. If I want to display the rank number in the list activity (which is not in the cursor, but the sequence of the records), is it possible

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

2011-04-07 Thread Mike Bear
Please take the table in DB for example: ID Player_Name Score 1 Jim 10 2 Bill 20 3 Bob 15 4 Mike 9 In the ListActivity, I want it shows like: Rank Player_Name Score 1 Bill 20 2 Bob 15 3 Jim 10 4 Mike 9 On Thu, Apr 7, 2011 at 2:48 PM, android.xi...@gmail.com

[android-developers] Re: Google maps Android function

2011-04-07 Thread Andrei
Thanks for that posted my question. Browse Groups I found a way to solve problems! Left alone. If I want in my application to make a route on the map, then I'll have to use third-party web server? Do I understand correctly? On 31 мар, 00:50, Mark Murphy mmur...@commonsware.com wrote: On Wed,

[android-developers] Re: Parshing error

2011-04-07 Thread rishabh agrawal
plz reply -- 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

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread gjs
C O N T E N T P R O V I D E R On Apr 7, 4:01 pm, Evgeny Nacu evgeny.n...@gmail.com wrote: Hi again! DanH, I use thread synchronization. It works well. But, as I told in my first post, there are some problems: The biggest problem: I can't use Cursor for my ListAdapter and

[android-developers] Re: Running camera in background

2011-04-07 Thread gjs
Hi, Maybe try running camera preview inside live wallpaper. http://developer.android.com/resources/articles/live-wallpapers.html And remember to use front facing camera. Regards On Apr 7, 2:04 pm, TreKing treking...@gmail.com wrote: On Tue, Apr 5, 2011 at 8:51 AM, nandiniH

[android-developers] Mobile Hands-on Labs v1.5

2011-04-07 Thread James Baker
I was surfing net for updates and I found Mobile Hands-on Lab v1.5. It has modules that cover Qt, Web Development and Java Me. It give an outline to the module contents, explains the Development Environment, describes the key aspects of the programming language, also provides with an optional

[android-developers] Re: Inbuilt SIP Stack for Video Conferencing?

2011-04-07 Thread j.s. mammen
I havent personally used it but its a good start, http://sipdroid.org/ On Apr 1, 5:04 pm, saha dev naveda...@gmail.com wrote: Hi all, In developer.android.com, they have mentioned it as the inbuilt SIP stack can be used for video conferencing. Is Anyone successful in using the SIP for video

[android-developers] Re: NFC reader

2011-04-07 Thread nadam
http://developer.android.com/guide/topics/nfc/index.html#write On 6 Apr, 20:53, android user android.fa...@googlemail.com wrote: Hi, I want to connect an NFC Tag reader to Android SDK program so i can read write a Tag using Android SDK program. How to do this? John Martin. -- You received

[android-developers] Re: NFC: attach tag to an application

2011-04-07 Thread Michael Roland
Hallo, On Apr 6, 4:04 pm, colusan colu...@gmail.com wrote: Hi, I'm developing NFC applications for Android 2.3.3. Previously, I was programming Nokia JavaME NFC applications. For NFC Forum External Type (“urn:nfc:ext:example.com:example”) could use a method called PushRegistry to register

Re: [android-developers] Re: Neighboroughing cells never there.

2011-04-07 Thread Filip Havlicek
Yes, I think this bug on Samsung phones have been discussed several times already. 2011/4/5 kabracity kabrac...@gmail.com Hi Spike66, I was having the same issue yesterday; are you by any chance trying it on a Samsung phone (Galaxy, Nexus S...). I found out neighbouring cell info function

[android-developers] GSM google maps

2011-04-07 Thread Jayanthi
Hi, I want to get live details about the restaurant near my locality , How to do that any Example is there please help me, Thanks in Advance -- 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: NFC reader

2011-04-07 Thread GuiGui
Hi, I have the same probleme to you... How connect an external reader to the simulator of Android SDK. I want that external reader simulate the antenna of the simulated mobile in the AndroidSDK Tks for your reply!! On 6 avr, 15:53, android user android.fa...@googlemail.com wrote: Hi, I

[android-developers] Re: SSL certpath error, Issue in Android or on server side?!

2011-04-07 Thread Sebastian Wagner
From my point of view one of those ROOT CA's is missing: https://www.thawte.com/roots/index.html Accepting all Cert's to workaround does not work either. Importing the ROOT CA into the application like described here: http://blog.antoine.li/index.php/2010/10/android-trusting-ssl-certificates/

[android-developers] Re: Running camera in background

2011-04-07 Thread Simon-Lennert Raesch
I have tried several IP Webcam Applications but they all stop updating the frames as soon as you leave the app (i.e. the app still running in the background, webserver still responsive, etc) So it either isn't possible or only on some devices, as they say in the description it was, but with my

[android-developers] CA certificates distributed with Android

2011-04-07 Thread Christoffer Davidsson
Hi, is there a list or documentation of certificates which come distributed with Android? Something similar to these lists: http://support.apple.com/kb/HT3580 http://support.apple.com/kb/HT4415 Or is the way to go to add any certificates you need to the application? Thanks, Christoffer --

[android-developers] Re: SSL certpath error, Issue in Android or on server side?!

2011-04-07 Thread Sebastian Wagner
okay command aborted :)) With the help of this code I was able to accept any Cert: http://www.google.com/codesearch/p?hl=de#HWjuhIdT4ps/trunk/src/org/transdroid/util/FakeSocketFactory.java bit still it was quite tricky to find it out Sebastian -- You received this message because you are

Re: [android-developers] Honeycomb Sourcecode

2011-04-07 Thread Marcin Orlowski
So my question is: where can I ask for the sourcecode ? AFAIK you can't, unless you are sort of hw manufacturer etc. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... WebnetMobile on *Facebook http://webnetmobile.com/fb/* and

Re: [android-developers] Honeycomb Sourcecode

2011-04-07 Thread Marcin Orlowski
On 7 April 2011 10:40, Marcin Orlowski webnet.andr...@gmail.com wrote: So my question is: where can I ask for the sourcecode ? AFAIK you can't, unless you are sort of hw manufacturer etc. ... or sign sign a licensing agreement. Try using your publisher consoler's Help - Contacting Us form

[android-developers] How to retrieve Android Version info

2011-04-07 Thread Amit
Hi, There are two properties avaibale to indicate version info. android.os.Build.VERSION.RELEASE(provides string e.g. 1.6, 2.2 etc.) android.os.Build.VERSION_CODES(it provides int) Does it mean Build.VERSION.RELEASE is OS version in string form that is provided by Build.VERSION_CODES. Thanks,

[android-developers] recycle bitmap

2011-04-07 Thread vani reddy
Hi , I am gettting the following exception in log 04-07 14:06:13.759: ERROR/AndroidRuntime(3233): java.lang.OutOfMemoryError: bitmap size exceeds VM budget 04-07 14:06:13.759: ERROR/AndroidRuntime(3233): at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) 04-07 14:06:13.759:

[android-developers] Re: Tab Layout not working

2011-04-07 Thread Liunai
Actually, that's what I did... or at least tried to do. It seems that the problem is calling setContentView() with the reference to the XML, R.layout.datiattrib. For example if I try creating a TextView like this: TextView textview = new TextView(this); textview.setText(TextView1); and then

Re: [android-developers] recycle bitmap

2011-04-07 Thread Kostya Vasilyev
Bitmap.recycle() http://developer.android.com/reference/android/graphics/Bitmap.html#recycle() 07.04.2011 13:21, vani reddy пишет: Hi , I am gettting the following exception in log 04-07 14:06:13.759: ERROR/AndroidRuntime(3233): java.lang.OutOfMemoryError: bitmap size exceeds VM budget

[android-developers] Checkbox problem

2011-04-07 Thread grevenilvec
I have a big Problem with my Listview and its Checkboxes... Every thing is shown and works fine, until I click on one of the Checkboxes. Then other Boxes are checked and sometimes even without checking the one, I clicked. I searched the web, but didn't find a solution that is working. Now I'm

[android-developers] Can we use our own ttf to pass cts?

2011-04-07 Thread Chris
Hi all, I use my own ttf named DroidSans.ttf to run cts. I can't pass some pacakges.(android.widget.cts.RelativeLayoutTest) What's wrong with that? My ttf is correct and I can see it changed successfully in my device. Thanks -- You received this message because you are subscribed to the Google

[android-developers] uri

2011-04-07 Thread rahul
For using API phonecall(string uri) i need the uri for a particular contact. i am getting content://contacts/people/1 as URI but don't know how to get this 1? content://contacts/people/1 this i refers to what? -- You received this message because you are subscribed to the Google Groups

[android-developers] map application with thematic map

2011-04-07 Thread Handita Okviyanto
I just have a problem to make an application that can show a map in android. I want to make such a thematic map. is there any posibility to load an object like svg in android? So we can manipulate it later like coloring the object, showing data to object, and give a listener when we click or tap

Re: [android-developers] recycle bitmap

2011-04-07 Thread vani reddy
Hi, I referred the below link: http://www.memofy.com/memofy/show/1008ab7f2836ab7f01071c2dbfe138/outofmemory-exception-when-decoding-with-bitmapfactory http://www.memofy.com/memofy/show/1008ab7f2836ab7f01071c2dbfe138/outofmemory-exception-when-decoding-with-bitmapfactorywhen to recycle the

[android-developers]

2011-04-07 Thread vani reddy
Hi, i am not able to understand when to call the recycle() method? -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Parshing error

2011-04-07 Thread rishabh agrawal
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] Adding JAR files to project, but not in Eclipse

2011-04-07 Thread skera
Hi! For developing in Android, I'dont use Eclipse + ADT, just console(batch files) + ANT to compile my projects, because I've a quite slow PC, and it's faster for me to do everything in command line. My question is: How can I add JAR files to my project (for example, I want to use the maps.jar

[android-developers] Installation Error

2011-04-07 Thread rishabh agrawal
When i installed my application on real android phone it give parshing error and the application not installed.Please suggest me how to remove this error. -- 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] bitmap prob

2011-04-07 Thread vani reddy
Hi, when i try to recycle the bitmap its throwing the below error 04-07 16:15:55.861: ERROR/AndroidRuntime(6255): java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@45044b80 04-07 16:15:55.861: ERROR/AndroidRuntime(6255): at

Re: [android-developers] Installation Error

2011-04-07 Thread Cliff Davies
The first, most important step, would be to try repeatedly bumping your post. If that fails you could take the second, slightly more extreme, step which would be to post the question again under a different heading. If at this point you're still having no luck (and you should only try this as a

Re: [android-developers] bitmap prob

2011-04-07 Thread Kostya Vasilyev
It's just as it says - trying to draw the bitmap after it's been recycle()'d. Recycle only those bitmaps that aren't needed anymore. -- Kostya 07.04.2011 14:33, vani reddy пишет: Hi, when i try to recycle the bitmap its throwing the below error 04-07 16:15:55.861:

Re: [android-developers] Adding JAR files to project, but not in Eclipse

2011-04-07 Thread Mark Murphy
On Thu, Apr 7, 2011 at 6:23 AM, skera szrnka.pe...@gmail.com wrote: Hi! For developing in Android, I'dont use Eclipse + ADT, just console(batch files) + ANT to compile my projects, because I've a quite slow PC, and it's faster for me to do everything in command line. My question is: How

Re: [android-developers] Can we use our own ttf to pass cts?

2011-04-07 Thread Mark Murphy
This question has nothing to do with this list. Please visit http://source.android.com and find a list appropriate for your use case (e.g., [android-porting]). On Thu, Apr 7, 2011 at 5:58 AM, Chris chrisha...@gmail.com wrote: Hi all, I use my own ttf named DroidSans.ttf to run cts. I can't

Re: [android-developers] How to retrieve Android Version info

2011-04-07 Thread Mark Murphy
On Thu, Apr 7, 2011 at 4:44 AM, Amit agrawalamit2...@gmail.com wrote: There are two properties avaibale to indicate version info. android.os.Build.VERSION.RELEASE(provides string e.g. 1.6, 2.2 etc.) android.os.Build.VERSION_CODES(it provides int) Does it mean Build.VERSION.RELEASE is OS

[android-developers] Re: java.lang.NoSuchMethodException + Jackson Parser

2011-04-07 Thread ko5tik
I think this issue is not related to android, and is best asked on jackson mailing lists. It says that jackson has tried to deserealize, guessed some (setter) method name and was bombed because it was unavailable. This may happen is JSON contains some fiels which was not there before, of of

Re: [android-developers] How to parse dynamic Json tag in Android

2011-04-07 Thread Mark Murphy
Use org.json.JSONObject. On Thu, Apr 7, 2011 at 1:35 AM, Er. syed imran ali imran...@gmail.com wrote: Hi all, In one of my application i have been getting big json that i have to parse, in that i have one part there is dynamic json tag, so can you please help to parse it in proper way. i

[android-developers] Re: Rich UI Development

2011-04-07 Thread lbendlin
http://www.droiddraw.org/ -- 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

Re: [android-developers] bitmap prob

2011-04-07 Thread vani reddy
Hi, Actually for our project we have set a timer to refresh the offers every 60sec and redraw the view, how to know that the bitmaps are not required anymore? This is what i want. On Thu, Apr 7, 2011 at 4:15 PM, Kostya Vasilyev kmans...@gmail.com wrote: It's just as it says - trying to draw

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread DanH
The problem is that when you hold the cursor open the database is locked. That feature is not really applicable to a multi-threaded SQL environment. On Apr 7, 1:01 am, Evgeny Nacu evgeny.n...@gmail.com wrote: Hi again! DanH, I use thread synchronization. It works well. But, as I told in my

Re: [android-developers] take a photo and set as marker

2011-04-07 Thread lbendlin
You _could_ use SQLite to store reference information (lat,lon, image path) but you could also just use the EXIF information. Be aware that you may not get a location fix quick enough when you take a picture (unless network location accuracy is sufficient) -- You received this message

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

2011-04-07 Thread lbendlin
what's wrong with monitoring the events and throwing the ones in the ignore area away? -- 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] bitmap prob

2011-04-07 Thread Kostya Vasilyev
? ? ? It's your code, so you should know which images are no longer needed. 07.04.2011 15:16, vani reddy пишет: Hi, Actually for our project we have set a timer to refresh the offers every 60sec and redraw the view, how to know that the bitmaps are not required anymore? This is what i want.

[android-developers] Invalidating a Canvas view that is part of setContentView()

2011-04-07 Thread Enrique López Mañas
Hello, Using the example from the API FingerPaint as a basis, I have something similar to the following structure: public class FingerPaint extends GraphicsActivity implements ColorPickerDialog.OnColorChangedListener { [...] @Override protected void

Re: [android-developers] Parsing data from a calender on a website

2011-04-07 Thread lbendlin
The javascript will only have the calendar logic. The actual data will be generated on the fly in the browser. Short of pulling the complete webpage into a webview and then accessing the data fields from there you can't get what you want. -- You received this message because you are

Re: [android-developers] Invalidating a Canvas view that is part of setContentView()

2011-04-07 Thread Kostya Vasilyev
Keep a reference to MyView in the activity, just like you would normally do with: findViewById(... buttonSomethingOrOther ... ) Add methods to MyView to do what you need. Call those methods as necessary, just like you can call mButton.setEnabled(false); or whatever. -- Kostya 07.04.2011

[android-developers] disable scroll when activity loads

2011-04-07 Thread Hitendrasinh Gohil
hi, I am using below code snippet to fire a scroll event. public void onScroll(AbsListView view, int firstVisible, int visibleCount, int totalCount) { topPosition = firstVisible; boolean loadMore = /* maybe add a padding */

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

2011-04-07 Thread Kostya Vasilyev
That's not what I'm seeing with my current project. My UI code uses a LiveView with a CursorAdapter, and has background threads that access and write to the database, sometimes using transactions, sometimes not. I've never seen a database locked exception, even when triggering a background

[android-developers] Re: Checkbox problem

2011-04-07 Thread grevenilvec
If someone has the same issue, I fixed it now. Just switched the setOnCheckedChangeListener rows with the setChecked call and now it's just working fine. Even though I don't understand that issue. ^^ Best regards Tobi On 7 Apr., 11:48, grevenilvec greven...@googlemail.com wrote: I have a big

Re: [android-developers] Re: Checkbox problem

2011-04-07 Thread Kostya Vasilyev
Checked change listeners are called in response to manually calling setChecked, not just user actions. This makes it important to call setChecked and setOnCheckedChangeListener in correct order. If your code called setChecked first, it would then call the old checked listener, which would

[android-developers] Re: How to have 2 click listener on a group in expandableListView

2011-04-07 Thread Carbodrache
For the moment I will make a button on the group's view to do what I want. But my objective is to have this comportment for the group: - by clicking on the expand/collapse button - expand/collapse the group - by clicking on the group (except the expand button!) do something else On 5 avr, 08:43,

[android-developers] Blank Edit Text Problem

2011-04-07 Thread Gabriel
I'm making kind of a calculator and everything is working fine. Except when I leave one of the 4 EditText fields blank, the application cracks (stops unexpectly). How can I work this out? It would be good to, when this happens (EditText blank) just put a empty message at the destination. Part of

Re: [android-developers] Blank Edit Text Problem

2011-04-07 Thread Kostya Vasilyev
07.04.2011 15:57, Gabriel пишет: I'm making kind of a calculator and everything is working fine. Except when I leave one of the 4 EditText fields blank, the application cracks (stops unexpectly). How can I work this out? In general, when something like this happens, you use the debugger to

Re: [android-developers] bitmap prob

2011-04-07 Thread vani reddy
Hi, Please find attached my code, getBitmap() is converting to bitmap . Tell me where shud i use the recycle method? 2011/4/7 Kostya Vasilyev kmans...@gmail.com ? ? ? It's your code, so you should know which images are no longer needed. 07.04.2011 15:16, vani reddy пишет: Hi, Actually

[android-developers] Logcat debug level --help

2011-04-07 Thread Yash Jain
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. I am interested only to display the error messages in the log

[android-developers] Re: nine patch image clipped along the borders

2011-04-07 Thread Gaunt Face
I'm having this exact same issue and have never had this problem (from 1.5 onwards) On Feb 22, 1:55 pm, rahul titare rahul.titare...@gmail.com wrote: Hello, I have aninepatchimage. Everything works fine i.e. draw9patch,selector etc But when actually seeing in device, the border of the

Re: [android-developers] bitmap prob

2011-04-07 Thread Kostya Vasilyev
Use it on bitmaps that are no longer needed. It's your application, you should know when that is. -- Kostya 2011/4/7 vani reddy vani.redd...@gmail.com Hi, Please find attached my code, getBitmap() is converting to bitmap . Tell me where shud i use the recycle method? 2011/4/7 Kostya

[android-developers] Re: How to retrieve Android Version info

2011-04-07 Thread Amit
Thanks Mark! Does this mean, for Version_Codes, RELEASE field provide string as shown in list. Build.VERSION_CODES(int)Build.VERSION.RELEASE(String) 3. 1.5 4. 1.6 5.

Re: [android-developers] How to retrieve Android Version info

2011-04-07 Thread lbendlin
However, Build.VERSION.SDK_INT is only available from API level 4 (1.6). If you target 1.5 devices you need to use Build.VERSION.SDK and do the int parsing manually. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: map application with thematic map

2011-04-07 Thread lbendlin
use overlays and draw your shapes manually into them. -- 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: map application with thematic map

2011-04-07 Thread lbendlin
here's a sample approach http://stackoverflow.com/questions/3109158/how-to-draw-a-path-on-a-map-using-kml-file/3109723#3109723 -- 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: Parshing error

2011-04-07 Thread Hari Edo
On Apr 7, 2:55 am, rishabh agrawal android.rish...@gmail.com wrote: plz reply rishabh agrawal, your question made no sense because it had no details that we could use to understand the problem. This is not the first time that your questions on this forum were helpless. Could you please read

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Evgeny Nacu
Kostya, how many users do use your app? Cause my version works ok for me and for most my users. But some of them keep getting such error. I think, this problem is related to some devices, not every. Or, may be some very specific cases. Also, do your background threads use ContentProvider to

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

2011-04-07 Thread Kostya Vasilyev
2011/4/7 Evgeny Nacu evgeny.n...@gmail.com Kostya, how many users do use your app? It's still in development, so about 30-50. Cause my version works ok for me and for most my users. But some of them keep getting such error. Can you find out what those devices are? It might give you some

[android-developers] Launch activity on a file with certain name pattern (file-manager independent)

2011-04-07 Thread Dmitry Golubovsky
Hi, Suppose I have a number files whose names satisfy certain pattern, located anywhere in the file system (SD card likely). I am looking for a file-manager independent way to launch a predefined target activity upon user tapping on those files icons provided that the activity has proper intent

[android-developers] SQLCipher for Android?

2011-04-07 Thread DanH
Has anyone done this? Is there a commercial version available? -- 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] PDF

2011-04-07 Thread Ralph Bergmann
Hi, I would like to know is there a way/framework to open/show a PDF in my own App? Or is the only way to open it with an PDF reader (external app)? Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] PDF

2011-04-07 Thread Kostya Vasilyev
There are PDF libraries for Android out there, IIRC a couple were hosted on Google Code. -- Kostya 07.04.2011 19:49, Ralph Bergmann пишет: Hi, I would like to know is there a way/framework to open/show a PDF in my own App? Or is the only way to open it with an PDF reader (external app)?

[android-developers] Re: SQLCipher for Android?

2011-04-07 Thread lbendlin
Have you looked at this? http://www.hwaci.com/sw/sqlite/see.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Creator problem using location.

2011-04-07 Thread Sahil Verma
The documentation for createFromParcel suggests that the location object should have been written to the parcel with writeToParcel. Have you tried this method on the location object instead of writeParcelable on the parcel object? -- You received this message because you are subscribed to

Re: [android-developers] Re: SQLCipher for Android?

2011-04-07 Thread Kostya Vasilyev
A couple more: http://www.sqlite-encrypt.com/ http://sqlite-crypt.com/ Both of these are commercial. -- Kostya 07.04.2011 19:42, lbendlin пишет: Have you looked at this? http://www.hwaci.com/sw/sqlite/see.html -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Tab Layout not working

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 4:23 AM, Liunai tidolamiam...@gmail.com wrote: Actually, that's what I did... or at least tried to do. It seems that the problem is calling setContentView() with the reference to the XML, R.layout.datiattrib. Why does it seem that that's the problem?

[android-developers] Re: Will maxSdkVersion=10 always block Honeycomb?

2011-04-07 Thread Yan
Ah, unofficial means. Good thing you mentioned that. I guess that could mean ROM's too. I better just redesign my user-interface... On Apr 6, 9:57 pm, TreKing treking...@gmail.com wrote: On Tue, Apr 5, 2011 at 11:35 AM, Yan yinor...@gmail.com wrote: can I be certain that any device with an

[android-developers] Intent Not Received after application started

2011-04-07 Thread Gorka Hernando
Hi, I am trying to read NFC tags with my Nexus S mobile. In my Manifest file I have the intent filtered: intent-filter action android:name=android.nfc.action.NDEF_DISCOVERED/ data android:mimeType=*/* / category

Re: [android-developers] uri

2011-04-07 Thread TreKing
How many times are you going to post the same question? http://groups.google.com/group/android-developers/browse_thread/thread/79acffdca9e1bec8/35a1f6af7bf0a50b?#35a1f6af7bf0a50b

Re: [android-developers]

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 5:11 AM, vani reddy vani.redd...@gmail.com wrote: i am not able to understand when to call the recycle() method? i am sorry to hear that? - TreKing

[android-developers] Problem loading gadget

2011-04-07 Thread b_t
Hi, Some of my users always complaining about that my appwidgets gone when they update my application. The problem loading gadget text are displayed instead of my widgets. If I know well, than this message is displayed when the OS can't found the application for the widget. What can cause this

Re: [android-developers] Launch activity on a file with certain name pattern (file-manager independent)

2011-04-07 Thread Dianne Hackborn
Use adb logcat to look at the Intent the programs you are interacting with are trying to start. The platform does not allow the user to tap on arbitrary files with unknown MIME types on the SD card, so there is no standard convention for this. For icons on the home screen, you can have an

[android-developers] Re: SQLCipher for Android?

2011-04-07 Thread DanH
I don't see where any of those have been ported to Android. On Apr 7, 11:04 am, Kostya Vasilyev kmans...@gmail.com wrote: A couple more: http://www.sqlite-encrypt.com/ http://sqlite-crypt.com/ Both of these are commercial. -- Kostya 07.04.2011 19:42, lbendlin пишет: Have you looked

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

2011-04-07 Thread Dianne Hackborn
Keeping an active cursor is *not* a problem. This is done all of the time. The cursor just holds an in-memory copy of a window on the result set. The only time it needs to look the database is when it is filling the window. On the other hand, having a transaction open will keep the database

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

2011-04-07 Thread Steven
Hi, sorry for my delay replying. The app is unpublished (draft) and all the in app products are published. Unfortunately we still have the same error. Also in Google Checkout which shows the purchase as cancelled, there doesn't seem to be any way to retry the purchase or delete it / mark it

[android-developers] Re: Glass frame, How? :-(

2011-04-07 Thread niko20
You can easily extend from an ImageView and do your own custom drawing using 9 patch images to create the frame. See the Google documentation about creating custom controls. It's actually pretty easy to do once you try it out. -Brad On Apr 5, 9:11 pm, Ashwin Kumar ashwinkumar...@gmail.com wrote:

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

2011-04-07 Thread niko20
What's really strange is for me the emulator actually runs better on my Core 2 Duo system at home which is slower than a Quad core system here at work. -Brad On Apr 7, 1:40 am, String sterling.ud...@googlemail.com wrote: I suspect this might be the best idea longer

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

2011-04-07 Thread Kostya Vasilyev
Steven, Weird. I've made two purchases with Dungeons under the test account, and the orders went through all the way immediately. They were both for sword_001, which is managed. Perhaps you could try a different customer phone, and / or contact Market support. -- Kostya 07.04.2011

[android-developers] android:configChanges=keyboardHidden|keyboard never handle onConfigurationChanged

2011-04-07 Thread viktor
Hi, How to handle soft keyboard state for example VISIBLE and HIDDEN? I tried with android manifest but nothing happening!!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: How to retrieve Android Version info

2011-04-07 Thread Mark Murphy
On Thu, Apr 7, 2011 at 9:30 AM, Amit agrawalamit2...@gmail.com wrote: Thanks Mark! Does this mean, for Version_Codes, RELEASE field provide string as shown in list. Build.VERSION_CODES(int)        Build.VERSION.RELEASE(String) 3.                                               1.5 4.        

Re: [android-developers] android:configChanges=keyboardHidden|keyboard never handle onConfigurationChanged

2011-04-07 Thread Mark Murphy
On Thu, Apr 7, 2011 at 12:27 PM, viktor victor.scherb...@gmail.com wrote: I tried with android manifest but nothing happening!!! That is because soft keyboard visible/hidden is not a configuration change. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] Problem loading gadget

2011-04-07 Thread Mark Murphy
You will get that message if there is any problem with your app widget, such as you crashed during onUpdate(). On Thu, Apr 7, 2011 at 12:16 PM, b_t bartata...@gmail.com wrote: Hi, Some of my users always complaining about that my appwidgets gone when they update my application. The problem

Re: [android-developers] Re: Will maxSdkVersion=10 always block Honeycomb?

2011-04-07 Thread Dianne Hackborn
Even official means. If the user receives an OTA update to a version after you say your app supports, we aren't going to remove your app from the device. That is the reason we stopped supporting this attribute in the platform, it was dumb, and leads to really dumb behavior like that. On Thu,

[android-developers] Re: Android sqlite and multithreading

2011-04-07 Thread Nathan
On Apr 7, 9:23 am, Dianne Hackborn hack...@android.com wrote: You should never open a database multiple times.   Let me make sure I understand this rule. It seems reasonable to pass an intent: + A path to a database + A key to find information in said database. Then the activity will create

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

2011-04-07 Thread Nadeem Hasan
Use the cursor position by calling Cursor.getPosition(). -- 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

  1   2   3   >