[android-developers] adding a image just below the progressbar

2012-06-14 Thread for android
How can i create a custom view where i can add a imageview just below the progress percentage in the progress bar. That is I need an image just below say 70% or 80% based on where the progress bar is? -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread Sadhna Upadhyay
Hi everyone, I am making an app in which i have to to draw circle with the help of finger(on touch listener) in android , can anyone help me Thanks and Regard sadhana -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers]

2012-06-14 Thread Vijay Krishnan
Hi all, After starting a activity,i want to do some task in background.After finishing the task,i want to call another activity.How to do this? Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers]

2012-06-14 Thread Amey Bapat
Read about Asynctask... it hads methods called as doInBackground() and onPostExecute() preexecute() publishprogress() do smething in background in da method doInBackground() and from onPosExecute() throw and intent and start activity On Thu, Jun 14, 2012 at 11:56 AM, Vijay Krishnan

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread Amey Bapat
public class Home extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(new MySurface(this)); } } heres da code fr MySurFace public

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread ajaykumar kanchak
to draw the circle on touch with the finger use this code this is with the gesture listener public class GesturesActivity extends Activity implements OnGesturePerformedListener { private GestureLibrary mLibrary; @Override public void onCreate(Bundle savedInstanceState) {

Re: [android-developers]

2012-06-14 Thread ajaykumar kanchak
below asynctask is one way, the other way use a doinbackground with thread make wait for 2seconds in the thread after completion of your task make intent startactivity(intent). On Thu, Jun 14, 2012 at 12:11 PM, Amey Bapat amey.n.ba...@gmail.com wrote: Read about Asynctask... it hads methods

[android-developers] Re: java.lang.IllegalStateException: Fragment MyFragment is not currently in the FragmentManager

2012-06-14 Thread Alexandros
Someone please? On Sunday, June 3, 2012 10:50:33 AM UTC+3, Alexandros wrote: Hello everyone, Some time ago, I updated my application to use the support v4 library in order to use the ViewPager control. The initial version of the application used the FragmentPagerAdapter, however, because

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread asheesh arya
just go through this link might be it helpful for you!1 http://code.google.com/p/krvarma-android-samples/source/browse/#svn%2Ftrunk%2Fmultitouchsample -- 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] Home, Menu, Back, Wallpaper, Play in different languages

2012-06-14 Thread Peter Webb
My wallpaper contains instructions (in the app, web and Play) which look something like: 'To install the Wallpaper, from the home screen press Menu then Wallpaper then Live Wallpaper then ...' The problem is that in different languages these reserved words like home screen, Menu, Wallpaper

Re: [android-developers] email attachment

2012-06-14 Thread asheesh arya
this is the code sending e-mail with attachment import java.io.File; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.util.Log; import android.view.View; import

Re: [android-developers] debugging on Kindle Fire, sdcard access

2012-06-14 Thread bhaskar bommala
Hi, Can anyone help how to debug application in Kindle device using eclipse , after connecting Kindle device to the Windows PC its not showing in devices list. To resolve this i have tried the following steps : 1. Open the C:\Users\your-login\.android\adb_usb.ini file for editing 2. Add 0x1949

Re: [android-developers] Java 1.7

2012-06-14 Thread al
Didn't the lawsuit go well for Google? As far as I know, the judgment was that language syntax and api cannot be patented. Of course, implementing the new library would be quite some effort. But supporting the new java syntax should not be such an effort. As far as I know, on bytecode level

Re: [android-developers] email attachment

2012-06-14 Thread Jags
thanks ashish, but i need something else, file in /data/data/mypackage/files/ to be sent as an attachment, it is mode_world_readable, but not attaching to the email ! On Thursday, June 14, 2012 2:36:14 PM UTC+5:30, asheesh arya wrote: this is the code sending e-mail with attachment

[android-developers] Re: Concept: build sophisticated Android apps in minutes, using building blocks

2012-06-14 Thread Artur Nunes
Seens to be a very good idea, let we have a try on this framework for testing for better feedback. Em segunda-feira, 11 de junho de 2012 13h32min10s UTC-3, Linton Ye escreveu: Hi, please see below a prototype I've been working on lately. And let know if this looks like something useful?

Re: [android-developers] Landscape/Portrait and more... an advanced question

2012-06-14 Thread KracyAndrodian Developer
By doing this, Activity will not destroy and recreate it. On Wed, Jun 13, 2012 at 2:48 PM, Mark Cz ome...@gmail.com wrote: Hi all, I am writing an SDK that shows a EULA dialog in portrait mode upon starting the user application. My EULA is an activity with the following manifest activity

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-14 Thread KracyAndrodian Developer
Explain more about your problem On Wed, Jun 13, 2012 at 1:12 PM, Lars lars.breum...@gmail.com wrote: Okay, I will post the code when I get home. What do you need to see, Java or xml? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] How do I save a complete webpage displayed in Android's WebView?

2012-06-14 Thread VP
I am developing an Android application in which I have a WebView. I want to save the entire webpage loaded in this webview (Html + all resources + images + icons etc) into a folder and zip it and upload it to a server. If you use WebView's

[android-developers] Re: How to properly implement dismissing HTML5 video from WebView

2012-06-14 Thread dongsheng
Hi, Brian and Mariusz I have the same problem: I have a WebView embedded in my app. The video plays find inline, but when I click fullscreen, it crashes the app. By reading all the posts, I still do not understand how you guys fix the problem. :( ds On Tuesday, May 22, 2012 4:59:04 PM

[android-developers] Re: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2012-06-14 Thread hesam nouri
On Jun 5, 3:11 pm, Kevin Moroder kevin.vl...@gmail.com wrote: Hi everyone, I would like to know the unlock code for unlocking the bootloader on the Sony Xperia U Thanks El jueves, 14 de abril de 2011 09:11:13 UTC+2, Carl escribió: Hi, It is now possible to unlock the boot

[android-developers] Re: Option to unlock the boot loader for Sony Ericsson Android Gingerbread phones now available.

2012-06-14 Thread hesam nouri
hi i check this code *#*#7379423#*#* bootloader unlock allowed:no what should i do?? no way to unlock ??? please help -- 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] possible binder driver memory leak

2012-06-14 Thread calvin
Hi, I got a dump from kmemleak as below. Can someone advice how to investigate where the possible leakage is? I believe it is not a leakage of binder driver itself, but don't have any idea where to look into. Thanks. root@android:/ # cat /d/kmemleak unreferenced object 0xd7887980 (size 64):

Re: [android-developers]

2012-06-14 Thread KracyAndrodian Developer
Check this link http://www.vogella.com/articles/AndroidPerformance/article.html#asynctask -- 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] Receive speaker / mute state after it was changed.

2012-06-14 Thread Lazy
Hi I'm having problem finding a way of how to check whether the audio has changed to speaker or is it muted. I'm writing an audio player and I need to detect the change of the speaker / mute state. I was looking for some intent action but without any luck. Could you tell me how to detect when

[android-developers] Update Canvas

2012-06-14 Thread kumar
Hi all, I want to draw canvas in view. I want to update my canvas regularly, but i dont want to delete the old one. I used invalidate(), it called onDraw() method and creating new canvas. Any idea about update canvas kumar -- You received this message because you are subscribed to the

[android-developers] Implementing TwoLineListItem

2012-06-14 Thread Bernard FitzGerald
Hi all, Does anyone have any sample code of how to implement a TwoLineListItem. So far I have been able to create a custom LinearLayout with two TextViews and have gotten this working but I believe I should be using a TwoLineListItem to acheive this. My issue is that I can't seem to implement

[android-developers] Unable to chmod on Android ICS 4.0.4 by adb shell command.

2012-06-14 Thread Minh
Currently, I can not chmod on ISC 4.0.4 by adb shell command Error message Unable to chmod /sdcard/app-native: Operation not permitted So that I can run native application on. Can anyone help me? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Question: Is it possible to get the RAW camera data?

2012-06-14 Thread DerekBez
Hi Appaholic, Did you make any progress with getting the RAW version of photos from Android cameras? I know there was a lot of talk about megapixels, but isn't a more pertinent reason to use RAW format is for the greater dynamic range? JPGs, as we all know are only 8-bit, whereas DSLRs tend

[android-developers] Using searchview in ActionBar can't save state between rotation because onCreateOptionsMenu called twice

2012-06-14 Thread Dave Staab
Has anyone seen this behavior in ICS? What's happening is if a fragment is participating in the options menu for an activity both the activity's and fragments onCreateOptionsMenu is being called twice when the phone is rotated but only once when the activity is initially started. (See my

[android-developers] SurfaceView array

2012-06-14 Thread meir
Is it possible to create an array of surfaceViews in a FrameLayout and render them according to their Z order? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Live Streaming to Android 2.1

2012-06-14 Thread Deepchand Singh
Hi Deepak, Did you get any success using Red5 and RTMP for android. Please share knowledge for streaming using RTMP and Red5 on android or any library which can be used to stream auido/video data. Thanks, Deepchand singh On Tuesday, August 2, 2011 3:14:34 PM UTC+5:30, deepak wrote: I am

[android-developers] Re: How to stream video

2012-06-14 Thread Deepchand Singh
Hi Indicator, Is there any library can be used for streaming in android ver 2.2. Please share knowledge for streaming using RTMP and Red5 on android. Thanks, Deepchand singh On Sunday, October 3, 2010 3:02:24 PM UTC+5:30, Indicator Veritatis wrote: Unfortunately, the Quicktime tutorial link

[android-developers] App not working on phone

2012-06-14 Thread Shekhar
Guys I made an application , the app is working correctly on my emulator all the xml files have been to screen size 3.7 inch.Now when I tried running the app on an actual device, with smaller screen size, the full layout was not getting displayed,Can anyone tell me as how can I make my app run

[android-developers] Issue in setting bgcolor for gridview items in android

2012-06-14 Thread kaarthick
This may be simple but i couldn't find solution for this. The problem is setting the background color for gridview items inside the onitemlongclicklistener method. I have two linear layouts, one contains the textview and gridview and another contains some buttons(I set this layout like the

Re: [android-developers] mapviewError

2012-06-14 Thread Ashish Patel
This is the map key problem . Please create Google map key stone for u r debugging mode . On Wednesday, June 13, 2012, deepak mamdapure developer.it.a...@gmail.com wrote: plz Suggest me any one i wrote all code for mapview but it does not appeair on emulator it shows only blocks on

[android-developers] Re: ADT 17 build changes have broken IvyDE

2012-06-14 Thread Stootie
Hi, I think I'm experiencing the same issue, although I can't confirm it worked with previous ADT versions, since I'm starting a brand new project (and hadn't used Ivy before). Has anyone found a solution yet? -- You received this message because you are subscribed to the Google Groups

[android-developers] How to use onFocusChangeListner in the DatePicker

2012-06-14 Thread Rafael Botelho
I am using a simple DatePicker and I set focuse change listner for DatePicker, but after I leave the DatePicker nothing happens. I read in somewhere that Because the DatePicker itself does not get focus, its children do. Someone can send an example of How I can do that? My code: DatePicker

Re: [android-developers] mapviewError

2012-06-14 Thread Rahul Radhakrishnanunnithan K
On Wed, Jun 13, 2012 at 4:57 PM, deepak mamdapure developer.it.a...@gmail.com wrote: plz Suggest me any one i wrote all code for mapview but it does not appeair on emulator it shows only blocks on emulator my code is below pls check is there any correction plz tell me .there is no any

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread gurdev singh
Use this import android.app.Activity; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; public class Draw extends Activity { DrawView drawView; @Override public void onCreate(Bundle savedInstanceState) {

Re: [android-developers]

2012-06-14 Thread Rahul Radhakrishnanunnithan K
Refer this link i think that its useful for you http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-14 Thread Floyd
Can someone answer the below question? I have been testing this app, and when the app is launched, and the BUY button is pressed for an in-app purchase, It launches google play as a separate process. While testing a similar app COMIXOLOGY when making an in-app purchase, it *does not*launch

[android-developers] Android GingerBread_2_3_4 OS customization

2012-06-14 Thread chainz roid
Hello I'm developing ANDROID embedded device based on android gingerbread. Main task of this device is get data from USB and compare the data with already stored data in device and grant permission to the user for proceed further with the device (Ie, authentication purpose). I

[android-developers] prevent your app from showing in defautl app selection

2012-06-14 Thread rayk
My app plots locations on a google map. When user selects the location a popup comes up to get directions to the place. Selecting directions opens google navigation and gps is selected to give directions from where they are. However, if user is using another app and it wants to grab the

[android-developers] Not able to acces native apps.

2012-06-14 Thread Abhijit
Hi, I am new to mobile application. I successfully installed android emulator (2.2) and facebook.apk file. However, while logging to the application, error occurring as Login Failed. An error occurred during sign in .Please try again later I am able to browse internet through emulator, but not

[android-developers] understanding unique visitors on mobiles

2012-06-14 Thread Patman
hi, I have a problem understanding the unique visitors number of my mobile application. (i know what those two kpi's are about but i just don't get it for the mobile apps) On my webpage i have a difference from visitors to unique visitors arround 10% which makes totally sense to me. However on

[android-developers] Emulate long pression of keys

2012-06-14 Thread Sal Dekku
Hello! I was wondering if it is possible to emulate the long pression of a device button via the Instrumentation during the execution of an Android Junit test (i.e. long pressing HOME to open the Recent Tasks or long pressing VOL DOWN in eBook readers to go down a page) I tried to play with the

Re: [android-developers] Re: how to connect ms sql server management studio in android code

2012-06-14 Thread gurdev singh
You have to user web service for this. On Wed, Jun 13, 2012 at 5:34 PM, lbendlin l...@bendlin.us wrote: This request makes no sense. SQL Server Management Studio is just that, a management suite. You probably meant that you need to connect to a SQL Server database. On Wednesday, June 13,

[android-developers] Add contact to a group contacts

2012-06-14 Thread Ricardo Graça
Hi Everybody. I need to insert a contact in a contact group. I use the content provider contactsContract of android. The group is added, but the contact is not added in this group. Can you help me? Here is my code. Thanks ops = new ArrayListContentProviderOperation();

Re: [android-developers] mapviewError

2012-06-14 Thread gurdev singh
Hello deepak, Use this command-: keytool -list -v -keystore C:\Documents and Settings\User\.android\debug.keystore -storepass android -keypass android If you r using window os. This will return MD5 code MD5: 19:13:5F:EB:B4:44:84:B3:7C:C9:64:66:25:A2:12:53 like this Put it into line that i

[android-developers] Re: Unable to browse /sdcard, permissions d---------

2012-06-14 Thread nit
Hi increase sd card size , it works for me On Monday, March 1, 2010 4:35:10 AM UTC+8, Dan S wrote: Hi - on both the emulator and my actual phone (tattoo) I seem unable to browse the SD card - when I run ddms and use the File Explorer, I can browse /data or /system fine, but /sdcard refuses to

Re: [android-developers] mapviewError

2012-06-14 Thread gurdev singh
Hello deepak please generate ypur own android:apiKey=0n-H5VH- CoBfLf6SnbeZ6uSICn5gF9rA_5eyXrw. follow this link-: https://developers.google.com/android/maps-api-signup besk of luck On Wed, Jun 13, 2012 at 4:59 PM, deepak mamdapure developer.it.a...@gmail.com wrote: plz Suggest me any one

Re: [android-developers] App Security

2012-06-14 Thread gurdev singh
Ya i can but loge process. On Wed, Jun 13, 2012 at 5:42 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Jun 13, 2012 at 8:04 AM, sujit dubey sujit...@gmail.com wrote: Is there a way to prevent reverse engineering on .apk file generated for app? Not really. Obfuscation with

[android-developers] Show all feeds from Facebook in application

2012-06-14 Thread Rahul Radhakrishnanunnithan K
How can i create an android application which show all the feeds from my facebook account in dynamic list view ,i already completed the Facebook SDK reference part? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers]

2012-06-14 Thread Vijay Krishnan
Hi all, I am using tesseract-3.00 for my android OCR application.But the accuracy of the text is 90%.I have tried using tesseract-3.01 and i was unable to compile the source.Is any one used tesseract-3.00 .Give ur suggestion. Thanks, vijay.k -- You received this message because you are

[android-developers] Re: MediaPlayer setLooping audio gap bug

2012-06-14 Thread Renan Ricci
I'm looking for a work around as well, were you able to find anything? Google is taking their sweet time to work on this it seems. Almost 1 year and nothing. On Wednesday, December 21, 2011 9:45:55 PM UTC-5, csyperski wrote: I am having many users report that the there are gaps in the

[android-developers] startActivityforResult does not return any result on Samsung Galaxy

2012-06-14 Thread Tanja Zimmermann
The following Code works for HTC but not on Samsung Galaxy: final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(getTempFile(this)) ); startActivityForResult(intent, TAKE_PHOTO_CODE); private File getTempFile(Context context){

[android-developers] having problem updating listview.

2012-06-14 Thread androidandall
i want to update my listview with the help of dialog box in which i'm having single choice list so if i click on an item of dialog box it should update the list according to the query written on item click of that choice... -- You received this message because you are subscribed to the Google

[android-developers] Handling JSON(Google/Finance) with escape character within Android.

2012-06-14 Thread wdziemia
I am having a problem with data that is a JSON file. I am using the following link, from google. http://www.google.com/finance/company_news?q=AAPLoutput=json; My problem occurs when i want to parse the data and putting it on screen. The data is not being decoded properly from some reason.

[android-developers] build non-stub version of android.jar

2012-06-14 Thread Andrew
The android.jar found in android-sdk is simply a stub. All methods will throw a runtime exception stub! Do anyone know how to get a non-stub version of android.jar? Or how to build one from the android source code (not android OS source code, I mean Android library code)? Thank you! -- You

[android-developers] Why can't I build VUE (a java based tool)

2012-06-14 Thread Sumit Gupta
Error log: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown

[android-developers] Can't find eclipse-android run configuration file

2012-06-14 Thread stormbind
Hi all, I have source repository that I used with my old workstation. Today, I have loaded the source onto a new workstation and Eclipse won't run my projects. Error java.lang.IllegalArgumentException: Path for project must have only one segment. 1. On the old workstation, under Run,

[android-developers] Re: Proguard and library projects.

2012-06-14 Thread Turbo
I've tested this and currently you do not need to enable proguard for the Android Library project. In fact, I think the proguard files and the project.properties files for the library project are unused. What matters is the files in your Application Project. Whatever conditions you set in

[android-developers] How to enable Bluetooth programmatically

2012-06-14 Thread İsacan Akkoca
Hi everyone, I want open bluetooth from my application but i didn't open. Can you show how to work this? -- 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

Re: [android-developers]

2012-06-14 Thread Vijay Krishnan
Rahul, I had done these things.Problem is that i couldn't view that image. Thanks, vijay.k On Wed, Jun 13, 2012 at 7:22 PM, Rahul Radhakrishnanunnithan K rahu...@whiteovaltechnologies.com wrote: Refer this link i think that its useful for you

Re: [android-developers] Add contact to a group contacts

2012-06-14 Thread asheesh arya
just go through this link might you got some idea!! http://www.pocketmagic.net/?p=1844 -- 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,

[android-developers] adb shell command from java code

2012-06-14 Thread Sud
Hi, Can i execute adb command 'netcfg' from java code. And my phone is not rooted.? Thanks Sud -- 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

[android-developers] Activity has leaked window - no solution at stack

2012-06-14 Thread Rocky
All, I'm getting error Activity has leaked windows, when i'm calling index.html page through my Activity. *Here is the code - * public class MobSmartPhonehas extends DroidGap { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-14 Thread Kostya Vasilyev
Google Play will always be launched as a separate *process*, as Mark already pointed out above. It may or may not be on the requesting app's activity stack, depending on the Android version (1.6 or above - although I suspect one would have to search high and low for a 1.6 device at this time).

[android-developers] Get details of contact in single query

2012-06-14 Thread Anieeh
Hi all I am trying to get contact information from the contact database using ContentResolver with these field want to get name, number, FORMATTED_ADDRESS, PHOTO details for a contact in one single query. So basically I need to make 3 queries per contact to obtain these details. What I want

Re: [android-developers] build non-stub version of android.jar

2012-06-14 Thread Mark Murphy
On Thu, Jun 14, 2012 at 2:48 AM, Andrew yepang...@gmail.com wrote: The android.jar found in android-sdk is simply a stub. All methods will throw a runtime exception stub! Do anyone know how to get a non-stub version of android.jar? Or how to build one from the android source code (not android

Re: [android-developers] Java 1.7

2012-06-14 Thread Mark Murphy
Further discussion on how to modify Dalvik to support Java 7 belongs someplace else, as it is off-topic for this list. If you are planning on contributing to this work, try the android-contrib Google Group. If not, try the android-discuss Google Group. On Thu, Jun 14, 2012 at 5:27 AM, al

[android-developers] IndexOutofBoundsException thrown from getViewAt() in RemoteViewFactory

2012-06-14 Thread Ethan Gao
I am attempting to create a widget for android 4.0 phone. But the widget might crash after user clicks the clear data button in application's setting view. I looked into logcat, it saysIndexOutofBoundsException in getViewat() method. This is super weird in my eyes, since I put log in both

Re: [android-developers] Activity has leaked window - no solution at stack

2012-06-14 Thread Kostya Vasilyev
Someone somewhere somehow (some code inside PhoneGap, by the looks of it) created an AlertDialog and didn't destroy it when the activity got destroyed. -- K 2012/6/14 Rocky rkjhaw1...@gmail.com All, I'm getting error Activity has leaked windows, when i'm calling index.html page through my

Re: [android-developers] IndexOutofBoundsException thrown from getViewAt() in RemoteViewFactory

2012-06-14 Thread Harri Smått
On Jun 14, 2012, at 1:37 PM, Ethan Gao wrote: Firstly, getCount() methods return 1, but the consequence getViewat() is still trying to get view at position 1 and 2. If getCount() returns 1, you shouldn't ask for getViewAt(index) where index = 1. It's your responsibility to make sure you do

Re: [android-developers] Activity has leaked window - no solution at stack

2012-06-14 Thread Rocky
Hi Kostya, thanks for info, But I'm not creating any kind of AlertDialog, same code is working on different machine. On Thu, Jun 14, 2012 at 4:08 PM, Kostya Vasilyev kmans...@gmail.com wrote: Someone somewhere somehow (some code inside PhoneGap, by the looks of it) created an AlertDialog

[android-developers] android build from command line

2012-06-14 Thread Jags
hi all, after struggling to install adt in eclipse and spending considerable time, i am trying to create a project from command line and build it. i could create a project but while building ant debug get following error BUILD FAILED

Re: [android-developers] Activity has leaked window - no solution at stack

2012-06-14 Thread Kostya Vasilyev
Yes, the code that calls Android SDK dialog method appears to be inside PhoneGap (DroidGap?) 06-14 15:09:25.083: E/WindowManager(497): at android.app.Dialog.show(Dialog.java:241) 06-14 15:09:25.083: E/WindowManager(497): at android.app.AlertDialog$Builder.show(AlertDialog.java:802)

Re: [android-developers] Handling JSON(Google/Finance) with escape character within Android.

2012-06-14 Thread Kostya Vasilyev
Those \x*** look like Unicode characters to me. For example, 0x3cb is the lowercase u with those dot things above: http://www.fileformat.info/info/unicode/char/3cb/index.htm I'm not familiar with JSON character encoding rules, but here is a couple of ideas: 1) Decode the \x** characters

[android-developers] Re: Play Store hijacking focus after in-app purchase dialog

2012-06-14 Thread kj
When you get this behavior to occur, try taking snapshots of the activity stack via adb shell dumpsys activity Do this at each step of the in-app purchase flow for your app to see what exactly is and is not a part of your apps history stack. You may have mis-configured activity and task

[android-developers] Exception

2012-06-14 Thread marie
Hello, I found these three structures in the taintrdoid source code and I want to know : - what is the role of each structure and how to handle exeption in android? - Where can I find the stored exceptions associated to a given methode? - Where the

Re: [android-developers] Exception

2012-06-14 Thread Mark Murphy
This has nothing to do with this list, which is for developing applications using the Android SDK. For questions regarding TaintDroid, please contact the TaintDroid authors. For questions regarding custom firmware development, please visit http://source.android.com. On Thu, Jun 14, 2012 at 7:54

[android-developers] Re: startActivityforResult does not return any result on Samsung Galaxy

2012-06-14 Thread Fina Perez
I had some problems with Samsung also, and it is due to getExternalStorageDirectory() . I cant find the link now but I read that Samsung threats the external storage differently so you have to hack your code or create your specific path. This code gives you the right path: try { path =

[android-developers] Re: android build from command line

2012-06-14 Thread Jags
i could dig further and see this error ERROR: Unknown option '--generate-dependencies' why would this come ? On Jun 14, 4:11 pm, Jags jag...@gmail.com wrote: hi all, after struggling to install adt in eclipse and spending considerable time, i am trying to create a project from command line

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Bryan
I hope that I'm wrong, but here's my understanding... Let's say my 2 app manifests contain something like this: application package=my.package/ activity name=.MyActivity/ application package=my.packagepro/ activity name=.MyActivity/ Rather than maintaining 2 copies of MyActivity, I move them

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Mark Murphy
On Thu, Jun 14, 2012 at 8:25 AM, Bryan piusve...@gmail.com wrote: Let's say my 2 app manifests contain something like this: application package=my.package/ activity name=.MyActivity/ application package=my.packagepro/ activity name=.MyActivity/ There is no package attribute on application.

[android-developers]

2012-06-14 Thread Vijay Krishnan
Hi all, I am unable to compile the tesseract-3.01 for my ocr application.If anybody having knowledge in this,share it. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Bryan
Mark, Thanks for the clarifications and sorry for my rough example, I should have used a receiver in my example. It seems like I'm on the right track then, by extended my core classes in local classes to preserve the receiver names in the manifest. Thanks again! Bryan -- You received this

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Mark Murphy
On Thu, Jun 14, 2012 at 8:48 AM, Bryan piusve...@gmail.com wrote: It seems like I'm on the right track then, by extended my core classes in local classes to preserve the receiver names in the manifest. Yes. Basically, the class name is part of the public API of an app widget, and you cannot

Re: [android-developers] IndexOutofBoundsException thrown from getViewAt() in RemoteViewFactory

2012-06-14 Thread Ethan Gao
I didn't ask for getViewAt(index=1), this method is called by android framework(I think it's called by RemoteViewsAdater). I can not figure out the reason RemoteViewsAdatper is calling getViewAt(index=1) after it called getCount() which returns 1. I suspect that this is an android bug, since

Re: [android-developers] App not working on phone

2012-06-14 Thread David Olsson
Use dps for sizes or weights, use the different folders at your disposal. Read through: http://developer.android.com/guide/practices/screens_support.html On Wed, Jun 13, 2012 at 8:52 PM, Shekhar codeandroi...@gmail.com wrote: Guys I made an application , the app is working correctly on my

Re: [android-developers] Show all feeds from Facebook in application

2012-06-14 Thread David Olsson
Check out facebook's example or try use www.google.com On Thu, Jun 14, 2012 at 11:01 AM, Rahul Radhakrishnanunnithan K rahu...@whiteovaltechnologies.com wrote: How can i create an android application which show all the feeds from my facebook account in dynamic list view ,i already completed

[android-developers] SeekBars in ListView with crosslink/interlock

2012-06-14 Thread superpsycho
I have a Problem with my customized ListView. Most of my Listviews recommend a seekbar, so I created a custom layout with one and create a arrayadapter that matches to it. If I undestood right, every row in the ListView is an own View. So far everything work fine. \o/ New recommendations let me

Re: [android-developers] Recover Certificate from APK

2012-06-14 Thread Saurav
Thanks Mark. You have always helped me out, now and in the past! I know that the encryption is irreversible, wanted to know if there is a workaround for upgrading! Could someone convey this to Google, that, loosing a keystore is possible, highly STUPID, but possible. They should have a fall back

Re: [android-developers] Show all feeds from Facebook in application

2012-06-14 Thread Saurav
Hi Rahul, Sounds like you want the whole application. What is your question? Is it how to use ListView? Or is it how to use the Facebook Android SDK? Could you be more specific? Regards, Saurav Mukherjee. On Thu, Jun 14, 2012 at 7:27 PM, David Olsson zooklu...@gmail.com wrote: Check out

Re: [android-developers] App not working on phone

2012-06-14 Thread Saurav
Hi Shekhar, The above link should get you started! My suggestion is, not to use absolute values, place your components based on calculations. Extract the window height and breadth, and place all your components. Regards, Saurav Mukherjee. On Thu, Jun 14, 2012 at 6:44 PM, David Olsson

Re: [android-developers] SeekBars in ListView with crosslink/interlock

2012-06-14 Thread Justin Anderson
The values of your Seekbars need to be stored in your adapter... You can then query the adapter for the information you need. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 14, 2012 at 8:11 AM, superpsycho s.thues...@gmx.de wrote: I have a

Re: [android-developers] Recover Certificate from APK

2012-06-14 Thread Kristopher Micinski
On Thu, Jun 14, 2012 at 10:35 AM, Saurav to.saurav.mukher...@gmail.com wrote: Thanks Mark. You have always helped me out, now and in the past! I know that the encryption is irreversible, wanted to know if there is a workaround for upgrading! Could someone convey this to Google, that, loosing

[android-developers] pushing new APKs

2012-06-14 Thread bob
Let's say you want to create a set of Android kiosks, and you want to update them from a central location. The kiosks will allow people to press buttons and watch movies and maybe go to web sites. Any idea how to best make this updatable from a central place? Any way to push new APKs to

Re: [android-developers] pushing new APKs

2012-06-14 Thread yogendra G
Hi bob, Even i was looking for same thing and i found like for updation of app we can use c2dm concept of google or any third party clouding concepts like ultraairpush,mqtt and all according to your requirement. Yogi.. On Thu, Jun 14, 2012 at 8:40 PM, bob b...@coolfone.comze.com wrote: Let's

[android-developers] Regarding Freelancing

2012-06-14 Thread yogendra G
Hi All, I have got 2+ years of experience on Android development and am looking for freelancing stuff,so if any one need any task can give so that can do it as required or suggest me for some places for freelancing projects but not of freelancer as cant win bids over their. Thanks Br, Yogi --

  1   2   >