[android-developers] Re: GridView is not coming in center of parent

2009-02-12 Thread jj
The problem is the view is not align to center_horizontal to its parent, There is no problem to center_vertical align "IS it bug of SDK r2?" Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: How to get the device model in android?

2009-02-12 Thread manoj
Hi Bill, It helped me a lot. Thank you very much. On Feb 13, 11:43 am, Bill Zimmerly wrote: > Manoj. > > This may help... > > http://code.google.com/android/reference/android/os/Build.html > > - Bill --~--~-~--~~~---~--~~ You received this message because you ar

[android-developers] Re: Running different actives in the same package?

2009-02-12 Thread susanner
Close with finish() for that activity when you are done. On 2月13日, 下午2时42分, bigauto wrote: > I am using eclipse to run the simulations and I can't get the > simulator to run anything other than the default activity. When I > created the android project, eclipse automatically created a default >

[android-developers] Fwd: Working of locationListener() in real time on device?

2009-02-12 Thread sheik
Kindly look into this query Thanks. -- Forwarded message -- From: sheik Date: Feb 12, 3:05 pm Subject: Working of locationListener() in real time on device? To: Android Developers Hi,  i need to know about the LocationListener() working in therealtime... Does it

[android-developers] Android Conference in Bangalore

2009-02-12 Thread for android
http://www.aboventures.com/android/index.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 thi

[android-developers] Re: How to get the device model in android?

2009-02-12 Thread dillirao malipeddi
Thank you Bill Zimmerly It helped us a lot.. now i am able to see my phone details On Fri, Feb 13, 2009 at 12:13 PM, Bill Zimmerly wrote: > > Manoj. > > This may help... > > http://code.google.com/android/reference/android/os/Build.html > > - Bill > > > > -- Dilli Rao. M ARIJASOFT +91 - 97

[android-developers] Re: Problem in going in back/previous activity

2009-02-12 Thread for android
stacktrace?? On Fri, Feb 13, 2009 at 10:20 AM, Komal wrote: > > No one can solve my problemsomebody please help me > > On Feb 10, 3:05 pm, Komal wrote: > > Hi, > > I am developing simple application. > > I have oneactivitywhich displays list of name of employees. I m > > fetching the em

[android-developers] Re: Using X.509 Certificate for a secure http webrequest

2009-02-12 Thread Bill Zimmerly
Hi Matt! Here are two useful links... http://code.google.com/android/reference/packages.html http://code.google.com/android/reference/java/security/cert/package-summary.html - Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] Re: Running different actives in the same package?

2009-02-12 Thread susanner
Iam not familiar with JAVA, but Iknow from others that there are ways to run several activities in one package. if you run one after another , you may call onpause etc. -- 高翟辉 北京力扬科技有限公司 上地5街昊海大厦 100085 在2009-02-13,bigauto 写道: > >I am using eclipse to run the simulations and I can't

[android-developers] Re: another round of emulator DNS problems

2009-02-12 Thread Bill Zimmerly
On Feb 12, 6:19 pm, Brian Smith wrote: > I am running the emulator on Windows XP, on a notebook with a > disconnected ethernet interface and a connected WiFi interface. My > network is behind a router at 192.168.1.1, which provides DNS to > machines on my network, according to the settings given

[android-developers] Re: Android Screen Size Question

2009-02-12 Thread Bill Zimmerly
On Feb 13, 12:08 am, Mships wrote: > Can anyone please tell me the Android screen size  (240 x 320 etc) I > am developing interactive wallpapers called Badgez. Thanks a lot. "Interactive wallpapers" - ??? Hmmm, would a thread that describes how to get the dimensions at run time help? http://gro

[android-developers] Re: How to get the device model in android?

2009-02-12 Thread Bill Zimmerly
Manoj. This may help... http://code.google.com/android/reference/android/os/Build.html - Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] Running different actives in the same package?

2009-02-12 Thread bigauto
I am using eclipse to run the simulations and I can't get the simulator to run anything other than the default activity. When I created the android project, eclipse automatically created a default class within that package, and it seems like I can't run anything other than that class. I created an

[android-developers] Re: Android Screen Size Question

2009-02-12 Thread Dianne Hackborn
The currently supported size is 320x480 and 480x320, though there will be more in the future. Also the wallpaper on the home screen is 3x the width, or 960x480. On Thu, Feb 12, 2009 at 10:08 PM, Mships wrote: > > Can anyone please tell me the Android screen size (240 x 320 etc) I > am developi

[android-developers] How to get the device model in android?

2009-02-12 Thread manoj
Hi friends, I would like to know the device model number for android devices like "model number" = 'T-Mobile G1'. can any one please tell me how to do it. Thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[android-developers] Android Screen Size Question

2009-02-12 Thread Mships
Can anyone please tell me the Android screen size (240 x 320 etc) I am developing interactive wallpapers called Badgez. Thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: How to prevent my application being closed on clicking the back button on emulator

2009-02-12 Thread Immy
or use StartActivityforResult... Do a search for StartActivityforResult On Feb 13, 10:47 am, Immy wrote: > Use intents this way, > Intent i = new Intent(this, CardView.class); > startActivity(i); > > Close with finish() for that activity when you are done. > > This's how you override the back bu

[android-developers] Re: How to prevent my application being closed on clicking the back button on emulator

2009-02-12 Thread Immy
Use intents this way, Intent i = new Intent(this, CardView.class); startActivity(i); Close with finish() for that activity when you are done. This's how you override the back button to prevent it from going back. @Override public boolean onKeyDown(int keyCode, KeyEvent event) { // T

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-12 Thread Jon Colverson
On Feb 13, 5:06 am, quakeboy wrote: > Thank you very much for your reply. I checked out the extension, I did > not know I can add other extensions except the ones in GL10Ext.. > I read the jsr239 docs and found how to load it too.. Thanks a lot > once again. I didn't need to do anything unusual

[android-developers] Re: Developer phone with sim card but no service

2009-02-12 Thread Logik
if your having problems then make sure your device is being recognized and by fallowing the basic adb commands On Feb 12, 11:27 pm, Logik wrote: > Thanks a lot! You pointed me in the right direction. > > ok so I got this working. > > The best way to bypass the sim card and access straight to the

[android-developers] Re: Developer phone with sim card but no service

2009-02-12 Thread Logik
Thanks a lot! You pointed me in the right direction. ok so I got this working. The best way to bypass the sim card and access straight to the wireless is easy. When the phone boots and asks you for the sim card, just leave it. 2. Download Dev1 phone usb drivers from http://code.google.com/andr

[android-developers] Re: How to prevent my application being closed on clicking the back button on emulator

2009-02-12 Thread Komal
Hi, I am facing the same paroblem as Naina's. I have one activity which displays list of name of employees. I m fetching the employees name from database. when i click on any of the name ,i will display the next page(new activity) showing details of that employee. also fetching details of employee

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-12 Thread quakeboy
Thank you very much for your reply. I checked out the extension, I did not know I can add other extensions except the ones in GL10Ext.. I read the jsr239 docs and found how to load it too.. Thanks a lot once again. Yes I forgot to add that Opengl is NOT running in separate like in Android samples

[android-developers] Re: sound effect using SoundPool

2009-02-12 Thread Robert Green
David, Please search and read about all my soundpool tests. Basically you must use OGGs totalling under 1MB and you can't call the stop or pause methods. Many of us use it but you must be careful. On Feb 12, 3:11 pm, djp wrote: > Hi, > > there seems to be a dead-lock problem when using sound

[android-developers] Re: multiclass UIs in application and class constructors

2009-02-12 Thread automerc
you mean like c2instance.startActivity where c2instance is a aninstance of c2? On Feb 12, 8:18 am, Mark Murphy wrote: > automerc wrote: > > Is it possible to have the android load up another UI from a different > > class through a Onclicklistener? What I mean is that if I have two UI > > classes

[android-developers] Re: Problem in going in back/previous activity

2009-02-12 Thread Komal
No one can solve my problemsomebody please help me On Feb 10, 3:05 pm, Komal wrote: > Hi, > I am developing simple application. > I have oneactivitywhich displays list of name of employees. I m > fetching the employees name from database. > when i click on any of the name ,i will display

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-12 Thread yukinoba
OK, let's close this issue. The problem is, the SQLiteDatabaseBuilder.query can not return and just stuck there. The reason is, it can not find a projection mapping of the column "TABLE._ID" in the TABLE.ProjectionMap which is given into the qb.setProjectionMap method. The solution is, remember t

[android-developers] I want to use mediaplayer to play avi and other file formats

2009-02-12 Thread susanner
Dear all Is there any support for avi and other media formats except mp4 and 3gpp? If there is no support may I develop a support through correct the program? Will that be too difficult ?I don't know where to put my hands into first, should I correct programs in opencore first or should I just cor

[android-developers] Re: how can I check if an Activity is visible or not?

2009-02-12 Thread Dianne Hackborn
Please don't do this, these APIs are only really for writing system information tools. For example, for this to work correctly need to retrieve -all- possible running activities (which can be 10, 20, 30, or more), have all of that information copied to your process, and look through it for the act

[android-developers] Re: how can I check if an Activity is visible or not?

2009-02-12 Thread Dan Raaka
Get the RunningTaskInfo through the ActivityManager and do a name match for the activity name you want to exclude and send the notification -Dan On Feb 12, 5:34 pm, pperotti wrote: > Hi, does anybody knows if it is possible to check if an Activity is at > a moment of the time visible ? > > My q

[android-developers] Re: Customization on SearchDialog

2009-02-12 Thread Dianne Hackborn
More forcefully -- we can pretty much guarantee you will break in the future if you use reflection. If nothing else, there is a good chance that a lot of the search UI will be moved to another process so the implementation you would have been poking just won't be there any more. On Thu, Feb 12, 2

[android-developers] Re: Developer phone with sim card but no service

2009-02-12 Thread snctln
I have an ADP1 and I was able to set it up and I still use it without ever having a sim card at all, I just . (I use a sprint (ie no sim) Windows Mobile phone as my main device for now) I posted the procedure of how I got my ADP1 up and running over at xda http://forum.xda-developers.com/showpos

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-12 Thread yukinoba
More information: The "_id" column brings no trouble as an ORDER BY argument, but can not exist in the projection map. The reason is still unknown. Needs help, please. Sincerely, Nicholas On 2月13日, 上午10時32分, yukinoba wrote: > To dear all, > > I found that when you use "_id" column as the proj

[android-developers] Re: Customization on SearchDialog

2009-02-12 Thread Andrew Stadler
Hello Marty, Unfortunately, the search dialog was not designed to be extended in this way. This was not meant to "protect" it so much as a consequence of the data-driven design of the Search system. If you can describe some of the changes you have in mind, perhaps we can assist with some good s

[android-developers] Re: ListView / SqliteCursor

2009-02-12 Thread Romain Guy
We're aware of this issue :) In the meantime, you should perform your query on a background thread. On Thu, Feb 12, 2009 at 6:12 PM, Marc wrote: > > I've noticed that the time it takes to enter my ListActivity is fairly > proportional to the number of items in the sqlite cursor. Indeed, > whe

[android-developers] Re: fill_parent issue with ListView cells

2009-02-12 Thread Romain Guy
You cannot use a height of fill_parent with listview items, nor can you span across multiple lines. On Thu, Feb 12, 2009 at 3:31 PM, kamenjar wrote: > > Hi all, > > I am having this issue where I am trying to have a single TextView > span one to two lines, fill the cell completely (so you can al

[android-developers] Re: What will cause SQLiteQueryBuilder.query infinite loop?

2009-02-12 Thread yukinoba
To dear all, I found that when you use "_id" column as the projection map and the order-by value, the query will stuck and never return. However, there has another problem still blocks me to return back from the query method. Please, I need more information and help. Sincerely, Nicholas On 2月1

[android-developers] Re: display the device screen on the PC

2009-02-12 Thread Dan Raaka
on the spot !! Thanks .. -Dan On Feb 12, 5:18 am, Mark Murphy wrote: > Dan Raaka wrote: > > I has seen someone write an java app to show the device screen on the > > PC - realtime thru repeated frame grabs. > > That would be me! > > > It used the same method as used by the eclipse DDMS perspec

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-12 Thread Jim Bray
Hi, Tried with the new SDK, emulator doesn't work, dies with messages like: init: untracked pid 49 exited init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode Restarting system with command 'recovery'. Reboot failed -- System halted These ar

[android-developers] sound effect using SoundPool

2009-02-12 Thread djp
Hi, there seems to be a dead-lock problem when using sound effects with SoundPool. I was hoping the the problem would be fixed in the new firmware update, but unfortunately, it was not. The application still locks up after couple of minutes when playing sound effects using SoundPool. My applicati

[android-developers] Re: Google are ascii cowboys!

2009-02-12 Thread Xavier Ducrohet
Hi We don't actually specify any encoding and so it reverts to ASCII, I suppose. I'll change it UTF-8 for the next SDK. In the meant time, if you want to fix it on your current SDK, edit tools/lib/build.template and replace the first line: by After this change, all new build.xml files

[android-developers] Glitch with Autocomplete

2009-02-12 Thread Kirk
Thanks in advance for anyone that can help. I'm trying to use the AutoCompleteTextView - it works just fine as far as matching text, however I'm getting an interesting problem as my choices are narrowed down. The box is docked to the bottom of the screen. When you being entering text, the list

[android-developers] another round of emulator DNS problems

2009-02-12 Thread Brian Smith
Greetings, I cannot get the android emulator v1.7 on Windows XP to resolve DNS hostnames I know this is an oft-visited topic on these forums, but after reading the threads I have not found "resolution". I am running the emulator on Windows XP, on a notebook with a disconnected ethernet interface

[android-developers] fill_parent issue with ListView cells

2009-02-12 Thread kamenjar
Hi all, I am having this issue where I am trying to have a single TextView span one to two lines, fill the cell completely (so you can also click edges of the cell and it will trigger) and center-align. This is the layout for the cell: http://schemas.android.com/apk/res/android"; android

[android-developers] Re: Resize based on orientation.

2009-02-12 Thread Timo Bruck
Android will automatically re-layout your views based on orientation (and screen size, too!), but you need to give it flexibility in setting the view sizes to do that. I try to avoid using absolute dimensions for anything other than padding or when I want a view to be a certain size regardless of

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-12 Thread Jim Bray
This was how I did it: http://cashmundy.blogspot.com/2009/02/how-to-get-rc33-on-your-g1-without-wait.html It was easy. I didn't even need to use my USB cable. Downloaded it with the phone browser (went into /sdcard/downloads), then used Linda File Manager to rename it to update.zip and mov

[android-developers] Using X.509 Certificate for a secure http webrequest

2009-02-12 Thread mattdev
Have anyone infos about a sample which demonstrates the usage of a X. 509 certificate within an android application? thx in advance. - matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] ListView / SqliteCursor

2009-02-12 Thread Marc
I've noticed that the time it takes to enter my ListActivity is fairly proportional to the number of items in the sqlite cursor. Indeed, when I look at a trace, it seems as though fillWindow (i.e. filling the cursor window) takes a HUGE amount of time when working with a large cursor (one with t

[android-developers] Re: Is the holiday_devphone build an official ADP1 image?

2009-02-12 Thread Lucian Tomuta
Hi guys, I've copied this "official" update on the memory card's root as update.zip then tried to reboot the phone while holding the Home key pressed. The result is that the phone shows a triangle with en exclamation mark in it (/!\) next to a phone and freezes with this image displayed. I have t

[android-developers] How to detect PDP context activation/deactivation and out of coverage scenarios?

2009-02-12 Thread Regina Mitsue Azuma
I'm developing an application that makes an intensive use of data connection in GPRS network. I'm currently using DatagramSocket and I have some questions with regarding to PDP context activation and network failures. In summary, I would like to know how to detect programmatically some scenarios a

[android-developers] Developer phone with sim card but no service

2009-02-12 Thread Logik
Just recieved my dev phone today in the US. I have am AT&T sim card, but with no actual service with the card. I was wondering if their is a way to set up the apn or bypass it to use the phones built in wifi. Just wanna start testing my code and can't seem to get it working without having an actua

[android-developers] Glitch with Autocomplete

2009-02-12 Thread Kirk
Thanks in advance for anyone that can help. I'm trying to use the AutoCompleteTextView - it works just fine as far as matching text, however I'm getting an interesting problem as my choices are narrowed down. The box is docked to the bottom of the screen. When you being entering text, the list

[android-developers] controlling window size of another activity

2009-02-12 Thread Dan Raaka
Activity A is launched .. from Activity/Service B The launching is through an intent .. Given the class Intent .. Is there a way to get the class Activity .. The intention is to .. get the Window from Activity.getWindow(), and manipulate the x-y ordinates so that the activity window can be moved

[android-developers] Re: remove|delete res/raw files

2009-02-12 Thread Alex B
Marco, I'm really grateful for your reply because you've saved me from spending any more time trying to figure this out. Is this mentioned in the docs? If so, I missed it. If not, it should be mentioned as explicitly as you did. This is a minor set back, but an acceptable one given the reasoning.

[android-developers] Re: Resize based on orientation.

2009-02-12 Thread Dianne Hackborn
At a basic level, if you set things to absolute sizes (in pixels no less) you are not going to resize when the screen resizes due to an orientation change. You need to do your layout without absolute dimensions. On Thu, Feb 12, 2009 at 3:54 PM, David wrote: > > Hello, I need to have my view res

[android-developers] Re: displaying local html pages containing hyperlinked in android emulator

2009-02-12 Thread Mark Murphy
vicky wrote: > is it possible to open local html pages containing hyperlinked to > nevigate through different web pages. > > The prefix "file:///android_asset/" will cause WebView to load > content from the current application's assets folder but it does not > allow to open next page through hyp

[android-developers] Re: Local content on android web browser

2009-02-12 Thread Mark Murphy
androido...@gmail.com wrote: > Is there a way to bring up local content (file://xxx.html) on > web browsers. I found that we cant from an earlier post due to > security reasons. > > See in this link: > http://www.mail-archive.com/android-developers@googlegroups.com/msg05067.html > > I need to do

[android-developers] Re: run app after installation using PACKAGE_ADDED or other mechanism?

2009-02-12 Thread Peter Jeffe
On Feb 12, 1:54 pm, Dianne Hackborn wrote: > No, you should let the user decide to run you when they want. We certainly let the user decide when they want to run our activity and interact with it, but we also have a service that we want to run after we are installed and at boot time. In any sys

[android-developers] how can I check if an Activity is visible or not?

2009-02-12 Thread pperotti
Hi, does anybody knows if it is possible to check if an Activity is at a moment of the time visible ? My question is because I want to implement a service and only invoke a different activity (by launching an Intent) only if the previous activity was visible. In case for instance, the user is in

[android-developers] Re: How can I specify the default style of my widget

2009-02-12 Thread birds fly
hi you can use Theme , The theme can include all style information. On Fri, Feb 13, 2009 at 8:16 AM, Meryl Silverburgh < silverburgh.me...@gmail.com> wrote: > > Hi, > > I create my own widget with its own drawable for background. > > So in my styles.xml file, I ha

[android-developers] Re: WebView is not clearing history.

2009-02-12 Thread Obormot
Hi, guys. Sorry for bringing this up again, but it looks like it's a bug in the WebView, which really hurts my project... I found that it happens on the HTML pages with images. Pages without images clear history as they're supposed to. Might this be a synchronization issue? I would really apprec

[android-developers] WebView: Javascript popup alert box not displayed.

2009-02-12 Thread Kumaravel Kandasami
I have simple html that would popup an alert box. Using WebView to display the page... the popup does not display. Any suggestions? HTML Code: alert('Hello World!!!'); Activity code: super.onCreate(savedInstanceState); WebView browser = new WebView(this); browse

[android-developers] How can I specify the default style of my widget

2009-02-12 Thread Meryl Silverburgh
Hi, I create my own widget with its own drawable for background. So in my styles.xml file, I have this: @drawable/btn_mywidget_bg In my main.xml, if i specified my 'style' attribute, my background drawable was displayed correctly.

[android-developers] Re: directory of self-written programms

2009-02-12 Thread Jon Colverson
On Feb 12, 1:35 pm, mechatronicsStudent wrote: > I´ve written a programm helloWorld.apk and installed it with adb > install on the phone. > > Were can I find this programm now in the file system? > And how can I get this programm starting just by typing helloWorld in > the shell? The apk is inst

[android-developers] Re: SDK Network Snifing

2009-02-12 Thread David Turner
On Fri, Feb 13, 2009 at 12:00 AM, Cyril Jaquier wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > Does SDK 1.1 support an easy way for me to know what network data is > > sent/received? > > > > I opened a bug about this a few days ago. > > http://code.google.com/p/android/issues/d

[android-developers] Re: remove|delete res/raw files

2009-02-12 Thread Marco Nelissen
One you've built your .apk file, "res/raw" doesn't really exist anymore. The files that you put under res/raw on your build machine are now built in to the .apk file, and can't be removed without rewriting the apk file, which we can't do because it would need to be resigned, and we don't have your

[android-developers] Resize based on orientation.

2009-02-12 Thread David
Hello, I need to have my view resize itself based on the orientation. After extensive googling (maybe i was using the wrong terms) I could find nothing telling me how to detect when the orientation was changed. Here is my layout file: http://schemas.android.com/apk/res/ android" android:orie

[android-developers] Re: IP support?

2009-02-12 Thread Jon Colverson
On Feb 11, 7:46 pm, jski wrote: > How does Android provide support for traditional TCP or UDP sockets? > Is there a wireless IP protocol using just the cell phone?  If so, how > does this work?  Or, do I need an 802.11 chipset in the handset > (assuming this isn't standard)?  ---John Android can

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-12 Thread Jon Colverson
On Feb 12, 2:50 pm, quakeboy wrote: > I don't think OpenGL ES 1.0 is so incapable that it can't give me > atleast 25-30 fps with just 12 triangles which you one 256x256 texture > and one 64x64 textures (used by 5 quads) My game does a very similar amount of drawing and I get ~60 fps if sound is

[android-developers] Renaming Pictures

2009-02-12 Thread ivan
I'm writing a camera app that captures a jpeg and saves it to the app's current working directory. Then the app uses "android.provider.MediaStore.Images.Media.insertImage(ContentResolver cr, String imagePath, String name, String description)" to save a copy of the picture to the media directory o

[android-developers] Re: SDK Network Snifing

2009-02-12 Thread David Turner
WireShark does that *very* well, and there is no point in reinventing the wheel in the SDK :-) On Fri, Feb 13, 2009 at 12:03 AM, Mattaku Betsujin < mattaku.betsu...@gmail.com> wrote: > What will be good is to have some high-level protocol sniffing as well, > built-into the SDK. I am sure most peo

[android-developers] Re: SDK Network Snifing

2009-02-12 Thread g1bb
I've been signing onto my wireless network (with g1) and using ettercap to sniff with no problems. On Feb 12, 4:03 pm, Mattaku Betsujin wrote: > What will be good is to have some high-level protocol sniffing as well, > built-into the SDK. I am sure most people want to sniff their HTTP traffic, >

[android-developers] Re: SDK Network Snifing

2009-02-12 Thread Mattaku Betsujin
What will be good is to have some high-level protocol sniffing as well, built-into the SDK. I am sure most people want to sniff their HTTP traffic, and have no idea how to use a low-level tool such as WireShark. On Thu, Feb 12, 2009 at 2:53 PM, David Turner wrote: > not currently, but a future v

[android-developers] Re: SDK Network Snifing

2009-02-12 Thread Cyril Jaquier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Does SDK 1.1 support an easy way for me to know what network data is > sent/received? > I opened a bug about this a few days ago. http://code.google.com/p/android/issues/detail?id=1912 Regards, Cyril -BEGIN PGP SIGNATURE- Version: Gnu

[android-developers] Re: What's in raw data from PictureCallback of camera?

2009-02-12 Thread gjs
Hi David, I too would appreciate some of these suggested operations for image processing, particularly the arraycopy, xor and shift operations to use primarily for image edge detection. Just hope that you can access multiple full width 'scan lines' in a random io kind of fashion allowing backtrac

[android-developers] Re: SDK Network Snifing

2009-02-12 Thread David Turner
not currently, but a future version of the emulator will allow you to dump the network traffic to a libpcap-formatted file that can be analyzed with WireShark and other tools. On Thu, Feb 12, 2009 at 10:49 PM, Tomei Ningen wrote: > > Does SDK 1.1 support an easy way for me to know what network da

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
On Feb 12, 5:09 pm, Dianne Hackborn wrote: > I replied to this in the other thread, but if you want to explicitly > reference a component from one package that is in another, you need to > explicitly build the ComponentName of both the package and class name of the > target.  The shorthand new In

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
Unless there are some serious bugs in the Log class (which I doubt) it wasn't running two instances of the service because I logged every aspect of the service and the client's life cycles and included thread IDs and process IDs when doing so. I did this for all the variations I used to try and s

[android-developers] remove|delete res/raw files

2009-02-12 Thread Alex B
Is it possible to remove files from res/raw once the program is running? I'd like to include some mp3s in the app I'm making, but if the user doesn't like them, I'd like to provide the option to delete those files. Is there a way to delete files from res/raw once the app is running? How are you g

[android-developers] Re: WebView with Gears:

2009-02-12 Thread Mike Reed
/data/data/com.android.browser/app_plugins On Thu, Feb 12, 2009 at 5:09 PM, Kumaravel Kandasami wrote: > Any idea on where the browser plugins are stored in the device? > > I looked into the data/data/com.android.browser/lib, it is empty... (used > DDMS FileExplorer). > > Is there any tools to r

[android-developers] Re: WebView with Gears:

2009-02-12 Thread Kumaravel Kandasami
Any idea on where the browser plugins are stored in the device? I looked into the data/data/com.android.browser/lib, it is empty... (used DDMS FileExplorer). Is there any tools to remote connect from MAC/Windows to Linux Android device... like similar to ssh and basically run an 'ls' command ...

[android-developers] Re: a list of Androids MIME types?

2009-02-12 Thread Dianne Hackborn
Most MIME types are defined along with their provider in its class in android.provider. On Thu, Feb 12, 2009 at 12:19 PM, myIP wrote: > > I can't seem to find out how a MIME type is found. For instance, say > I want my application to bring up Contacts. Where can I find the MIME > type for that

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Dianne Hackborn
I replied to this in the other thread, but if you want to explicitly reference a component from one package that is in another, you need to explicitly build the ComponentName of both the package and class name of the target. The shorthand new Intent(this, ...) creates ComponentName objects whose p

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Dianne Hackborn
Please see me recent reply to another thread. It sounds like you are running two instances of your service. You do NOT declare the service in the client process, but you DO need to specify the correct component name in the Intent when binding to it from the client -- that is explicitly make a Com

[android-developers] SDK Network Snifing

2009-02-12 Thread Tomei Ningen
Does SDK 1.1 support an easy way for me to know what network data is sent/received? --~--~-~--~~~---~--~~ 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@

[android-developers] Re: TERRIBLE BUG #2 - the GC from HELL

2009-02-12 Thread Stoyan Damov
Thanks! Since you Android guys beat me with good I have no choice but to also subscribe android-discuss where I'll transfer my non-development-related rants :) Cheers, Stoyan On Thu, Feb 12, 2009 at 10:39 PM, fadden wrote: > > On Feb 12, 10:30 am, Stoyan Damov wrote: >> Now that I'm calm I re

[android-developers] Popup windows won't occupy the space previously held by the status bar

2009-02-12 Thread ccylan
Hello Everyone, I've set up my application to hide the status bar using: getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); I'm currently trying to use PopupWindow to fill the entire screen but it only fills everything except the area p

[android-developers] Changing Gallery content from code.

2009-02-12 Thread Alexey
Hi All, i'll try to rephrase a question. I have a Gallery with custom adapter. The items of the gallery are textviews. In on it's onItemSelected i'm changing a font of the text in selected TextView to be a different color. Then, As a result of the other Activity items in the gallery adapter are

[android-developers] Re: WebView with Gears:

2009-02-12 Thread Mark Murphy
> Being that the browser supports there should be somewhere gears plugin in > the pile, and can we explicitly associate with the WebView component ? You're welcome to hunt around and try. I haven't looked, personally -- I'm merely echoing statements made by the core Android team made last year, w

[android-developers] Spinner - key/value pairs

2009-02-12 Thread julius
Hi, I'm using reference data from a database to provide selection options in a Spinner and I would like to be able to tell which option was selected. Is there a key/value mapping option that can be applied to values supplied to a Spinner? Thanks for any ideas. --~--~-~--~~---

[android-developers] Re: WebView with Gears:

2009-02-12 Thread Kumaravel Kandasami
What is the difference between the WebView and Browser application ? From my level of understanding they should be the same webkit component internally used. (any documentation reference available ?) Being that the browser supports there should be somewhere gears plugin in the pile, and can we exp

[android-developers] Re: WebView with Gears:

2009-02-12 Thread Mark Murphy
> As anyone successfully tested running Gears enabled web pages in WebView ? > The Gear samples are running ok in the android 'browser' application, but > not on 'WebView'. Do I need to enable any WebViewSetting() options ? AFAIK, Gears is not available to WebView, only to the built-in Browser ap

[android-developers] Re: RemoteCallbackList register called on one thread, broadcast initiated on another...

2009-02-12 Thread Hans
Wow, weirdness... Starting the remote service, whose code is in another project than the client's, via a global name resolved the thread issue. So, to sum up: IF you keep your service code in its own project If you don't declare a name like this: in your service's manifest you'll be unable t

[android-developers] Re: Q. Stack trace gives Hex values not function names when core library crashes

2009-02-12 Thread fadden
On Feb 12, 1:59 am, "click...@gmail.com" wrote: > I am looking for little more informations rather than Hex values. > Like the backtrace feature where the stack hex values is mapped to the > function names and function names are visible. The device can't show these, because the symbols are strip

[android-developers] WebView with Gears:

2009-02-12 Thread Kumaravel Kandasami
As anyone successfully tested running Gears enabled web pages in WebView ? The Gear samples are running ok in the android 'browser' application, but not on 'WebView'. Do I need to enable any WebViewSetting() options ? Thank You. Kumar_/|\_ www.saisk.com ku...@saisk.com "making a profound di

[android-developers] Re: TERRIBLE BUG #2 - the GC from HELL

2009-02-12 Thread fadden
On Feb 12, 10:30 am, Stoyan Damov wrote: > Now that I'm calm I realize in my 1st post I sound like a complete jerk. It happens. We forgive you. :-) Some tips for the next time you see this: http://groups.google.com/group/android-discuss/browse_thread/thread/fa79b405ecb5fb51/dd459d306003915a#d

[android-developers] Re: Attn Google - How does licensing work in transitioning from a free app to a paid app?

2009-02-12 Thread Mattaku Betsujin
I don't see any clause in the Developer Distribution Agreement against subscriptions. Especially, in this case, the user is buying 4 apps with different package names (one for each quarter of the year). As far as the market is concerned, there are 4 different apps. I think the carrier will just be

[android-developers] Re: Unable to start service Intent error in Client-Server project

2009-02-12 Thread Hans
It turns out that you can avoid using the service reference in your client manifest if you declare what I presume is a global name in your service's manifest and simply refer to this name in your client code. This is what I added to my service's manifest: Then I could delete the entry in my c

[android-developers] Re: ImageView.setColorFilter and/or LightingColorFilter- how to use them?

2009-02-12 Thread myIP
Ah...I see. Thanks, I will soon again tinker with color values. On Feb 10, 3:45 pm, Mike Reed wrote: > If you want to set a component (e.g. RED) to zero, use these > > mul: 0xFF00 > add: 0 > > If you want to force a component to be full-on (e.g. BLUE), use these > > mul: 0x > add: 0

[android-developers] Re: ImageView centering/ rotating issue

2009-02-12 Thread Scynasty
if you set the size of the imageview larger than the screen size it won't get cropped. On Feb 11, 3:19 pm, oguen wrote: > Hi , > > is it possible to set the center of an ImageView without using > paddings? > > What I'm trying to do is, to place a part of an image outside the > screen and animate

  1   2   3   >