[android-developers] Multi touch zoom in or out

2011-03-14 Thread leela
Hi all.. i want to show images on the screen.. which would zoom in/out on multi touch(pinch,spread). ImageView does't support multi touch.. is there any view which can capable of all these features or do we need implement? can please suggest me.. Thanks Regards --

Re: [android-developers] Re: Problem with GridView

2011-03-14 Thread leela kissnaa
Hi, i thought starting new Activity will take more time than what i am doing..(I may wrong) to show images what is the action tag to intent which i going to fire.. can you send me some sample code links which can help me to show images more effectively (Multi touch zoom included..) On Fri, Mar

[android-developers] About Internet Connectivity in widget

2011-03-14 Thread hmdmph
Hi , i have created a Widget that get data from internet periodically. Here i Used the Timer. before connect to internet i am checking the connection. but there is problem.There MUST be internet connection before i add the widget . of if internet connection lost while widget is working then it

[android-developers] Re: Multi touch zoom in or out

2011-03-14 Thread varun
ImageView supports multi touch. In-fact every view supports multi touch it maybe the problem with harware. any how what you need to do is you need to implement on touch listener. there you have to read actions ACTION_POINTER_UP and ACTION_POINTER_DOWN for multi touch. read something about these

Re: [android-developers] Re: Multi touch zoom in or out

2011-03-14 Thread leela kissnaa
Hi Varun, Thanks for replay.. Is ImageView supports multi touch ? In my device WebView is working on multitouch. But not for ImageVIew.(my device supports multitouch) Can you please suggest me here.. if i implement OnTouchListener i need to handle every thing. It is getting more complicate my

Re: [android-developers] Re: why does open DataBase Error

2011-03-14 Thread CaryWang
No,Database is error,but can query select data.My program is implements onUpgrade method 2011/3/11 Uniser unise...@gmail.com May be you have not the file:///data/data/package-name/databases/abc or your db's version is not 1and your class have not implementation onUpgrade -- You received

[android-developers] Unhandled algorithm md5 requested

2011-03-14 Thread marten
Hello, I'm writing a CardDAV implementation for Android and came across some problem when trying to connect to the OSX/Darwin CardDAV server. The default setup for this server is to advertise BASIC and DIGEST authentication. The default algorithm for DIGEST authentication is set to md5. Without

[android-developers] Re: ANR keyDispatchingTimedOut on android/com.android.internal.app.RingtonePickerActivity

2011-03-14 Thread Sven
well, i call the RingtonePicker in my preferences in xml RingtonePreference android:key=@string/ preference_trigger1_notification_sound_key android:title=@string/preference_trigger_notification_sound_title android:summary=@string/

[android-developers] Re: Background Service

2011-03-14 Thread Jonathan Foley
What you are after is the WebView method addJavaScriptInterface: http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface(java.lang.Object, java.lang.String) As the name implies, this creates an interface between Javascript in the webpage and your Java code.

[android-developers] Bluetooth Adapter.EXTRA DISCOVERABLE not obeyed

2011-03-14 Thread Zeljko Devcic
I have observed issue with setting up discoverable time. Namely, I am using following intent to start Bluetooth and request observability of max allowed 300 seconds: Intent activateBTIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);

[android-developers] Multi touch zooms for ImageView

2011-03-14 Thread leela
Hi, I want my image will be zoom-able on multi touch.. my device supports multi touch for WebView So please tell me how to make my ImageView also supports multitouch.. please suggests me.. Thanks Regards -- Leela Krishna -- You received this message because you are

[android-developers] Message Dialog appears, The market billing service is not available, Dungeons Sample

2011-03-14 Thread muhammad mahmood
Hi Currently i am going to implement In-app Billing for android app. Before it i am trying to run sample Dungeons. Each time when i run this sample, it shows dialog with tilte Can't make purchase and body messageThe market billing service is not available at this time. You can continue to use this

[android-developers] No targets listed while using the SDK built from Android 2.3 source code

2011-03-14 Thread lee dallas
Hi all, I am facing a strange problem while using the SDK built from Android 2.3 source code. When using ./android list targets, there was no targets shown. And I tested the SDK downloaded from official website, no problem at all. And I replaced the sdkmanager.jar and sdklib.jar in tools/lib/

[android-developers] Copy/Paste Programmatically

2011-03-14 Thread perumal316
Hi All, Currently for Android I can copy/paste by long pressing on the field and choosing copy/paste respectively. I want to do this automatically. Meaning upon clicking a button, can simulate the long press and copy/paste programatically. Is this possible? Thanks In Advance, Perumal -- You

[android-developers] Regarding Screen Resolution

2011-03-14 Thread yogendra G
Hi All, I Get My Screen opened full screen whenever i start a project every time so how can i get it small screen by default when ever i open my projct. Regards, Yogendra G -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Get activity theme from network and apply it programmatically

2011-03-14 Thread Premier
I want to download themes.xml from network because i need dinamically change application theme. So after application starts, download file themes.xml from network, saves it locally and apply to current activity. How i can do this? Thank you. -- You received this message because you are

[android-developers] Dialog doesn't show in a ListActivity

2011-03-14 Thread Daniel Rindt
Dear reader, my code is pasted here http://rifers.org/paste/show/1254. The problem is that the dialog showContextDialog() is not displayed. The dialog code is directly used from android examples. I played a lot around put that code directly in onResume and so on - no efforts. I'm thankful for

[android-developers] Re: Copy/Paste Programmatically

2011-03-14 Thread appel
http://lmgtfy.com/?q=android+copy+text+programmatically -- 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: Regarding Screen Resolution

2011-03-14 Thread perumal316
Which device are you using? On Mar 14, 4:30 pm, yogendra G yogi2...@gmail.com wrote: Hi All, I Get My Screen opened full screen whenever i start a project every time so how can i get it small screen by default when ever i open my projct. Regards, Yogendra G -- You received this message

Re: [android-developers] Re: Regarding Screen Resolution

2011-03-14 Thread yogendra G
Hi, In My emultor am getting tht problem wenever i open with eclipse and run a pgm am getting tht problem... Regards, Yogendra G On Mon, Mar 14, 2011 at 2:04 PM, perumal316 perumal...@gmail.com wrote: Which device are you using? On Mar 14, 4:30 pm, yogendra G yogi2...@gmail.com wrote: Hi

[android-developers] Re: Caching of sensor events

2011-03-14 Thread hwit
Anyone? -- 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,

Re: [android-developers] Re: Paint single Path object with Xfermode

2011-03-14 Thread Romain Guy
It's not clear what your problem is? You can draw a Path and apply an xfermode while drawing it. On Mon, Mar 14, 2011 at 1:50 AM, Menion menion.as...@gmail.com wrote: Hmm, looks that no one have answer. Is problem that my question is not understandable or here is no simple solution? On Mar

[android-developers] Re: Working with Monkey

2011-03-14 Thread Kanishka Dutta
Can any1 please guide me how to use the script file to run with Monkey? I have a script file which resides in sdcard/script.txt in the Android Filesystem folder. I am using the following command:- adb shell monkey -p com.cooliris.media--setup scriptfile -f /sdcard/script.txt 10 But nothing

[android-developers] Re: Regarding Screen Resolution

2011-03-14 Thread perumal316
You may want to try specifying in the AndroidManifest.xml file. See: http://developer.android.com/guide/practices/screens_support.html Hope it helps. Regards, Perumal On Mar 14, 4:55 pm, yogendra G yogi2...@gmail.com wrote: Hi, In My emultor am getting tht problem wenever i open with eclipse

[android-developers] Re: Paint single Path object with Xfermode

2011-03-14 Thread Menion
Hmm, looks that no one have answer. Is problem that my question is not understandable or here is no simple solution? On Mar 13, 1:19 pm, Menion menion.as...@gmail.com wrote: Hi,   I have one path object (for example recorded track). I'm drawing it on canvas. When I set semi-transparent color

[android-developers] Re: Copy/Paste Programmatically

2011-03-14 Thread perumal316
Hi Appel, Actually I have Googled this previously but could not find anything useful. My application is a Webview that will load a custom URL. In WebView I need to copy out some data from the data field do computation and insert back the results into the field. Currently the only way is for the

[android-developers] Re: Paint single Path object with Xfermode

2011-03-14 Thread Menion
Hmm, looks that no one have answer. Is problem that my question is not understandable or here is no simple solution? On Mar 13, 1:19 pm, Menion menion.as...@gmail.com wrote: Hi,   I have one path object (for example recorded track). I'm drawing it on canvas. When I set semi-transparent color

[android-developers] Re: Install % drop again?

2011-03-14 Thread Doug
My install % gapped up by 4% again and is almost fully restored to normal. Sales and rank are doing better this week since this number has improved for me over the past week. Hoping you'll get a similar boost... Doug On Friday, March 11, 2011 3:52:00 PM UTC-8, Zsolt Vasvari wrote: I

[android-developers] Re: Copy/Paste Programmatically

2011-03-14 Thread appel
And how was I supposed to know you wanted to do this from a WebView? :) Afaik there's no way to manipulate the DOM within a WebView directly with java code. If you don't need the original value of the form field you could load javascript into the page that changes the field for you. -- You

[android-developers] Public Key

2011-03-14 Thread Nymann
Hallo Is there anyway to get access to the certificate/public key that I have signed the android application with inside the android code.I would like to use the key for crypting information ? Per -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Public Key

2011-03-14 Thread Marcin Orlowski
On 14 March 2011 11:03, Nymann per.nymann.joergen...@gmail.com wrote: Is there anyway to get access to the certificate/public key that I have signed the android application with inside the android code.I would like to use the key for crypting information ? No. But you can add it to your app

[android-developers] SQLite attach database not working in Honeycomb

2011-03-14 Thread Mark Carter
My app makes extensive use of this: sqldb.execSQL(ATTACH DATABASE ? AS mydb, new String[] { dbFile.getPath() }); where the dbFile is stored on External Storage. The Honeycomb emulator confirms the File.exists() but when I query the database, it's as if the database hasn't been attached at

[android-developers] Re: Copy/Paste Programmatically

2011-03-14 Thread perumal316
Is it possible to use KeyEvent API? There are KeyEvent for Long_Press etc. See: http://developer.android.com/reference/android/view/KeyEvent.html Possible to use this for copy/paste? Regards, Perumal On Mar 14, 5:50 pm, appel johan.appelg...@gmail.com wrote: And how was I supposed to know you

[android-developers] Screen Sizes and Densities

2011-03-14 Thread William Ferguson
Is there any better data on the ratio of screen sizes and densities than http://developer.android.com/resources/dashboard/screens.html which was last updated on 2 August 2010? William -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Dynamically Resize Images for different Android devices

2011-03-14 Thread monty
Hi All My issue is simple.I want to use one set of images which can be used on mobile as well as tablets.I have a image of size 690 by 400 .i want to use this image and resize it programmatically and have this resized image displayed on mobiles. Could anyone please give an idea on how to

[android-developers] Listener for Wifi Connection

2011-03-14 Thread monty
Hi All I am developing a project which includes downloading video from server,so obviously i am using Wifi.Now if suddenly the Wifi connection is lost due to some reason and ater again resumed,how do i listen for this event.I mean is its possible to programmatically enable a Wifi if its

Re: [android-developers] Listener for Wifi Connection

2011-03-14 Thread Kostya Vasilyev
14.03.2011 13:52, monty пишет: Hi All I am developing a project which includes downloading video from server,so obviously i am using Wifi.Now if suddenly the Wifi connection is lost due to some reason and ater again resumed,how do i listen for this event. There are broadcast actions both

[android-developers] Open AOSP apps in eclipse

2011-03-14 Thread Tanco
Hi, I need to edit the original Android Apps from packages in terms make my own distro.. I want to make changes to the In Call screen etc.. I understand that for doing this I will have to build everything from source, however I need to edit the source and to do so I need to open it as an eclipse

[android-developers] drag and drop view in android?

2011-03-14 Thread Hitendrasinh Gohil
hi, i have one listview. i want reordering of the list row by drag and drop. means if i drag first row and drop at 5th position the view should be updated. thankx. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Public Key

2011-03-14 Thread DanH
Why stupid? A private key scheme isn't secure unless you use a public key exchange to pass the private key. And if data only needs to flow up there's no point in establishing the private key. (Though one can end-run the whole issue and use SSL.) On Mar 14, 5:10 am, Marcin Orlowski

[android-developers] Re: Dynamically Resize Images for different Android devices

2011-03-14 Thread J
Try Bitmap.createBitmap() On 14 mar, 11:49, monty neilm30s...@gmail.com wrote: Hi All     My issue is simple.I want to use one set of images which can be used on mobile as well as tablets.I have a image of size 690 by 400 .i want to use this image and resize it programmatically and have this

[android-developers] Re: Paint single Path object with Xfermode

2011-03-14 Thread Menion
As I expect, wrong description. Sorry Once more. On this screenshot is what I'll describe http://locus.asamm.cz/data/screenshot02.png 1. I have one Path object with a complex path (as I walked and recorded path with GPS). 2. I draw this one Path object on canvas with c.drawPath(path, paint);

[android-developers] GL_INVALID_OPERATION (1282) after glDrawElements using Vertex Buffer Objects (VBO)

2011-03-14 Thread noriato
Hi, I'm working on a game using VBO for model rendering. Everything works fine, except when I lose context and reload all the models and textures I get a GL_INVALID_OPERATION error after calling glDrawElements with my VBO. Actually I have to lose context two times. Restoring after the first time

[android-developers] AVD with Google-API crash

2011-03-14 Thread Daniel Rindt
Hello, created an avd with google-api's API Level 9. My application uses GPS when i simulate via GPX File the AndroidRuntime crashes. Here is the stack: === 8 === D/dalvikvm( 1188): GC_EXTERNAL_ALLOC freed 104K, 51% free 2678K/5447K, external 2094K/2137K, paused 68ms D/GPSRecorder( 1188): Track

[android-developers] Re: Dynamically Resize Images for different Android devices

2011-03-14 Thread Menion
I'm using something like this ... public static Bitmap resizeBitmap(Bitmap draw, int newWidth) { if (draw == null || newWidth = 0 || draw.getWidth() == newWidth) return draw; int newHeight = (int) (newWidth * draw.getHeight() / draw.getWidth()); return

Re: [android-developers] Re: Install % drop again?

2011-03-14 Thread TreKing
On Sun, Mar 13, 2011 at 11:12 PM, gjs garyjamessi...@gmail.com wrote: Be interested if they do eventually provide an explanation whether the install % jumps back to before. My money's on no and no.

Re: [android-developers] Re: Background Service

2011-03-14 Thread TreKing
On Sun, Mar 13, 2011 at 10:44 PM, perumal316 perumal...@gmail.com wrote: Is this possible to be done through a background service? I don't think a Service is what you want in this case. See Jonathan's post.

Re: [android-developers] What more does my game need(space bike)

2011-03-14 Thread TreKing
On Sun, Mar 13, 2011 at 11:55 PM, brian purgert brianpurge...@gmail.comwrote: what does my game need to make it better/more fun Can't find your app on N1 with 2.3.3, but don't the reviews have any useful suggestions?

Re: [android-developers] Message Dialog appears, The market billing service is not available, Dungeons Sample

2011-03-14 Thread TreKing
On Mon, Mar 14, 2011 at 2:29 AM, muhammad mahmood muhammad.rash...@gmail.com wrote: How to make working this sample successfully. You don't: http://groups.google.com/group/android-developers/browse_thread/thread/318e43185f556724/613a3e55e72a4d72

Re: [android-developers] Multi touch zooms for ImageView

2011-03-14 Thread TreKing
On Mon, Mar 14, 2011 at 2:46 AM, leela morampudile...@gmail.com wrote: So please tell me how to make my ImageView also supports multitouch.. Please tell us what you have done so far and where exactly you're stuck.

Re: [android-developers] Get activity theme from network and apply it programmatically

2011-03-14 Thread TreKing
On Mon, Mar 14, 2011 at 3:34 AM, Premier a.grum...@gmail.com wrote: How i can do this? 1 - download file themes.xml from network 2 - saves it locally 3 - apply to current activity. - TreKing

Re: [android-developers] Dialog doesn't show in a ListActivity

2011-03-14 Thread TreKing
On Mon, Mar 14, 2011 at 3:37 AM, Daniel Rindt daniel.ri...@googlemail.comwrote: The problem is that the dialog showContextDialog() is not displayed. Well, a dialog is not going to be displayed if you don't tell the system to display it, which is done with the show() method. The dialog code

Re: [android-developers] drag and drop view in android?

2011-03-14 Thread TreKing
On Mon, Mar 14, 2011 at 5:59 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: i want reordering of the list row by drag and drop. means if i drag first row and drop at 5th position the view should be updated. http://tinyurl.com/6eqvtp9

Re: [android-developers] Re: Public Key

2011-03-14 Thread Marcin Orlowski
On 14 March 2011 12:22, DanH danhi...@ieee.org wrote: Why stupid? I wondered if stupid is not too strong, but after a thought - no, it is not silly, nor unwise. It's stupid. If you embeed pkey in the app it's like you publish it widely. What the point of your encryption then? And by doing so,

[android-developers] Re: reflection result cache not available?

2011-03-14 Thread ko5tik
On Mar 12, 10:01 pm, Dianne Hackborn hack...@android.com wrote: You'll need to cache this stuff yourself.  I really recommend avoiding reflection though for any performance critical things -- even if there is no time required for the class/methods lookup, you will still tend to spam a lot of

Re: [android-developers] Get activity theme from network and apply it programmatically

2011-03-14 Thread Alessio Grumiro
How i can perform task 3? Thank you 2011/3/14 TreKing treking...@gmail.com On Mon, Mar 14, 2011 at 3:34 AM, Premier a.grum...@gmail.com wrote: How i can do this? 1 - download file themes.xml from network 2 - saves it locally 3 - apply to current activity.

Re: [android-developers] Multi touch zooms for ImageView

2011-03-14 Thread leela kissnaa
Hi all, Actually i have done for scaling image on multi touch... but the thing is after scaling if image is scaled more than screen size.. i need to scroll that image vertically and horizontally..but on horizontal fling i have another requirement to show next screen.. i will show my code here

[android-developers] Locate Zoom Controls (x,y) in MapView?

2011-03-14 Thread mcmatom
Hi all, I apologize in advance for my ignorance. I am a seasoned SW developer but new to Android. I am developing my first Android application (MapActivity) for a friend of mine and have managed to fight my way through a myriad of problems handling gestures, not the least of which was*

Re: [android-developers] SQLite Database - Multiple Tables

2011-03-14 Thread Brad Stintson
Thanks. I created foreign key, but when I try to insert values using m application it throws *android.database.sqlite.SQLiteConstraintException: error code* * 19: constraint failed.* * * But if I insert values manually usiing console, then values are inserted properly. Why is it so? **2011/3/13

[android-developers] About Android Application

2011-03-14 Thread kajal patil
Hi All, I have developed an android application.But i did not get how to display some string in .java file on console in android project while running.I used system.out.println(string) but it did not worked.Please kindly suggest the solution. Thank you. -- You received this message because

[android-developers] Re: Public Key

2011-03-14 Thread Alessandro Pellizzari
Il Mon, 14 Mar 2011 13:54:48 +0100, Marcin Orlowski ha scritto: I wondered if stupid is not too strong, but after a thought - no, it is not silly, nor unwise. It's stupid. If you embeed pkey in the app it's like you publish it widely. What the point of your encryption then? I am sorry...

Re: [android-developers] SQLite Database - Multiple Tables

2011-03-14 Thread Kostya Vasilyev
Most likely, it means you didn't specify a value for the foreign key when inserting into the child table (ref_id_value in the snippet below). -- Kostya 14.03.2011 16:27, Brad Stintson пишет: Thanks. I created foreign key, but when I try to insert values using m application it throws

Re: [android-developers] Get activity theme from network and apply it programmatically

2011-03-14 Thread TreKing
2011/3/14 TreKing treking...@gmail.com On Mon, Mar 14, 2011 at 8:31 AM, Alessio Grumiro a.grum...@gmail.comwrote: Are you joking? No. Android compiles resource in res/values/. Correct. If you download a file from network, i don't know how you can use it like a resource file.

Re: [android-developers] Dialog doesn't show in a ListActivity

2011-03-14 Thread Daniel Rindt
Am Montag, den 14.03.2011, 07:44 -0500 schrieb TreKing: Well, a dialog is not going to be displayed if you don't tell the system to display it, which is done with the show() method. Can you post the examples you got that from? Because that's wrong in so many ways.

Re: [android-developers] Dialog doesn't show in a ListActivity

2011-03-14 Thread Mark Murphy
On Mon, Mar 14, 2011 at 9:43 AM, Daniel Rindt daniel.ri...@googlemail.com wrote: 1 - Never use getApplicationContext() - it's utterly pointless and just does not work with dialogs. How then obtain the Context to display it? Your activity *is* a Context. -- Mark Murphy (a Commons Guy)

[android-developers] Re: FLAG_BLUR_BEHIND not working with Honeycomb?

2011-03-14 Thread Clément Plantier
Could someone else try? Thanks. On Mar 11, 11:03 am, Clément Plantier clemplant...@gmail.com wrote: Hi, I have a dialog that use the window flag FLAG_BLUR_BEHIND to have a blur effect behind the dialog. It works fine with older versions of SDK, but with Honeycomb everything is black behind

[android-developers] HTTP Live Streaming Library for pre 3.0

2011-03-14 Thread Tony Farag
All, I'm looking for a library or 3rd party SDK that will allow me to support HTTP live streaming on a mobile phone. Unfortunately, Honeycombs implementation is only for the tablets right now. Does anybody know of any libraries/sdk's that support this to stream a m3u8 file. Any help would be

[android-developers] Re: Toggle button with more states that two

2011-03-14 Thread Duskox
Thanks for your suggestions. What I want to do is a button that will have an off state and then a repeat all state and repeat single state. Like in any mp3 player where you can loop the whole playlist, single song or no loop. I'll check spinner out and then if that is not what I want go to create

Re: [android-developers] Getting internet from PC via USB

2011-03-14 Thread Mark Murphy
On Mon, Mar 14, 2011 at 9:51 AM, Tina tina...@gmail.com wrote: Our customers send us the request to support internet access via USB. I know that some tablet (f. ex. WowPad, AL-10 etc) supports such functionality, but have no idea how this option could be reached from API. There is no support

Re: [android-developers] java.net.UnknownHostException: android.clients.google.com

2011-03-14 Thread anil kukreti
Hi Shawn Are you behind corporate firewall ? I also get these issues. But not when I 'm outside corporate firewall. On Thu, Mar 10, 2011 at 4:16 PM, Shawn Brown big.coffee.lo...@gmail.comwrote: Why do I keep seeing this error E/CheckinTask( 243): Checkin failed:

Re: [android-developers] Dialog doesn't show in a ListActivity

2011-03-14 Thread TreKing
On Mon, Mar 14, 2011 at 8:43 AM, Daniel Rindt daniel.ri...@googlemail.comwrote: 2 - Call show() on the Dialog you create to actually show it. In the docs i found: AlertDialog.Builder.create(); also shows the Dialog. Where? In the docs I found:

Re: [android-developers] About Android Application

2011-03-14 Thread TreKing
On Mon, Mar 14, 2011 at 8:38 AM, kajal patil patil.kaja...@gmail.comwrote: Please kindly suggest the solution. http://developer.android.com/guide/developing/debugging/debugging-log.html - TreKing

[android-developers] Re: How to share data among different devices

2011-03-14 Thread ez
Thanks for replying. Google should come up with an easy solution. Tablet will flood the market this year. Users want to use the apps with the same setting and preferences among the their phone and tablets. Thanks Eric On Mar 13, 10:55 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Mar

[android-developers] Re: Getting internet from PC via USB

2011-03-14 Thread Tina
Hi, Mark! Yes, I know that it is no support for this in the Android SDK. But, devices exist and some application could use go to the internet via PC. I think that it means that firmware providers supports this functionality somehow. The question is: may be someone knows how it was done? Tina

[android-developers] Re: passing arrays between classes using intent

2011-03-14 Thread Chetan Singh Bisht
yes i am working with primitive data types...i have an integer array and two string arrays(no object arrays as such) -- 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] Dialog doesn't show in a ListActivity

2011-03-14 Thread Daniel Rindt
Am Montag, den 14.03.2011, 08:53 -0500 schrieb TreKing: Creates a AlertDialog with the arguments supplied to this builder. It does not show() the dialog. This allows the user to do any extra processing before displaying the dialog. Use show() if you don't have any other processing to do and

Re: [android-developers] Re: Getting internet from PC via USB

2011-03-14 Thread Mark Murphy
On Mon, Mar 14, 2011 at 10:10 AM, Tina tina...@gmail.com wrote: Yes, I know that it is no support for this in the Android SDK. But, devices exist and some application could use go to the internet via PC. I think that it means that firmware providers supports this functionality somehow. The

[android-developers] Getting internet from PC via USB

2011-03-14 Thread Tina
Hi, all. Our customers send us the request to support internet access via USB. I know that some tablet (f. ex. WowPad, AL-10 etc) supports such functionality, but have no idea how this option could be reached from API. Now I use HttpPost and HttpGet classes but they does not work throught PC.

Re: [android-developers] Creating SQLite DB

2011-03-14 Thread David Williams
Ok, I think I have been able to resolve this now :) Took a look at the notepad demo and that helped a lot. One other question, once I have my database and I start to create tables for it and programatically start to populate these tables with data, is there any way (any tool) that I can

Re: [android-developers] SQLite Database - Multiple Tables

2011-03-14 Thread Brad Stintson
I assigned pre-defined value for foregin key. The thing that happens is that on first time use of that key, an entry is created in database. But if I use that value for second time then value is not updated in database My database table strings are as follows private static final String

[android-developers] Re: Getting internet from PC via USB

2011-03-14 Thread Tina
Thank you for your answer again. I will post same question to the source group. But, the question is about Android SDK. May be someone has expirience or information which part of stardart SDK supports on these devices. I am not going to write device-specific code, but if I could solve the problem

[android-developers] Re: Locate Zoom Controls (x,y) in MapView?

2011-03-14 Thread mcmatom
UPDATE: I have managed to get this working, but it still has a hacky feel to me since it is completely reliant on the placement of the zoom controls forever being at the bottom of the screen. I am open to any suggestions on how to handle this more appropriately. For anyone interested, the

Re: [android-developers] Re: Getting internet from PC via USB

2011-03-14 Thread Marcin Orlowski
On 14 March 2011 15:40, Tina tina...@gmail.com wrote: May be someone has expirience or information which part of stardart SDK supports on these devices. I am not going to write device-specific code, but if I could solve the problem by using another standard function it will be very good.

Re: [android-developers] Re: Public Key

2011-03-14 Thread Marcin Orlowski
On 14 March 2011 14:42, Alessandro Pellizzari a...@amiran.it wrote: Il Mon, 14 Mar 2011 13:54:48 +0100, Marcin Orlowski ha scritto: I wondered if stupid is not too strong, but after a thought - no, it is not silly, nor unwise. It's stupid. If you embeed pkey in the app it's like you publish

[android-developers] Regarding Deployment

2011-03-14 Thread yogendra G
Hi All, Am Getting problem in deployment of my app to my device(Motorola Droid 2) so plz any 1 help me in dis resolving me...am getting in ADB interface pbm... Regard, Yogendra G(9916168647) -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Can't communicate with NfcB tag

2011-03-14 Thread Paul Christensen
Sweet! I found me a real live Android bug! Do I win a hat? :) I'm a little out of my element here, and was hoping to be able to work from code in an existing application, but in light of this, it looks like that will not be possible. Can you tell me, will communicating through IsoDep still allow

Re: [android-developers] Re: Public Key

2011-03-14 Thread Justin Anderson
* Private key of course. Sorry for not making it clear* The OP made it very clear that he was wanting to use the PUBLIC key... not the private one. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 14, 2011 at 8:51 AM, Marcin Orlowski

Re: [android-developers] Creating SQLite DB

2011-03-14 Thread Kostya Vasilyev
14.03.2011 17:31, David Williams ?: is there any way (any tool) that I can take a look at the table contents so I can check that my code is populating the data in my tables as I'd expect? You can copy the database file to the host computer and use sqlite3, which is a command-line SQlite

[android-developers] Is it possible to get android device id? (Urgent -- Please)

2011-03-14 Thread Nesim TUNÇ
I tried bilion different ways but still not avaliable to get its device id ... TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); DeviceId = tm.getDeviceId(); read_phone_state permissons set in manifest file ... I'm gonna release the app but i don't have the

Re: [android-developers] Regarding Deployment

2011-03-14 Thread Justin Anderson
It would be nice to know what the problem is, what steps you are taking to get it on your device, etc... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 14, 2011 at 8:58 AM, yogendra G yogi2...@gmail.com wrote: Hi All, Am Getting problem in

Re: [android-developers] Re: Can't communicate with NfcB tag

2011-03-14 Thread Paul Christensen
A mailing list for this would be awesome for me. I'm in a similar situation to yours, and figuring out how to talk to these cards is going to be quite the adventure, to say the least. -- Paul Christensen On Fri, Mar 11, 2011 at 10:25 PM, Brill Pappin br...@pappin.ca wrote: laugh! I just got a

[android-developers] TabView, ListActivity Problem

2011-03-14 Thread Daniel Rindt
Hi, in my TabView you can show it here: http://fpaste.org/sEnm/ i would like to display a ListActivity with a usual ListView. That works so far but, the ListView is not stretching over the entire rest of the screen as they usually do because the parent element defines a fill_parent you can see

Re: [android-developers] Re: Getting internet from PC via USB

2011-03-14 Thread Kostya Vasilyev
14.03.2011 17:40, Tina пишет: May be someone has expirience or information which part of stardart SDK supports on these devices. I am not going to write device-specific code, but if I could solve the problem by using another standard function it will be very good. It should *probably* be

Re: [android-developers] SQLite Database - Multiple Tables

2011-03-14 Thread Kostya Vasilyev
14.03.2011 17:36, Brad Stintson пишет: I assigned pre-defined value for foregin key. The thing that happens is that on first time use of that key, an entry is created in database. But if I use that value for second time then value is not updated in database Brad, Not sure if I understand

[android-developers] android.pim.vcard

2011-03-14 Thread asw
Hi folks, I am just starting to learn android, and so far my first impression was not too good. Why the package android.pim.vcard is not made public? There are also a lot of other packages and useful methods not in public API. You can call the hidden APIs in the actual device, but you can't

Re: [android-developers] Re: Can't communicate with NfcB tag

2011-03-14 Thread Brill Pappin
indeed! It's actually kind of worrying me :) I do have external support in the industry for this one, I'm just not sure how much. I think a lot will depend on how easily we can implement the security features built into the hardware; that is going to be a pain. I'm actually going to take a

[android-developers] Re: Caching of sensor events

2011-03-14 Thread ip332
How does android process events in case of high CPU load? Same way as in the low CPU load. Read data, calls your sensor listener, waits a certain amount of time to provide events at a desired rate. Obviously the details depend on the sensors HAL implementation for a given phone. I've seen a phone

Re: [android-developers] Re: Can't communicate with NfcB tag

2011-03-14 Thread Paul Christensen
Any information you can share would be very much appreciated, and I'm more than happy to do the same. The potential for these things is very cool, and based on what I've been working with for the last couple of months, there are alternatives, but not many good ones, so I'm very excited about the

[android-developers] Unsolicited 3rd party distribution

2011-03-14 Thread Brill Pappin
Is anyone else having trouble with 3rd party sites distributing your apps without your permission? We manage to adequately support our products through the Market, but we simply don't have the resources at this time to support a whole bunch of other distribution channels. Does anyone else

[android-developers] HttpPost fileupload data loss

2011-03-14 Thread dweebo
The app sends up a data file to our server, using this code. HttpParams params = new BasicHttpParams(); HttpConnectionParams.setConnectionTimeout(params, 15000); HttpConnectionParams.setSoTimeout(params, 5 * 60 * 1000); HttpClient client = new

  1   2   3   >