[android-developers] Regarding Dynamic layout

2011-10-27 Thread nageswara rao rajana
Hi, when i select a option from a spinner a layout xml file should be displayed under a spinner. Any one please help me in this. Thanking you, Nagu. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] OnIterceptTouchEvent action in Gallery

2011-10-27 Thread suresh Babu
hi All, I am developing one simple app with gallery. In this i overrides the OnInterceptTouchEvent() method for getting the OnTouch() and OnClick() events for Gallery Click or Touch actions. If i overrides the OnInterceptTouchEvent() from 2.2 version O.S or =2.2 version OnclickListener with

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Simon Platten
For starters a lot of the applications I offer on the market are free, the ones that I do charge for are so low cost, and an attempt to recover the development costs of the applications. I certainly haven't made £100's out of any applications. I sourced the images I used from the web and in most

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Mark Murphy
Please go talk to qualified legal counsel. This is a list for developing applications with the Android SDK, not for discussing the nuances of copyright law. On Thu, Oct 27, 2011 at 2:39 AM, Simon Platten simonaplat...@googlemail.com wrote: For starters a lot of the applications I offer on the

[android-developers] Re: Android Tools R14 including external source?

2011-10-27 Thread Doug
I treat external source as a library project and import that into my main project. Everything just works. Doing anything like this outside the framework provided for library projects is probably going to make your job difficult. Doug On Oct 25, 7:54 pm, Neal Sanche thorins...@gmail.com wrote:

[android-developers] Re: want all vidio tutorials to learn android developing plz send download links..

2011-10-27 Thread Oli Wright
There's an amazing site that'll get you to all the videos you need. It's called Google. -- 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] Re: 2.3.3 bugs on the Nexus One - When will Google fix this?

2011-10-27 Thread Zsolt Vasvari
So install 2.3.6. It came down for me OTA, on my unrooted phone. On Oct 27, 11:54 am, JRock develo...@earthblood.com wrote: Uh, no. My phone is fine, as are the phones of the hundreds of other people who are pulling their hair out along with me:

[android-developers] Does it correct vealue on 'onPageScrolled' of ViewPager?

2011-10-27 Thread Build account
Hello. Does the return value of onPageScrolled of ViewPager correct?(the position value) The reason why I'm ask you that - I have layout xml contain Custom ViewPager. - ViewPager also have adaptor - and I can add/remove pages in pager with NO problem. BUT, a. the when reachs first page, b. try

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Christopher Van Kirk
FYI, the consequences of IP theft are about to get much worse: https://www.eff.org/deeplinks/2011/10/disastrous-ip-legislation-back-%E2%80%93-and-it%E2%80%99s-worse-ever On 10/27/2011 2:42 PM, Mark Murphy wrote: Please go talk to qualified legal counsel. This is a list for developing

[android-developers] Listview - DialogBox issue

2011-10-27 Thread Jovish P
In my application , one screen extends List Activity and on click of List view I am showing a dialog box with two edit text-box where user has to enter username and password . Whenever he clicks on the edit text box , the app getting crashed. It's throwing null pointer exception in the adapter

[android-developers] Re: Loading Activity

2011-10-27 Thread Akamu Akamai
I'm a beginner, but you will probably want to start a background service to process your models. The you set a listener in your activity for the results of the service. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How to detect bluetooth headset is connect in SDK 9?

2011-10-27 Thread 驼峰
Hi, All does anyone know how to detect one bluetooth headset is connected to phone in SDK 9? It seems that in SDK9, I can only know one bluetooth device is connected, but how can I figure out whether it is bluetooth headset or not? thanks, -Mike Guo -- You received this message because you are

[android-developers] Action item's text color in ActionBar

2011-10-27 Thread MrArti
Hello, Does anyone know how to change the text color of the action items in the ActionBar ? I've tried to change the textColor attribute in all the available styles (actionBarStyle, actionButtonStyle, buttonBarStyle, buttonBarButtonStyle) but nothing works ... The only solution I've found is

[android-developers] Re: Regarding Dynamic layout

2011-10-27 Thread viktor
And what is the problem? Use LayoutInflater.inflate, build your Layout to the View object and add under Spinner. You should get index of Spinner, and add view by index. On 27 Жов, 09:21, nageswara rao rajana nagu.raj...@gmail.com wrote: Hi,          when i select a option from a spinner a  

[android-developers] Re: Change activity-wide density-configuration so that Resources decode from another res-folder.

2011-10-27 Thread arberg
I just noticed that the effect of updateConfig() seems to stick if applied from onCreateDialog, after a dialog has been displayed (and the updateConfig-code has been executed). After changing the DisplayMetrics density from actitvity.onCreateDialog, new activities also gets the custom density. To

[android-developers] Re: back,edit button ActionBar

2011-10-27 Thread jaggu
hi how to implement actionbar with backbutton -- 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

Re: [android-developers] Listview - DialogBox issue

2011-10-27 Thread Ratheesh Valamchuzhy
paste the code ... -- 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

Re: [android-developers] Re: back,edit button ActionBar

2011-10-27 Thread Ratheesh Valamchuzhy
need more explanation -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] Re: back,edit button ActionBar

2011-10-27 Thread jaggu
how to implement actionbar with backbutton,and editbutton how to include in current activity in top and bottom i have tabhost On Thu, Oct 27, 2011 at 3:02 PM, Ratheesh Valamchuzhy android...@gmail.comwrote: need more explanation -- You received this message because you are subscribed to

[android-developers] Dalvik

2011-10-27 Thread bob
What is the point of putting stuff in this weird Dalvik format? Why not use Java bytecode? -- 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

Re: [android-developers] Dalvik

2011-10-27 Thread Mark Murphy
http://commonsware.com/blog/Articles/what-is-dalvik.html On Thu, Oct 27, 2011 at 6:06 AM, bob b...@coolgroups.com wrote: What is the point of putting stuff in this weird Dalvik format?  Why not use Java bytecode? -- You received this message because you are subscribed to the Google Groups

[android-developers] re:sqlitedatabase

2011-10-27 Thread jaggu
Hi when loading the application The following tables have some default values that should be copied with the app’s database: i. SETTINGS table 1. locationID = ‘ST3514’ 2. units = ‘british pls guide me -- You received this message because you are subscribed to the Google Groups Android

[android-developers] strange error

2011-10-27 Thread bob
Can someone explain why I get this error? ProgressThread cannot be resolved to a type Here's the code: package com.coolfone.notetest; import android.app.Activity; import android.app.Dialog; import android.app.ProgressDialog; import android.os.Bundle; import android.os.Handler; import

Re: [android-developers] Re: back,edit button ActionBar

2011-10-27 Thread Ratheesh Valamchuzhy
how to implement actionbar with backbutton, *u want the built in action bar or a customized action bar ?* how to include in current activity in top and bottom i have tabhost * see the simple tab host tutorial in android...* -- You received this message because you are subscribed to the

Re: [android-developers] Re: back,edit button ActionBar

2011-10-27 Thread jaggu
customized action bar. On Thu, Oct 27, 2011 at 4:00 PM, Ratheesh Valamchuzhy android...@gmail.comwrote: how to implement actionbar with backbutton, *u want the built in action bar or a customized action bar ?* how to include in current activity in top and bottom i have tabhost * see the

[android-developers] ExplandableListView and BaseExpandableListAdapter issue - App crashes when calling notifyDataSetChanged

2011-10-27 Thread Ash
Hello All, Can someone please advice me on how what is going wrong. My android app has an expandablelistview and an object (which extends BaseExpandableListAdapter) which is set as the adapter for the expandablelistview. The object is called logELA (see code snippet below). My application

Re: [android-developers] Re: want all vidio tutorials to learn android developing plz send download links..

2011-10-27 Thread Ratheesh Valamchuzhy
:) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] will you suggest me

2011-10-27 Thread bhanu prasad
hi frnd... i am very new to android.. can you give your valuable suggestions about android.. actually i just want to know the where to search the android related jobs will you please give the website names... -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: 2.3.3 bugs on the Nexus One - When will Google fix this?

2011-10-27 Thread lbendlin
I still see the occasional touch screen decalibration but much less frequent on 2.3.6 than on older versions. And even here it is simple to work around. Put the device to sleep and wake it up again - that seems to recalibrate the touch screen. -- You received this message because you are

[android-developers] Re: sqlitedatabase

2011-10-27 Thread lbendlin
Please use your favorite search engine before posting here. http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ -- 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: How to detect bluetooth headset is connect in SDK 9?

2011-10-27 Thread lbendlin
it may not be the optimal way but I use am.isBluetoothA2dpOn() -- 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: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-27 Thread Bluemercury
What about extending the async task and then implement the logic directly in the doInbackground method? -- 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] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-27 Thread Kostya Vasilyev
Yes, that's the more usual pattern. You'll still likely need an activity reference to show progress and display results, but there are special methods in AsyncTask for that, which are automatically called on the UI thread - thus, you'll be avoiding multiple threads trying to access and modify

[android-developers] Re: 2.3.3 bugs on the Nexus One - When will Google fix this?

2011-10-27 Thread JRock
I am already on 2.3.6. The problems are still there. Believe me, in the middle of text message conversations I have to power down my phone and start it back up again just to get the keyboard working. I have never rooted or flashed my phone so I am not up on that, is there a way to download Froyo

[android-developers] Unclosed Cursor detected

2011-10-27 Thread vani reddy
H friends , I am getting the below errror 10-27 18:04:47.710: WARN/Cursor(19301): Unclosed Cursor detected 10-27 18:04:47.710: WARN/Cursor(19301): at android.content.ContentResolver.query(ContentResolver.java:258) 10-27 18:04:47.710: WARN/Cursor(19301): at

Re: [android-developers] Bottom 1/4 of screen getting clipped

2011-10-27 Thread TreKing
On Mon, Oct 24, 2011 at 2:06 PM, Rob ra...@albion.edu wrote: In every Activity of the app that I am creating, the bottom 1/4 of the screen is clipped, nothing will display in that region. Any idea why that might happen? If that is all the info you have, it's going to be difficult to give

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread Kostya Vasilyev
Is that stack trace from your project, or just something that happened to be running on your device at the same time? Does the package name ring a bell? com.tli.meetcha? Do you use MapActivity? -- Kostya Vasilyev 27.10.2011 16:39 пользователь vani reddy vani.reddy.bl...@gmail.com написал: H

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread vani reddy
yes my package name is com.tli.meetcha, Yes i am using MapActivity 2011/10/27 Kostya Vasilyev kmans...@gmail.com Is that stack trace from your project, or just something that happened to be running on your device at the same time? Does the package name ring a bell? com.tli.meetcha? Do you

[android-developers] Can i select all checkBoxes from android.R.layout.simple_list_item_multiple_choice

2011-10-27 Thread Lidia
Hello, I have a list view with checkBoxes from android layout and myCheckBox. I want when myCheckBox is selected to select all items from list view, and when myCheckBox is unselected to unsellect all items from listView here is a piece of my code: final ListView listFriends = (ListView)

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread vani reddy
The stack trace is not from my project. 2011/10/27 vani reddy vani.reddy.bl...@gmail.com yes my package name is com.tli.meetcha, Yes i am using MapActivity 2011/10/27 Kostya Vasilyev kmans...@gmail.com Is that stack trace from your project, or just something that happened to be running

Re: [android-developers] opengl and sketchup problem

2011-10-27 Thread John Davis
Hello J Handal, Thanks. I will look into your suggestion more. In the meantime, do you think my error is due to an incompatible tool? I was thinking the error was in my implementation. I am new to OpenGL so I was suspect of my own ability to use the results correctly. John On Thu, Oct 27,

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-27 Thread Bluemercury
Yes i have a indeterminate progressBar in the header, the spinner one, but im using broadcast to all the activities which have the spinner to show or hide it if there's a task running in the background : @Override protected void onPreExecute() {

Re: [android-developers] View Caching

2011-10-27 Thread TreKing
On Tue, Oct 25, 2011 at 4:32 AM, sourabh sahu souruit...@gmail.com wrote: How to remove cache of an app progrmatically. That depends on what you mean by cache. - TreKing

[android-developers] Re: Several issues after upgrading ADT to v14

2011-10-27 Thread Ricardo Amaral
Am I the only one with this problem? :( -- 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

Re: [android-developers] how to make the Notification message move/scroll right to left(or vice versa)

2011-10-27 Thread TreKing
On Tue, Oct 25, 2011 at 3:42 AM, KK dioxide.softw...@gmail.com wrote: Can someone tell me if its possible to move/scroll the notification message from one direction to the other(say from right to left). If yes, then how to achieve the same ? You don't need to do anything - this is the

[android-developers] ProgressDialog is thread-safe?

2011-10-27 Thread bob
Anyone know if ProgressDialog is thread-safe? Wondering if this is ok: import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; public class ProgressdialogActivity extends Activity { ProgressDialog progressDialog; /** Called when the activity is

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread Kostya Vasilyev
Does your activity derived from MapActivity have any of onPause / onResume / onDestroy? Does it call super.*** in those methods? 27 октября 2011 г. 16:58 пользователь vani reddy vani.reddy.bl...@gmail.com написал: The stack trace is not from my project. 2011/10/27 vani reddy

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-27 Thread Kostya Vasilyev
You still have access to a member variable (activity) inside code that runs on the non-UI (worker) thread. Either: - Do not reference the activity from doInBackground, moving the actual code here from activity.doBackgroundRequest - Or learn the basics the thread synchronization, so that your UI

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Streets Of Boston
Even using the word 'Marvel' in one of your app's names could be ground for a DMCA... I'm a 'pro-sumer' photographer. If my (lower-res) pics show up in Google search result, i don't mind, because people will click on it and this will take them to my galleries. And they can possibly buy my pics

[android-developers] Re: ProgressDialog is thread-safe?

2011-10-27 Thread Streets Of Boston
Not possible. You can't execute any View/Window/Activity related code (that modifies such objects) from any other thread but the main UI thread. Sublcass AsyncTask instead and call publisProgress on certain intervals from doInBackground. Implement onProgressUpdate to call

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Simon Platten
I'm a 'pro-sumer' photographer. If my (lower-res) pics show up in Google search result, i don't mind, because people will click on it and this will take them to my galleries. And they can possibly buy my pics from my gallery. Google search-results serves as a billboard/ad in this case. You might

Re: [android-developers] ProgressDialog is thread-safe?

2011-10-27 Thread Kostya Vasilyev
The general rule is that UI components can only be used from the UI thread. I don't see anything in the docs that says that ProgressDialog is an exception: http://developer.android.com/reference/android/app/ProgressDialog.html#setProgress(int)

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Raghav Sood
In the image search, each image provides a clear link to where it originally turns up. Google is merely indexing them. It is not branding them as it's own images. Thanks -- Raghav Sood http://www.androidactivist.org/ - Author http://www.appaholics.in/ - Founder -- You received this message

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Simon Platten
If I type Marvel into google images and hit the search button I get lots of images from various source. The links it provides are not only the correct / proper / originator site but also everyone else that has copied or used it. So Google is peddling stolen goods? Whatever spin you want to put

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Raghav Sood
Marvel would definitely releasing images which you are allowed to use in your own work. I am not saying that all the images that turn up in the search are allowed to be there by Marvel, or that this applies to every search term. I am just saying that most big companies release versions of their

[android-developers] Re: What's the best method to force the user to rate my program?

2011-10-27 Thread Zwiebel
I think they won't rate my program because of it :) On okt. 26, 20:11, lbendlin l...@bendlin.us wrote: The best method is to make your programs more awesome. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Kristopher Micinski
Google isn't peddling stolen goods, it's providing a link to stolen goods. However, you should note that Google frequently *does* take down images when they get complaints. And many of the images you see linked *are* in violation of copyright. If you sold and made money off of them, you should

Re: [android-developers] Re: Account suspended

2011-10-27 Thread Simon Platten
I agree. However I find it very rich that Google is telling me what I can and cannot do when they are doing exactly the same. As said before I am very happy to remove offending applications (given the opportunity). On Thu, Oct 27, 2011 at 3:07 PM, Kristopher Micinski krismicin...@gmail.com

Re: [android-developers] opengl and sketchup problem

2011-10-27 Thread J Handal
I think is error is due to an incompatible file extension .dae file, AFIK android use .obj files with android(and other extensions??) but not Collada files. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] back,edit button ActionBar

2011-10-27 Thread jaggu
i want screen like second actionbar in down i have tabhost also in the same screen can any one guide for this On Thu, Oct 27, 2011 at 4:11 PM, Ratheesh Valamchuzhy android...@gmail.comwrote: u want the screen something like this? while selecting each tab u need to display the activity

Re: [android-developers] Re: Account suspended

2011-10-27 Thread John Coryat
However I find it very rich that Google is telling me what I can and cannot do You might want to go back and read the agreement you signed when you opened your developer account. -John Coryat -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Android - use multiple Activities within a TabActivity what's the solution?

2011-10-27 Thread draf...@gmail.com
I currently have a TabActivity which has 4 tabs, within one of the tab's I want to be able to move forward and back between 4 different Activities. However if I try to start a new Activity now it removes the TabActivty and starts a whole new Activity with no tab bars. I have read about using

[android-developers] Re: What's the best method to force the user to rate my program?

2011-10-27 Thread lbendlin
I hope that's not really what you think. You may want to reconsider your motivation for writing the programs in the first place. -- 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: NFC support for ACR122u device

2011-10-27 Thread Michael Roland
Hallo Sathish, see the nfcpy project at https://launchpad.net/nfcpy/ br Michael On Oct 20, 3:53 pm, Sathish Kumar sathishna...@gmail.com wrote: Hi Team,                   I need your help for the connection and exchange of Nexus S Device and ACR122U NFC card reader exchange through NFC, Is

[android-developers] Re: Re : NFC phone operated Mifare Classic

2011-10-27 Thread Michael Roland
Hallo, Android provides an API for access to MIFARE Classic cards: http://developer.android.com/reference/android/nfc/tech/MifareClassic.html Use the readBlock, writeBlock, increment, decrement, transfer and restore methods to operate on value blocks. For more information on MIFARE commands and

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread vani reddy
Yes my activity extends MapActivity, and i have overridden onStart() and onStop() and called super.onStart(); and super.onStop(); in those 2 methods 2011/10/27 Kostya Vasilyev kmans...@gmail.com Does your activity derived from MapActivity have any of onPause / onResume / onDestroy? Does it

Re: [android-developers] Re: What's the best method to force the user to rate my program?

2011-10-27 Thread Latimerius
On Thu, Oct 27, 2011 at 4:37 PM, lbendlin l...@bendlin.us wrote: I hope that's not really what you think. You may want to reconsider your motivation for writing the programs in the first place. Hmm, why would you think so? Personally, I'm the kind who pretty much never leaves comments and

Re: [android-developers] Re: What's the best method to force the user to rate my program?

2011-10-27 Thread John Coryat
Many people aren't aware they can leave a comment and many more have no idea how to leave a comment and rate an app. I've been surprised that people have written to me asking how they can do so. It seems fairly obvious to me, but then again, I have an inquisitive mind and can figure stuff out.

[android-developers] Re: How to reactivate an older APK?

2011-10-27 Thread William Ferguson
I had exactly the same situation tonight. It has to be a Market Console bug, otherwise what is the value of the reactivate button. On Oct 27, 3:40 pm, Dusk Jockeys Android Apps duskjock...@gmail.com wrote: Before I waste my time by asking Market Support, who as we all know are about as useful

[android-developers] Re: How to reactivate an older APK?

2011-10-27 Thread Zsolt Vasvari
This has always been this way, and it makes sense as you cannot roll backwhat the user has installed. On Oct 27, 11:08 pm, William Ferguson william.ferguson...@gmail.com wrote: I had exactly the same situation tonight. It has to be a Market Console bug, otherwise what is the value of the

Re: [android-developers] opengl and sketchup problem

2011-10-27 Thread John Davis
FWIW, I am simply taking the data from the xml file and copying it and then pasting into an array. I am not doing a automatic read or anything. One thing which puzzles me is the number of vertices in the file. For instance, a rectangle has six sides. If you use two triangles to draw each side

[android-developers] Android fragmentation study

2011-10-27 Thread Greg Donald
http://theunderstatement.com/post/11982112928/android-orphans-visualizing-a-sad-history-of-support Wow.. I knew it was bad, but man. most app developers will end up targeting an ancient version of the OS in order to maximize market reach. I totally agree.. It will literally be years before I

[android-developers] Re: What's the best method to force the user to rate my program?

2011-10-27 Thread eradicus
I think this may work, 1. On the next update, force the user to rate it, or else, the app won't update. -- 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: Android fragmentation study

2011-10-27 Thread Studio LFP
Eh, it's not that bad. If you look at the history of developers, we're already use to having to deal with a lot worse fragmentation issues than Android. Anyone that's ever developed a website correctly knows that supporting the available web browsers is a lot more of a challenge than with

[android-developers] Re: What's the best method to force the user to rate my program?

2011-10-27 Thread John Coryat
1. On the next update, force the user to rate it, or else, the app won't update. 1. How would you accomplish this without breaking the terms of the market? 2. Do you seriously think this would result in anything but a string of 1 star ratings? -John Coryat -- You received this message

[android-developers] Re: Android fragmentation study

2011-10-27 Thread b0b
Fragmentation is in good shape to become the most overused word of this tech decade... Did PC developpers complained about fragmentation every 2h on the interwebs in the 90's and the 00's? You can make an app work great on 2.x, 3.x and 4.x taking advantage of each version. -- You

Re: [android-developers] Dalvik

2011-10-27 Thread Dianne Hackborn
There are a lot of other performance reasons for the .dex format that I didn't see in your article. For example, in Java byte code each class is in its own file inside of the zip. In Dalvik, they are all in one .dex file. This makes it a lot faster to start the app (all code is loaded at once),

[android-developers] Re: Saving fragment state in a view pager

2011-10-27 Thread Aleksey Malevaniy
The same issue. The only one solution I know: *override *destroyItem() call inside your FragmentPagerAdapter class so it has no super.destroyItem() call. E.g. public class DashboardPagerAdapter extends FragmentPagerAdapter{ ... // hack. we don't want to destroy our fragments and re-initiate

Re: [android-developers] Dalvik

2011-10-27 Thread Mark Murphy
Good to know -- thanks! On Thu, Oct 27, 2011 at 12:40 PM, Dianne Hackborn hack...@android.com wrote: There are a lot of other performance reasons for the .dex format that I didn't see in your article.  For example, in Java byte code each class is in its own file inside of the zip.  In Dalvik,

Re: [android-developers] opengl and sketchup problem

2011-10-27 Thread Latimerius
Looks like it uses GL_TRIANGLES in indexed mode (probably the most common way by far). That way, each side of your box has 4 vertices. The two triangles used to render the side use 6 indices to refer to the 4 vertices. So you should have 6*4=24 vertices and 6*6=36 indices. That matches your

Re: [android-developers] Saving fragment state in a view pager

2011-10-27 Thread Dianne Hackborn
FragmentStatePageAdapter does this all for you. You shouldn't be keeping a separate map or whatever of fragment objects. If there is state you want to retain across instances, you need to implement onSaveInstanceState() to save it. This will be called by FragmentStatePageAdapter for you when it

[android-developers] Load Map

2011-10-27 Thread Andrei
Good afternoon. Show you how we can understand map is loaded or not. The problem is that I use asyntstask (in order to add items on the map), and so the objects have been added, but the card still does not boot. This problem occurs only with the mobile Internet. With the help of which can be

Re: [android-developers] tab top back button

2011-10-27 Thread TreKing
On Wed, Oct 26, 2011 at 6:48 AM, Jagadeesh mjagadeeshb...@gmail.com wrote: how to implement top of the back button already bottom tab i have 5tab spec, how to implement the back button That doesn't make much sense.

Re: [android-developers] Re: Android fragmentation study

2011-10-27 Thread Greg Donald
On Thu, Oct 27, 2011 at 11:01 AM, Studio LFP studio@gmail.com wrote: If you look at the history of developers, we're already use to having to deal with a lot worse fragmentation issues than Android. Anyone that's ever developed a website correctly knows that supporting the available web

Re: [android-developers] Getting values in wheel demo

2011-10-27 Thread TreKing
On Wed, Oct 26, 2011 at 10:27 AM, vani reddy vani.reddy.bl...@gmail.comwrote: I just got the code of wheel demo(customized date picker ) from http://code.google.com/p/android-wheel/source/checkout but the problem is i am not able to get the selected values.How to get it. You should probably

Re: [android-developers] Re: Android fragmentation study

2011-10-27 Thread Greg Donald
On Thu, Oct 27, 2011 at 11:29 AM, b0b pujos.mich...@gmail.com wrote: You can make an app work great on 2.x, 3.x and 4.x taking advantage of each version. Of course you CAN, but that doesn't mean you have the resources to do so. It's simply easier to go with the lowest common SDK version. --

Re: [android-developers] opengl and sketchup problem

2011-10-27 Thread John Davis
Latimerius, I think you are correct. There is another section of the xml file: triangles count=12 material=Material2 input offset=0 semantic=VERTEX source=#ID7 / p0 1 2 1 0 3 4 5 6 5 4 7 8 9 10 9 8 11 12 13 14 13 12 15 16 17 18 17 16 19 20

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread Kostya Vasilyev
Ok, then it looks to me like a firmware-specific bug. I would recommend you try a simple Map API sample to see if it gets the same message, to be sure. And it's quite harmless - from the stack trace, it looks like it only affects one cursor for the entire lifetime of your activity (vs. for

Re: [android-developers] opengl and sketchup problem

2011-10-27 Thread Latimerius
2011/10/27 John Davis davi...@gmail.com: Latimerius, I think you are correct.  There is another section of the xml file:                triangles count=12 material=Material2                    input offset=0 semantic=VERTEX source=#ID7 /                    p0 1 2 1 0 3 4 5 6 5 4 7 8 9 10 9 8

Re: [android-developers] Hide\show aplication and restart activity

2011-10-27 Thread TreKing
On Wed, Oct 26, 2011 at 10:41 AM, ecspertiza ecspert...@gmail.com wrote: Why activity restart ? You pressed Back, called finish(), or the system killed your Activity. How to do hide\show without restart ? This will happen automatically, if possible.

Re: [android-developers] opengl and sketchup problem

2011-10-27 Thread John Davis
On Thu, Oct 27, 2011 at 1:57 PM, Latimerius l4t1m3r...@googlemail.com wrote: 2011/10/27 John Davis davi...@gmail.com: Latimerius, I think you are correct. There is another section of the xml file: triangles count=12 material=Material2 input offset=0

Re: [android-developers] strange error

2011-10-27 Thread vaibhav agrawal
I think 'ProgressThread' class doesn't exist in android... On Thu, Oct 27, 2011 at 3:57 PM, bob b...@coolgroups.com wrote: Can someone explain why I get this error? ProgressThread cannot be resolved to a type Here's the code: package com.coolfone.notetest; import android.app.Activity;

Re: [android-developers] Where to send my Dutch translation of Eyes-free Shell strings.xml?

2011-10-27 Thread TreKing
On Wed, Oct 26, 2011 at 5:24 AM, A.A. Van Campen a.cam...@wxs.nl wrote: I am not a developer, but have translated Eyes-free Shell strings.xml into Dutch and don't know where to send it for it to be included in a future update of the app. Is there anyone on this list who could give me the

[android-developers] Re: Several issues after upgrading ADT to v14

2011-10-27 Thread jtoolsdev
Yes, lots of developers are having issues with r14. You might want to go to the issues board to see what ones they are including yours. Xavier also posted a link to an r14 issues article there and on a couple of other posts here. They were planning a migration article but it didn't make it

Re: [android-developers] Dalvik

2011-10-27 Thread Kristopher Micinski
Good points! Even if somewhat outdated, I feel like Bornsteins's talk here might be worth watching: http://www.youtube.com/watch?v=ptjedOZEXPM Kris On Thu, Oct 27, 2011 at 12:40 PM, Dianne Hackborn hack...@android.com wrote: There are a lot of other performance reasons for the .dex format

[android-developers] Animated markers in MapView

2011-10-27 Thread Pinheiro
Hi! Anyone knows how to use animated markers in MapView? For instance, a man jumping up and down in a map. Preferably, the shadow would be updated as well. Thanks in advance! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Where to send my Dutch translation of Eyes-free Shell strings.xml?

2011-10-27 Thread Ali Chousein
Yeah, you should contact the developer. Check Android market, I see that the related e-mail address is eyesfreeproj...@gmail.com Hopefully this helps. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com/ | http://twitter.com/weather_buddy

Re: [android-developers] Google maps on custom device

2011-10-27 Thread TreKing
On Wed, Oct 26, 2011 at 9:42 AM, Osvaldo Junior osvald...@gmail.com wrote: How can i solve this problem? - Get a device with Google Maps - Use the emulator with The Google Addons - Drop the maps requirement I don't have root access to device file system. Can I pack

[android-developers] Re: Hide\show aplication and restart activity

2011-10-27 Thread Ali Chousein
You should read an understand activity lifecycle (http:// developer.android.com/reference/android/app/Activity.html). If you are an Andrid developer, you just have to accept the way things were designed and code accordingly (whether the design is good or bad that's another question).

[android-developers] startActivityForResult

2011-10-27 Thread bob
If you are writing the called Activity in startActivityForResult, how do you return a String? -- 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   >