[android-developers] Re: obtain information from "My Profile"

2011-11-15 Thread jose
I want to get alias or name the owner of the mobile On 16 nov, 01:05, TreKing wrote: > On Tue, Nov 15, 2011 at 2:33 AM, jose wrote: > > Hello, I want to obtain information from Contacts "My Profile", to know > > the cell phone owner's name. thanks > > What are you talking about? > >

[android-developers] Problem with Android Emulator

2011-11-15 Thread Bishan
When i start the emulator, it show on taskbar. but it is not comes to my pc screen. i tried to get it on my pc screen using task manager by selecting Bring to Front command. but it is not comes to infront of my screen. how could i fix this issue ? -- You received this message because you are sub

[android-developers] Re: onConfigurationChanged call back is not getting called?

2011-11-15 Thread shweta
Hello, Put configChanges attribute into manifiest file before closing tag. Example are given below: On Nov 15, 11:58 pm, Shri wrote: > If you are running on Honeycomb, you need to also include "screenSize" > (which was introduced in Honeycomb) along with "orientation". > Seehttp://d

[android-developers] Re: Camera access

2011-11-15 Thread kypriakos
Just in case this will help anyone else - i figured out the issue. I was snapping a picture and then restarting the preview right away. With the slower phones (G1) this was ok but with newer phones that are faster this won't work. I moved the preview to start inside the jpegcallback and after the

[android-developers] Help needed with dynamic layout change [UI Rearrange]

2011-11-15 Thread androidCrazy
I have two activities. The first activity has buttons arranged as per layoutfirst.xml in protrait mode and layoutfirst.xml in landscape mode, placed in layouts-land folder. The second activity is a text view. The navigation first view -> button click -> second view Change orientation to landsca

[android-developers] Remove Log Statements

2011-11-15 Thread Android Developer
Hi All, Before pushing application to market we need to remove Log statements. if application contains more java files then its hard to remove one by one. is Proguard is the best solution for this scenario? if its that it giving some problem while optimizing external jar files especially restlet

[android-developers] device in sleep mode, service still working ?

2011-11-15 Thread SL@maxis
Assume I write a service (no interface) that communicates with a PC when an event occurs via WiFi or Bluetooth. When the phone goes into sleep mode, is the service still working ? Thanks. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- You received this message

Re: [android-developers] Android Development Environment?

2011-11-15 Thread manoj lasantha
i installed ADT in eclipse and SDK as well in windows as ubuntu.But i feel sound good in ubuntu as the emulator is in a rather speed state in ubuntu: On Fri, Nov 11, 2011 at 9:56 AM, Jones wrote: > What development environments are most Android developers using > (Eclipse, IntelliJ, etc)? > > Wh

[android-developers] How to connect android device to wifi printer ??

2011-11-15 Thread Hrishi
Hi ... I am newbie to android ,Want to code a Android app, which will connect to a wifi printer and than make a printing. Please tell me step that how could i get this result ... The question mark is how to connect to the network printer So if anyone can suggest me a way i would appriciate it,

[android-developers] Re: How to access class file

2011-11-15 Thread Ketan
Can I access bytecode of some file/function from dex file On Nov 12, 12:58 am, Mark Murphy wrote: > On Fri, Nov 11, 2011 at 6:47 AM, Ketan wrote: > > I want to acess class file from bin folder in android. > > I was doing it using > > File f = new File("/bin/filename.class"); > > > Its worki

[android-developers] Re: Camera access

2011-11-15 Thread kypriakos
Well this is what I found out - first time the activity is launched the camera goes into preview mode, snaps a pic, stores the pic and then tries to get into preview mode again. I removed the last step and still the pic is taken and it stays stuck on the screen. I realized that the camera service

[android-developers] Required SPI interface opencv running on Android

2011-11-15 Thread srinivasan shanmugam
Dear All, I got the opencv for Android serial port -api ie., for UART communication in the below link http://code.google.com/p/android-serialport-api/source/checkout Similarly Could you pls get me the link for Android_SPI_api for using SPI interface on IMX_535 qsb on which android is running A

[android-developers] Re: Two active surfaceViews on top of one another

2011-11-15 Thread Rajeev Ranganathan
I am yet try the solution,which Nick has mentioned. Meanwhile,i was trying another thing,where am not actually,stacking the surfaceviews(one over the other), but have created a layout in such a way that,they should come side by side.But,still,am able to view only one surfaceView content.The WHITE

Re: [android-developers] MediaMetadataRetriever does this work PLEASE Help?

2011-11-15 Thread New Developer
So my play loop is loadFrame() { frames.incrementProgressBy(326-(playSpeed*30)); frames is a seekbar frame = frames.getProgress(); pict = retriever.getFrameAtTime(frame*1000); mBitmap = Bitmap.createBitmap(pict, 0, 0, 1060,600, matrix, false); super.setImageBitmap(

[android-developers] navigation bar in icrecream emulator

2011-11-15 Thread rukiman
How come the hw.mainKeys setting has no effect in the AVD for WVGA800 ? Is there any way to force the navigation bar to appear? -- 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@googlegr

Re: [android-developers] MediaMetadataRetriever does this work PLEASE Help?

2011-11-15 Thread New Developer
Horay ! ! ! ! funny that just retrieve.getFrameAtTime(frame);vs retrieve.getFrameAtTime(frame * 1000); can make such a HUGE difference, now If I can just make it smoother Thanks all On 11/14/2011 01:34 PM, New Developer wrote: No matter what I pass as a value to getFrameAtTime() always

[android-developers] Re: 1024x1024 texture drops framerate dramatically

2011-11-15 Thread Jonathan
It's only 3 years old, but I suppose that anything older than 6 months in the smartphone industry is considered to be "ancient hardware". Anyway, I don't use it as a phone; I use it as a development tool. On Nov 14, 8:15 pm, niko20 wrote: > Wow, a G1? You my friend have a piece of ancient hardwar

[android-developers] Call tab_indicator.xml from styles.xml

2011-11-15 Thread Ivan Soto
Hello, I'm trying to create a custom theme without relying in classes. Something that is easy enough to plug into an app. My problem is that the TabWidget in styles.xml doesn't reference tab_indicator.xml anywhere so I can't see a way of using a custom style unless I call the style from the lay

[android-developers] SharedPreferences question

2011-11-15 Thread Larry/MavrickProductions
I have a need to store a single value - the year - so that it can be called from any activity in my app. Shared Preferences seems to be the easiest but I've got myself coded into a wall and could use a spot of advice. I think the problem is in my XML, but I'm not sure. Here's the pertinent snip of

[android-developers] Help with GPS Provider Switch

2011-11-15 Thread Tommy Hartz
Hey, Right now when trying to get a user location I start with the GPS Provider. I have a timer set for 30 seconds, If a location is not found in 30 seconds the timer goes off and stops that location request. When that happens I move to the Passive Provider. After 30 seconds if a location is

Re: [android-developers] Help need on face book integration

2011-11-15 Thread TreKing
On Tue, Nov 15, 2011 at 9:01 AM, chowdary nani wrote: > I need help on integrating face book into my android application and > creating developers id in face book. > Please help me on this. > Please try a simple Google search - this has been asked (and solved) about a billion times now.

[android-developers] Re: DatePicker in a fragment

2011-11-15 Thread kbeal10
The solution I came up with was to subclass DialogFragment, returning a DatePickerDialog in onCreate() @Override public Dialog onCreateDialog(Bundle savedInstanceState) { return new DatePickerDialog(sContext, dateSetListener, sDate.get(Calendar.YEAR), sDate.get(Calendar.MONTH), sDate.get(Cale

[android-developers] Re: Remote control of apps

2011-11-15 Thread BelvCompSvs
Android Debug Bridge: stop Stops execution of an emulator/device instance On Nov 15, 12:53 pm, kypriakos wrote: > Hi all, > > I remember that you can launch apps remotely on a phone using: > > adb shell am start -n ... > > I never looked for one that would terminate the app remotely. Is there >

[android-developers] Re: registering the same BroadcastReceiver multiple times with the same intentFilter

2011-11-15 Thread BelvCompSvs
my experience in this situation is to write some one-off and run it and see what it does as that will tell you more -- just be sure to wrap it as tight as you can for testing then run it hard and see what it does otherwise one may propagate mythology ... not good in real world On Nov 15, 7:38 pm,

[android-developers] Re: audio record emulator : setAudioSource failed

2011-11-15 Thread Eric
add permission for media recorder:) -- 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...@google

[android-developers] registering the same BroadcastReceiver multiple times with the same intentFilter

2011-11-15 Thread Philippe Laporte
Hi, This is allowed, right? Also, doing that, we only need one unregister call to remove the whole thing - or rather - the sole effectively-registered receiver, right? Thanks, Philippe Laporte -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: android 2.3 pauses my application

2011-11-15 Thread gjs
Hi, Is TimerTask running from the Activity or an (Android) Service ? Sound like you need to use a Service with a Wake Lock to keep cpu running after you press Power button. Regards On Nov 15, 8:34 pm, kazuya wrote: > I have an application that takes pictures and upload them to server. > Also I

Re: [android-developers] Re: Multiple Apps and Content Providers, How to ?

2011-11-15 Thread Mark Murphy
On Tue, Nov 15, 2011 at 7:24 PM, swebb99 wrote: > the problem with this is > you need to make sure that the customer always purchases the app with > the provider first!!! Correct. Content providers for inter-app data sharing can work well when there is a clear hierarchy (e.g., app plus plugins, w

[android-developers] Re: Multiple Apps and Content Providers, How to ?

2011-11-15 Thread swebb99
Thanks for the reply Mark. As you say contacts is part of the eco system and hence I can see the benefit of a provider. But I'm failing to see how providers created by normals developers like myself are actually that useful unless you have one app that provides the provider and then the others make

[android-developers] Re: How to read data off a website into an Android app

2011-11-15 Thread mellery451
well, you're not going to be able to (easily) read Excel files on android (xls, or whatever they are called these days), but csv will probably work - perhaps that's what you were thinking of anyhow. Have a look at http://groups.google.com/group/android-developers/browse_thread/thread/cec5eb668e329

Re: [android-developers] obtain information from "My Profile"

2011-11-15 Thread TreKing
On Tue, Nov 15, 2011 at 2:33 AM, jose wrote: > Hello, I want to obtain information from Contacts "My Profile", to know > the cell phone owner's name. thanks > What are you talking about? - TreKing

Re: [android-developers] I need SQLite example with external database file

2011-11-15 Thread TreKing
On Mon, Nov 14, 2011 at 8:19 PM, andronagarjuna wrote: > I need good example for CRUD operations using SQLite in my android quiz > application using database file , Read the documentation. - TreKing

Re: [android-developers] shifting the center position of an image in gallery

2011-11-15 Thread TreKing
On Mon, Nov 14, 2011 at 10:31 PM, Dev wrote: > the distance of the first image from left and the distance of last image > from right end are not equal > That's not exactly clear. can any one tell me how to fix that > Not based on the non-existent information you posted. > its urgent Please!!

Re: [android-developers] Re: Multiple Apps and Content Providers, How to ?

2011-11-15 Thread Mark Murphy
On Tue, Nov 15, 2011 at 6:45 PM, swebb99 wrote: > On that basis anything that needed contacts should be in the same > app! Contacts is part of the operating system. Your apps are not, unless you roll your own firmware and put your apps in it. Outside of putting content on external storage (which

[android-developers] Re: How to read data off a website into an Android app

2011-11-15 Thread Jungle Jim
Thanks Alexander and Mike. One more question: I also want to be able to put some data (perhaps in Excel spreadsheet format, but not restricted to that) somewhere on the web and have my app read that data. This way I can periodically revise the data that shows on the apps that my customers have ins

[android-developers] Re: Multiple Apps and Content Providers, How to ?

2011-11-15 Thread swebb99
On that basis anything that needed contacts should be in the same app! On Nov 15, 2:45 pm, Kristopher Micinski wrote: > The typical answer is that if you have something like this then you > shouldn't have separate apps in the first place. > > kris > > > > > > > > On Tue, Nov 15, 2011 at 8:11 AM,

Re: [android-developers] Re: getResourceAsStream and resource matching.

2011-11-15 Thread Dianne Hackborn
Oh wait, you are using the Java resource stuff? Don't. You must always use Android's APIs (in particular android.content.res.Resources) to access Android resources. On Mon, Nov 14, 2011 at 5:43 AM, port443 wrote: > I tried (I'm just playing with a black box here): > >Cl

[android-developers] Re: Camera access

2011-11-15 Thread kypriakos
Right on Mark, One of the reasons I found out was a lingering process that was locked it. I killed that process and the camera service responds fine now. The second time it did this I found out that after the camera goes into preview, an image is snapped (this is the app I am testing that takes p

Re: [android-developers] Re: Android Development Environment?

2011-11-15 Thread Marcelo Henrique
Eclipse + ADT .,. or MotoDEV(ECLIPSE) ! 2011/11/15 joebowbeer > The NetBeans plugin (nbandroid.org) has the most stable support for > the new Android SDK Tools (r14+). The support is a fairly thin wrapper > on the Ant build script and properties files, but it seems to work, > which is more than

Re: [android-developers] Camera access

2011-11-15 Thread Mark Murphy
It seems like the CameraService thinks that the camera is in use. Only one application can use the camera at a time. And if an application leaks the camera (by not closing it), it might be tied up until the process gets terminated or you reboot the phone. On Tue, Nov 15, 2011 at 5:17 PM, kypriakos

[android-developers] Re: Android Development Environment?

2011-11-15 Thread joebowbeer
The NetBeans plugin (nbandroid.org) has the most stable support for the new Android SDK Tools (r14+). The support is a fairly thin wrapper on the Ant build script and properties files, but it seems to work, which is more than I can say for the current state of Eclipse with ADT 15. IntelliJ IDEA is

[android-developers] Re: Cross-posting BUG

2011-11-15 Thread BelvCompSvs
I had dozens of those -- I ( originally ) thought it was a site that showed up offering to let me get an app up using their GUI thingamabobwhichii but now I am ( very seriously ) thinking things too bad to post in open discussion fora my "spam folder" - what ever that is supposed to be from a GUI

[android-developers] Re: Intensity of vibration in Xperia arc

2011-11-15 Thread durer jatri
Thanks a lot! -ab On Nov 12, 1:09 am, "Danny.Zubiate" wrote: > Weird, works if I type it in the browser but not if I click the link. > Try this > one:http://www2.immersion.com/developers/index.php?option=com_content&vie... > > Also, Dianne is correct that the particular hardware used to create >

[android-developers] VideoView Volume

2011-11-15 Thread Anm
Is there a way to control the volume of a VideoView's sound playback. More specifically, I want to control the volume of one of two video views, independently. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Camera access

2011-11-15 Thread kypriakos
Hi all, I have been running an activity that access the phone's camera (on Froyo), puts it in preview mode and then snaps and stores a picture. This has been working fine on one phone but on a second phone with the same OS and specs I get the following: I/#LGIME ( 1481): onStartInput: rest

[android-developers] Re: How to read data off a website into an Android app

2011-11-15 Thread mellery451
well, I think you'd want to start with an HttpClient (http:// developer.android.com/reference/android/net/http/ AndroidHttpClient.html) to make the request and download the resource(s). Then you would need to extract the information you need from the content. This is commonly called "scraping" sin

[android-developers] Re: How to transform a openGL object into a bitmap?

2011-11-15 Thread Streets Of Boston
Just try it out! Use (x,y) and (w,h) to render only a portion of your screen into a bitmap. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Announcement: Android MIT Kerberos Port with CyaSSL Embedded SSL

2011-11-15 Thread Chris C.
Hi, yaSSL would like to announce the availability of the MIT Kerberos libraries on Android and get feedback from the android-developers group. Previously, the Android platform has been void of Kerberos support - forcing Android developers who are either creating new applications or porting

[android-developers] AsyncTask must be invoked on the UI thread

2011-11-15 Thread BelvCompSvs
given what I have read so far it is much simpler for me to base-class on AsyncTask and do the threading from my sources but docs state constructor "Runs on the UI thread before doInBackground(Params...)." I can figure out the Handler(s) to process messages delivered from the UI thread ~ since I do

[android-developers] Help with GPS Provider Switch

2011-11-15 Thread Tommy Hartz
Hey, Right now when trying to get a user location I start with the GPS Provider. I have a timer set for 30 seconds, If a location is not found in 30 seconds the timer goes off and stops that location request. When that happens I move to the Passive Provider. After 30 seconds if a location is no

[android-developers] Re: NDK GetMethodID problem

2011-11-15 Thread a1
Signature should be "(II)Landroid/graphics/Bitmap;" colon is used as class name string terminator not as type list separator (types in signatures are single uppercase letters, except of classes which are represented by L; where colon is terminator) -- a1 -- You received this message because y

[android-developers] Re: getResourceAsStream and resource matching.

2011-11-15 Thread port443
Looks like I need android.content.res.AssetManager and android.content.res.Resources instances to make this work in full. >From what I see in sources, this is not available :( On Nov 14, 8:43 am, port443 wrote: > I tried (I'm just playing with a black box here): > >                         Class

[android-developers] TabWidget NullPointerException in pre-Froyo

2011-11-15 Thread Pinheiro
Hi! I've done a simple TabActivity that loads several Intents into the tabs. It works fine in Froyo or later but gives this error on older versions: E/AndroidRuntime( 1958): java.lang.NullPointerException E/AndroidRuntime( 1958):at android.widget.TabWidget.dispatchDraw(TabWidget.java:173)

[android-developers] Re: How to read data off a website into an Android app

2011-11-15 Thread Alexander Turda
Well I think an xml parser would work for that -- 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+unsubsc

[android-developers] Re: onConfigurationChanged call back is not getting called?

2011-11-15 Thread Shri
If you are running on Honeycomb, you need to also include "screenSize" (which was introduced in Honeycomb) along with "orientation". See http://developer.android.com/guide/topics/manifest/activity-element.html#config . -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: onConfigurationChanged not getting called.

2011-11-15 Thread Shri
The solution is that you need to also include "screenSize" (which was introduced in Honeycomb) along with "orientation". See http://developer.android.com/guide/topics/manifest/activity-element.html#config . -- You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Remote control of apps

2011-11-15 Thread kypriakos
Hi all, I remember that you can launch apps remotely on a phone using: adb shell am start -n ... I never looked for one that would terminate the app remotely. Is there one? May be I can write scripts that can grep the ps on the device and send a remote kill but (i) that is not possible on devic

[android-developers] PopupWindow with custom view for Spinner breaks touch events?

2011-11-15 Thread Jona
I'm not understanding what exactly is the issue with my custom PopupWindow. I have a ListView as my content view and each item in the list contains a button or Spinner. When I place a spinner with a custom layout for its list items none of the buttons or Spinners work, nothing happens when pressed

Re: [android-developers] get and set data from autocomplete

2011-11-15 Thread Nicolás Mariano Obregón
I dont's know if that's possible but I would advise you to create a Map and when the user clicks on an item from the dropdown list you look for it in your map. In order to do this you should implement OnItemClickedListener for your AutoCompleteTextView. Hope this works for you... Saludos.- __

Re: [android-developers] calviling webservice

2011-11-15 Thread Nicolás Mariano Obregón
Hi jaggu, first of all, to consume a WebService you need the *Ksoap2 *library. After you get it just check for a simple tutorial on how to use it and that's it. It's quite easy. A personal recommendation, use serialization tools like *xstream *to send and receive java objects serialized as xml ins

[android-developers] NDK GetMethodID problem

2011-11-15 Thread Peter Staab
Hello, I am getting the following error: >11-15 19:31:57.898: D/dalvikvm(5046): GetMethodID: method not found: >;.createBitmapRGBA:(I;I)Landroid/graphics/Bitmap; with this code: java: public Bitmap createBitmapRGBA(int w, int h) { return Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8

[android-developers] Re: SDK 4, R15, where is the navigation button?

2011-11-15 Thread sblantipodi
bump. On Nov 9, 12:12 am, sblantipodi wrote: > I mean the three button we see in ICS, the back, the home and the > recent. > > On Nov 8, 10:08 pm, Chris Stewart wrote: > > > > > > > > > I suspect you mean the menu button.  I believe, and could be very wrong, > > but if you're using Android 4.0 a

[android-developers] Re: How to read data off a website into an Android app

2011-11-15 Thread Jungle Jim
Thanks, Brion. Specifically what I need to do is read some of the data that is displayed on a webp0age and load it into variables in my program. Do you know of any samples programs that will lead me in the right direction? On Nov 12, 10:09 am, Brion Emde wrote: > Take a look at the WebView sample

Re: [android-developers] how can i relocation this home button?

2011-11-15 Thread Mark Murphy
This is part of the firmware. This list does not relate to the firmware. Try http://source.android.com for your firmware development questions. On Tue, Nov 15, 2011 at 7:18 AM, Greg Jeong wrote: > > Let's see my device capture image... > My device's default orientation is landscape mode and I wan

[android-developers] calviling webservice

2011-11-15 Thread jaggu
Hi how to call webservece in android inside the activity when on click listener -- 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 em

[android-developers] Re: Honeycomb: disabled menu items look

2011-11-15 Thread port443
OK, I ended up generating "disabled" looking images for Honeycomb myself on the fly. Not a best solution, but it works. On Nov 15, 10:13 am, port443 wrote: > I'm loading images myself from an APK loaded via ClassLoader, so I > seem not having access to Resources class. > > So, I tried building S

[android-developers] Re: determine finish of the process addView (View child)

2011-11-15 Thread Anil from the Alps
> So now my question: > Is there a Method to determine if a spinner is fully added to the > screen (or to a view)? > Or in other words: > Is there a Method to determine if the layout-process of a View is > fully finished? I found a workaround. 1. Be sure that when you create the spinners dynamical

[android-developers] Android C2DM question

2011-11-15 Thread Neilz
Hi all, I'm currently weighing up the options for push notifications in my app. 1) Polling. I could use a boot receiver / alarm manager combination to fire off a process which checks our server periodically, say every 15 minutes, and then immediately terminates. First question is, is this resource

[android-developers] Re: More traditional Android menu

2011-11-15 Thread alexb
First, zip files are harmless, unless you automatically invoke some executables from it, which I think developers do not do. The link points to the complete Eclipse project with two classes, MenuDialog - the menu itself and MenuDialogDmo - the main activity one. MenuDialog allows you to access menu

[android-developers] image size

2011-11-15 Thread richa jha
hi recently i started working on android..My boss wants to know the size of kernel and the whole honeycomb image size..I m trying to search on internet,but not getting it. please tell me,if anybody has any idea Richa Jha -- You received this message because you are subscribed to the Google Group

[android-developers] get and set data from autocomplete

2011-11-15 Thread hendra uswandy
Hi, i have a problem with AutocompletetextView i want to get id value from autocomplete that get data from sqlite first i get data from sqlite and then i put the data to autocomplete get data from db : [code] cursor = this.dbh.getallData("driver",

[android-developers] Difference between signed and unsigned response in in-app purchase

2011-11-15 Thread santhosh kumar
Hi, I am getting unencrypted JSON string and signature as response from Market after purchased product. But I am unable to understand difference between signed and unsigned response. But in the in-app documentation they mentioned for developer account without drafting application in market, we wil

[android-developers] determine finish of the process addView (View child)

2011-11-15 Thread Anil from the Alps
I have a LinearLayout, lets call it LL; in my code I dynamically create spinners and and/remove them from LL; every Spinner has a AdapterView.OnItemSelectedListener with the Method onItemSelected; when you add a Spinner dynamically then the Method "onItemSelected" is called automatically; this beha

[android-developers] Why is the activity being destroyed/recreated (NOT a configuration change)?

2011-11-15 Thread dwass
Sometimes we are seeing the following behaviour: - Activity A is launched - Activity A starts Activity B - Activity B is used for a while, it can be a few minutes or a few hours - Activity B finishes - Activity A is then destroyed and recreated Why is Activity A being destroyed and recreated, ins

[android-developers] Re: How to make voice record during the conversation?

2011-11-15 Thread Oli Wright
You see that box up there? The one that reads "Search for groups or messages"? Try putting these words into it: android record voice -- 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: How to transform a openGL object into a bitmap?

2011-11-15 Thread saex
Please, can you tell me wich parameters i have to pass to your function? int x, int y, int w, int h wich parameters i have tu put there?¿ Thanks On Nov 15, 3:05 pm, Streets Of Boston wrote: > Maybe you could use > this:https://groups.google.com/d/msg/android-developers/OGuoxpX20Ag/pr2FSe.

[android-developers] Re: error after Install Repo Source Android

2011-11-15 Thread Oli Wright
http://source.android.com/ -> Community -- 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...@go

[android-developers] Re: Honeycomb: disabled menu items look

2011-11-15 Thread port443
I'm loading images myself from an APK loaded via ClassLoader, so I seem not having access to Resources class. So, I tried building StateListDrawable on the fly: this seems to work (two files instead of three!). Yes, icons required for different menu styles should be different, but our graphics de

[android-developers] Re: Android Development Environment?

2011-11-15 Thread Oli Wright
Eclipse. Multiple platforms depending on machine / mood / location. -- 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 andr

[android-developers] MediaRecorder send video over TCP socket

2011-11-15 Thread muhammad.ume...@hotmail.com
hi, Please please help me. i have found 2 method for android video camera recording to pc but i m stuck to create a file on server side. these 2 methods are 1) Mediarecorder parcelFileDescriptor fromSocket that perfect to record video on sd card but when i send it to socket, it doesn't rece

[android-developers] Help need on face book integration

2011-11-15 Thread chowdary nani
Hi All, I need help on integrating face book into my android application and creating developers id in face book. Please help me on this. Thanks in advance. Thanks Naveen -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] empty Cursor after Context.deleteDatabase and data re-added

2011-11-15 Thread Hank
I implemented a logout function in my application that removes the user's account, shared preferences, and deletes the database using context.deleteDatabase(). But after I re-login, and the data is re- added, when I go into one of my activities using a SimpleCursorAdapter, I notice that the list is

Re: [android-developers] Multiple Apps and Content Providers, How to ?

2011-11-15 Thread Kristopher Micinski
The typical answer is that if you have something like this then you shouldn't have separate apps in the first place. kris On Tue, Nov 15, 2011 at 8:11 AM, swebb99 wrote: > Hi, > > Newbie here. > > If I want to create several apps which all allow a user to created, > read, update and delete relat

Re: [android-developers] Re: Holding call programmatically

2011-11-15 Thread Kristopher Micinski
Not in the SDK, official or unofficial ... kris On Tue, Nov 15, 2011 at 7:01 AM, Kamil wrote: > So maybe some unofficial ways? > > On 14 Lis, 22:18, Mark Murphy wrote: >> AFAIK, there are no APIs for this in the Android SDK, sorry. >> >> >> >> >> >> >> >> >> >> On Mon, Nov 14, 2011 at 3:13 PM,

[android-developers] Gravity "virtual" sensor source code

2011-11-15 Thread markus
Hi all! Now that Ice Cream Sandwich is out, I thought I'd have a look at how the "virtual" sensors have their data calculated, in particular TYPE_GRAVITY. Of course it will involve data from some or all of the real sensors (accelerometer, gyroscope, and magnetic field), but I've read somewhere (ca

[android-developers] re:button click listener

2011-11-15 Thread jaggu
how to call webservice in android useing onclicklistener webservice call i have implemented another mainactviy and with defaulthandler and with sites list iam able to get response ,and iam calling that actvity in onclicklistener even that parseing data i have been saveing that data in sqlite publ

[android-developers] Re: Home screen bottom bar(dock bar)

2011-11-15 Thread swami
Noted. Thanks. Swami. On Nov 15, 4:50 pm, Mark Murphy wrote: > Step #1: Visithttp://source.android.com > > Step #2: Click on the Community tab > > Step #3: Find a Google Group that pertains to the Android source code > (as this group does not) > > Step #4: Ask your questions regarding the Android

[android-developers] Re: How to transform a openGL object into a bitmap?

2011-11-15 Thread Streets Of Boston
Maybe you could use this: https://groups.google.com/d/msg/android-developers/OGuoxpX20Ag/pr2FSeDYfigJ -- 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 fr

Re: [android-developers] What is the proper way to change look of MapView zoom controls in Android?

2011-11-15 Thread Alexey Zakharov
I just like this style and want to reproduce this in my app. -- 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-dev

Re: [android-developers] What is the proper way to change look of MapView zoom controls in Android?

2011-11-15 Thread TreKing
On Tue, Nov 15, 2011 at 2:47 AM, Alexey Zakharov wrote: > What is the proper way to change look of MapView zoom controls in Android? Disable the default ones and replace with your own. I want to repoduce zoom button from new google maps. Why? They'll just change again down the line at some p

Re: [android-developers] Build Android Source..

2011-11-15 Thread Mark Murphy
Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Visit a Google Group that is relevant to your question, as this group is for developing apps with the Android SDK Step #4: Ask your questions there On Tue, Nov 15, 2011 at 8:34 AM, wrote: > Hello > > I have

[android-developers] webcall service

2011-11-15 Thread jaggu
hi inside the button how to call my actvity its webservice how to call public void onClick(View v) { // TODO Auto-generated method stub location=(Button)findViewById(R.id.CurrentLocation); location.setOnClickListener(new OnClickListener() {

[android-developers] Build Android Source..

2011-11-15 Thread kapnkore
Hello I have android source 2.3.3 , Now i want to build it in such a way when i port it to device it will copy bootanimation.zip to /data/local folder automatically. So what changes should i do in android source or how should i achieve it.. -- You received this message because you are subscribe

[android-developers] How to transform a openGL object into a bitmap?

2011-11-15 Thread saex
Actually i have a GLSurfaceView witha square that can be rotated and zoomed, and this square haves a texture. I need that a function to transform the current square into a bitmap. For example, if the square is rotated, the bitmap must be the square rotated as the user can see it on the screen it

[android-developers] Multiple Apps and Content Providers, How to ?

2011-11-15 Thread swebb99
Hi, Newbie here. If I want to create several apps which all allow a user to created, read, update and delete related data so a content provider would seem to be the way to go. However I don't know which app a customer would buy first, second and so on. So how do I make sure that: 1) The first ap

[android-developers] Cross-posting BUG

2011-11-15 Thread Tomasz Gawel
There is strange bug, whenever I send a post to Android Developers Group it happens to be crossposted to "exotic" groups like "fametest" "No 1" or "flutuberwachung" which I have nothing to do with. When I send post to other groups ont google the proble does not occur. -- You received this message

Re: [android-developers] Re: How to include the Digital Clock below the Analog Clock(as a Single Widget)

2011-11-15 Thread Mark Murphy
On Tue, Nov 15, 2011 at 7:54 AM, Abhishek Kumar Gupta wrote: > Sir, Thanks for reply. > Actually I want to include "Digital minutes" inside the dial of the analog > clock in the Analog Clock Widget. I have to use whole assembly as a App. > Widget, is it possible? Only if you write your own firmwa

[android-developers] Re: How to include the Digital Clock below the Analog Clock(as a Single Widget)

2011-11-15 Thread Abhishek Kumar Gupta
Sir, Thanks for reply. Actually I want to include "Digital minutes" inside the dial of the analog clock in the Analog Clock Widget. I have to use whole assembly as a App. Widget, is it possible? -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Camera Error 100, ICamera died

2011-11-15 Thread saex
When i make a photo, after the photo is stored, i want that the camera preview is still on the screen, but something is going wrong, because after making a photo the camera preview frozens and i get this error: Camera Error 100, ICamera died I checked some stackoverflow questions about this error

[android-developers] ImageView with ScaleType.FIT_XY programmatically

2011-11-15 Thread B.Arunkumar
Hi, I have a problem. I have created a relativelayout with imageview in my code like this:- RelativeLayout relativelayout1 = new RelativeLayout(this); RelativeLayout.LayoutParams r1 = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT); relativelayout1.setLayout

  1   2   >