Android :: Same Code & Phone Models - Inconsistent Results

Dec 14, 2009

I recently added a feature to my app that allows the user to send a report via a message chooser (all have chosen gmail) that helps mitigate the fact that I don't have all the physical phones to test on. Execution worked as expected on my G1 and the emulator, however, to my horror as users began sending them in most of them were incomplete! Pseudo-code of what I am doing is as follows: On my phone and the emulator, all of the packages are inserted into the email. However, most of the emails I get, even from the same exact phone model/carrier/OS version, only contain "Text1". Users that have automatic signature insertions even have that at the bottom, so it's not that the email is being cut off somehow, it's that size is apparently 0. That is the only thing I can think of. Every once and a while I will get a full email though. This frightens me because what other APIs run fine in my testing but not user phones? What's going on here?

Android :: Same code & phone models - inconsistent results


Android :: Inconsistent Results From Date Additions Loop

Dec 6, 2009

I am running code to return date-based calculations. The method is designed to calculate the number of work days given a beginning and ending date and I pass in the elements of the dates, create two calendar objects from the two dates and compare them.

Tell me if there is a bug causing inconsistent results from

c2.add(Calendar.DATE, 1);

or possibly the Calendar.after method ...?

c2.set(ccyy, mm, dd); c4.set(ccyyNew,mmNew, ddNew);

c4.after(c2)

View 6 Replies View Related

Android :: Where To Get AVD Files To Match Various Models Of Phone?

Sep 3, 2010

Is there any place where I can get AVD files to match various models of phone?

View 3 Replies View Related

Android :: How To Parse Google Search Results In Android Code

Nov 24, 2010

What is the most common way to parse the results of the google search, and turn this:

CODE:.....

Into this:....

View 1 Replies View Related

Android :: Android Apps Crashing On Different Phone Models

Nov 20, 2010

I recently created a new feature in my apps that allows the user to check if there is an update by getting an HTML page, looking through it, and comparing the versions. However, this is causing the application to force close on startup for many of my users using Samsung and HTC phones, but works just as intended on droid x, incredible, and 2. I can't get my hands on any of the phones that are currently crashing and have no idea where to start in fixing it. I use a AsyncTask to search, and start it using.

View 2 Replies View Related

Android :: 3d Models And Open GL

May 9, 2009

I've managed to get some basic 3d stuff working quite nicely on my Android device. My question is how do you define/create more complicated 3d models? Obivously using int[] arrays of vertices hand written is quite time consuming and error prone. Are there any modelling tools that can be used?

View 2 Replies View Related

Android :: Predefined Licensing Models

Oct 25, 2010

As I understand, currently there exist two of them, to relieve devs from implementing their own ones, which are -strict -servermanagedpolicy However, I'm missing a predefined policy that actually is the counterpart to the soon deprecated "copy protection mode", ie one that will check once, and then keeps silent for weeks or even months, instead of harassing users to make an online connection. So, I'd like to request to please add a third predefined policy to cater to our laziness. A policy that is the counterpart to the actual old 'copy protection' thingy. Apart from this I don't really see why an app that has been correctly installed by the market with device-based signature checks and all really needs to be checked every 5 days? Wouldn't that only make sense if the app is sort of subscription-based?

View 2 Replies View Related

Android :: Database And Web Service Models

Aug 20, 2010

I'm watching the 2010 Google I/O video on this topic and I have a few questions to make sure I understand properly. Google I/O 2010 - Android REST client applications Please note I also have a very limited understanding of CursorAdapters Right now my application just has a UI layer. I've created an object called DbAdapter using some Google tutorials to create a small database and a table in that database. I've created a class I'm calling DataBroker (extending ContentProvider) to manage retrieving data from the database and calling web services to update data. Scenarios:

1) Suppose I want to display a list of items in my ListActivity. Am I correct in assuming I will write a function in my DataBroker that creates a Cursor to the table in my database that holds those items, fire up a service which launches a thread which calls a web service to get additional items, then return the Cursor to my UI thread? Doing this would likely return the Cursor to my UI thread before the web service finished, but, I'm assuming, once the CursorAdapter has a Cursor, it will automatically show any changes made to that database table, yes?

2) Now I have a list of items in my ListView. Suppose I give the user some functionality to delete an item. The user executes this functionality. It should call a function in my DataBroker which updates the row in my database corresponding to that item, setting the status column to STATE_DELETING (which will remove the row from the ListView because the Cursor has a clause excluding this state), then fire off a service that fires a thread that hits my web service, then deletes the row in the database when finished? Also, suppose I have multiple Activities, am I looking at having a static Cursor for each Activity with a list, grabbing that Cursor in the Activity's onCreate, and if that Cursor is null, hitting my DataBroker?

View 1 Replies View Related

Android :: Portrait QWERTY Models Coming Down

Oct 31, 2010

Is there any portrait QWERTY models coming down the stretch besides the already announced...?

I know Motorola have several models (CHARM, DROID PRO, SPICE) but I want an open phone (custom ROMs).

The other current/announced models are basically non-existent.

View 4 Replies View Related

Android : What Is Context For / Save Models In Database?

May 17, 2009

I have just started on a new application that will use SQLite for persistance and Im a bit confused over the usage of a context when utilizing the SQLiteOpenHelper.

I have a base class called Storable, which my models extend if they need to be persisted. i had intended to use a synchronized singleton database adapter, but I can't for the life of me understand how to utilize the SQLiteOpenHelper as it requires a context, which my models don't appear to possess.

I'm aware that I can get around this by not using the SQLOpenHelper - but if this restriction is in place, I would assume its to prevent people creating apps "the wrong way" for android.

What is the best practice way for saving models in the database?

View 8 Replies View Related

Android :: Why Docs Are Inconsistent

May 27, 2009

I have looking for something and found these inconsistencies in the online documentation

Now when I try to find the 'notifyWithText' api, I could not find it.

Another example is IntentReciever. I just want to know is this class exists? As I found code in this forum itself using IntentReciever, but I cant find this class in the doc.

And why standard intents like action android:name="android.provider.Telephony.SMS_RECEIVED are not documented?

View 11 Replies View Related

Android :: Inconsistent Naming For SDK 2.1

Apr 6, 2010

I find that the name of google maps api directory in 2.1 platform is wrong google_apis-3-r03 while all others google_apis-4_r02 i.e - prefixed instead of _ used for release.

View 2 Replies View Related

Android :: Loading 3D Models - OBJ File Into My Own Model Class

Mar 11, 2009

How are people here loading in their models? I'm just manually parsing a OBJ file into my own model class and drawing that.

View 4 Replies View Related

Android :: Original Firmware Identification Strings For Different Models

Mar 29, 2010

Is there anywhere a summary of Build.MODEL strings for different Android handset models? Something like:"Hero" - HTC Hero "ERA G2 Touch" - branded HTC Hero "T-Mobile myTouch 3G" - branded HTC Magic "GT-I5700" - Samsung Galaxy I'm curious what is the percent of rooted devices among my app users, but sometimes is hard to tell which device is which (and yes, I know rooted firmware can mimic vanilla one, it just usually doesn't).

View 1 Replies View Related

Android :: Inconsistent Handler Behavior

Sep 30, 2010

I am using a handler inside my service to display notifications at a certain time using the Handler.postDelayed method. My application runs fine on the emulator just as expected satisfying all cases. But when I installed the same on my HTC Wildfire, it simply doesn't happen as anticipated. Notifications are displayed at a random manner after the scheduled time and some notifications even fail. I'm monitoring my service from the Applications > Running Services and still my service is active.

View 1 Replies View Related

Android :: Inconsistent Ringtone Behavior

Mar 16, 2009

I am trying to add ringtones to the media/ringtones folder from my application. If the phone is connected via USB to a computer or mounted on my Mac, the ringtones do not show up in the SD Card, nor in the Ringtone settings.

But if I run the application with the USB unplugged, the ringtones appear ok. This is not a problem with Ringdroid which does the same thing.

View 2 Replies View Related

Android :: Level Of Detail For 3D Terrains / Models In Mobile Devices

Jun 6, 2010

I am planning to develop for WP7 and Android.What is the better way to display (and traverse) 3D scene/models in term of LoD? The data is planned to be island-wide (Singapore).
1) Real-Time Dynamic Level of Detail Terrain Rendering
2) Discrete LoD
3) Others?
And please advice some considerations/algorithms/resources/source codes. something like LoD book also Okay. Side note: I am a beginner in this area but pretty well-versed in C/C++. And I haven't read the LoD book.
Related posts:
- Distant 3D object rendering [games]
- Chris Pruett's 3D benchmark for Android

View 3 Replies View Related

Android :: Inconsistent Premultiply Behavior In Bitmap

Sep 28, 2010

I have noticed that loading an image into a GLTexture using

CODE:........

Will create a texture with premultiplied alpha. Not a problem, as long as I use glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA) to blend instead of glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) which will cause dark borders.

However, I've found that if I render text onto the Bitmap and convert to glTexture using:

CODE:........

The resultant texture is NOT premultiplied, and using glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA) will cause ugly over- saturated edges when blended into the 3D world. Blending using glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) makes it look right again.

To confirm this, I saved the bitmap into a PNG file and load it as a resource into a texture, and the resultant texture is premultiplied and renders correctly using glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA)

Is there a way to force the text rendering onto the bitmap to be pre- multiplied?

View 2 Replies View Related

Android :: IME Options Behavior Is Inconsistent Across Different Devices

Jun 4, 2009

I noticed that the imeOptions attribute on TextViews behaves inconsistently across different devices. For instance, setting imeOptions to "normal" has the following effects:

1) On the emulator and G1s running 1.5: The OSK will have a "Done" key and clicking it will simply close the OSK with no further action taken (this is exactly what I need)

2) On my HTC Magic (G2), also running 1.5 (of course): The OSK will have an enter key (showing the enter symbol instead of "Done") and when clicking it, the OSK will close and bring up the context menu of the text view... I mean, seriously. That is the last thing any user or developer would expect it to do.

There seems to be no way to simply close the OSK after entering some text on the G2, *except* when specifying flagNoEnterAction in imeOptions, which on the G2 does what "normal" does on the G1, but on the G1, this will lead to the OSK to not respond at all to the enter key (user has to hit "back" to close the OSK).

This is a complete mess, is there any way to have the OSK behave in a sane manner without resorting to hacks (like checking for device models and setting imeOptions programmatically)? Didn't Google say they cared about backwards compatibility before releasing Cupcake? I have nothing but trouble getting my app to look and behave identical on different Android models.

View 4 Replies View Related

Android :: SetChoiceMode - GetSelectedItemPosition & Inconsistent Behaviour

Feb 18, 2009

Got an activity that extends ListActivity. The list is backed up by a custom adapter that extends BaseAdapter. -- getListView().setFocusable(true); getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE); -- I do a simple (getSelectedItemPosition() == == ListView.INVALID_POSITION) check in onPrepareOptionsMenu() to disable the items that require an item to be selected.

Now, what I do after launching the activity (the action takes place under emulator, ver.1.1) an what it looks like: 1) Hit menu - the menu items are disabled - OK 2) Select an item with mouse wheel and hit menu - the items get enabled - OK 3) Click anywhere outside the list, repeat 2). The items don't get enabled - WTF? 4) Start from scratch, select an item hitting Del and moving mouse. The result is the same as for 3).

Why do these (3, 4) things keep happening to me?

View 3 Replies View Related

Motorola Droid X :: Phone In Cheap Hard Case - If Dropped Results In Damage

Jul 18, 2010

So I have my X in a cheap hard case till outterbox makes one. Has anyone dropped their phone yet? If so, how did it hold up? was there any damage?

View 49 Replies View Related

General :: Speed Test Gets Different Results On Phone Compared To Laptop On Same WiFi Connection

Mar 7, 2013

I have a Google Nexus 4 with Android 4.2.2.I've just tried a speed test on it using the Android app (speedtest.net) and it says over wifi I'm getting about 1mps down/upload. I've also tried it on my laptop using the same wifi connection but through the browser using thier website Speedtest.net - The Global Broadband Speed Test and it says im getting about 15 mps down and almost 1 upload.

when I go into Chrome and search for speedtest it goes to the play store with thier app, any way I can access thier site on my phone browser? the desktop site doesn't seem to work?

View 10 Replies View Related

Android :: G1 System UIDs Inconsistent - None Of The Apps Work

Jul 2, 2009

About two days ago my phone started receiving and making all calls as 'unknown'. I decided to wait to go straight to a T-mobile retail store. But today July 2 at 10 am. none of the apps where working, the browser, text messages, none. the phone became crazy I started to receive error messages on the screen. Finally decided to restart the phone, when it turned on again i received the message" g1 system UIDs inconsistent, you need to wipe your data partition or you device will be unstable." it had the I'm feeling lucky button, when pressed, the phone reset itself, most of my apps where gone, but it did not help or fixed anything. Im desperate I love my G1 phone i bought it the next day of the release, it worked great, got my 1.5 update worked fine, 'till now. the problem is where to go for help. If it is an OS problem is it google's fault or T-mobile? I have a flex pay account when i bought the phone. I bought it full price almost $ 500 so to get a new G1 since i am a student i cant afford it. I feel very sad not being able to use it or fix the problem now all my data is gone all my apps, :( i cant even go on the market app to donwload them because i receive the error message of force close.

View 2 Replies View Related

Samsung I7500 :: Battery Used In Any Other Models?

Sep 26, 2010

Anyone know if that battery used in the i7500 is the same/interchangeable with batteries used in any other Samsung phone?

View 2 Replies View Related

Android :: Layout Weight Is Inconsistent For Horizontal And Vertical Orientation

Apr 8, 2009

I have played around a bit with the xml files for creating layouts and can't explain the behaviour of layout_weight when using it in a LinearLayout that has orientation="vertical"

When creating a layout that is horizontal everything follows the documentation, that a child would get more space if it's has the highest value.

But the following code for vertical orientation, give more space to the item with lowest weight.

CODE:..........

And the question is: Is this a bug or just a feature that maybe need more documentation?

View 2 Replies View Related

Samsung Moment :: Replacement Phones With Different Models

Sep 13, 2010

I am on my 4th moment in 3 months. At what point do I push them to replace it with a different model? Do I have any basis for asking for a different phone? On the plus side, I might get one that has properly functioning WIFI.

View 15 Replies View Related

Sony Ericsson Xperia X10 :: SIM Models / Brand Supported

Oct 12, 2010

I would like to know which SIMs are supported by x10 mini. This error is caused by a SIM incompatibility:http://talk.sonyericsson.com/thread/3671?tstart=0 The problem is that the phone doens't support or doesn't like some new SIM models, so, I need to ask my operator sell me a old one meanwhile SE fix this problem.I was looking over the internet and most of people that have this problem have fixed using/buying an old SIM.

View 15 Replies View Related

HTC Legend :: Inconsistent Wifi

May 10, 2010

I recently bought a HTC Legend off ebay since it's not available in Australia but I'm having trouble with the wifi on my home network. It works on occasion but fails most of the time. Sometimes it won't connect at all and just says "unsuccessful" whereas other times it might tell me it's trying to obtain an ip address and then not work.

I've got two computers connected to my wifi as well so it's not my actual connection. Is there such thing as devices competing for wifi? because the few times it's worked was when I was changing my computer's wifi but it sometimes doesn't work even with my computer off!

View 3 Replies View Related

Samsung Fascinate :: Too Much Differentiation With Galaxy Models At Consumers Expense

Jun 30, 2010

Looks like all of the models have something good, but all have something missing. I appreciate differentiation, but this seems silly. Tmo gets 16gb built in, but no flash or FFC (not that I would us a FFC).Sprint gets a keyboard, but not the 16gb built in.Verizon's seems the weakest features of the litter in regards to built in memory (2 wimpy gigs)Best option to me would be the Sprint verison, but with 16gb built in. BTW, where is the flash for camera on the Tmo? Crazy.Samsung should change name to Silly sung.These differences would only be good for the consumer if on the same carrier and still options are too spread out. None of the devices have the complete feature set of the models. Makes zero sense to anyone but Samsung.

View 5 Replies View Related

Samsung Captivate :: Inconsistent USB Behavior

Aug 10, 2010

Sometimes when I plug into my USB car charger, it seems to detect it as a computer, and asks what USB mode I want to use. I can only choose "mass storage", because anything else causes the phone to go into MTP mode & won't go away until I unplug the USB cable. Other times, it just starts charging & doesn't ask for a USB mode. The big issue is that when it does ask for a USB mode, and I set it to Mass Storage, apps like Listen suddenly can't "see" or use the internal SD card & bitches, "No SD card" and stops playing. Can't listen to podcasts in my car? Deal breaker! Why is this so random?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved