[android-developers] Re: Conversion to Dalvik format failed with error 1 [PROGUARD]

2011-11-15 Thread Michael A.
Did you ever find a solution to this problem? I've been getting what seems to be exactly the same issue ever since moving to ADT14/15 on my windows machine. I can sign on my Linux laptop, but nothing I do seems to work on Windows. -- You received this message because you are subscribed to the

[android-developers] Android 2.3 and Socket connections

2011-11-15 Thread Simon
Hi all, So, I'm trying to write the android side of a system that talks to a bunch of embedded sensors, connected by ethernet. The embedded devices don't have DHCP (unless I implement it...) and there's an elaborate service-discovery thing going on, part of which needs the android device to scan

[android-developers] Key-Press and hold delay, testing on both Xperia and Emulator

2011-11-15 Thread Tuxany
I'm using OpenGL to make a game engine. Using GLSurfaceView, I have an OnKeyPress event which listens to the hardware input. The problem is, when I press and hold any button/pad, there is a delay between the first press, and the rest. So if I want to make a Character to walk, whenever I push

[android-developers] Custom component with Honeycomb (3.1) causes VirtualMachineError on inflate (in combination with android.graphics.Matrix)

2011-11-15 Thread Herbert Poul
Hello, I have some weird error happening to me on Honeycomb 3.1 - i have an app which works smoothly on gingerbread and it crashed on a given view so i tried to reproduce it in the ApiDemos.. i broke it down to adding the following method to com.example.android.apis.view.LabelView to android's

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

2011-11-15 Thread Jason
Does anybody know how to make voice record during the conversation? thank, Jason -- 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

[android-developers] Building Apps based on System Apps

2011-11-15 Thread CultOf Droid
Dear Droid Cult, I've built the latest master branch of 2.3.3 on my Ubuntu 11.10, and in the process, built all the stock apps. My aim is to: 1 Add custom features to a system app, and make a standalone, distributable .Apk, with a different app name/credentials/package, so that it does not try

[android-developers] Default app Camera portrait orientation problem

2011-11-15 Thread Alexandru Dumbravan
Hello! I'm working on an app, that uses the default camera application, to take a photo or record a video and make an upload. In landscape orientation things work great, but for portrait both the video and the photo are rotated. For the photo I used ExifInterface to read the tag and rotate if

[android-developers] android 3.0 to enter the program for the first time press the joystick is not responding

2011-11-15 Thread zeusion
Been tested and found to first press the joystick system to handle the interface to the upper left corner of logo logo set the focus. What if you remove the upper left corner of the logo for the first time press the joystick on the response code in onkeydown The interface is set to full screen

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

2011-11-15 Thread andronagarjuna
Hi all , I need good example for CRUD operations using SQLite in my android quiz application using database file , Please help me *Thanks Regards Nagarjuna Lingala* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Conversion to Dalvik format failed with error 1 [PROGUARD]

2011-11-15 Thread Michael A.
Correction: Removing Proguard works to allow an export of the APK, but that is of course entirely useless. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] invoke certain applications using a combination of the keys (the front three keys Home,Menu and back)

2011-11-15 Thread Hunny Jain
Hi, I am looking to develop an Android App in which I can invoke certain applications using a combination of the keys (the front three keys) and volume control on the side.Please help me. Thanks, Hunny Jain -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Security on sdcard folder android

2011-11-15 Thread Dianne Hackborn
You can't do that with a FAT filesystem, and to be CDD compatible external storage must be writeable by any app that requests the permission. On Mon, Nov 14, 2011 at 11:19 PM, Naveen kumarnaveen.si...@gmail.comwrote: Hello Sir, I have created a folder on sdcard , i want security there someone

[android-developers] obtain information from My Profile

2011-11-15 Thread jose
Hello, I want to obtain information from Contacts My Profile, to know the cell phone owner's name. thanks -- 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

[android-developers] Error while installing ADT in sdk manager in linux

2011-11-15 Thread srinivasan shanmugam
Hi, When i was installing ADT in SDK maanager by giving the path of ADT plugin as shwn in the below link http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11 It was poping up saying, “SDK Platform Tools component is missing!” So i followed the steps given in the below

[android-developers] Re: Conversion to Dalvik format failed with error 1 [PROGUARD]

2011-11-15 Thread Michael A.
Doh! And of course, right after posting this I finally found the issue. If you look in Proguard.bat, you will find the following line: call %java_exe% -jar %PROGUARD_HOME%\lib\proguard.jar %* Replace it with the following: call %java_exe% -jar %PROGUARD_HOME%\lib\proguard.jar %1 %2 %3 %4 %5

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

2011-11-15 Thread Alexey Zakharov
What is the proper way to change look of MapView zoom controls in Android? I want to repoduce zoom button from new google maps. https://lh4.googleusercontent.com/-XW8UlX0U0Bw/TsInKzXKe-I/AfQ/x5aqzeV8PvE/SC2011-111658.png -- You received this message because you are subscribed to

[android-developers] Re: integrate Facebook checkin

2011-11-15 Thread Ali Chousein
Study Facebook graph API: https://developers.facebook.com/docs/reference/api/ Refer to Facebook Android SDK also: https://github.com/facebook/facebook-android-sdk - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com/ |

[android-developers] Re: get the phone owner's name

2011-11-15 Thread Ali Chousein
I'm not sure whether the uri content://contacts/people/owner even exists. I'm not even sure if you can get owners' information. Maybe you should try getting the name from one of the configured accounts, that looks more feasible to me. But beware, the name of a configured account does not have to

[android-developers] Disabling haptic feedback and sound effects throughout the entire application

2011-11-15 Thread smichak
I am currently developing an application which has to record and analyze an audio signal recorded from the microphone. As it turns out sound effects and haptic feedbacks really mess things... I have been able to disable those for layout buttons by setting the hapticFeedbackEnabled and

[android-developers] Re: Programatically deleted files still show up in Windows Explorer

2011-11-15 Thread Doug
On Nov 12, 1:11 am, cctools chris.cas...@gmail.com wrote: My app polls a directory on the SDcard for the appearance of new files that where dropped there by the user from Windows file explorer over the USB connection. When a new file appears, my app processes it, and then deletes it, however

[android-developers] Re: Group Messaging App

2011-11-15 Thread Ali Chousein
I believe you are on the right track. However, your main challenge is not the app development; that's the simplest part of this challenge. Your main challenge is (assuming that your system will become popular) to have enough computentional power at the server side, keep your servers alive in

Re: [android-developers] half image on application

2011-11-15 Thread Jovish P
*Set visibility:* You can hide or show views using setVisibility(int)http://developer.android.com/reference/android/view/View.html#setVisibility%28int%29 . *public void setVisibility* * (int visibility) Since: API Level 1* Set the enabled state of this view. Related XML Attributes -

[android-developers] android 2.3 pauses my application

2011-11-15 Thread kazuya
I have an application that takes pictures and upload them to server. Also I use TimerTask that sends these pictures to server. I follow these steps: 1. Take pictures 2. Click Home button and power 3. Wait for TimerTask to upload the picture This successfully runs on Motorola XT800 android 2.1.

[android-developers] cannot download 2.3 package from eclipse

2011-11-15 Thread kazuya
It always says http://dl-ssl.google.com/android/repository/ addons_list.xmt found. Also it is indeed not found when browse manually. Any idea? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: get the phone owner's name

2011-11-15 Thread jose
Thanks, as you get the name of one of the configured accounts? On 15 nov, 10:04, Ali Chousein ali.chous...@gmail.com wrote: I'm not sure whether the uri content://contacts/people/owner even exists. I'm not even sure if you can get owners' information. Maybe you should try getting the name from

[android-developers] Set Permission on a particular file.

2011-11-15 Thread Sanat Pandey
Hello All, I have a problem that I have DRM encrypted video file and I am able to successfully decrypt it and play it. But the problem arises as when any user want to pull that file from sdcard to their computer then he will easily play the same, which is not desired, because video is decrypted

Re: [android-developers] Set Permission on a particular file.

2011-11-15 Thread NaveenShrivastva
You can't do that with a FAT filesystem, and to be CDD compatible external storage must be writeable by any app that requests the permission. On Tue, Nov 15, 2011 at 3:28 PM, Sanat Pandey sanat.pan...@halosys.com wrote: Hello All, I have a problem that I have DRM encrypted video file and I am

[android-developers] Pefrence Activity - onclick issue

2011-11-15 Thread Jovish P
In our app we are using an Activity which extends PreferenceActivity. In this activity we declared a public method to handle the click and reference this method from the xml. On click event the method which we referred in the xml is not getting executed , the control not even going to that

[android-developers] Re: c2dm performance

2011-11-15 Thread kouz
We try to send the msg faster as possible. With apple push server, everything works fine, Millions of messages are send in few minutes. With C2DM, curl is a bit too slow. We try to use a socket but we already received the famous 401 error: HTML HEAD TITLEUnauthorized/TITLE /HEAD BODY

[android-developers] want message when usb cable attached or removed

2011-11-15 Thread Naveen
Hello All, I want create a small app when user attached device with usb then the app gives message usb cable is available with app, if user remove usb then message usb cable removed. Please guide me .. Here we getting url http://developer.android.com/guide/topics/usb/host.html need url

Re: [android-developers] Re: get the phone owner's name

2011-11-15 Thread Kristopher Micinski
Jose, You can't really do this reliably anymore. In fact that permission doesn't exist now (really, check the docs, I mean, it probably exists in the old contacts API, which you shouldn't be using.) A few things wrong... First you hardcode the URI, a bad idea since this can potentially break

Re: [android-developers] Location API

2011-11-15 Thread Kristopher Micinski
On Tue, Nov 15, 2011 at 2:44 AM, Siva Prakash siva.yuvan2...@gmail.com wrote: Hi What is the best way to get Sub Location What is sub location? Here is the code Im using double latitude = location.getLatitude() ; double longitude = location.getLongitude() ; ListAddress addresses =

Re: [android-developers] Location API

2011-11-15 Thread Siva Prakash
Im trying to get the sublocality from Map API, when I use the following URL http://maps.googleapis.com/maps/api/geocode/json?latlng=13.0445756,80.2447062333sensor=false Im getting { long_name : T Nagar, short_name : T Nagar, types : [

[android-developers] Re: want message when usb cable attached or removed

2011-11-15 Thread skink
On Nov 15, 12:00 pm, Naveen kumarnaveen.si...@gmail.com wrote: Hello All, I want create a small app when user attached device with usb  then the app gives message usb cable is available with app, if user remove usb then message usb cable removed. Please guide me .. Here we getting url

Re: [android-developers] Set Permission on a particular file.

2011-11-15 Thread Kristopher Micinski
On Tue, Nov 15, 2011 at 4:58 AM, Sanat Pandey sanat.pan...@halosys.com wrote: Hello All, I have a problem that I have DRM encrypted video file and I am able to successfully decrypt it and play it. But the problem arises as when any user want to pull that file from sdcard to their computer

Re: [android-developers] Managin Telephony on Android

2011-11-15 Thread Kristopher Micinski
On Mon, Nov 14, 2011 at 11:45 AM, ikalbeniz txup...@gmail.com wrote: I have ben reading and testing telephony api: http://developer.android.com/reference/android/telephony/package-summary.html i want tomeasure signal levels wih a normal phone so I need to switch programatically from/to

Re: [android-developers] how can i change the Camera shutter sound?

2011-11-15 Thread Kristopher Micinski
This should give you more of an idea about why you can't ... http://wiki.dandascalescu.com/howtos/android#How_do_I_disable_the_camera_shutter_sound.3F On Mon, Nov 14, 2011 at 2:47 PM, TreKing treking...@gmail.com wrote: On Mon, Nov 14, 2011 at 6:14 AM, edan parkhy...@gmail.com wrote: could

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

2011-11-15 Thread Mark Murphy
Step #1: Visit http://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 source code on that group On Tue, Nov 15, 2011 at 2:14 AM, swami

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

2011-11-15 Thread Mark Murphy
If you are trying to do this in an activity, just use a vertical LinearLayout wrapped around an AnalogClock and DigitalClock. If you are trying to do this in your own home screen, do the same. If you are trying to do this in your own firmware, do the same. If you are trying to do this in an app

Re: [android-developers] Building Apps based on System Apps

2011-11-15 Thread Mark Murphy
On Mon, Nov 14, 2011 at 9:28 PM, CultOf Droid usu.ana...@gmail.com wrote: a Apps based on system app are built as .apks and .odex files. This kind of app packaging is NOT distributable, unless you create custom firmware for the app. I want a regular .apk with classes.dex inside the Apk. For

[android-developers] Re: Holding call programmatically

2011-11-15 Thread Kamil
So maybe some unofficial ways? On 14 Lis, 22:18, Mark Murphy mmur...@commonsware.com wrote: AFAIK, there are no APIs for this in the Android SDK, sorry. On Mon, Nov 14, 2011 at 3:13 PM, Kamil kmichal...@gmail.com wrote: Hi all, I'm developing VoIP application. I'd like to ask if

Re: [android-developers] invoke certain applications using a combination of the keys (the front three keys Home,Menu and back)

2011-11-15 Thread Mark Murphy
Android does not really support combination of the keys. Beyond that, what you want could only be done by a custom home screen, or within the confines of some other app of yours. The only way to offer this sort of feature system-wide would be to implement it in firmware. And, bear in mind that

[android-developers] Bound and Started Service

2011-11-15 Thread Tomasz Gawel
Hi, if service is both bound and started then: 1) if last client unbinds but service has not been explicitly stopped it is still running? 2) if service calls stopSelf() but thera still bound clients - is it still running or it stops and serviceConnection's onServiceDisconnected is called? 3)

Re: [android-developers] Bound and Started Service

2011-11-15 Thread Mark Murphy
On Tue, Nov 15, 2011 at 7:21 AM, Tomasz Gawel tomaszga...@op.pl wrote: if service is both bound and started then: 1) if last client unbinds but service has not been explicitly stopped it is still running? Yes. 2) if service calls stopSelf() but thera still bound clients - is it still

[android-developers] Bluetooth pairing status problem

2011-11-15 Thread somdas
When I connect two samsung galaxy nexus device (using out of band), one of the device shows that it is paired but not connected with the other device. But the other device shows its status as pairing. But I am able to send files between both the devices. Can anyone tell me why one of the device

[android-developers] Re: Android 3.1 and USB to Serial

2011-11-15 Thread MartyMoose
Do you think this would help? http://slickdevlabs.com/slick-usb-2-serial-library/ On Nov 14, 9:50 pm, RLScott fixthatpi...@yahoo.com wrote: By the way, our workaround solution was to abandon the USB-serial converter and instead use a Bluetooth-serial module, like the RN-24 from Roving

[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);

[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] 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

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 akgaec2...@gmail.com 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

[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

[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

[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] 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

[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() {

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, kapnk...@gmail.com wrote:

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 alexey.v.zaha...@gmail.com 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

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-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

[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 mmur...@commonsware.com 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

[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

[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

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 kmichal...@gmail.com wrote: So maybe some unofficial ways? On 14 Lis, 22:18, Mark Murphy mmur...@commonsware.com wrote: AFAIK, there are no APIs for this in the Android SDK, sorry. On Mon, Nov

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 sweb...@gmail.com wrote: Hi, Newbie here. If I want to create several apps which all allow a user to created, read, update and

[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

[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

[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

[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

[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

[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] 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 flyingdutc...@gmail.com wrote: Maybe you could use

[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] 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,

[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

[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

[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

[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

[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

[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 dynamically

[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 port4...@gmail.com wrote: I'm loading images myself from an APK loaded via ClassLoader, so I seem not having access to Resources class. So, I

[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

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 free.je...@gmail.com wrote: Let's see my device capture image... My device's default orientation is

[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 brione2...@gmail.com wrote: Take a look

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

2011-11-15 Thread sblantipodi
bump. On Nov 9, 12:12 am, sblantipodi perini.dav...@dpsoftware.org 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 cstewart...@gmail.com wrote: I suspect you mean the menu button.  I believe, and could be very wrong,

[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,

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

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 MapString drivername, String driver_id 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

[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

[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

[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

[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: 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] 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: 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 port4...@gmail.com wrote: I tried (I'm just playing with a black box here):                

[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 Lclass_name; where colon is terminator) -- a1 -- You received this message

[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

[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] 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] 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

  1   2   >