Android :: Is There A Limit On Extras Inside An Intent?

May 20, 2009

- Hide quoted text -

Android :: Is there a limit on Extras inside an intent?

Android : Get A Parcel From Intent's Extras?

Sep 16, 2010

I've implemented parcelable on a class of mine per the doc instructions, works fine: code...

but I haven't implemented a copy constructor. However, the createFromParcel() method which I did implement is almost like a copy constructor. I'm wondering if I can use it make a copy, but I can't figure out how to get a Parcel instance from the intent extras:

MyParcelable mp2 = MyParcelable.CREATOR.createFromParcel(getIntent().getExtras().getParcelable("key"));// ? just need a parcel ?

it's not the greatest idea, just wondering if it's possible to avoid making another method for my class which will almost be identical to what's already implemented for the Parcelable interface..

View 2 Replies View Related

Android : Put Extras To Intent From Preferences?

Jan 17, 2010

I'm launching activity from preferences screen. Activity is shared among three preferences.
I wonder if i can set extras for this activity in xml. code...

All i need to do to pass an integer really. I can different actions and check action instead of extras.

View 5 Replies View Related

Android :: Intent And Extras - Set PendingIntent On A Notification

Nov 23, 2010

I set an PendingIntent on a Notification (notification.setLatestEventInfo). this intent is actually the same intent used to launch my app, only with a flag that I put in the extra (intent.putExtra(TAB_INDEX_PARAM_NAME, UPDATES_TAB_INDEX)).

So my first activity launches, it queries it's intent's extras and immediately navigates to an Alerts activity rather the normal activity on a regular launch.

The problem: from this point, every activation of my app navigates to this Alerts activity. when debugged, I find that the flag is "stuck" in the intent even though I removed/changed it. it just won't change.

How can change an extra on a giving Intent?

View 2 Replies View Related

Android :: How To Get Location Information From Intent Bundle Extras?

Jan 2, 2010

I am trying to use Android's LocationManager requestLocationUpdates. Everything is working until I try to extract the actual location object that in my broadcast receiver. Do I need to specifically define the "extras" to my custom intent so that the Android LocationManager before I pass it to requestLocationUpdates so it knows how to add it into the intent, or will it create the extras-bundle regardless when it passes the fired intent to the broadcast receiver?

View 1 Replies View Related

Android :: How To Declare Pending Intent That Keeps Fresh Extras?

Jun 29, 2010

A few days ago I was struggling to find a way to use custom intents for my alarms. Although I got clear answer that I have to customize the Intents based on some unique ID eg. setAction() still have some problems.This can happen more than once for a contact. And when the second message is generated, the notification is raised well (message is fine there) but the intent when the user actions the notification it uses old data, so previous message is passed and not the brand new message.So someway the intent is caching and reusing previous extras. How can I make it unique per contact and per action?

View 3 Replies View Related

Android :: Way To Catch Intent's Extras If Activity Is Already Running

Mar 4, 2010

I put a notification in the status bar with a PendingIntent (with Extras info) that points to my main app (main activity). When the user clicks the staus bar, the PendingIntent is fired and my app launches and I can read the Extras info in my onCreate() method. So far so good.

But if my app is already running, the PendingIntent simply causes the app to come to the foreground and it does not call any of my methods, so I can't read the content in Extras. What can I do?

View 1 Replies View Related

Android :: Why PendingIntent Doesn't Send Back My Custom Extras Setup For Intent

Jun 27, 2010

This questions somehow relates to the question when I was looking to get the extras back in startActivityForResult but now I face another challenge.

I have subscribed to receive ProximityAlerts and I have explicitly constructed the Intent to include some Extras. But when I got the service the extras are not there.

After the answers here is the working code:


The documentation says param PendingIntent to be sent for each location update.

View 2 Replies View Related

Android :: Sending Android Intent With POJO Inside?

Oct 7, 2010

Is their a way to put a POJO inside the intent.putExtra? I have looked into the API's and it only seems to support of type string, int, double, boolean etc. But not a actual POJO / regular Java object.

View 1 Replies View Related

Android :: ScrollView With Buttons Inside / No Response Until Second Click On Any Button Inside

Oct 30, 2010

I've been a couple of days trying to solve this thing but I can'f figure it out.The problem is, simple activity, with simple layout, ScrollView -> LinearLayout -> and a lot of buttons inside the layout (within the scroll content). Everything works just fine but one tricky thing. When I click a button let's say at the top of the scroll content and inmediatelly I scroll down to the bottom of the content and I click other button there, nothing happens until I click a second time and all come to normal again.This can be reproduced anytime and it's code independent (i've tried more than 20 scenarios). I've not much experience in android yet but looks like the scroll listener stops the onclick listener or something like that.

View 1 Replies View Related

Android :: ListView Inside LinearLayout Inside ScrollView

Jul 7, 2009

So I've been extremely frustrated by this for a long time now.I've posted before, but can't seem to find a good solution. My goal is to have something pretty much exactly like the installed application details page in the Android Market.I need a list of items displayed along with other content above the list, and would like the content above to scroll up along with the list (exactly like the application details does for the "My Review" and other descriptive info).Due to responses to my previous posts, I came to believe that it really wasn't possible to do this with a ListView.So rather than using a ListView, I refactored my code to use a simple LinearLayout and add individual View items to the list, thinking I could just set each View as clickable and add an OnClickListener to each View in the LinearLayout.That's not working at all though, and now I'm getting even more frustrated.If someone can help me get the OnClickListener working, then I think it'll work, but I do need a separator for the LinearLayout.How do I add a separator like the one used for ListView to my LinearLayout?

View 12 Replies View Related

HTC EVO 4G :: Costs Of Phone And Extras

Jul 31, 2010

I am currently on tmobile using a vibrant. The bugs with the vibrant are starting to bug me, and there is no where else to go to for tmobile. I am thinking about going to sprint for the EVO. I will have to figure out a way to get out of my tmobile contract, (hasn't been 14 days) if anyone wants to help me with ideas.
my main question is, is it true that you have to pay an extra $10 a month for the Evo? I don't have 4G in my area, do I still have to pay for it? What kind of deals can I get from sprint for a new contract? Can I keep my same number?

View 30 Replies View Related

Motorola Droid X :: Themes And Extras

Nov 9, 2010

This is a list of Themes and some Extra's for the Droid X.

The themes are listed by ROM compatibility. One's marked "Verified" will represent the ones the creator verified with me or it states in the creators post. If it does not say "verified" I used my digression. If something is wrong, don't shoot the messenger.

- If you find dead links or anything I am missing, please PM me.

- If a theme is listed under the wrong section PM me.

- If a theme works with other roms other then the section listed in, PM me and I will note it on that theme.

- If you have questions or issues regarding a theme, direct your question to that creators post.

- Updated 12/8/2010

- See my ROM section - HERE
================================================== =======

Themes for 2.2 Froyo 2.3.15 Deodexed Roms(if these themes work on other Roms PM ME and I will note it)

Creator: phimuskapsi
Vanilla Android

Creator: drewden123 - Verified

Creator: D13 - Verified
NexTheme w/ Teenfaces statusbar

Creator: Webst3r
SenseX 2.2

Creator: 928 Droid
Black Glass X

Creator: bad4u6669 - Verified
Red Overload
Royal Blue

Creator: bignadad
BiG Droid X

Creator: Mike919
Purple Passion

Creator: Mrbobrowitz - Verified "Themes will work for any Blur/ Non Blur Rom"
Galaxy S
Drop Theme (Red)

Creator: Explodee
Froyo Dynamite

Minimal Matte - gotta pay for it

Creator: Krayzee - Verified
Droid X theme - he needs beta testers

Themes for Blur Roms

Creator: Fabolous - Verified
REVOlution R2

Creator: Team Incognito - Verified
Incognito Blurred Themes

Themes for Blur-less Roms

Creator: BBCrackman - Verified
BBC Dark Status Bar and Clear Lock Screen

Themes for Specific Roms

Creator: javroch - Verified
Black Out for Fission DX

Creator: Many Creators - Verified
Themes for the Fission Rom

Creator: Fabolous - Verified
NexTheme for ApeX
REVOlution for ApeX

Creator: Mrbobrowitz - Verified
Galaxy S for Tranquility

Creator: Bgill55 - Verified
Incognito Color Series For RubiX - link down

Creator: JsinLegacy and Rola - Verified
iX for rubiX Focused
Xpired for rubiX Focused- post#3
Sinful Series for rubiX Focused

Creator: Juicemane - Verified
Black Juice for rubiX Focused (2 color choices)
Blur Based Black Juice Theme for any Deodexed 2.2 rom
Black Juice for rubiX Blurry

Creator: Natemz - Verified
ProDX Red Theme for the Droid X (only tested on Tranquility 2.8)

Creator: BarracudaCM - Verified
Nebraska Theme /ColoredNebraska (Themes for: rubiX, FlyX, Fission, Tranquality and any roms)

Creator: Faber78 - Verified
KangeradeX for Fission

Creator: Joe722 - Verified
X v1.1.4 for Fission 2.0+

Ports By: Bjoe722 - Verified
NexTheme for Fission
Revolution Remix for Fission
Galaxy S for Fission
Revolution for Fission
Kangerade Blue for Fission

Creator: gregtard- Verified
DarkAndroid for rubiX Focused 1.9.3
Blue Droid Theme for rubiX Focused 1.8.6, 1.9.3, & 1.9.0 Leak/Non-Leak
DarkAndroid for Tranquility 3.5 & 3.5.1

Ported By: RoLa
Flavored Ice- Dark Berry Edition by Jairomeo for Rubix Focused

Creator: Team Incognito
Incognito Back bar mod for Ruibx Focused

Creator: ArmyRanger
Simple Black bar Mod For Blur Roms

Creator: Mrbobrowitz - Verified
Blackmodzz 2.0 - for ANY 2.2.1 Rom


Creator: bad4u6669
Themed Swype / stock keyboard

Creator: WJG
Droid X Modified Gallery

Creator: acidbath5546
Dark Vanilla Lockscreen mods for Droid X - Metamorph needed

View 17 Replies View Related

HTC EVO 4G :: Need Thread Rooting For Dummies + Extras Stickied?

Nov 19, 2010

I first want to start by saying I mean zero disrespect. I have the utmost respect for the moderators here and all the people who make this the most user friendly android forum around! With that said is there any way to have the thread ROOTING For Dummies + Extras stickied? This is nearly a request. Mat lock has made a great guide that has been proven to be a great tool. Im sure many people would agree that having it stickied would benefit many users especially the newer users trying to learn. Short and sweet, to the point.

View 4 Replies View Related

Sony Ericsson Xperia X10 : Need New Look Homescreen - With Extras

Oct 20, 2010

So many people may be reading this, wondering just what its all about, well, here goes.

As of probably August/September i was new in here, with no idea what to do with the X10 - through the X10 community - nay FAMILY - on this forum, i have developed from someone using basic stock icons, to well, a fully custom layout. HUGE HUGE thanks go out to X10iUser for the guidance in getting my phone here and the late night tutorial tonight lol

and to everyone else in this forum with their thoughts and ideas - whether its on what widget looks nice, or what background - keep them going, cos they bring us to the end results we dream of (well it has done mine lol)

So thats where i came to - i've modded the HTC Keyboard - which CuBz does an awesome job on explaining how to install here How to install HTC keyboard Step-by-step

and then modded with the guide from GIMPSTA at XDA here, the homescreens were taken from advice on widgets and apps in here Show Us Your X10 Homescreen... and the fonts from here Android Fonts... I have imaged a few different screens from my setup here

So to close it off - if you feel stupid (trust me, i did), confused or just curious about something, ask the question - after asking the question you have some idea's then share them - after you've shared them and you want to progress further - then i'm sure someone can help

Look where i took mine to from its simple beginnings in a few weeks. And if i haven't laid credit where credit is due then please, let me know and i will reference and update it. Now sod it, its 4am - i'm off to bed

View 8 Replies View Related

Android :: Launch The Same Activity From Widget With Different Extras - Prevent Same Instance Show Up After Returned From HOME Button?

Nov 5, 2010

I have a widget that contains 4 buttons to show 4 stock prices, each of them will launch into the same activity Quote.class to show stock details. In onUpdate(), it will set up the pendingIntent with extras with stock symbol. After I hit button A, it goes to Quote activity that shows stock A. Then I hit the BACK button to the homescreen, Quote activity calls onDestroy() and when I hit button B, stock B will show properly. However, when i hit HOME button after it shows stock A, the Quote activity only calls onStop without calling onDestroy(), then as i hit button B, it will call onStart() and it shows the same instance that shows stock A.


Originally I thought adding a flag in the Intent should solve this problem. But I have tried
i.setFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK or FLAG_ACTIVITY_NEW_TASK or FLAG_ACTIVITY_NO_HISTORY), none of them makes any difference.

So is there any ways to make it work? How can i remove the history stack from HOME button? How can I call onCreate in Quote activity and get new extras when i hit button B?

View 4 Replies View Related

Android :: 150 Character SMS Limit

Apr 25, 2010

I've recently gotten my Andriod phone (on Telus) and have been texting my friends.My phone cuts up text messages to 160 character messages and sends them all to my friends.However, when my friends receive them the 160 character message gets cut in to one 150 and one 10 character message, often splitting up words. So 4 160 character messages are received by their Blackberries (several models) or Samsung (Slyde?) phones as 4 150 character messages and 4 10 character messages.Is there an app that lets you sent 150 or even 140 character messages? Handcent doesn't help with all the split options it has.I tried them all, but it splits at 160 so it doesn't matter.Is there any way to split messages at a lower character count?(All my friends also use Telus (and Kobo which is Telus). Does Telus have a 150 limit? Or is it their phones?I receive messages from them just fine, but that's probably because their phones only send 140 or 150 character messages.)

View 11 Replies View Related

Android :: Limit Scope Of Map

Jun 8, 2009

Let's say that when I launch my application I only want to display the state of California, sitting in a sea of white grid if you will. assume that this could be done with Overlays somehow, but I'm not sure how to go about doing it.

View 2 Replies View Related

Android :: How To Phone SMS Limit Be Overridden?

Nov 2, 2009

We are developing an election monitoring application that relies on the SMS network to submit reports from independent election observers in the field. The application poses questions to the user, who answers them sequentially, and an SMS is sent each time a question is answered. We currently have around 120 questions (and therefore 120 SMS messages) that need to be sent in a fairly short period of time. However, the limit in the Android source is 100 SMS messages per hour (3600000 milliseconds). How can this limit be overridden, either on a per-application basis or in the Android source?

View 3 Replies View Related

Android :: Way To Make Ringtone 15 Second Limit?

Nov 4, 2010

Is there a way to make a ringtone longer than 15 seconds? i searched everywhere and couldn't find an answer.

View 2 Replies View Related

Android :: Way To Expand VM Limit In Phone?

Nov 23, 2009

Is there a way to expand the VM limit in Android 2.0 on an actual device? Using java.lang.Runtime.maxMem() on a Droid reveals a limit of 24MB, and I've written some code that incrementally allocates memory until failure to verify that figure. You can set the VM size in the emulator, but I haven't yet found a way to do that for a connected phone. Is there some type of a properties file on the device itself that can be modified?

View 2 Replies View Related

Android :: Limit Of Memory Heap Only 6M?

Jun 30, 2009

07-01 11:32:02.192: VERBOSE/QualcommCameraHardware(35): state transition QCS_WAITING_JPEG --> QCS_IDLE 07-01 11:32:02.232: ERROR/dalvikvm-heap(395): 6291456-byte external allocation too large for this process. 07-01 11:32:02.232: ERROR/(395): VM won't let us allocate 6291456 bytes 07-01 11:32:02.242: DEBUG/AndroidRuntime(395): Shutting down VM 07-01 11:32:02.242: WARN/dalvikvm(395): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 07-01 11:32:02.242: ERROR/AndroidRuntime(395): Uncaught handler: thread main exiting due to uncaught exception 07-01 11:32:02.302: ERROR/AndroidRuntime(395): java.lang.OutOfMemoryError: bitmap size exceeds VM budget My app shut down when i load a jpg file,i can avoid it by call system.gc().But I think memory limit will be 14M or 16M.

View 24 Replies View Related

Android :: 16M Application Heap Limit

Aug 31, 2009

Does the 1.5 SDK still have the 16mB application heap limit? Is there any way to change it? Do you think this limit will persist into the forseeable future?

View 3 Replies View Related

Android :: SQLite - Detecting Limit Hit?

Oct 11, 2009

I have an SQL which uses something like "LIMIT 100". If the cursor returns 100 rows, is there an efficient way of distinguishing between whether the LIMIT caused it or not? I suppose I could just call LIMIT 101 instead but I was hoping for a nicer way.

View 2 Replies View Related

Android :: Limit Size Of ScrollView

Jul 26, 2009

I am using a ScrollView as a child of an AbsoluteLayout to display a list of items inside this AbsoluteLayout. Because the ScrollView is embedded in the AbsoluteLayout's design, I want to restrict it's size to fit the assigned area. Is there any way to set the height of the ScrollView or of the RelativeLayout that is the child of my ScrollView? My layout.xml (with just the important tags):

<AbsoluteLayout android:layout_width="fill_parent" android:layout_height="fill_parent" /> <...some TextViews...>
<ScrollView android:layout_width="wrap_content" android:layout_height="wrap_content"> <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content"> <...some TextViews that I want to be able to scroll, all with wrap_content...> </RelativeLayout> </ScrollView>
<...again, some TextViews in the main layout...> </AbsoluteLayout>

To make it clearer, I have uploaded two images of what I am trying to do:

View 6 Replies View Related

Android :: Limit In Rtsp Redirect

Nov 4, 2009

I am seeing an issue when using rtsp based URLs on a wap site. If the rstp link has one redirect, then it works and default video player plays the stream. If the rtsp link redirects to another rtsp server and that server redirects to the final destination, then it does not play. Is there a limit in the # of rtsp redirects?

View 4 Replies View Related

Android :: SQLiteFullException - Limit On Db Size?

May 1, 2009

Some of my customers are getting SQLiteFullException

The docs say that this means the SQLite database is full An exception that indicates that the SQLite database is full.

The exception text also opens the door for disk being full android.database.sqlite.SQLiteFullException: database or disk is full:

Question: Is there a limit to amount of space that a application or sqlite db can use on the internal disk ?

View 3 Replies View Related

Android :: Limit On Market Spending?

Feb 16, 2010

However, I wanted to find out if you can put a money limit onto the market, as my parents don't like the idea that I could spend all their money, and I am too young to own a credit card yet. I know that it uses Google checkout and searched Google but couldn't find anything worthwhile. finding a way to limit your spending or on info about buying off market, is there any confirmation emails that get sent etc etc.

View 1 Replies View Related

Android :: Need Speed Limit Application

Apr 5, 2010

I need fewer speeding tickets. I've tried voting in local elections but that doesn't seem to help. So I'm left to looking at applications that can help me keep my speed in check.

I really like this application for iPhone, but it doesn't seem to have an Android port. It seems to be exactly what I'm looking for. It has a database of speed limits and notifies you when your phone's GPS reports you have exceeded those limits. The database is user-updated so it should be fairly accurate and current. It also has a really classy GUI.

Is there anything currently in the Android market that can help me? I've tried Trapster, but it doesn't have the functions I'm looking for. It also was pretty annoying as it constantly went off for every potential copper hiding place.

View 15 Replies View Related

Android :: Heap Limit And Resources

Nov 2, 2009

I'm an Android game developer and I need to ask you a couple of questions about Android heap limit.

Does the 16 MB heap limitation also applies to OpenGL ES textures or SoundPool sound effects? Since they are managed by native code, is it correct to affirm that there is no problem in using more than 16 MB of RAM in app/game resources/assets? If it is possible right now, it is guarantee to be possible in the future?

View 3 Replies View Related

Copyrights 2005-15, All rights reserved