Re: [android-developers] Re: Debugging the Activity life-cycle?

2013-03-29 Thread Kristopher Micinski
You might try asking the package manager if the intent you're sending will have any receivers, also.. Kris On Fri, Mar 29, 2013 at 11:16 PM, Kristopher Micinski wrote: >> >> In that particular example the returning Activity was standard but the >> Activity invoking it was singleInstance. I kne

Re: [android-developers] Re: Debugging the Activity life-cycle?

2013-03-29 Thread Kristopher Micinski
> > In that particular example the returning Activity was standard but the > Activity invoking it was singleInstance. I knew the returning Activity had > to be standard but I only found out that the caller couldn't be > singleInstance by time-consuming trial-and-error.I've never seen it > doc

[android-developers] Re: Why aren't there OpenGL ES 2.0 tutorials for Android on Youtube?

2013-03-29 Thread Lew
tom_mai78101 wrote: > I have seen it, but it doesn't answer my question. Why aren't OpenGL ES > 2.0 video tutorials available on the net? Why aren't there tutorials on YouTube regarding any subject not represented on YouTube? It's a silly question. I think Spooky has the best answer, which

Re: [android-developers] Re: Why aren't there OpenGL ES 2.0 tutorials for Android on Youtube?

2013-03-29 Thread Jim Graham
On Fri, Mar 29, 2013 at 12:36:32PM -0700, tom_mai78101 wrote: > I have seen it, but it doesn't answer my question. Why aren't OpenGL > ES 2.0 video tutorials available on the net? Perhaps nobody's made one? Or you just didn't find the right search (I've run into this plenty of times, myself). I

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread plnelson
On Friday, March 29, 2013 7:04:39 PM UTC-4, Streets Of Boston wrote: > > I've never seen this. If it fails to start, i get a logcat message and an > exception is thrown (and you are catching that). *My bad* - it turned out it did have a filter on. (thanks for saying you never saw that - it

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread Streets Of Boston
Also, change the catching of your try - catch block, so that you see more of the exception being thrown when the activity fails to start: Log.*e*("Commands", "failed to start DGraphActivity"*, e*); This would allow you to see more info of what may go wrong. On Friday, March 29, 2013 7:04:39

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread Streets Of Boston
I've never seen this. If it fails to start, i get a logcat message and an exception is thrown (and you are catching that). Have you tried to set the Intent.FLAG_ACTIVITY_NEW_TASK flag when starting the activity? On Friday, March 29, 2013 6:40:44 PM UTC-4, plnelson wrote: > > > > On Friday, March

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread RichardC
On Friday, March 29, 2013 10:40:44 PM UTC, plnelson wrote: > > > > > RichardC wrote > Technically it needs a "." here: > > > I'm skeptical. My program has about 20 Activities and none of them have > .'s in front of the name and I've written a lot of other Android programs > without

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread plnelson
On Friday, March 29, 2013 5:57:46 PM UTC-4, Streets Of Boston wrote: > > Look at your logcat and see why your activity can't be started. Could be > as simple as a typo in your manifest. I only see things in LogCat about DGraphActivity when it *does* start (ie., when its launchMode is "single

[android-developers] Re: Debugging the Activity life-cycle?

2013-03-29 Thread plnelson
On Friday, March 29, 2013 5:56:18 PM UTC-4, Streets Of Boston wrote: > > Look at your logcat. It tells you when an activity hasn't started. When an activity fails to start all I see in LogCat is .. *nothing* related to that Activity. If the Activity is created or started (or paused, etc) * th

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread Streets Of Boston
Look at your logcat and see why your activity can't be started. Could be as simple as a typo in your manifest. On Friday, March 29, 2013 4:02:04 PM UTC-4, plnelson wrote: > > This question has (so far) stumped them on Stack Overflow. . . . > > I'm trying to launch an Activity which launches *pe

[android-developers] Re: Debugging the Activity life-cycle?

2013-03-29 Thread Streets Of Boston
Look at your logcat. It tells you when an activity hasn't started. For the onActivityResult getting called instantly: Your returning activity was probably started with a singleTask or singleInstance. This means that onActivityResult was called immediately after your activity was started (and no

[android-developers] refresh fragment on swipe?

2013-03-29 Thread xrd
I'm trying to get a fragment working such that when the fragment is brought into view it refreshes the content in the view. I thought that I could implement OnPageChangeListener and override onPageSelected but my breakpoint is never hit. Is there a better way? Or, perhaps this means I am doing

[android-developers] Re: Activity won't start when launchmode is standard

2013-03-29 Thread RichardC
Technically it needs a "." here: > This question has (so far) stumped them on Stack Overflow. . . . > > I'm trying to launch an Activity which launches *perfectly fine* when its > launchMode is set to *singleInstance*. When I change it to *standard*nothing > happens; it never gets to onCreate

Re: [android-developers] Re: Getting a message from another app launched with an Intent

2013-03-29 Thread Tobiah
On 03/29/2013 01:52 PM, RichardC wrote: Does the other App call setResult() ? Yeah, It's shown in the code below. Thanks, Tobiah http://developer.android.com/reference/android/app/Activity.html#setResult(int) On Friday, March 29, 2013 8:04:27 PM UTC, Tobiah wrote: I'm launching anoth

[android-developers] Re: Getting a message from another app launched with an Intent

2013-03-29 Thread RichardC
Does the other App call setResult() ? http://developer.android.com/reference/android/app/Activity.html#setResult(int) On Friday, March 29, 2013 8:04:27 PM UTC, Tobiah wrote: > > I'm launching another app from my app like this: > > Intent LaunchIntent = > getPackageManager().getLaunchIntentForPa

[android-developers] Debugging the Activity life-cycle?

2013-03-29 Thread plnelson
Over many projects I've run into various problems with Activities doing mysterious things. I've had them not start; I've had onActivityResult not get called when I'm trying to send parameters back from an Activity; I've had onActivityResult get called *instantly* before the other Activity even

[android-developers] Getting a message from another app launched with an Intent

2013-03-29 Thread Tobiah
I'm launching another app from my app like this: Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.other.appname"); startActivityForResult(LaunchIntent, EXPOSMART_MESSAGE); Then I set a result from the launched app: Intent response = new Intent(); response.putExtra("exit

[android-developers] Activity won't start when launchmode is standard

2013-03-29 Thread plnelson
This question has (so far) stumped them on Stack Overflow. . . . I'm trying to launch an Activity which launches *perfectly fine* when its launchMode is set to *singleInstance*. When I change it to *standard*nothing happens; it never gets to onCreate (or onStart or onResume, or anyplace in th

[android-developers] Re: Why aren't there OpenGL ES 2.0 tutorials for Android on Youtube?

2013-03-29 Thread tom_mai78101
I have seen it, but it doesn't answer my question. Why aren't OpenGL ES 2.0 video tutorials available on the net? -- -- 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

[android-developers] Re: can't access https://code.google.com/p/broadcom-ble/

2013-03-29 Thread bob
Maybe try the Bluetooth HDP sample instead? I believe it is Low Energy. It is for a 'Health Device Profile'… like talking to a heart rate monitor. Thanks. On Thursday, March 28, 2013 3:41

[android-developers] Re: Deadlock running app on Nexus 10, Android 4.2.2

2013-03-29 Thread bergstr
ok, I have changed the code such that the frequent calls into native code (in method validateKey) don't happen any longer. They were unneeded anyway, as the internal cleanup thread can safely assume that the keys are valid. With this change, I can no longer reproduce this issue. However, I am s

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread Pratama Nur Wijaya
thanks for everyone here.. ^_^ now its work on my tablet.. i have change my code like these http://pastebin.com/hS0tKLEY i think i have got some logic error on these.. if (map == null) { Utils.TRACE("API " + Build.VERSION.SDK_INT); FragmentManager fragmentManager

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread skink
Pratama Nur Wijaya wrote: > here http://pastebin.com/DpWSTnr9 > > On Friday, 29 March 2013 22:35:38 UTC+7, skink wrote: > > > > > > > > Pratama Nur Wijaya wrote: > > > < > > https://lh5.googleusercontent.com/-o4SyZfDxWvI/UVWvKvkpfLI/AgE/bj65FJ_evaY/s1600/Image+1.png> > > > > > i have chan

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread Jonathan S
Looks like Google Play services is not available in your tablet. On Friday, March 29, 2013 11:11:49 AM UTC-4, Pratama Nur Wijaya wrote: > > > > i have change my code become like these one.. > >

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread Pratama Nur Wijaya
here http://pastebin.com/DpWSTnr9 On Friday, 29 March 2013 22:35:38 UTC+7, skink wrote: > > > > Pratama Nur Wijaya wrote: > > < > https://lh5.googleusercontent.com/-o4SyZfDxWvI/UVWvKvkpfLI/AgE/bj65FJ_evaY/s1600/Image+1.png> > > > > i have change my code become like these one.. > > > >

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread skink
Pratama Nur Wijaya wrote: > > i have change my code become like these one.. > > http://pastebin.com/FRrpeDAM > > but i still got nullpointer.. > > map = mapFragment.getMap(); > > i'm tested my a

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread Pratama Nur Wijaya
i have change my code become like these one.. http://pastebin.com/FRrpeDAM but i still got nullpointer.. map = mapFragment.getMap(); i'm tested my apps on Emulator api level 17 On Friday,

[android-developers] Re: Asus Transformer TF700T - VM Heap Size

2013-03-29 Thread bob
Perhaps you should see this tip about "*largeHeap*": http://knowledge.lapasa.net/?p=772 Thanks. On Thursday, March 28, 2013 1:41:27 PM UTC-5, Nathan wrote: > > Does anyone know the specs on the Transformer TFT700T? Particularly the VM > heap size so I can set up an emulator. > > It seems that

[android-developers] Re: Why aren't there OpenGL ES 2.0 tutorials for Android on Youtube?

2013-03-29 Thread bob
Why not take a look at the BasicGLSurfaceView sample? Thanks. On Friday, March 29, 2013 2:23:50 AM UTC-5, tom_mai78101 wrote: > > I'm looking around on Youtube for tutorial videos on

[android-developers] Re: Activity

2013-03-29 Thread bob
Why can't you use a built-in function? Thanks. On Friday, March 29, 2013 7:48:00 AM UTC-5, Arun Kumar K wrote: > > Hi guys, > > I have one doubt in activity.i want a call back when activity is > destroyed from the stack.My constrain is > > 1.Without using any inbuilt function like( onDes

[android-developers] Activity

2013-03-29 Thread Arun Kumar K
Hi guys, I have one doubt in activity.i want a call back when activity is destroyed from the stack.My constrain is 1.Without using any inbuilt function like( onDestroy,finish and all) My another doubt is For example: ActivityA,ActivityB if i go to activityB from activityA then i go to activity

[android-developers] Re: null pointer on setOnInfoWindowClickListener

2013-03-29 Thread Pratama Nur Wijaya
thanks for your advice.. On Friday, 29 March 2013 13:49:56 UTC+7, skink wrote: > > > > Pratama Nur Wijaya wrote: > > if my GoogleMap still null.. why my program running in my phone.. and > get > > force close on my tablet.. > > > > can u give me some advice > > > > > > see > http://devel

[android-developers] GroundOverlay with rotation in MapView

2013-03-29 Thread Brofalad
Hi, I have a overlay image with the following cooridinates. 56.56509012808 56.5455371985222 13.249250664387 13.2017977722382 0.477325392961741 It is no problem to create the overlay without the rotation. But is it possible to rotate the image, or can I only use images with rotat