Android : Use Each Of Droid's Different Messaging Types?
May 28, 2009
I've been working with Android for well over a year now, but I still have trouble determining when different types of messaging/communication between processes/threads should be used. I'm mainly talking about broadcasting Intents, using AIDL for services, using Handlers to send messages and socket communication.
Many of these tools can be used to accomplish similar tasks, but which is better suited to particular situations?
View 3 Replies
Nov 8, 2009
Is there a way to use setType() and supply multiple broad types (like images and video)?
I'm using an ACTION_GET_CONTENT. It seems to be working with just comma-separated types.
View 2 Replies
View Related
Mar 18, 2010
I know this may be a dumb question, but my background is more in c++ and managing my own memory.
I am currently cutting down every single allocation that I can from one of my games to try and reduce the frequency of garbage collection and perceived "lag", so for every variable that I create that is an Object (String for example) I am making sure that I create it before hand in my constructor and not create temporary variables in simple 10 line functions... (I hope that makes sense)
Anyways I was working though it some more tonight and I realized that I a may be completely wrong about my assumption on garbage collection and primitive types (int, boolean, float) are these primitive type variables that I create in a 10 line function that gets called 20 times a second adding to my problem of garbage collection?
View 2 Replies
View Related
Dec 21, 2009
I'm just wondering what types of accessories Droid users have bought. I have the Multimedia docking and the car dock both from Motorola. I bought them on the VZW website and got both for around $22 bucks each. I've been happy with both even though I haven't been driving much. Has anyone seen a car dock that doesn't block the camera? Mine does. I wanted to launch Qik or Ustream Broadcaster while I drive around. Just thought it would make for some cool video.
View 11 Replies
View Related
Sep 23, 2010
The stock gallery app sucks. Is there an app out there that let's me organize pics in different folders, and ideally allows me to encrypt or lock certain gallerys? I definitely do not like the way each gallery displays a preview picture on its cover.
View 3 Replies
View Related
Jun 22, 2010
Im trying to figure out if the Eris can only detect wireless routers with certain authentication types? My phone does not recognize my wireless router, yet all other mobile devices and laptops are able to see and connect just fine. I'm using WPA2 encryption type for the pw, which is over 30 chars. long. Is this an issue?
View 3 Replies
View Related
Dec 14, 2011
I have a droid X and love it. It's been great and I'm a huge android fan. That being said, after the update from Android 2.2 to 2.3 (gingerbread), I lost the ability to connect to WEP-secured wifi signals. I know it's not just my wifi at home, but ANY WEP wifi... I've been to Starbucks, other people's houses, etc, and had the same issue. Other types of security work just fine, but it essentially means that 50% of the time I can't connect to wifi.
What specifically happens is the phone identifies the signal and asks if I'd like to log in. I type in the password, but the "connect" button is NEVER responsive... it has been greyed out so that I can only press cancel.
In general, I've had spotty connection with other wifi as well (It will work for a few minutes, lose the signal, find it again, work, rinse-and-repeat).
I've googled solutions. Most of the answers ask me to change the actual router settings. I CANNOT DO THIS as I am living in a shared apartment. It is not my router. Moreover, I know that it's not a router problem as I have encountered NUMEROUS routers (including my routers at home that I used all the time before the 2.3 update) that this happens with.
View 1 Replies
View Related
Jul 30, 2010
PDF, docx, xls, ppt. Is there an application on the market that allows me to view all these types of files? I have seen a few, but they all get crappy reviews. Anyone have one that works for them? Also, is it free or paid?
View 3 Replies
View Related
Jun 11, 2010
I have an issue with using contacts on my droid. From within 'contacts' i hit the 'display options' then selecting the email account I see the drop down for system contact groups-friends, family, coworkers. I am wondering if there is any way to create additional contact types or groups? As in I have a specific group of contacts from one website I want to add to a group--can you create a contact type or contact group?? I can't find the option when adding a new contact or when within the display options as mentioned before.
View 1 Replies
View Related
Jun 6, 2010
I may have got it wet after getting caught in a rainstorm Friday night. It wasn't soaking wet and the device never shut off but the x is on the water marker.
Side notes: BB 1.1 and q1.0 kernel.
View 3 Replies
View Related
Feb 22, 2010
Whats the scoop behind which one is really better? The stock messaging app or aftermarket apps (handcent and chomp). I use Handcent, and lately I have been finding it to be quite laggy and slow, even with cache cleared and all threads deleted. Is the only difference between stock and aftermarket, the fact that you can customize? I would much rather have a plain looking stock app that performs well, then a customizable aftermarket app that is slow. I am just looking for some opinions.
View 16 Replies
View Related
May 10, 2010
I made the connection between my service WCF and my app android. But i'm wondering if u have ideas about using complex types (classes created on the server side). should i implement the serialization process? or should i juts create the classes on my client side(android)
View 8 Replies
View Related
Nov 24, 2010
We can launch the app in two ways, 1 is form the app, clicking on device back button till we reach the android home screen and launching the app or 2nd is from the app we can click the device home button and then we can launch.
How can we differentiate these to launches? In 2nd type launch onrestart will be called, onrestart will be called in some other cases also. I want to do something in the 2nd type of launch. Can any one tel me how to do this...
View 1 Replies
View Related
Apr 8, 2010
http://androidplayground.net/web/
they have been spamming the market all day, hope someone can get them shut down.
View 1 Replies
View Related
Jul 2, 2009
I'm trying to make a ListView when every item in that list can be a different type of View. for example the list could be: 1. TextView 2. ImageView 3. MyCustomView
I understands that in order to make a list I need to use an Adapter. the problem is that the Adapter uses a single layout for all of the list items, which will not support the different views.
my goal is to make an abstract View list when I can dynamically add and removes items in that list (each item is a View or subclass of it).
View 4 Replies
View Related
Aug 27, 2010
just wondering if anyone else here ever has this issue and if theres something to fix it? im using swiftkey and sometimes it just decides to go nuts and types a letter 2 or 3 times even though i only hit it once and then the word suggest screws up and also when i hit the spacebar once it goes nuts and puts in a period and starts a new sentance.
View 2 Replies
View Related
Oct 13, 2010
I want to implement a generic, thread save class which takes the RessourceId of an ImageView and the Url (http) where the desired image file is stored. It'll download the image and fills the src of the ImageView in the UiThread.
I thought AsyncTask would be the best thing for me. However I noticed that I only can pass one type of parameters to the doInBackground() Method. Like an Array of Urls. Is that true? What would u suggest me?
View 1 Replies
View Related
Nov 3, 2010
I have a weird issue, I have a Bluetooth speaker that I used for music on my Blackberry Storm, the storm automatically recognized that the speaker was a speaker, but the droid recognizes it as headphones, which is an issue, because the speakers are a2dp, and it's using the headset profile, which makes the sound quality SUCK!
Anyone have any idea how I can change it? I've tried unpairing and repairing it like 3 times now...
View 1 Replies
View Related
Feb 22, 2009
In a list, is it possible to have different kind of views, inflated from different layout XML?
I started with the sample in the API Demo, using the Efficient Adapter, and it starts like this Code...
View 3 Replies
View Related
Sep 28, 2010
Is there any way (and preferably a pre-existing tool) to view the external features of an app, in particular the MIME types an activity supports?
View 5 Replies
View Related
Feb 12, 2009
I can't seem to find out how a MIME type is found. For instance, say I want my application to bring up Contacts. Where can I find the MIME type for that task? I currently have the following:
Intent intent = new Intent(); intent.setAction(Intent.ACTION_GET_CONTENT); intent.setType("*/*");
Intent newIntent = Intent.createChooser(intent, null); startActivityForResult( newIntent , SHOW_VERIFY_ACTIVITY );
And the wildcards work. But I would like to be more explicit. Like the following:
intent.setType("vnd.android.cursor.item/contacts");
...but is not valid.
View 2 Replies
View Related
Aug 24, 2010
When changing the custom locale the label of the phone types change to the appropriate language. Does anybody know how to get the localized label of the phone types?
I pick a contact in my app to get its phone number and if there is more then one number I use an AlertDialog to let the user select the currect one. In this pick list, I want to show the label of the type, so it's easier for the user to select. Since they labels are somewhere in the Android system, it must be possible to get the localized label. Unfortunately, the Phone.LABEL is null when reading the phone number.
View 1 Replies
View Related
Jan 17, 2010
ViewHolder pattern improves ListView scrolling framerate, as seen in following example:
http://developer.android.com/intl/de/resources/samples/ApiDemos/src/com/example/android/apis/view/List14.html
Is it possible to keep this pattern while using different kind of Views for different rows?
In other words, is it possible to do something like:
public View getView(int position, View view, ViewGroup parent) {
// calculate viewID here
if (view == null || *view is not null but was created from different XML than viewID* ) {
view = mInflater.inflate(viewId, null);
View 1 Replies
View Related
Apr 9, 2009
Is there a way to launch a viewer for common file types like TXT, DOC, XLS, PDF from within an app, like Gmail does. Maybe a Google Docs api to pass the file to GD and have it open in the browser?
View 2 Replies
View Related
Nov 18, 2010
In the scenario that I made up a user chooses an application and and I offer him/her the available pieces of data to operate on. I know that the possible data type for an application is specified in its manifest file and I suppose that this information is available, but I have some difficulty finding out what the data content type for application is?
View 2 Replies
View Related
Nov 2, 2010
There are a number of network types defined in TelephonyManager:
NETWORK_TYPE_GPRS
NETWORK_TYPE_EDGE
NETWORK_TYPE_UMTS
NETWORK_TYPE_CDMA
NETWORK_TYPE_EVDO_0
NETWORK_TYPE_EVDO_A
NETWORK_TYPE_1xRTT
NETWORK_TYPE_HSDPA
NETWORK_TYPE_HSUPA
NETWORK_TYPE_HSPA
Is there any info out there that describes what range of speeds you can expect on each of these? If that isn't available, it would be nice to be able to order them based on speed.
View 1 Replies
View Related
Feb 22, 2009
I've been grappling with an issue all day.
I am trying to create a program to deal with .torrent files that are clicked on and/or downloaded by the browser. Currently the downloader reports "Cannot download. the content being downloaded is not supported on the phone"
Im fairly sure this is doable as i recently encountered the same issue with pdf files untill i installed a pdf reader.
View 4 Replies
View Related
Feb 26, 2009
Are following touch events supported by android platform or we have to implement them?
Touch event - Used to focus an item Tap - Execute action when finger is released Tap and hold - Long tap for some timeout Double tap - Tap twice without much delay Flick - Touch, hold, move and release quick Drag n drop - Touch, hold and drag Touch and move - Touch, hold, move and release in straight line
View 3 Replies
View Related
Aug 5, 2010
I"m planning to store my data in a binary format as a resource, read it into an int buffer and basically pass it straight down to a native C++ function, which might cast it to a struct/class and work with it. No pointers, obviously, just ints and floats. The question is - what kind of fixing up do I need to do? I suppose that I need to check ByteOrder.nativeOrder(), figure out if it's big Indian or little Indian, and perform byte-swapping if need be. Other than that, floats are presumably guaranteed to be expected in IEEE 754 format? Are there any other caveats I'm completely overlooking here? (Also - since I'm compiling using the NDK, I know what architecture it is already (ARMv7-A, in my case), so can I technically skip the Indian shenanigans and just take the data the way it is?)
View 1 Replies
View Related
Dec 15, 2009
So my problem is that I've written a function that takes two Doubles, two Int, and a Calendar object on Android (Java). I believe the class provided to allow it to run in a separate thread, AsyncTask, accepts only one type of Object (but allows multiple) as an argument so I figured I might be able to put it in a List or a Linked List or something. Is there such a type that allows multiple data types like that (Double, Double, Int, Int, Calendar), or would I have to create my own object class? I'm a novice programmer so less complicated is probably better, but I'm interested in the best solution as well. What the function does is take a location (double latitude, double longitude), a couple options as integers, and a Calendar Object. It takes the location, options, and date then returns a Time object of the sunrise (or sunset, depending on the options) for that location. and I understand it would probably be best to create a special object class and just pass that, or override the background thread class, but I'm pretty new to object-oriented programming so the less overhead the better (for now). (Update) After a lot of work, it ended up being easier making a data-type class and just using that. The right way turned out to be easier in the end. Who'd a thought.
View 3 Replies
View Related