Re: [android-developers] Re: Playing two audio files at once

2011-05-16 Thread Raghav Sood
Thanks, I should be able to do it now. On Tue, May 17, 2011 at 12:25 PM, Chris Stratton wrote: > On Tuesday, May 17, 2011 2:13:32 AM UTC-4, Gheter wrote: > > >> Is it possible to play two audio files at once, one of which is played >> through the right earphone and the other through the left? Is

[android-developers] Re: Playing two audio files at once

2011-05-16 Thread Chris Stratton
On Tuesday, May 17, 2011 2:13:32 AM UTC-4, Gheter wrote: > Is it possible to play two audio files at once, one of which is played > through the right earphone and the other through the left? Is it even > possible to send different audio to each earphone? > You probably can't do it with the m

[android-developers] Re: Playing two audio files at once

2011-05-16 Thread Nightwolf
Use audio track and mix any source to any channel. http://developer.android.com/intl/de/reference/android/media/AudioTrack.html On May 17, 10:13 am, Raghav Sood wrote: > Hi, > > Is it possible to play two audio files at once, one of which is played > through the right earphone and the other throu

[android-developers] Re: Playing two videos simultaneously

2011-05-16 Thread Chris Stratton
On Tuesday, May 17, 2011 2:03:07 AM UTC-4, Deepanjan wrote: > > I am trying to play two A/V media files simultaneously. I am using > Samsung GalaxyS GT9000 as my development platform. Th OS version is > 2.2. > I am using two SurfaceView views to display the two A/V media files. > > The issue th

[android-developers] v4 Fragments library VerifyError crash

2011-05-16 Thread Dave Johnston
A user of mine is encountering a crash every time they start my application: java.lang.VerifyError: android.support.v4.app.FragmentManagerImpl at android.support.v4.app.FragmentActivity.(SourceFile:87) (...) Their phone is a Sony Ericsson U20i (Xperia X10 Mini Pro) running Android 1.6. I underst

[android-developers] Re: Help me in detecting sound pulses (basically frequency detection)

2011-05-16 Thread Soumyajit Roy
We are able to detect speech.. but we are facing problems with detection of music(non speech audio) ,If any body has any idea let us know. Thanks , Soumyajit Roy -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Re: GSM signal strength "unknown" returned in Gingerbread 2.3.3

2011-05-16 Thread b_t
Some of my users with 2.3.3 get always "unknown" signal strength too. So I'm interested in the answer too. On May 16, 2:12 am, Alex wrote: > I have registered a PhoneStateListener and I am listening to > onSignalStrengthChanged(asu) and > onSignalStrengthsChanged(SignalStrength signalStrength). >

[android-developers] Playing two audio files at once

2011-05-16 Thread Raghav Sood
Hi, Is it possible to play two audio files at once, one of which is played through the right earphone and the other through the left? Is it even possible to send different audio to each earphone? Thanks -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ http://www.telstop

[android-developers] Re: Displaying Heat Map in Android

2011-05-16 Thread Zsolt Vasvari
Niladri, if I send you the full code, do you take ownership of the code or do I have to maintain it for you for all eternity? On May 17, 1:34 pm, Bob Kerns wrote: > Please send me $5000, and a specification for the type of heat map you want. > Please send it right away, it is urgent. > > Really

Re: [android-developers] Re: Android calendar

2011-05-16 Thread Hasan Keklik
Did you look at this page. http://stackoverflow.com/questions/3721963/how-to-add-calendar-events-in-android I don't try myself but it looks like working. On Tue, May 17, 2011 at 08:29, thavorac chun wrote: > Many people talk about google calendar! what does it mean? Doese it > mean we use calend

[android-developers] Re: SE X10mini PRO message bug?

2011-05-16 Thread Johan Abramsson
Hi, I did some doublechecking here - to start with, this is really a bug in the phone, and I think that you will get quite apropriate answers on SonyEricssons support site at: http://talk.sonyericsson.com/community/support/ However I checked with development departments as well, and if you provide

[android-developers] Re: Free app's visibility in Android Market problem

2011-05-16 Thread Zsolt Vasvari
> So does anyone has the same issue? No, actually I just stopped offering the free version of my app now that the Market is in all the important countries of the world -- with the exception of China. >Do you know why this happen? No, and the people who do know don't come on here, or at least t

[android-developers] Re: Displaying Heat Map in Android

2011-05-16 Thread Bob Kerns
Please send me $5000, and a specification for the type of heat map you want. Please send it right away, it is urgent. Really, you want people to do your work for you, without paying -- AND it's urgent? AND you don't care what kind of heat map? On Sunday, May 15, 2011 11:54:17 PM UTC-7, niladri

[android-developers] Re: Android calendar

2011-05-16 Thread thavorac chun
Many people talk about google calendar! what does it mean? Doese it mean we use calendar online? On May 17, 11:51 am, thavorac chun wrote: > hi all, > > In my current application, it has a feature to add an event to > calendar but now i'm stuck to do it. I do not found any documented api > to do

[android-developers] Free app's visibility in Android Market problem

2011-05-16 Thread Alex Xin
Hi, Today I found that my app doesn't appear in Android Market as normal, I cannot found it any more. Firstly I thought that there must be something wrong with my app, but when I sign to the developer console website, I found that my app's status is Published. I then try to find another device

Re: [android-developers] Re: Logcat empty

2011-05-16 Thread Albert Rosa
Also on the top there should be a few lines stating emulator and the port its using depending if you just ran it a few times or debug. You may have to select one of those in order to view the respected log cat output. On May 16, 2011 8:56 PM, "Nicholas Johnson" wrote: > Are you seeing any logs in

Re: [android-developers] Re: Appending nodes to an existing XML file

2011-05-16 Thread Bob Kerns
I would use a database for this. Even if it's trivial. I can't quite figure out the meaning of your XML, or I'd describe the schema for you, but it will be pretty simple. (In particular, the position of the Answer element seems strange to me, and the value doesn't seem related to the question?)

Re: [android-developers] Re: How did you get into Android development

2011-05-16 Thread Kristopher Micinski
Wrong, I really love doing it, otherwise I wouldn't have stayed with it for so long. I just wanted to add a point that if you're considering making a living of this, it's not all enlightening moments and cutting edge development: there are going to be dull moments. If you don't enjoy it enough to d

[android-developers] Re: Overlapping of dialogs on each other

2011-05-16 Thread ABS
What i have to do simply add both message and singlechoiceitem(radiobuttons) on single alertdialog. the problem i am facing is that when i am adding message on alert dialog,whole dialog seems to be blank or if i remove message it shows that singlechoiceitem i have to show both message and singlec

[android-developers] Android calendar

2011-05-16 Thread thavorac chun
hi all, In my current application, it has a feature to add an event to calendar but now i'm stuck to do it. I do not found any documented api to do it. How can i make it work? It is urgent for me and any help are very appreciated. -- You received this message because you are subscribed to the Go

[android-developers] Re: ListView onClick method doesnt work clearly

2011-05-16 Thread hüseyin toplu
but it was working yesterday today is not working how can i fix it i am sure array is not null -- 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 t

Re: [android-developers] ListView onClick method doesnt work clearly

2011-05-16 Thread Romain Guy
The bug is in your application. The crash is: java.lang.NumberFormatException unable to parse '' as integer This means you are passing invalid data to Integer.parseInt(). ListView is innocent here :) 2011/5/16 hüseyin toplu > I getting this error ActivityThread.performLaunchActivity(Activi

Re: [android-developers] Re: ListView method posting NullPointerException error

2011-05-16 Thread hüseyin toplu
i solved my problem thanks a lot a i added notifyDataSetChanged(); method before return convertview i has worked clearly -- 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.co

[android-developers] ListView onClick method doesnt work clearly

2011-05-16 Thread hüseyin toplu
I getting this error ActivityThread.performLaunchActivity(Activity Thread$ActivityClientRecord.Intent)line:1647 05-17 04:41:57.049: INFO/ActivityManager(61): Starting: Intent { cmp=com.example.otomasyon/.bilet } from pid 352 05-17 04:41:57.989: INFO/ActivityManager(61): Displayed com.example.o

Re: [android-developers] Marakana UI Tutorial YouTube

2011-05-16 Thread Albert Rosa
I havent but im interested to know the tutorial if you can provide a link to it that would be helpful. On May 16, 2011 11:59 PM, "quique123" wrote: > I'm running thru the video series In YouTube Marakana UI development > and it uses the jtwitter.jar library but they hard code the user and > pass

Re: [android-developers] Help needed. Class not found expectation.

2011-05-16 Thread Albert Rosa
It might be that you are missing the activity in the android manifest xml. At times i end up forgetting to add each activity there. On May 16, 2011 9:24 PM, "TreKing" wrote: > On Mon, May 16, 2011 at 6:17 AM, SproutinGeek wrote: > >> I was trying a demo database application. But Every time I try

[android-developers] Re: Resume app after HOME -- what is supposed to happen?

2011-05-16 Thread Eric
OK. I may have have to throw my computer out a very tall window! With Dianne's hints here and there, I'm able to surmise what might be happening. When I initially launch the app, I do it from an IDE. The IDE uses the following command to start the app: am start -D -n "com.mycompany/A1" The gen

Re: [android-developers] The speed of running Android 3.1 VM

2011-05-16 Thread Chi Kit Leung
I just installed the ask, and create the vm I loaded it up. That is very slow in my box On 17/05/2011 1:35 PM, "Dianne Hackborn" wrote: > It is not slower. You will need to explain more about what you are doing. > "Installed Android 3.1 VM" doesn't even mean anything, especially since the > code f

[android-developers] Re: Resume app after HOME -- what is supposed to happen?

2011-05-16 Thread Eric
On May 17, 12:05 am, Dianne Hackborn wrote: > Okay wait...  "the activity stack doesn't have A1" on it is NOT what you > have been describing.  In fact this is very very different.  If A1 is going > away, that means it is being finished, probably by you.  Given that, my > first question is, when

Re: [android-developers] Resume app after HOME -- what is supposed to happen?

2011-05-16 Thread Dianne Hackborn
Okay wait... "the activity stack doesn't have A1" on it is NOT what you have been describing. In fact this is very very different. If A1 is going away, that means it is being finished, probably by you. Given that, my first question is, when you start A2, are you doing this *after* finishing A1?

Re: [android-developers] Re: Task State Being Lost

2011-05-16 Thread Dianne Hackborn
There must be something more than what you are describing, because that pattern is fundamental to how switching between tasks works and is *always* used when launching from home. If it didn't work, then you would see the same problem for example when re-launching ApiDemos from home, but you can co

[android-developers] Marakana UI Tutorial YouTube

2011-05-16 Thread quique123
I'm running thru the video series In YouTube Marakana UI development and it uses the jtwitter.jar library but they hard code the user and pass into the code whereas the new jtwitter.jar library uses oauth. Has anyone completed that tutorial? -- You received this message because you are subscribed

[android-developers] Re: Why not AWT or a simple way to draw - animation

2011-05-16 Thread Nightwolf
Take a look at the Lunar Lander from API Demos. On May 17, 6:53 am, Heuristic wrote: > Thanks for the reply, Dianne. I wished I had got your answer before I > made further changes earlier - I draw the drawings onto another image > buffer and copy the image buffer back to the real image view. (Thi

[android-developers] Re: Task State Being Lost

2011-05-16 Thread Eric
On May 16, 11:33 pm, Dianne Hackborn wrote: > As I said in another thread, if you want to switch apps you need to use the > exact same Intent that you used originally to start the task.  If you don't, > then you are launching a new activity instance for that new Intent. > > If you want to match

[android-developers] Resume app after HOME -- what is supposed to happen?

2011-05-16 Thread Eric
I would like to simplify a question I have in a previous post. What is supposed to happen in the following case. 1. Simple application with Activity A1 (MAIN/LAUNCHER) activity, and Activity A2 (gotten to by button on Activity A1 screen). 2. User launches the application from icon in the LAUNCHE

Re: [android-developers] The speed of running Android 3.1 VM

2011-05-16 Thread Dianne Hackborn
It is not slower. You will need to explain more about what you are doing. "Installed Android 3.1 VM" doesn't even mean anything, especially since the code for 3.1 is not available. On Mon, May 16, 2011 at 7:50 PM, Chi Kit Leung wrote: > Hi, > I have installed Android 3.1 VM yesterday. I foun

Re: [android-developers] Re: Task State Being Lost

2011-05-16 Thread Dianne Hackborn
As I said in another thread, if you want to switch apps you need to use the exact same Intent that you used originally to start the task. If you don't, then you are launching a new activity instance for that new Intent. If you want to match what a home screen launches, then you need ACTION_MAIN,

[android-developers] Re: Task State Being Lost

2011-05-16 Thread Eric
I created a test app which has two tasks to duplicate the functionality of my more complex app. When I hit the HOME button, and then resume the app (task), instead of bringing you back to the place in the task stack where I left off (MyActivityA2), Android adds another copy of the root task to th

[android-developers] Re: Why not AWT or a simple way to draw - animation

2011-05-16 Thread Heuristic
Thanks for the reply, Dianne. I wished I had got your answer before I made further changes earlier - I draw the drawings onto another image buffer and copy the image buffer back to the real image view. (This is what I learned before that it could make the drawing smooth so that there is no flicker

[android-developers] Re: How did you get into Android development

2011-05-16 Thread Peter Webb
So, you don't particularly like coding, but hope to sell apps on the market to supplement your income. Your background doesn't seem to include any OO langauges (including Java), there will be a fair learning curve. Can't see how this is going to work if you don't like coding, and don't have an id

[android-developers] The speed of running Android 3.1 VM

2011-05-16 Thread Chi Kit Leung
Hi, I have installed Android 3.1 VM yesterday. I found that is much slower than previous version. Does anyone has same experiences as mine? -- Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info -- You received this message because you are subscribed to the Google Gro

[android-developers] Re: Looking for documentation on showing a value from a string-array in a TextView

2011-05-16 Thread Spooky
On May 16, 7:15 pm, Nicholas Johnson wrote: > Something like this should work: > > String[] textValues = > getResources().getStringArray(R.array.your_string_array); > > for (int i = 0; i < textValues.length; ++i) { >mTextView.setText(textValues[i]); > > } > > ^obviously this code isn't very

[android-developers] CheckBox text behind box in GridView

2011-05-16 Thread Boomtown
Hi everyone, I'm pretty new to Android, and I'm looking for a little help. I have a GridView with the following XML in a linear layout. I'm adding a series of CheckBoxes to the view with... public View getView(int position, View convertView, ViewGroup parent) { Ch

[android-developers] Re: Looking for documentation on showing a value from a string-array in a TextView

2011-05-16 Thread Spooky
On May 16, 7:15 pm, Nicholas Johnson wrote: > Something like this should work: > > String[] textValues = > getResources().getStringArray(R.array.your_string_array); > > for (int i = 0; i < textValues.length; ++i) { >mTextView.setText(textValues[i]); > > } > > ^obviously this code isn't very

[android-developers] Re: Surveys using Google Docs

2011-05-16 Thread Nicholas Johnson
I'm not sure if the pretty please is going to do it... maybe with a cherry on top though... -- 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 g

[android-developers] Re: Looking for documentation on showing a value from a string-array in a TextView

2011-05-16 Thread Zsolt Vasvari
Speaking of CharSequence: the TextUtils helper class has a lot of useful methods of working with CharSequence objects. You can basically do anything that you with String objects, such as equals(), contact(), indexOf(), etc. indexOf() is a replacement with startsWith(). Which is why I said you c

Re: [android-developers] Why not AWT or a simple way to draw

2011-05-16 Thread Dianne Hackborn
Android's drawing model is totally different, so it can provide a smoother experience without flicker. When drawing your window, you need to completely draw it and the result is not composited to the screen until all drawing is complete, so the user never seen flicker and artifacts due to partiall

Re: [android-developers] Re: Multi-touch pointer ids on Sony Xperia Play & spurious ACTION_DOWN events

2011-05-16 Thread Michael Leahy
>"It looks indeed as if Sony was brewing their own special kind of 'fragmentation'" I've come to a succinct definition of "fragmentation" at least from a developer perspective as unfortunately this term is widely "misused and abused" in the press and sometimes twisted in definition by organization

[android-developers] Re: Surveys using Google Docs

2011-05-16 Thread Zsolt Vasvari
> Google Docs exists on the internets, which you can access with a Browser or > WebView ... Can you send the full code of how to do that? Pretty please? -- 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: Looking for documentation on showing a value from a string-array in a TextView

2011-05-16 Thread Zsolt Vasvari
Just one comment -- not really specific to Android, but Java in general: You should be using the "most" base class that you can get away with, so in the case of Android, 99% of the time you can use CharSequence instead of String, so your code would be: CharSequence[] textValues = getResources().g

[android-developers] Re: Android Test Market

2011-05-16 Thread Anuj Goyal
I was planning on a paid app so that might not work. -- 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+u

[android-developers] Re: Multi-touch pointer ids on Sony Xperia Play & spurious ACTION_DOWN events

2011-05-16 Thread Mario Zechner
I don't have direct physical access to an Xperia myself so i can't comment on the button issues Robert discovered. It looks indeed as if Sony was brewing their own special kind of "fragmentation". I have a kind issue reporter that helps us test. That's of course a very "remote" kind of debugging, b

Re: [android-developers] Surveys using Google Docs

2011-05-16 Thread TreKing
On Mon, May 16, 2011 at 3:27 PM, danielfjb wrote: > Hi, I need to embed a google doc form in my android application. The client > doesn't want the user has to download the google docs application to open > it, nor any third party application. I'll appreciate if you guys could help > me. > Google

Re: [android-developers] Access instance variables from an activity inside a AsyncTask

2011-05-16 Thread Satya Komatineni
In addition to what Mark has pointed out keep in mind that when the device is rotated the activity is restarted but not the asynctask. So you will end up with a null activity variable. It is fairly well documented on the android developer site how to deal with device rotation or configuration chang

Re: [android-developers] ListView item click can't work

2011-05-16 Thread a a
this xml is listview's item view, listview created by java code set with Adapter 2011/5/17 Justin Anderson : > I don't see a listview in your xml > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Sun, May 15, 2011 at 9:31 PM, a a wrote:

Re: [android-developers] 3d chair model using open gl

2011-05-16 Thread TreKing
On Mon, May 16, 2011 at 2:42 PM, Asad Mehmood Akram wrote: > Does any body have a chair model using graphic engine in android please > send me.. > This is refreshing. Usually people want full working sample code that works perfectly in their project that they don't describe well. Can you believe

Re: [android-developers] Using on device Voice Recorder

2011-05-16 Thread TreKing
On Mon, May 16, 2011 at 9:29 AM, AY wrote: > Once I click the "Record voice" button, I want it to just go straight to > the voice recorder application that came with the phone. > That's probably not what you actually want. There's no guarantee that that voice recorder application will be availab

Re: [android-developers] Re: Many apps disappeared in Android Market this morning

2011-05-16 Thread john huang
I have try clear everything I can clear, and reboot several times, no luck :( On Tue, May 17, 2011 at 9:14 AM, Maps.Huge.Info wrote: > No need to panic! > I see all the apps you mentioned including something like 13 of your ones. > Try clearing the cache for the market on your device. > > -John C

Re: [android-developers] rotate/fling issues

2011-05-16 Thread TreKing
On Mon, May 16, 2011 at 10:55 AM, Bizzle wrote: > Currently I am working on an app similar to "spin the bottle". Im having > trouble getting my image to spin by touch or fling. > You might want to describe what "trouble" you're having. > If anyone has knowledge on this or know where I can find

Re: [android-developers] Overlapping of dialogs on each other

2011-05-16 Thread TreKing
On Mon, May 16, 2011 at 9:01 AM, ABS wrote: > if anybody has solution on this reply me This is how Android works. It's hard to give you a solution since you didn't explain what you're ultimately trying to do.

Re: [android-developers] Help needed. Class not found expectation.

2011-05-16 Thread TreKing
On Mon, May 16, 2011 at 6:17 AM, SproutinGeek wrote: > I was trying a demo database application. But Every time I try different > different mentodes the same class not found exception is coming... the error > on the Logcat is given bellow . > You should consult wherever you found this demo for c

[android-developers] Re: Looking for documentation on showing a value from a string-array in a TextView

2011-05-16 Thread Spooky
On May 16, 7:15 pm, Nicholas Johnson wrote: > Something like this should work: > > String[] textValues = > getResources().getStringArray(R.array.your_string_array); > > for (int i = 0; i < textValues.length; ++i) { >mTextView.setText(textValues[i]); > > } > > ^obviously this code isn't very

Re: [android-developers] Multiple activities

2011-05-16 Thread TreKing
On Mon, May 16, 2011 at 7:25 AM, Naveen Kumar <510nav...@gmail.com> wrote: > i dnt knw how to develope multiple activities at a time please help me to > write d code for dat... > Do you know how to develope a single activity? If not go to step 1. If so, go to step 2, 1 - Read the documentation o

Re: [android-developers] Re: How did you get into Android development

2011-05-16 Thread amenra horus
Thanks for the feedback -- 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 F

[android-developers] Re: How did you get into Android development

2011-05-16 Thread amenra horus
Thanks this feedback was very helpful in adding focus to my path -- 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-

[android-developers] Re: Many apps disappeared in Android Market this morning

2011-05-16 Thread Maps.Huge.Info
No need to panic! I see all the apps you mentioned including something like 13 of your ones. Try clearing the cache for the market on your device. -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Why not AWT or a simple way to draw

2011-05-16 Thread Heuristic
I write an Android Java program to "simulate" the moving of Tower of Hanoi. The drawing does not show in steps I expected, instead it shows in a chunk at the end of the drawing. Why? The scenario can been seen in my personal website - 1. I set the disc number to be 5. http://homepage8.seed.net.tw/w

[android-developers] Many apps disappeared in Android Market this morning

2011-05-16 Thread john huang
It's all fine several hours ago, but this morning (+0800 zone), I open Market app again, and I found many apps disappeared in the market. For example, the top 1 app "Document to Go" in Business category. And only 3 apps of mine still can be found, other apps such like Remote web desktop, Invisible

[android-developers] Re: Activity/Service in separate process

2011-05-16 Thread Zsolt Vasvari
Why are you hijacking the thread a useful thread, idiot? -- 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-develope

[android-developers] Re: Logcat empty

2011-05-16 Thread Nicholas Johnson
Are you seeing any logs in your Logcat? You should see lots of stuff which Android pumps out into a log, even if you don't have any Log's in your 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] Logcat empty

2011-05-16 Thread quique123
im new to android and eclipse but I've gotten a few projects to work on my Mac in the emulator. Today I was learning to use the logcat tool but as soon as I went to the ddms perspective and the logcat is empty even though I have a log.d line in my code. Anyone know why this could happen? -- You

Re: [android-developers] How did you get into Android development

2011-05-16 Thread Adam Ratana
Well, I think how people feel day to day is completely different from having a particular mindset about something. Obviously personally and professionally it's almost impossible to feel this way constantly. But, if someone is attacking something new, I felt those were some good points to add,

[android-developers] Re: EditTextPreference question

2011-05-16 Thread Nicholas Johnson
I'm not a 100% on this, but I would try and extend the EditTextPreference and add the encryption code there. You would have to override the Preference methods such as onSetInitialValue, onBindView, persistString, etc. I've never done this, but that'd be my best guess. Nick -- You received thi

Re: [android-developers] How to add Unicode font on Android

2011-05-16 Thread Nicholas Johnson
Android fonts *are* Unicode to the best of my knowledge. However, they don't have *every* character supported. Nick -- 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 T

[android-developers] Re: Looking for documentation on showing a value from a string-array in a TextView

2011-05-16 Thread Nicholas Johnson
Something like this should work: String[] textValues = getResources().getStringArray(R.array.your_string_array); for (int i = 0; i < textValues.length; ++i) { mTextView.setText(textValues[i]); } ^obviously this code isn't very useful, but you get the idea. Nick -- You received this mess

[android-developers] Re: Task State Being Lost

2011-05-16 Thread Eric
After using "dumpsys activity" extensively to determine what is happening to the task activity stack, I have determined that when I add FLAG_ACTIVITY_NEW_TASK as a flag on my Intent used to switch between the two tasks in my application, Android is adding another activity to the stack, instead of j

[android-developers] Re: Android Test Market

2011-05-16 Thread Nicholas Johnson
Not that I'm aware of. However, you could include location based discrimination in your app if you wanted to, which would start only if a user is within a certain area or zip code. Nick -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Android Test Market

2011-05-16 Thread Anuj Goyal
Consumer goods companies will often release a product to market in a test or pilot zip code. Is there a similar way to do this with Android Apps? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

Re: [android-developers] Access instance variables from an activity inside a AsyncTask

2011-05-16 Thread Mark Murphy
On Mon, May 16, 2011 at 7:37 PM, elioncho wrote: > I have an AsyncTask (in a separate file) which is invoked on an > activity. When I instantiate the AsyncTask, I send the activity as a > param. How can I access the acitivity's instance variables from the > onPostExecute method of the AsyncTask?

[android-developers] Access instance variables from an activity inside a AsyncTask

2011-05-16 Thread elioncho
Hello guys, I have an AsyncTask (in a separate file) which is invoked on an activity. When I instantiate the AsyncTask, I send the activity as a param. How can I access the acitivity's instance variables from the onPostExecute method of the AsyncTask? Thanks! -- You received this message becaus

[android-developers] Looking for documentation on showing a value from a string-array in a TextView

2011-05-16 Thread Spooky
I'm looking for documentation on how to display a single item (indexed by an integer) from a text-array in res/values/strings.xml in a TextView. I've found information on linking string-array values with just about everything else, but I've apparently missed the documentation on using string-arra

[android-developers] Re: How did you get into Android development

2011-05-16 Thread Eamonn Dunne
Your bitterness shines through your posts. -- 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...

[android-developers] Re: Multi-touch pointer ids on Sony Xperia Play & spurious ACTION_DOWN events

2011-05-16 Thread MichaelEGR
ugh! Thanks for posting this message as this is a gnarly one and an example of ODM fragmentation if pointed IDs are not indexing correctly to the proper point data at least. I never was impressed by the multitouch API and always thought it wasn't thought out well and simply just tacked onto Motion

[android-developers] Re: Appending nodes to an existing XML file

2011-05-16 Thread DanH
You're not "appending", you're "inserting". You basically will need to read/write the entire file. On May 16, 1:07 pm, surya tej wrote: > Thanks a lot folks..for your response > > My XML format is > .. > > > > > > > > > >

[android-developers] EditTextPreference question

2011-05-16 Thread dashman
I've got an EditTextPreference within PreferenceActivity. I'd like to store the value in an encrypted format - but display it normally. how do i intercept the saving - so that i can encrypt it. how do i intercept the value just before display - so that i can decrypt it. -- You received this m

Re: [android-developers] How did you get into Android development

2011-05-16 Thread Byron Robinson
I've been creating we sites for about 6 yrs bought a smart phone and caught the bug. I'm still new to apps. But loving it harold alcala wrote: >A very well said. > > >On 15 May 2011 11:18, Adam Ratana wrote: > >> This is a great thread. I'd like to add to the below points: >> >> - do somethin

Re: [android-developers] How did you get into Android development

2011-05-16 Thread Kristopher Micinski
My thoughts have been that if you still have that attitude about writing programs, you haven't had to do it for days straight without sleep. (This is not necessarily the same thing as doing it for days without sleep "just for the fun of it.") Sure, I still *enjoy* it, but there gets to be a point

Re: [android-developers] How to add Unicode font on Android

2011-05-16 Thread Mark Murphy
On Mon, May 16, 2011 at 6:11 AM, rajesh babu wrote: > I have a mydroid source and I want to add Unicode fonts to android. > can anyone know how to do this? I have no idea what "a mydroid source" is. If you are trying to add a font to your app, you can package it as an asset and use Typeface: ht

[android-developers] Unusual SurfaceView Width/Height

2011-05-16 Thread uLtimAte
I make game and have some problem. I use SurfaceView for draw objects and in SurfaceChanged i get width/height of SurfaceView: Fragment Code: public void surfaceChanged(SurfaceHolder arg0, int format, int width, int height) { mViewWidth = width;

[android-developers] Re: Junit error - INSTRUMENTATION_FAILED

2011-05-16 Thread Diego Torres Milano
This post may help you find if the instrumentation is present in your emulator/device: http://dtmilano.blogspot.com/2011/04/running-instrumentation-from.html On May 16, 7:54 am, rashmi wrote: > Hi, > I am trying to execute junit test cases on froyo 2.2 source code, from > command line with the f

[android-developers] Surveys using Google Docs

2011-05-16 Thread danielfjb
Hi, I need to embed a google doc form in my android application. The client doesn't want the user has to download the google docs application to open it, nor any third party application. I'll appreciate if you guys could help me. Thanks in advance Daniel Jiménez B. -- You received this message

[android-developers] 3d chair model using open gl

2011-05-16 Thread Asad Mehmood Akram
Does any body have a chair model using graphic engine in android please send me.. Thank you. -- 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 g

[android-developers] Data Message

2011-05-16 Thread Babu
Hi, I am thinking of using SMSManager.sendDataMessage for one of my applications. Can anyone let me know: 1. Is the size limit (no. of characters) per data message, same as text message? 2. If not, what is the rationale behind that and what is the limit? 3. Which limit does SMSManager.divideMess

[android-developers] Multiple PDP support

2011-05-16 Thread Viddhu
Does android support simultaneous use of multiple PDP contexts? -- 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-d

Re: [android-developers] How did you get into Android development

2011-05-16 Thread harold alcala
A very well said. On 15 May 2011 11:18, Adam Ratana wrote: > This is a great thread. I'd like to add to the below points: > > - do something in a domain you know well and enjoy, that will touch on > various areas of the android platform > - solve an interesting problem in that domain that andr

[android-developers] HTTP Authentication

2011-05-16 Thread Barry
Hi. Ive have search the web without any luck to find some sample code and explanation of how to set up simple Android HTTP authentication for connecting to a REST service. Can anyone point me in the direction of some sample code and an explanation. Thanks. Barry. -- You received this messa

[android-developers] Overlapping of dialogs on each other

2011-05-16 Thread ABS
Hi Everybody, I am new to android, working on one application in which i am using series of dialog boxes to show alert to user , I have to show dialogs in series when user clicks on first one then show another i.e simultaneously but when i run my app all dialogs comes out at a time a

[android-developers] RequestFactory and Android problem

2011-05-16 Thread craftycoder
I cannot pass a Boolean.TRUE via RequestFactory without getting this error. 05-16 16:00:28.423: WARN/System.err(23193): java.lang.ClassCastException: java.lang.Boolean 05-16 16:00:28.453: WARN/System.err(23193): at com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext $Stand

Re: [android-developers] Re: Is there a walkthrough for extending View, especially for the XML layout files?

2011-05-16 Thread Arun_avp pillai
in the layput file there is just a main.xml with the default setting as a textview. Because in my code I am manually giving the values to be entered and I am using a toast .maketext to display it. this is my android. xml file http://schemas.android.com/apk/res/android"; package="com.Dbtest

[android-developers] Re: NFC Secure Element

2011-05-16 Thread Goo_Goo
Could someone please post the the image with card emulation enabled for Nexus S? On May 13, 5:08 am, Markus wrote: > mtk > you wrote after call > phLibNfc_SE_SetMode(seID,phLibNfc_SE_ActModeWired,nfc_jni_se_set_mode_callb > ack, > (void *)nat); > your nexus s was in card emulation > > I called i

  1   2   3   >