Re: [android-developers] Re: How do you specify ContentProvider authorities when using the Lite Pro app publishing model?

2010-12-14 Thread Mark Carter
The problem is, many users don't do that and you don't really want their first experience of the pro version to be an installation failed message. On 14 December 2010 15:10, Sarwar Erfan erfanonl...@gmail.com wrote: When I buy a pro version, usually I uninstall the lite verion before

Re: [android-developers] How do you specify ContentProvider authorities when using the Lite Pro app publishing model?

2010-12-14 Thread Kostya Vasilyev
Mark, The way you're doing this seems waaay too complicated. The goal is to use common code for the content provider, while being able to switch the authority string and the class name, agreed? If you are building with ant, there is a task that does string replacements. If you are using

[android-developers] Re: Newbie having trouble detecting when VideoView video playing completes

2010-12-14 Thread Zarah
I am not a guru, but I have tried using VideoView. I am using onCompletionListener() without any problems. Did you call finish() in your onCompletionListener()? - Zarah. On Dec 14, 12:11 am, vtb v...@lineone.net wrote: Hi Guru's New to Android. I am developing an app that plays videos

Re: [android-developers] Re: How to Declare file write permission in framework code

2010-12-14 Thread Dianne Hackborn
Please realize that this means your app widget is going to break in many other containers the user might be able to put it in (such as third party launchers) because they won't have declared this permission. The fact that you need to modify launcher to make your app widget work is a big hint that

[android-developers] Unit Testing Functional Testing

2010-12-14 Thread Etienne
I have created an app that sends intents among multiple activities. After doing some research i have found that the ActivityUnitTestCase class is designed for unit testing while the ActivityInstrumentationTestCase2 is designed for functional testing. I understand the use of methods such as

[android-developers] Re: Use shared preferences on non-app directory file

2010-12-14 Thread bagelboy
A user can clear app data, I want a file that is persistent On Dec 13, 9:50 pm, TreKing treking...@gmail.com wrote: On Mon, Dec 13, 2010 at 3:29 PM, bagelboy greg.do...@gmail.com wrote: Is there a way to use shared preferences on a different directory? What for? SharedPrefs are for storing

[android-developers] Need help in View

2010-12-14 Thread pramod.deore
Hi everybody, In my application I have a database which contains 3 tables. I am reading the database and show to the user using SimpleCursorAdapter . like: try { sampleDB = this.openOrCreateDatabase(SAMPLE_DBNAME, MODE_PRIVATE, null);

Re: [android-developers] How do you specify ContentProvider authorities when using the Lite Pro app publishing model?

2010-12-14 Thread Mark Carter
I think there is a problem there because you are setting AUTHORITY from the constructor and so there is a chance it has not been set when Uri.ParseUri(content:// + CommonContentProviderBase.AUTHORITY.) is called. It probably makes more sense for that static to be set as a final by using

[android-developers] open(/dev/graphics/fb0, O_RDWR) failded.

2010-12-14 Thread 袁堂夫
I use jni to open the Framebuffer,but it failed,logcat showed that permisson denied. how to fix this question? thank you~ -- 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] How do you specify ContentProvider authorities when using the Lite Pro app publishing model?

2010-12-14 Thread Kostya Vasilyev
14.12.2010 11:36, Mark Carter пишет: I think there is a problem there because you are setting AUTHORITY from the constructor and so there is a chance it has not been set when Uri.ParseUri(content:// + CommonContentProviderBase.AUTHORITY.) is called. It probably makes more sense for that

Re: [android-developers] open(/dev/graphics/fb0, O_RDWR) failded.

2010-12-14 Thread Gergely Juhász
I think you need root permission for that. On 14 December 2010 09:54, 袁堂夫 yuantangf...@gmail.com wrote: I use jni to open the Framebuffer,but it failed,logcat showed that permisson denied. how to fix this question? thank you~ -- You received this message because you are subscribed to the

[android-developers] Re: How to Declare file write permission in framework code

2010-12-14 Thread Mansoor
hi Dianne Hackborn, is there any better way to handle this issue instead of modifying launcher ? -- 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

Re: [android-developers] open(/dev/graphics/fb0, O_RDWR) failded.

2010-12-14 Thread 袁堂夫
Thank you,Gergely Juhász. I just write an aplication and call jni to do this ,how to get root permission? 2010/12/14 Gergely Juhász jg.sv...@gmail.com: I think you need root permission for that. On 14 December 2010 09:54, 袁堂夫 yuantangf...@gmail.com wrote: I use jni to open the

[android-developers] Re: Fm Radio

2010-12-14 Thread wolf
thanks for the response, no i mean how it's works, not how i use API or the FM Radio from android On Dec 14, 5:18 am, Brill Pappin br...@pappin.ca wrote: I don't remember seeing any API for FM Radio... do you mean steaming radio? - Brill -- You received this message because you are

[android-developers] Re: Fm Radio

2010-12-14 Thread wolf
thanks mr. mark, but i don't want to use it via Android SDK but i want to know how it's works On Dec 13, 11:04 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Dec 11, 2010 at 8:31 AM, wolf wolfy1...@gmail.com wrote: how the fm radio it works on android phones ? i mean, can you send

Re: [android-developers] open(/dev/graphics/fb0, O_RDWR) failded.

2010-12-14 Thread Marcin Orlowski
On 14 December 2010 09:54, 袁堂夫 yuantangf...@gmail.com wrote: I use jni to open the Framebuffer,but it failed,logcat showed that permisson denied. how to fix this question? thank you~ On most devices direct access to framebuffer is not available unless you got root access (i.e. as part of OS or

[android-developers] How to display a raw YUV frame on android?

2010-12-14 Thread 袁堂夫
First,I am sorroy that my English is so poor. I try several method to display the yuv frame, but failed always.These method belowed: (1) I try to use opengl 2.0 and write shader, the question is that it is too slowly when upload texture with glTexImage2D. (2) I try to create Overlay from

[android-developers] Re: Need help in View

2010-12-14 Thread pramod.deore
Anyone know how to do this? Thanks On Dec 14, 1:35 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi everybody,            In my application I have a database which contains 3 tables. I am reading the database and show to the user using SimpleCursorAdapter . like: try         {          

Re: [android-developers] exception while creating activity

2010-12-14 Thread Narendra Bagade
pass intent object to startactivity() method. Narendra On Tue, Dec 14, 2010 at 1:11 PM, Honest honestsucc...@gmail.com wrote: hello, i am starting new activity from current activity but some how before starting activity i am getting Null Pointer exception. and startActivity() from source

Re: [android-developers] exception while creating activity

2010-12-14 Thread Narendra Bagade
ohhh ,u have to create object of bundle first,then put your values in bundle object On Tue, Dec 14, 2010 at 3:15 PM, Narendra Bagade bagadenaren...@gmail.comwrote: pass intent object to startactivity() method. Narendra On Tue, Dec 14, 2010 at 1:11 PM, Honest honestsucc...@gmail.com wrote:

[android-developers] Re: Need help in View

2010-12-14 Thread Sarwar Erfan
Try replacing your query Cursor c = sampleDB.rawQuery (SELECT RoomName, group_concat(SwitchFullName,'\n') as SwitchFullName FROM SwitchTable GROUP BY SwitchFullName,null); Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Need help in View

2010-12-14 Thread Sarwar Erfan
*Ignore previous reply.* There was a type due to copy paste: Use this: Cursor c = sampleDB.rawQuery (SELECT RoomName, *group_concat(SwitchFullName,'\n') as SwitchFullName* FROM SwitchTable *GROUP BY RoomName*,null); Regards Sarwar Erfan -- You received this message because you are

[android-developers] Problem with refreshing listview from a dialog window

2010-12-14 Thread Serdel
Hello, I have a listview and my implementation of the CursorAdapter. As a part of my list item I have a delete button. When the user presses the button I show a dialog asking for confirmation and if the user presses ok I delete the item from the database. The problem is with refreshing the

[android-developers] Re: Beginner questions

2010-12-14 Thread orlandroid
Mac works awesome. I develop on a MacBook Pro, I also use a Win Vista machine. No issue on either. I have developed on Ubuntu and it's equally good. The only difference is that Macs update their Java automatically and you don't need to install plugins to make your physical devices work with the

[android-developers] Re: Need help in View

2010-12-14 Thread pramod.deore
Hey Sarwar after writing query as Cursor c = sampleDB.rawQuery (SELECT _id,RoomName, group_concat(SwitchFullName,'\n')as SwitchFullName FROM SwitchTable GROUP BY RoomName,null); It works. Thank you very much. On Dec 14, 3:05 pm, Sarwar Erfan erfanonl...@gmail.com wrote: *Ignore previous

[android-developers] Re: setSingleChoiceItems api usage in a dialog

2010-12-14 Thread Gulfam
Try to use this layout (android.R.layout.simple_list_item_single_choice) instead of (android.R.layout.simple_list_item_1). I hope this will help you. Gulfam On Dec 14, 12:03 pm, Sudeep Sharma sudeep.andr...@gmail.com wrote: Hi,       I am using the API of Alert Dialog builder 1.  public

Re: [android-developers] Re: Fm Radio

2010-12-14 Thread Mark Murphy
On Tue, Dec 14, 2010 at 4:29 AM, wolf wolfy1...@gmail.com wrote: thanks mr. mark, but i don't want to use it via Android SDK but i want to know how it's works There is no FM radio in Android, period. Some Android devices may have FM radio capability, via firmware modifications made by those

Re: [android-developers] Re: How to Declare file write permission in framework code

2010-12-14 Thread Mark Murphy
In your original post, you indicated that you modified the firmware i created a custom listview in framework path: /froyo/frameworks/base/core/java/android/widget/). Hence, your questions belong on a more relevant list: http://source.android.com/community/index.html Your changes will only ever

[android-developers] Help in ExpandableList

2010-12-14 Thread pramod.deore
Hi I want to display data from database in ExpandableList format. I have a room table and one switch table I want to display it in ExpandableList so when I click on room table item then it shows switch item of that particular room. For this I read code ExpandableList1.java available in

[android-developers] Re: Help in ExpandableList

2010-12-14 Thread pramod.deore
For now I had just paste the code which is given at sample code. Please give me a suggestion what should I write in this method. On Dec 14, 4:07 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi I want to display data from database in ExpandableList format. I have a room table and one switch

[android-developers] A ready for Android development Eclipse

2010-12-14 Thread Roc Boronat
Download Eclipse, download the SDK, install ADT in Eclipse, point Eclipse to the SDK, download the last APIs from Google… I have no idea how many times I had to repeat this process on my machines, enough to go crazy! So, to improve the trainings we do at Catdroid.org and to not have to repeat

[android-developers] Re: monkeyrunner fails for emulator: Error starting command: monkey --port 12345

2010-12-14 Thread swarup
thanks to you both - Bill Greg With Greg's suggestion, everything works fine :) - ShellCommandUnresponsiveException still coming, and I am ignoring it, still everything works fine - device.takeSnapShot is wrong and using proper method call (as suggested by Bill) that also works fine. On Dec

Re: [android-developers] Re: Help in ExpandableList

2010-12-14 Thread Kostya Vasilyev
Pramod, Since your data is in a database, you may want to look at: http://developer.android.com/reference/android/widget/CursorTreeAdapter.html or its simple version, which requires less code, since it's driven by parameters passed into its constructor:

[android-developers] Key store is lost

2010-12-14 Thread Jiang
I lost the key store which has been used to sign a published application. I generated the key store with the following instructions: keytool -genkey -keystore keystore-name -storepass store-password -alias store-alias -keypass key-password -validity validity-date -dname d-name I remember all

Re: [android-developers] COPY PERMISSIONS (APK)

2010-12-14 Thread Vinicius Jose Grein
What I need to change in the firmware to allow this operation? On Fri, Dec 10, 2010 at 6:13 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Dec 10, 2010 at 3:05 PM, Vinicius Jose Grein viniciu...@gmail.com wrote: I'm developing an application that need to copy an apk do the folder

[android-developers] Re: Key store is lost

2010-12-14 Thread Sarwar Erfan
It is impossible to re-generate. If you have deleted it, try disk file recovery tools. Regards Sarwar Erfan -- 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] Key store is lost

2010-12-14 Thread Mark Murphy
You cannot generate the same keystore. The keys are randomly generated. You need to find the keystore which you used to sign your published application, such as restoring it from a backup copy. On Tue, Dec 14, 2010 at 6:35 AM, Jiang webs...@yahoo.cn wrote: I lost the key store which has been

Re: [android-developers] COPY PERMISSIONS (APK)

2010-12-14 Thread Mark Murphy
On Tue, Dec 14, 2010 at 6:39 AM, Vinicius Jose Grein viniciu...@gmail.com wrote: What I need to change in the firmware to allow this operation? That would be a fine question for a mailing list pertaining to firmware development: http://source.android.com/community/index.html -- Mark Murphy (a

Re: [android-developers] Key store is lost

2010-12-14 Thread Kostya Vasilyev
The arguments are just supplementary information, like your name and location. Key content is different each time. You should backup the key file to a safe place, like a usb flash drive or online storage / source repository. -- Kostya 14.12.2010 14:35, Jiang ?: I lost the key store

Re: [android-developers] Key store is lost

2010-12-14 Thread Marcin Orlowski
On 14 December 2010 12:35, Jiang webs...@yahoo.cn wrote: I lost the key store which has been used to sign a published application. I generated the key store with the following instructions: keytool -genkey -keystore keystore-name -storepass store-password -alias store-alias -keypass

Re: [android-developers] Re: setSingleChoiceItems api usage in a dialog

2010-12-14 Thread Sudeep Sharma
Gulfam, Thanks for the suggestion !! It worked. But similarly with android.R.layout.simple_list_item_2, in this case the same situation was there that radio button was not displayed. Now as per your solution the layout is there for single line

[android-developers] Re: New Android Market Client Update

2010-12-14 Thread tobias429
Unless your app is Smart phones for Complete Morons in 3 easy words, then chances are you don't want that person anyway as someone you'd have to support. It would cost you more than they paid for the app. First time I see a developer stating that certain customers are below his dignity level

[android-developers] Implementing WiFi proxy support in the master branch

2010-12-14 Thread Johnny
Hi everyone, I am a CS student and pursuing my Bachelors degree, currently in the 3rd year. I will have some university free time in the following weeks thanks to the winter break. I would like to implement WiFi proxy support on Android. If I do so, are there any plans to merge it into Eclari,

[android-developers] Re: Layout: Battery usage bar

2010-12-14 Thread Harpritt
Cool, Thanks for the explanation. I managed to get the code working perfectly in my app.. bloody fantastic! im impressed at how quick the framework is to pick up. Cheers again Kostya :) On Dec 13, 10:20 pm, Kostya Vasilyev kmans...@gmail.com wrote: These classes are not part of the SDK,

[android-developers] Re: Simple code hangs the android emulator.

2010-12-14 Thread swarup
I tried the same code 2.3 Emulator and I don't observe any hang. On Dec 14, 12:39 pm, Vladimir Florentino vinfo...@gmail.com wrote: The following simple code irrecoverably hangs the android emulator. I know the first reaction is to say that it's the while(true){}. Just remember that this is a

[android-developers] Re: Creating iPhone style bubble list view in android

2010-12-14 Thread swarup
I have not done, but it should be simple one: use custom view or inflate layout add views to create the list. use 9patch bubble images as background of your list elements. On Dec 14, 11:28 am, Rahul rahulvarma.kalidindi0...@gmail.com wrote: I am creating a chat application the interacts

[android-developers] monkeyrunner - How to simulate long press

2010-12-14 Thread swarup
Hi, any clue how to simulate long key press in MonkeyRunner? E.g. Long press on HOME key, or long press on list item to invoke context- sensitive-menu. I was expecting it should happen by the following code or similar code: device.press('KEYCODE_HOME','DOWN') but unfortunately only DOWN press

[android-developers] Playing an RTSP feed

2010-12-14 Thread Neilz
I'm trying to find a way to play an RTSP video stream in my app, and I'm getting nowhere fast using MediaPlayer or VideoView. I've read that the YouTube app plays these streams... is there a way I can launch the YouTube app as an intent and pass the stream URL? Thanks. -- You received this

[android-developers] Re: Determining the subset of text that is visible in a TextView

2010-12-14 Thread HippoMan
Hello. Sorry for the late reply. For some reason, your response didn't show up in the same thread as my question, and I only noticed it now. I have already looked through the TextView source code. The drawing of the text in the view is not done within that object. A subsidiary object handles this

RE: [android-developers] Scroll view scrolling

2010-12-14 Thread hanika
hi Thanks Regards, cid:image002.jpg@01CA2AEF.10F60770 Vijay Patel Test Engineer Elitecore Technologies Ltd. 904, Silicon tower, off C.G Road, Ahmedabad-380 006 Gujarat (INDIA), Tel: +91-79-66065606 | HYPERLINK mailto:vijay.pa...@elitecore.comvijay.pa...@elitecore.com HYPERLINK

[android-developers] Determining in advance how much text will fit into a given TextView?

2010-12-14 Thread HippoMan
In a different thread, I asked if there was a way to query some object to define what subset of a long piece of text is actually being shown within a given TextView. Based on the scant feedback I received in response to this query, I have come to the conclusion that android probably does not

[android-developers] Re: android bluetooth

2010-12-14 Thread Jags
Can anybody please put some insight into how can I intercept bluetooth handsfree button press in my application ? regards Jags On Nov 29, 3:36 pm, Jags jag...@gmail.com wrote: I am using an handsfree bluetooth handset in ndroid device. i need to program the handsfree in my application.

Re: [android-developers] Determining in advance how much text will fit into a given TextView?

2010-12-14 Thread Kostya Vasilyev
You can look at TextView source here, perhaps copy some code, or get some ideas: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/widget/TextView.java;h=64c9c9964d167532097964937dc9056d70ad0995;hb=froyo (this is for Froyo) But I'm wondering what you are

[android-developers] Problem with nested Layouts

2010-12-14 Thread Mad Troll
I'm trying to do layout where i will have table (6 rows and 10 columns) under it 2 buttons in one row then list i have something like that: ?xml version=1.0 encoding=utf-8? TableLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent

Re: [android-developers] display a view on an external display/minitor

2010-12-14 Thread Nicolas Hognon
2010/12/13 Mark Murphy mmur...@commonsware.com On Mon, Dec 13, 2010 at 11:35 AM, smithbob nicolas.hog...@gmail.com wrote: Is it possible to output a view from my application to an external display. It means being able to enumerate display/screen and then asign a view/window to a specific

[android-developers] How to calculate length of scroll view?

2010-12-14 Thread Ganapathy
Hi, How to calculate length of scroll view which have many children with different length. also how to find when it come to end while user scroll the scrollview. Thank you, Ganapathy. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] LocationListener's onLocationChanged() is not called (geo fix)

2010-12-14 Thread Danny Schimke
Hi, I have a Service that will run in Background even if the application is closed. I started the service and I can see it in the running services section under application settings. I am using *geo fix* to tell the emulator location changes. Every time I change the location there is an OK e.g.:

Re: [android-developers] Problem with nested Layouts

2010-12-14 Thread Kostya Vasilyev
Since you want buttons in a row, put them between TableRow and /TableRow. Use layout_column as necessary. For views that are not inside a TableRow, TableLayout works like a vertical LinearLayout, which is what you are seeing. -- Kostya 14.12.2010 17:17, Mad Troll пишет: I'm trying to do

[android-developers] Download, Update, Compile and publish Android source code on Windows

2010-12-14 Thread m88m
Hey Guys, I want to do a nice test to the Android OS. I would like to flash my Android device with my own android OS version (experimental purposes). So I know I can download the source code with git, but can I open it with Eclipse? how do I compile it, and the most important question, how do I

Re: [android-developers] display a view on an external display/minitor

2010-12-14 Thread Mark Murphy
On Tue, Dec 14, 2010 at 9:53 AM, Nicolas Hognon nicolas.hog...@gmail.com wrote: Does someone as an idea if something like this is planned in a future release ? In all likelihood, only after multiple device manufacturers have blazed the trail. I do not want to launch a troll making a

[android-developers] New HierarchyViewer, pixel-perfect mode gone?

2010-12-14 Thread Mark Murphy
The new HierarchyViewer is...interesting. However, the button in the lower left to switch to loupe or pixel-perfect mode seems perpetually disabled. Is there a trick now to make that work? Thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Copy Protection deprecated soon - is there a schedule?

2010-12-14 Thread Fredrik Jonson
Hi all, I've noticed the following message on Android Market: The copy protection feature will be deprecated soon, please use licensing service instead. I wonder, is there a fixed schedule for the deprecation of copy protection? How soon is soon? What will happen to apps that does not change

[android-developers] Re: Implementing WiFi proxy support in the master branch

2010-12-14 Thread Johnny
I should have posted this message on android-contrib. Nevermind :) On Dec 14, 1:58 pm, Johnny digist...@gmail.com wrote: Hi everyone, I am a CS student and pursuing my Bachelors degree, currently in the 3rd year. I will have some university free time in the following weeks thanks to the

[android-developers] How does Beautiful Widget do it?

2010-12-14 Thread Biosopher
Does anyone know how Beautiful Widget shows clouds floating over the top of all the desktop icons as well as over the top of any running application on device unlock? It seems odd that they would be able to grab the render buffer of a running application and display info above it. Any info would

Re: [android-developers] Re: Use shared preferences on non-app directory file

2010-12-14 Thread TreKing
On Tue, Dec 14, 2010 at 2:29 AM, bagelboy greg.do...@gmail.com wrote: A user can clear app data, I want a file that is persistent A user can clear their SD card, or perform a factor reset to wipe their phones. By that logic, there's no such thing as persistent data storage on a device.

Re: [android-developers] Custom dialog issues

2010-12-14 Thread TreKing
On Mon, Dec 13, 2010 at 4:34 PM, Antony BODY antony.b...@gmail.com wrote: Context mContext = getApplicationContext(); Dialog dialog = new Dialog(mContext); dialog.setContentView(R.layout.customdialog); dialog.show(); Let me guess, you were following the documentation, which is still

Re: [android-developers] App to place wallpapers on Android

2010-12-14 Thread TreKing
On Mon, Dec 13, 2010 at 5:33 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: I'm trying to place a number of static wallpapers on Android Marketplace No thanks. There's hell lot of such junk there already The OP didn't ask your opinion on whether he should upload his app or not and there

[android-developers] Re: screen brightness change

2010-12-14 Thread Jake Basile
As an aside, to find what broadcast intents are available, you can check in a few places: - In your platform folder for the version of Android you are targeting, look for the broadcast_actions.txt file. This contains the string action for any intent that the system can broadcast. -

[android-developers] Available databases for Android

2010-12-14 Thread Jawwad Farooq
Hi All, Can you please mention some of the databases like SQLite to use in Android applications?? Regards, Jawwad Farooq -- 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: LocationListener's onLocationChanged() is not called (geo fix)

2010-12-14 Thread Danny Schimke
Hi, I changed LocationManager.NETWORK_PROVIDER to LocationManager.GPS_PROVIDER and now onLocationChanged() is called. But I cant explain why?! I configured the proxy correctly and I am able to call websites from browser and load Google Map in my application. Anyone know why it does not work?

Re: [android-developers] Re: Pop up Dialog Not Displaying

2010-12-14 Thread TreKing
On Mon, Dec 13, 2010 at 8:36 PM, JoeSchmoe rthompson.dtisoft@gmail.comwrote: How do I post to the main thread though? I can't find any documentation on how to do that? http://developer.android.com/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable)

[android-developers] Re: Available databases for Android

2010-12-14 Thread Alessandro Pellizzari
Il Tue, 14 Dec 2010 07:28:34 -0800, Jawwad Farooq ha scritto: Can you please mention some of the databases like SQLite to use in Android applications?? 1- SQLite Bye. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: Pop up Dialog Not Displaying

2010-12-14 Thread Prakash Iyer
Look at the doc for Handler Looper. That's where you will handle the message. Pass that instance to the place where you read the socket message and use it to post. As you learn more you will want to take care of config changes, not updating the ui when it isn't visible etc. On Dec 13, 2010 9:37

[android-developers] Available databases for Android

2010-12-14 Thread Jake Basile
The only built in option is SQLite, available under android.database.sqlite. I'm not aware of anything else but there could be third party ones 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] New HierarchyViewer, pixel-perfect mode gone?

2010-12-14 Thread Jake Basile
I was able to get to it by selecting my device, and clicking inspect screenshot. It took a while but it opened up in PPV. -- 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: Available databases for Android

2010-12-14 Thread Bret Foreman
http://www.theregister.co.uk/2010/03/24/oracle_berkeley_db_android/ On Dec 14, 8:22 am, Jake Basile jakerbas...@gmail.com wrote: The only built in option is SQLite, available under android.database.sqlite. I'm not aware of anything else but there could be third party ones available. -- You

Re: [android-developers] New HierarchyViewer, pixel-perfect mode gone?

2010-12-14 Thread Julie Andrews
On Tue, Dec 14, 2010 at 8:45 PM, Mark Murphy mmur...@commonsware.comwrote: The new HierarchyViewer is...interesting. However, the button in the lower left to switch to loupe or pixel-perfect mode seems perpetually disabled. Is there a trick now to make that work? Thanks! -- Mark Murphy

Re: [android-developers] Available databases for Android

2010-12-14 Thread Julie Andrews
On Tue, Dec 14, 2010 at 8:58 PM, Jawwad Farooq jawwad.far...@gmail.comwrote: Hi All, Can you please mention some of the databases like SQLite to use in Android applications?? Regards, Jawwad Farooq -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: LocationListener's onLocationChanged() is not called (geo fix)

2010-12-14 Thread ip332
Because there were no changes in the network location. On Dec 14, 7:40 am, Danny Schimke danny.schi...@googlemail.com wrote: Hi, I changed LocationManager.NETWORK_PROVIDER to LocationManager.GPS_PROVIDER and now onLocationChanged() is called. But I cant explain why?! I configured the proxy

Re: [android-developers] Re: Available databases for Android

2010-12-14 Thread Julie Andrews
On Tue, Dec 14, 2010 at 9:58 PM, Bret Foreman bret.fore...@gmail.comwrote: http://www.theregister.co.uk/2010/03/24/oracle_berkeley_db_android/ On Dec 14, 8:22 am, Jake Basile jakerbas...@gmail.com wrote: The only built in option is SQLite, available under android.database.sqlite. I'm not

Re: [android-developers] Re: LocationListener's onLocationChanged() is not called (geo fix)

2010-12-14 Thread Danny Schimke
How can I simulate changes in the network location and why does it not changed, but GPS changed? THX, -Danny Schimke 2010/12/14 ip332 iprile...@gmail.com Because there were no changes in the network location. On Dec 14, 7:40 am, Danny Schimke danny.schi...@googlemail.com wrote: Hi, I

[android-developers] Re: Available databases for Android

2010-12-14 Thread Jawwad Farooq
Thanks to all of you Still looking for other answers On Dec 14, 9:28 pm, Bret Foreman bret.fore...@gmail.com wrote: http://www.theregister.co.uk/2010/03/24/oracle_berkeley_db_android/ On Dec 14, 8:22 am, Jake Basile jakerbas...@gmail.com wrote: The only built in option is

Re: [android-developers] Re: Available databases for Android

2010-12-14 Thread Julie Andrews
On Tue, Dec 14, 2010 at 10:04 PM, Jawwad Farooq jawwad.far...@gmail.comwrote: Thanks to all of you Still looking for other answers On Dec 14, 9:28 pm, Bret Foreman bret.fore...@gmail.com wrote: http://www.theregister.co.uk/2010/03/24/oracle_berkeley_db_android/ On Dec 14,

[android-developers] Re: Available databases for Android

2010-12-14 Thread Bret Foreman
Regarding the Berkeley DB, you should remember that SQLite is already more complex than many developers want to deal with. Berkeley DB is a full-fledged database like Oracle and it's far more complex than SQLite. I wouldn't recommend using it unless you have a very complex data model and very

Re: [android-developers] Re: Available databases for Android

2010-12-14 Thread Julie Andrews
On Tue, Dec 14, 2010 at 10:08 PM, Bret Foreman bret.fore...@gmail.comwrote: Regarding the Berkeley DB, you should remember that SQLite is already more complex than many developers want to deal with. Berkeley DB is a full-fledged database like Oracle and it's far more complex than SQLite. I

Re: [android-developers] LocationListener's onLocationChanged() is not called (geo fix)

2010-12-14 Thread Julie Andrews
On Tue, Dec 14, 2010 at 8:26 PM, Danny Schimke danny.schi...@googlemail.com wrote: Hi, I have a Service that will run in Background even if the application is closed. I started the service and I can see it in the running services section under application settings. I am using *geo fix* to

[android-developers] View width and calculated text width doesn't match

2010-12-14 Thread Schoel
Hello, I am trying to create a view that fits a text into a given text view. I've done a new view that has a custom XML attribute called minTextSize that is a dimension. Whenever text is set on the text view, it tries with all sizes from the desired (specified in the xml) down to minTextSize

Re: [android-developers] Re: Please help with an ideea

2010-12-14 Thread TreKing
On Tue, Dec 14, 2010 at 1:17 AM, Alex Munteanu alex.munte...@gmail.comwrote: So what's your problem anyway ? I don't have a problem - you do. And after two weeks of bumping your post, I think it's safe to say no one is going to solve it for you. Sorry. As long as I didn't found myself a

[android-developers] Re: Use shared preferences on non-app directory file

2010-12-14 Thread Bret Foreman
You should use Amazon S3 for this purpose. Not only will your data be protected when the user clears data on the phone but the user can access their data on multiple phones. Here's the (beta) library from Amazon: http://aws.amazon.com/sdkforandroid/ -- You received this message because you are

[android-developers] Re: Available databases for Android

2010-12-14 Thread Jawwad Farooq
No, I don't want to have such type of complex functionality on the phone. But for the knowledge and to make the performance comparison among all the available DBs. On Dec 14, 9:38 pm, Bret Foreman bret.fore...@gmail.com wrote: Regarding the Berkeley DB, you should remember that of complex

[android-developers] Re: Available databases for Android

2010-12-14 Thread Bret Foreman
Here's a list of the standard DB performance metrics: http://www.tpc.org/tpcc/ Which ones are you interested in? -- 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: How does Beautiful Widget do it?

2010-12-14 Thread Pent
Does anyone know how Beautiful Widget shows clouds floating over the top of all the desktop icons as well as over the top of any running application on device unlock?  It seems odd that they would be able to grab the render buffer of a running application and display info above it. I suspect

[android-developers] Invoke Activity using physical Search button

2010-12-14 Thread fr4gus
Hi All, I was looking at Search Framework documentation and it looks pretty cool http://developer.android.com/guide/topics/search/index.html. I also was looking at Twitter and Facebook applications for Android and I notice both applications handle search button different. When user press search

Re: [android-developers] Copy Protection deprecated soon - is there a schedule?

2010-12-14 Thread TreKing
On Tue, Dec 14, 2010 at 9:17 AM, Fredrik Jonson fred...@jonson.org wrote: I wonder, is there a fixed schedule for the deprecation of copy protection? How soon is soon? What will happen to apps that does not change copy protection settings before that? I doubt anyone here can answer that.

[android-developers] Re: HeaderView in ListView causing ClassCastException

2010-12-14 Thread bobetko
Kostya, I tried to do as you suggested. and non of it worked. 1) Don't want to add my header view into list's parent. It simply doesn't achieve what I want to do. I would like to add it to the parent that holds list view items. I have parent available in adapter's GetView method. When I tried to

[android-developers] Re: Use shared preferences on non-app directory file

2010-12-14 Thread Chris Stratton
On Dec 14, 3:29 am, bagelboy greg.do...@gmail.com wrote: A user can clear app data, I want a file that is persistent If you find a way to do that, the android architects will probably consider it a bug in need of fixing. As an application developer you aren't supposed to be able to do anything

[android-developers] Re: HeaderView in ListView causing ClassCastException

2010-12-14 Thread bobetko
Thanks, I tried this. I got ClassCastException when adapter.notifyDataSetChanged() was executed. Thanks anyway. -- 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] How to set top margin off the first item inside listview?

2010-12-14 Thread bobetko
I would like to add Top Margin on the first item in the ListView. Is that possible? Or, how can I reference first list item in the List View? I tried lv = (ListView)getListView(); View myRowItem = lv.getChildAt(0); This probably doesn't work because at the moment I executed it, list items

[android-developers] Problem related with EditText used in Listview

2010-12-14 Thread Alok Kulkarni
I am using a ListView wherein my listitem.xml contains a TextView and an EditText. If my list length increases and it becomes scrollable then the value which the user had entered in the first EditText in listitem#0 gets reflected in the listitem which has become visible now due to scrolling, for

[android-developers] Re: Determining in advance how much text will fit into a given TextView?

2010-12-14 Thread HippoMan
I've already looked at the TextView source, as well as the source of the Paint object and other objects. I haven't been able to find anywhere where the data I'm looking for is stored, or at least returnable. But there are many android objects to look through, and as I mentioned, I'm trying to

  1   2   3   >