Ugh... it turned out I made a big mess in my project.
First off, I reverted from iabv3 to iabv2 without knowing.
Then I was missing the intent spec in the manifest.
On Saturday, June 1, 2013 7:36:02 PM UTC-7, Bram Stolk wrote:
Today I updated my app with in-app-billing.
The buy and restore
There's no event specific for that, but you can listen for changes to the
phone state and infer when it starts and ends.
http://developer.android.com/reference/android/telephony/PhoneStateListener.html#LISTEN_CALL_STATE
On Friday, February 22, 2008 8:22:10 PM UTC+2, Dexter's Brain wrote:
Hello
There is no such thing as call end event or intent .
On Friday, February 22, 2008 9:22:10 PM UTC+3, Dexter's Brain wrote:
Hello all,
Where do i find the Intent Receiver for a call end event.
Dexter
--
--
You received this message because you are subscribed to the Google
Groups Android
I guess the *Send For Signature *Activity is part of the Adobe Reader
package/app *com.adobe.reader* as well.
On Friday, May 10, 2013 2:17:05 PM UTC-4, bob wrote:
I'm trying to understand Intents better.
So I have this code to show a PDF:
*String file_loc = /mnt/sdcard/mypdf.pdf;*
*Uri dest
Hmmm… I guess so.
It just works if I use a different PDF reader (Foxit):
*i.setPackage(com.foxit.mobile.pdf.lite);*
Thanks.
On Friday, May 10, 2013 1:44:12 PM UTC-5, Streets Of Boston wrote:
I guess the *Send For Signature *Activity is part of the Adobe Reader
package/app
If You want to know which Activity data is sent, You can send activity id
in extras.
In activity You create private variable:
Activity A {
private id = 'A';
}
and then put extras
Intent.putExtras('activityId','this.id')
That will inform new activity about source.
W dniu sobota, 6 października
Sorry don't understand your question
On Saturday, October 6, 2012 1:00:48 PM UTC+1, Salih Gündüz wrote:
Can we control which activity send data in destination activity?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I have the same problem, have you solved it?
Dne úterý, 25. ledna 2011 14:13:02 UTC+1 Vincent napsal(a):
Hi all,
I actually already asked this question on StackOverflow but I didn't
get any answer that could help me solve the problem.
Here is the thing.
What I want to do is to define
Found it.
ACTION_SEND does not allow to add a location parameter. Useful workaround
is to send an URL that can be interpreted by the Mail Programm or Google+
Alternatively ACTION_VIEW with geo:x,y parameter is possible, but only apps
that are understanding a geolocation (e.g. Google Maps etc.)
OK, got it. Just needed the right notification flags... Thought it had to
do with the intent! Sheesh!
On Saturday, March 17, 2012 3:24:19 PM UTC-4, RedBullet wrote:
So, I am creating a notification which, when selected, I would like to
make my app the active app. But what it is doing instead
Firstly, is com.reflect.player.Main_Activity an action that is being sent
in an Intent by your code? If so you're not following standard naming
conventions for actions. It should be
package(.subpackage).action.YOUR_ACTION_IN_CAPS. What you've specified
looks more like the classname for your
thanks ,,
but i put this map like *intent.putExtras(mapidentifier,map); ,,, how i
can put this mapping as listview in second activity *
On Mon, Feb 27, 2012 at 9:19 AM, kalandar kasimk...@gmail.com wrote:
hi,
if you want to pass the same HashMap value for two activity means
you can create
hi ,,,
Note,,the value has been passed successfully ,,,but without listview !!!
On Mon, Feb 27, 2012 at 10:39 AM, hazem omies hazem.om...@gmail.com wrote:
thanks ,,
but i put this map like *intent.putExtras(mapidentifier,map); ,,, how i
can put this mapping as listview in second activity
hi,
if you want to pass the same HashMap value for two activity means
you can create the HashMap object in common static object.
like
class Common
{
public static HashMap map = new HashMap();
}
now you can use this map in your entire activity.
like Common.map.put(, );
otherwise you can pass
Hi Rimma.,
Am in need to implementing some functionality while receiving call from my
application. I raised my quaetion here but no response yet:
http://stackoverflow.com/questions/9289563/how-to-send-my-additional-intent-data-to-dialer-phone-application-and-receive
Intent intent = new
Awesome, I have read perhaps 50 to a 100 threads, and Googling like
crazy, but I never seen this one!!! This is exactly what I am trying
to do.
Many thanks
On Jan 7, 12:56 am, Kristopher Micinski krismicin...@gmail.com
wrote:
Spoke too soon, this only intercepts the MEDIA button on a bluetooth
headset, not the CALL button, which seems to be ignored by this
intent.
On Jan 7, 3:47 pm, MarkG123 mark.gilles...@gmail.com wrote:
Awesome, I have read perhaps 50 to a 100 threads, and Googling like
crazy, but I never seen
Hmm... It could be very possible that this is reserved so you can't
tamper with it.. I'm sorry I don't know more about this, and don't
have hardware to help you out on this one :-(, but I feel like it
should be possible enough. My recommendation at this point is: 1) can
other apps do this? If so
It's a hardware call/answer button on Bluetooth headsets.
--
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
On Fri, Jan 6, 2012 at 9:33 AM, MarkG123 mark.gilles...@gmail.com wrote:
It's a hardware call/answer button on Bluetooth headsets.
Right, well did you look through that list of intents on the devices
you wanted? I suspect that this isnt' going to be possible, just off
the top of my head from
I did look, didn't find anything, which I found suprising, and figured
I might be looking in the wrong place...
Anyone know for sure this isn't possible. All Bluetooth call button
pushes HAVE to be routed via the Android dialer?
On Jan 6, 4:27 pm, Kristopher Micinski krismicin...@gmail.com
http://stackoverflow.com/questions/6287116/android-registering-a-headset-button-click-with-broadcastreceiver
??
On Fri, Jan 6, 2012 at 6:37 PM, MarkG123 mark.gilles...@gmail.com wrote:
I did look, didn't find anything, which I found suprising, and figured
I might be looking in the wrong
Sorry, it's part of the Android security design that the user has to
explicitly approve installs.
--
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
how to check logcat. how to see that logcat. pls help me.
On 8 Aug 2011 11:23, jaggu mjagadeeshb...@gmail.com wrote:
Hi nadam
Thanks
its working fyn
On Mon, Aug 8, 2011 at 3:08 AM, nadam a...@anyro.se wrote:
Check logcat to find the reason for force close. I think you need to
add tel: in
Check logcat to find the reason for force close. I think you need to
add tel: in front of the phone number.
On 6 Aug, 07:37, jagadeesh mjagadeeshb...@gmail.com wrote:
Hi see the below code:
Intent myintent=new Intent(Intent.ACTION_DIAL,Uri.parse(100));
startActivity(myintent);
I
Hi
where i need tel: in my code
Thanks
Jagadeesh
On Mon, Aug 8, 2011 at 3:08 AM, nadam a...@anyro.se wrote:
Check logcat to find the reason for force close. I think you need to
add tel: in front of the phone number.
On 6 Aug, 07:37, jagadeesh mjagadeeshb...@gmail.com wrote:
Hi see the
Hi nadam
Thanks
its working fyn
On Mon, Aug 8, 2011 at 3:08 AM, nadam a...@anyro.se wrote:
Check logcat to find the reason for force close. I think you need to
add tel: in front of the phone number.
On 6 Aug, 07:37, jagadeesh mjagadeeshb...@gmail.com wrote:
Hi see the below code:
I tried this:
String str = getMyString();
Intent intent = new Intent(this,Class.forName(str));
startActivity(intent);
but failed..
Any help will be appriciatable...
Regards
Goutom
On Sat, Jul 23, 2011 at 3:34 AM, Goutom goutom.sust@gmail.com wrote:
Hi All
I have following problems,
Got a solution..
private Class? c = null;
c= Class.forName(packagename+classname);
intent = new Intent(this,c);
startActivity(intent);
it works fine.
On Sat, Jul 23, 2011 at 4:45 AM, Goutom goutom.sust@gmail.com wrote:
I tried this:
String str = getMyString();
Intent intent = new
Hi,
Always return Region.contains(int x, int y)
return me a false
*Android.Graphics.Region
we can create region using Path Or Rectangle
When i create region using Path
But every time of my region return me a false
region.contains(int x, int y) //false*
When i tried for rectangle region that
Nope, but I am sure a lot of changes are not documented. For example,
1280x800 devices now report their screen size as 1280x752.
On Jul 20, 2:57 pm, Tor tor.hough...@gmail.com wrote:
Hello,
I have an app that triggers on YouTube URLs, and it worked as designed
until Android 3.1. Does
On Wed, Jul 20, 2011 at 12:04 AM, Zsolt Vasvari zvasv...@gmail.com wrote:
Nope, but I am sure a lot of changes are not documented. For example,
1280x800 devices now report their screen size as 1280x752.
This was a bug fix -- the platform should have been reporting 1280x752,
because that is
Hm.
On a 3.1 device (emulated), the list of applications to open the URL
with appears, but the same URL (regardless of whether the application
was built with the API13 SDK or not) on a 3.2 device (emulated) opens
in the YouTube application (no options given).
A Xoom user with 3.2 initially
It is pretty much explained here
http://developer.android.com/reference/android/app/Activity.html
2011/7/1 kypriakos demet...@ece.neu.edu
Right - and this is not a blocking operation but rather an
asynchronous
callback to the onActivityResult right? For some reason the callback
was not
Right - and this is not a blocking operation but rather an
asynchronous
callback to the onActivityResult right? For some reason the callback
was not occurring but I think I found an issue in the spawned thread.
Thanks Kostya, I got it ...
On Jun 30, 1:53 pm, Kostya Vasilyev kmans...@gmail.com
hmm... so I take it there isn't a simpler way than that.
On May 29, 2:42 pm, Mark Murphy mmur...@commonsware.com wrote:
Write your own image selector using the MediaStore content provider.
On Sun, May 29, 2011 at 2:26 PM, neuromit stuart.lay...@gmail.com wrote:
In my application I
On Sun, May 29, 2011 at 3:27 PM, neuromit stuart.lay...@gmail.com wrote:
hmm... so I take it there isn't a simpler way than that.
You are welcome to recommend to users that they install some
third-party application that supports ACTION_GET_CONTENT for images.
Otherwise, at best, the default
That's actually not a bad idea, i wonder if anyone has a
recommendation
On May 29, 3:31 pm, Mark Murphy mmur...@commonsware.com wrote:
On Sun, May 29, 2011 at 3:27 PM, neuromit stuart.lay...@gmail.com wrote:
hmm... so I take it there isn't a simpler way than that.
You are welcome to recommend
Hi,
Finally I made it work, so I post the solution as someone could be
interested in the future:
The point is to set the activity launchmode to singleTask
(singleInstance should work too) instead of singleTop
android:launchMode=singleTask
Bye.
On 11 abr, 14:54, Gorka gork...@gmail.com wrote:
Hi,
Yes, I have the onNewIntent method declared as you said.
@Override
public void onNewIntent(Intent intent) {
Log.d(TAG, On New Intent);
}
The problem is that i don´t get the message.
On 9 abr, 09:34, nadam a...@anyro.se wrote:
Make sure onNewIntent is overridden
Hi,
Here is the message I get when the phone detects the tag.
As I said, the first time the app is started, but the second time
nothing happens.
I/ActivityManager (107): Starting intent:
{act=android.nfc.action.NDEF_DISCOVERED typ=text/plain flg=0x0100
Hi,
Here I am once again.
I have seen that if I minimize the app, when I detect a new tag the
application is restarted and the OnRestart and OnResume methods are
called. But the OnNewIntent is not received.
But the way, if the application is restarted, how can I get the
activity that was
Hi,
I don´t know if someone is reading me, but I don´t give up :). Maybe
that could be useful for someone in the future.
My Manifest file looks like that rigth now:
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
Make sure onNewIntent is overridden correctly. Should look like this:
@Override
public void onNewIntent(Intent intent) {
...
}
On 8 Apr, 16:11, Gorka gork...@gmail.com wrote:
Hi,
I am trying to read NFC tags with my Nexus S mobile.
In my Manifest file I have the intent filtered:
I added the Default Category to the intent and intent filter in the
manifest, it now works but the original issue is confusing to me.
On Feb 9, 2:44 pm, Dan king...@gmail.com wrote:
Hello,
I am unable to start an Activity. My goal is to specify my
application's packages so that Intent
Yes, launching an activity by Action string alone requires that its
intent filter include default category.
10.02.2011 21:56, Dan пишет:
I added the Default Category to the intent and intent filter in the
manifest, it now works but the original issue is confusing to me.
On Feb 9, 2:44 pm,
Anyone? Can't figure out why it isnt working... :s
On Feb 9, 8:19 pm, Dirk Vranckaert dirkvrancka...@gmail.com wrote:
All,
For the app i'm currently writing I needs some help.
My activity structure when launching the app with the launcher:
HomeActivity = ListActivity
On the listActivity
On Wed, Feb 9, 2011 at 5:57 PM, Dirk Vranckaert dirkvrancka...@gmail.comwrote:
Anyone? Can't figure out why it isnt working... :s
You should wait more than 4 hours before bumping your posts ...
-
Well you could look at the lifecycle methods on a widget. These
include onEnable, onUpdate, onReceive, onDelete, and onDisable. You
might want to take a look at the values in some of these methods.
Perhaps you want to close something out here.
On Feb 9, 3:57 pm, Dirk Vranckaert
nonesense. These are basic questions and people should respond with
what they know.
On Feb 9, 4:00 pm, TreKing treking...@gmail.com wrote:
On Wed, Feb 9, 2011 at 5:57 PM, Dirk Vranckaert
dirkvrancka...@gmail.comwrote:
Anyone? Can't figure out why it isnt working... :s
You should wait
On Wed, Feb 9, 2011 at 7:14 PM, AndroidDevTime androiddevd...@gmail.comwrote:
nonesense. These are basic questions and people should respond with what
they know.
Nonsense is demanding that people on a volunteer list to be at your beck and
call to answer questions, regardless of how basic
Ouch!
I can't start the navigator in any way?!
Bye!
On 5 Gen, 15:47, Mark Murphy mmur...@commonsware.com wrote:
There is no documented and supported Intent structure to launch Google
Navigation this way -- sorry!
On Wed, Jan 5, 2011 at 9:46 AM, pedr0 pulsarpie...@gmail.com wrote:
Thanks a lot anyway!
On 5 Gen, 16:10, Mark Murphy mmur...@commonsware.com wrote:
That is not documented or supported. It presumes a certain
implementation and will fail at some point in the future when Google
modifies the application.
On Wed, Jan 5, 2011 at 10:07 AM, Carlos Silva
That is not documented or supported. It presumes a certain
implementation and will fail at some point in the future when Google
modifies the application.
On Wed, Jan 5, 2011 at 10:07 AM, Carlos Silva r3...@r3pek.org wrote:
Here's how I make it:
btnNav.setOnClickListener(new OnClickListener() {
ORit brings you here.
(Sorry, but the amount of times I do a google search, and fine forum
posts saying 'do a google search' without actually giving me the
answer is starting to drive me nuts).
~Leif
0On Dec 20 2010, 8:27 am, TreKing treking...@gmail.com wrote:
On Mon, Dec 20, 2010 at 2:04
On Dec 24, 11:25 am, Tor tor.hough...@gmail.com wrote:
Hello,
Is it possible to act on specific data in an intent? (Say, if a URL
matches a regular expression.)
I am able to trigger my application when someone clicks on a URL, but
I don't want the app to be in
the browseable list unless a
On Dec 24, 1:28 pm, Pent tas...@dinglisch.net wrote:
Intent matching is described here:
http://developer.android.com/reference/android/content/IntentFilter.html
I think this one from my manifest only matches paths ending
in .prf.xml.
intent-filter
Wow! Thank you so much, Mark. You really guided me to the right place.
Here is what I come up with:
In the manifest, I have my Activity, let's call it
com.test.disable.TargetActivity, and it is set with one or more intent
filters.
So, during the app execution, somewhere in the code, I can see if
Thanks for replying. The aim was to retrieve a PendingIntent and to
modify it. There would be several PendingIntents that had been
registered for multiple alarms. They are also stored in a db to
register upon app startup.
register PendingIntent_i for Alarm_i. [i=0..n]
use the data part of the
On Mon, Nov 1, 2010 at 3:32 PM, longingtoadopt.com anil.r...@gmail.com wrote:
Why is there no registerReceiver(BroadcastReceiver) call?
Because it would be totally meaningless.
The API call
requires an IntentFilter also.
All broadcast receivers, whether registered via registerReceiver() or
On Mon, Nov 1, 2010 at 12:40 PM, Mark Murphy mmur...@commonsware.comwrote:
Is the API not in sync with what can be
specified through the manifest? (IntentFilter not mandatory there).
While the intent-filter may not be technically mandatory there,
having a receiver element with no
On Mon, Nov 1, 2010 at 4:00 PM, Dianne Hackborn hack...@android.com wrote:
That's not true -- if you specify an explicit component in the intent, then
it will go to the receiver regardless of the intent-filter.
:: smacks forehead ::
Forgot about that scenario. My apologies.
--
Mark Murphy (a
Anyway, I am not able to get the alert happen with explicitly
specifying the component.
You failed to make your inner class be static. You cannot reference
non-static inner classes in the manifest, because Android has no way
of creating an instance of that non-static inner class.
I made it
If it didn't run, there is likely a message in the log at the point it tried
to executing saying what happened.
Also ApiDemos has examples of using the alarm manager, which use an intent
specifying an explicit component to launch.
And you could look at the DeskClock app to see how the platform's
For actions, the field will not be tested if no values have been
given (treating it as a wildcard); if no data characteristics are
specified, however, then the filter will only match intents that
contain no data.
Thanks for your reply...
If you look at the code, I did specify the action in
On Sun, Oct 31, 2010 at 3:01 PM, longingtoadopt.com anil.r...@gmail.comwrote:
Thanks for your reply...
If you look at the code, I did specify the action in both the Intent
and the Intent filter: ALERT_ME_ACTION
Correct me if I am mistaken but it is intuitive to expect that if the
Actions
One architectural problem with Android is that Intents are overloaded
with many different purposes - they carry data, specify actions,
launch choosers, kick off services, and much more. On top of that,
Android allows most objects, including Intents, to be specified either
dynamically in Java or
Hi Dianne,
Thanks for your response.
I'm doing all kinds of things :)
E.g. I think I figured out a way to have an app that has a 'home'
screen from which the user launches other activities, where (s)he can
go back to the home screen. It took me a while to figure out to use
the
i tried that too , but it gave error, it seems that you cant use
android.provider.CallLog.Calls.CONTENT_URI for ACTION_PICK , i looked
on other places places and did some search on that but this an't
possible there is no intent for selecting a contact from call log so
eventually i wrote my own
i tried that too , but it gave error, it seems that you cant use
android.provider.CallLog.Calls.CONTENT_URI for ACTION_PICK , i looked
on other places places and did some search on that but this an't
possible there is no intent for selecting a contact from call log so
eventually i wrote my own
You are looking at the wrong content provider (guesses). There's a
different one for Call logs,
http://developer.android.com/reference/android/provider/CallLog.html
See if it works.
On Oct 13, 5:36 am, Muhammad Bilal se.bi...@gmail.com wrote:
Hi,
I am trying to locate the intent to load the
That fixed it. The documentation is a little confusing but at least
the tools let me discover my mistake quickly.
--
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
would you mind expanding on how you solved the problem. certainly you have
provided a pointer but might help others avoid spending the same cycles...
thanks.
On Wed, Sep 15, 2010 at 9:54 AM, Alok Kulkarni kulsu...@gmail.com wrote:
Solved the problem. Referred to the Manifest file of Androd
Solved the problem. Referred to the Manifest file of Androd Browser.
Thanks,
Alok.
On Wed, Sep 15, 2010 at 4:59 PM, Alok Kulkarni kulsu...@gmail.com wrote:
Hi,
I want to do the following.
When a user clicks on a URL containing a few specific keywords like
http://ad.mysite.com from somewhere
What is the preferred method to send a drawable (like a bitmap) to
another activity (such as the Gallery app) then?
On Aug 23, 9:26 am, Dianne Hackborn hack...@android.com wrote:
Please don't send bitmaps like that. When you start an intent, the bitmap
needs to be marshaled for delivery (one
2010/9/1 Christopher christopher.t.mor...@gmail.com:
What is the preferred method to send a drawable (like a bitmap) to
another activity (such as the Gallery app) then?
Keep it within your own application, using a Service or custom
Application object or something. Then, display it in your own
Hi,
Can we assume that thenNnowMode is an extension of Activity? Also, I
can see you pit the string addPic into the bundle. I hope you are
not trying to start the activity in this manner. To open an activity,
say called AddPic (which must be an activity class) and simply call:
startActivity(new
Hi,
No I don't want to start in that manner... the explanation for that
String is that I have two distinct classes that have an intent that
direct them to thenNnowMode. So in the thenNnowMode class I retrieve
the bundle... and check the String activity name just to know which
activity
Hi Pedro,
are you sure you are using correct class name (shouldn't be an issue if it
starts fine, but just to be sure) and that you are bundling the
thenNnowMode class with your application? I think it might happen that you
are not bundling it and then the intent resolver tries to find suitable
Hi Filip,
Yes it's the correct file name.. I'll show a snippet of the code:
public class thenNnowMode extends Activity implements
SurfaceHolder.Callback{
SurfaceView tnnSurfaceView;
SurfaceHolder mSurfaceHolder;
Camera tnnCamera;
boolean mPreviewRunning =
And here is my intent on the debugger showing the correct info:
Intent { cmp=com.pedroteixeira.thennnow/.thenNnowMode (has extras) }
On Aug 23, 2010, at 7:40 AM, pablisco wrote:
Hi,
Can we assume that thenNnowMode is an extension of Activity? Also, I
can see you pit the string addPic into
Hi Pedro,
although I don't know what v in v.getContext() is, I would suggest that
instead of doing the class setting in constructor, try using new Intent()
and then set the class with Intent.setComponent(ComponentName)
I'm sorry, I wasn't explicit, that's true. The intent is inside a
dialog box which has just a simple feedback message for the user. And
it's supposed to change activity when pressed ok, here is all the code
to be more specific:
add.setOnClickListener(new View.OnClickListener() {
Did u mentioned your Activity class in Android Manifest.xml file??
On Aug 23, 4:25 pm, Pedro Teixeira pedroteixeir...@gmail.com wrote:
I'm sorry, I wasn't explicit, that's true. The intent is inside a
dialog box which has just a simple feedback message for the user. And
it's supposed to
OK, did a quick look at it and seems fine. Another suggestion - try to build
the Intent the way you are right now, but comment everything in your main
activity's onCreate method and put just the Intent build code you have.
Does it still call wrong activity?
Best regards,
Filip Havlicek
If I place just the intent as I have in the onCreate method it works
fine. It goes and get the activity I'm calling.
On Aug 23, 2010, at 12:43 PM, Filip Havlicek wrote:
OK, did a quick look at it and seems fine. Another suggestion - try
to build the Intent the way you are right now, but
Hi,
I think something is wrong with the context you are passing to the Intent in
the onClick method. Try to put getApplicationContext instead of
v.getContext() and see if that works.
Best regards,
Filip Havlicek
2010/8/23 Pedro Teixeira pedroteixeir...@gmail.com
If I place just the intent as
hey,
I've changed to getApplicationContext() .. but still doesn't work..
Everything inside that ''onclick()'' method is working besides this
intent.. I really can't understand why this is happening and I'm
getting so frustrated.. wow.. sorry for being taken your time with this.
The
I get this message on the logcat:
08-23 13:57:35.947: INFO/ActivityManager(76): Process
com.android.camera (pid 2030) has died.
Do you think is related? Since my activity which Im trying to open
(thenNnowMode) uses the camera?
On Aug 23, 2010, at 1:43 PM, Filip Havlicek wrote:
Hi,
I
Yes, it very well might be related.
I tried your code with some editing (removed the if, changed the activity
names and removed the doFileUpload() and w.putParcelable() ) and it worked
fine for me.
Best regards,
Filip Havlicek
2010/8/23 Pedro Teixeira pedroteixeir...@gmail.com
I get this
Oh god that's it
It's the bitmap!! something bad coded... damn I just commented this
line:
w.putParcelable(bitmap, selectedDeviceImage);
and it's working!
Anyway it's strange that I don't get any kind of warning to this
errors.. Well I'll take it from here.
Thank you very much for
I noticed that your code for the upload case doesn't close the dialog, like
the code for the picking case does. Perhaps you could try that.
Also, try getting the context using Java notation for the enclosing activity
class (blah.this), although I think it's the same as v.getContext.
What might
I figured it was the bitmap that i was passing with parceable that was
giving this error.. now its going correctly to the activity I pretend
although I cant find a solution to send the bitmap. is there a way to
retrive a bitmap from an imageview?
On Aug 23, 2010, at 2:32 PM, Kostya
Hi Pedro,
glad I could help. Dunno about the bitmap from imageview, Drawable isn't
enough?
Best regards,
Filip Havlicek
2010/8/23 Pedro Teixeira pedroteixeir...@gmail.com
I figured it was the bitmap that i was passing with parceable that was
giving this error.. now its going correctly to the
Im not sure how to pass a drawable..
so the issue was the bitmap i was trying to send
w.putParcelable(bitmap, selectedDeviceImage);
, now I have to find another way to send this lol
it actually has a value so I'm not getting why the error.. but anyway..
I'll try other ways to send
Please don't send bitmaps like that. When you start an intent, the bitmap
needs to be marshaled for delivery (one copy). It is then delivered to the
system process which needs to hold the entire time for as long as the target
activity may be accessed by the user (another copy). And then it
maybe try your intent this way:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(url), video/mp4);
view.getContext().startActivity(intent);
On Aug 2, 4:58 pm, Kyle kyle4...@gmail.com wrote:
Here is my code that I'm currently using:
Are you calling intent.setDataAndType(Uri Data, String Type)
?
Sometimes specifying the right mime type makes a big difference.
On Aug 2, 1:26 am, Kyle kyle4...@gmail.com wrote:
Hey,
I've created a WebView which loads a webpage and will play any file
that ends in mp4 on click. The problem
Here is my code that I'm currently using:
final class MyWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String
url) {
if (url.endsWith(.mp4)) {
Intent intent = new
Try this instead.
Intent intent = new Intent(Login.this, Browse.class);
That normally works.
Thanks and Regards,
Kumar Bibek
http://tech-droid.blogspot.com
On Jun 6, 12:31 am, Ray ginol...@gmail.com wrote:
I create 2 simple activities, first activity is to login, after that
proceed to the
1 - 100 of 171 matches
Mail list logo