Android :: Texture Appears White In Real Device But Not In Emulator

Jul 23, 2009

Texture appears white in the real device but not in the emulator, Ive already tried to find the solution in other POSTS but none of the solutions worked. The problem that I have is that the loaded texture not displayed in the real device (G1, firmware 1.5). If I turn of the texture and put a color in the geometry, it works fine. Details: the file that Im loading has width and height power of 2. And I tried with .bmp and .png files, for both I had the same problem. My code: METHOD used to load texture: private int loadTexture (GL10 gl, Bitmap bmp) int[] tmp_tex= new int[1]; gl.glGenTextures(1, tmp_tex, 0.

Android :: Texture appears white in real device but not in emulator


Android :: Real Device Fps Is Different Then Emulator?

Jul 8, 2010

I developed a game. On the emulator (not froyo) I am getting like less than 10 fps. But on my Nexus One with froyo I am getting 50 fps. Is this normal? Which one should I trust, I want my game to perform good on phones without froyo

View 4 Replies View Related

Android :: Detect On Emulator And Not On Real Device

Jun 15, 2010

Is there a simple way to detect that your code is running on the android emulator and not on a real device? I want to work around differences between emulator + real, e.g. with respect to network connectivity detection.

View 2 Replies View Related

Android :: Communication Between Emulator And Real Device

Mar 29, 2010

I know we can communicate between 2 instances of Emulator. But Is it possible to communicate between the a read Device and Emulator?

View 6 Replies View Related

Android :: Adding Contact Working In Emulator But Not In Real Device

Nov 9, 2010

I implemented an application which will add contacts. It is working in emulator perfectly. I have android 2.0.1 device I am checking in that device but it is not adding contacts to contact list. I have given necessary permissions like write contacts.

View 2 Replies View Related

Android :: Cannot Get Number On Real Device But Code Works In Emulator

Sep 7, 2009

I am trying to create an app that gets the location and telephone number of the phone. This is the Code I am using to get the telephone number (I am focusing on sdk 1.5) and in the emulator this works.

View 5 Replies View Related

Android :: Session Cookies Work On Emulator But Not Real Device

Oct 15, 2010

I'm developing an app using android 2.1. I have a problem with using session cookies to login to a RESTful web service. The code works fine on the emulator, but when I run it on my HTC Magic, the cookie logic doesn't work. I've confirmed that the magic is receiving cookies in the headers by listing them (see attached). Can anyone say why the cookie store would be empty even tho they are in the headers?

View 1 Replies View Related

Android :: How To Texture White Square In Phone?

Aug 7, 2010

Alright, so I've got this OpenGL tutorial I'm basing from, my current code is equivalent to Part II of it, which is here:
http://blog.jayway.com/2009/12/04/opengl-es-tutorial-for-android-%E2%80%93-part-ii-building-a-polygon/
The code for that can be downloaded near the bottom of the page. It leaves you with a white square, and I want to apply a texture to it, which this tutorial series doesn't cover. I can't figure out how to texture my white square, in Android.

View 1 Replies View Related

Android :: Opengl Es Texture Created From Bitmap All White?

Feb 18, 2009

All the textures I create from my resource files are fine, but when I create a texture in the following way... <code> mOverlay = Bitmap.createBitmap((int)mWidth, (int)mHeight, Bitmap.Config.ARGB_4444); mOverlay.eraseColor(0); mOverlayCanvas = new Canvas(mOverlay);

...

Canvas c = mOverlayCanvas; c.drawColor(Color.argb(0, 0, 0, 0)); Paint p = new Paint(); p.setColor(Color.RED); c.drawCircle(160, 240, 10, p);

....................

View 4 Replies View Related

Android :: PC Android Emulator Speed Slower Than Real Device?

Apr 14, 2009

Why is pc android emulator slower than real device but mac IPhone emulator faster than real device? I can understand the latter but not the former!

View 15 Replies View Related

Android :: How Does Emulator Performance Compare To Real Device Performance?

May 23, 2010

I'm looking into writing an Android game, tough I don't curerntly own an Android device. For those of you who own a device, how does the performance on the emulator relate to real device performance? I'm especially interested in graphics related tasks.This obviously depends on both the machine running the emulator, and the specific device in question, but I'm talking rough numbers here.This question is a duplicate, but since that post is heavily outdated, I figured it's irrelevant by now.

View 3 Replies View Related

Android :: Differentiate Emulator Instances And Real Device Instances

Jul 22, 2009

I need to correctly be able to differentiate between emulator instances. I know it's easily done with real devices. With real devices, you can use getDeviceId or getLine1Number from TelephonyManager. With emulators, all the instances have the same device id, same subscriber id, and same line1 number. Is there a way to differentiate them? Using NetworkInfo, I can call the toString method and I get my ip and the port on the computer. The problem with that is that the port is always different. I would like something more stable. Like when you use "adb devices" in command line. Emulator #1 is almost always "emulator-5556" and emulator#2 is almost always "emulator-5554". Is there a way to get the same info I get from "adb devices" in my code? If not, is it possible to use a command line parameter to force the emulator to use a certain phone number?

View 3 Replies View Related

Android :: Android Emulator Vs Real Device

Jul 12, 2009

What are the differences developers should be aware of?

View 6 Replies View Related

Android :: White Screen Appears In Main Activity?

Feb 15, 2010

public class Profile extends Activity{
WebView prof_webv;
private String selected_username;
private static final String INDEX = "http://14.143.227.140";

public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
prof_webv = (WebView) findViewById(R.id.mainwebview);
prof_webv.getSettings().setJavaScriptEnabled(true);
prof_webv.getSettings().setSupportZoom(false);
prof_webv.loadUrl(INDEX);}

@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if ((keyCode == KeyEvent.KEYCODE_BACK) ) {
finish();
return true;
}
return super.onKeyDown(keyCode, event);
}
}

This is my new Activity for a WebView. When the user clicks back, I simply want to close this Activity and return to my previous one. Notice, I put "onKeyDown" -> Finish. However, it's not working. Instead, I click "back", a blank white screen comes up.. (it doesn't even hit that onKeyDown Statement when I try to debug it)! When I hit "back" the second time, then it will go back to my previous Activity.

View 1 Replies View Related

General :: Galaxy Y S5360 Screen Appears Completely White Like Flashlight

Jul 22, 2012

Whenever i start my samsung galaxy y s5360 screen appears completely white like a flashlight, but the phone is working i can recieve callls on my phone but cannot see anything on my device. even in dwnld mode & recovery mode the same problem persits, i cannot see anything .

I have installed custom creed v2.0 rom on my android device. Recently i have replaced motherboard of my device. Under Warranty.

I Want To Flash stock rom on my device but i cannot see anything on my device so i am unable to flash my device.

Another problem is that when i enter download mode odin detects my device but when i try to flash the rom it says unable to open com port.

At Present my device is working properly but when i restart my device the problem returns !!!!!!

View 1 Replies View Related

Android :: Maximum Texture Units - Emulator Setup

Apr 30, 2010

this is just an issue with how the emulator is setup, but I'm not sure.

I'm (natively) calling this:

int maxt = 0;
glGetIntegerv(GL_MAX_TEXTURE_UNITS, &maxt);
__android_log_print(ANDROID_LOG_VERBOSE, "Native", "Max textures %d", maxt);

This only outputs 2... could it be possible that I'm going to be allowed only 2 textures? That seems impossible... GL_MAX_TEXTURE_SIZE reports 4096 which is more than enough. I suppose you could lay everything out on a couple of 4096x 4096 images (seems a bit crazy) but anyway... Am I just running into one of things that will be different per phone processor?

View 9 Replies View Related

Android :: Opengl Texture Working On Emulator But Not On HTC HERO

Jul 14, 2010

In my application, I have a NDK native code that uses OpenGL 1.0 to apply a texture to a rectangle in order to draw an image on the screen. It is working fine on the emulator, but when I test it on the HTC HERO android device, it only draws a white rectangle without texture. Anybody else had the same problem? Did anybody find a solution?

Here is how I initialize openGL in native code:

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

And here is how I draw the frame in native code:

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

View 3 Replies View Related

Android :: Using Adb Logcat With Real Phone And Not Emulator

Sep 14, 2010

when I'm using the Android emulator I can do "adb logcat" to see output messages (log / system.out.println) originated from my code. It also shows the stack trace of exceptions which happen during execution.But, when I'm using a real phone, "adb logcat" does not do / show anything. I also tried "adb -d logcat" which also does not display anything.Is there any way to get it working with the real phone?

View 5 Replies View Related

Android :: GlTexImage2D Gives GLError 1281 On Real Phone / Not On Emulator

Dec 12, 2009

I used a ndk library to decode the frames and update the ShortBuffer with RGB565 format. I allocate the buffer in the activity like below. Code...

View 4 Replies View Related

Android :: Get Emulator To Use Real SD Card (via Reader Attached To Computer)?

Apr 23, 2010

Is it possible to get the emulator to use a real SD card (via a reader attached to the computer) rather than an image?

It's probably something blindingly stupid I missed.

View 2 Replies View Related

Android :: My Location Not Getting In Real Device

Mar 31, 2010

I have Samsung Galaxy. I want to find my latitude and longitude programatically. I can get the location on emulator using eclips Emulator Controlbut, but not able to get the latitude and longitude in device. Is there any settings in mobile which I have to do?

View 16 Replies View Related

Android :: Debugging On Real Device

Sep 17, 2010

I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows).I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is.

View 10 Replies View Related

Android :: Which Is Gps Provider For Real Device?

Apr 15, 2009

On emulator for simulations of GPS there is mock provider "gps" But which is provider for real device , which provider name requires to give? Is it not require to give provider name for appl of real device, will somebody clear for this issue.

View 2 Replies View Related

Android :: Can't Install App On Real Device / Way To Fix?

Jun 3, 2010

I am developing application using Eclipse. My friend has HTC Hero and I am trying to run my application on it, but it says that the application could not be installed. I did the steps which are described in Android DevGuide. I.e. exported my app with the generated key. Am i right assuming that this is enough? As i understand eclipse signs and aligns application automatically when selecting Export.

View 4 Replies View Related

Android :: Map View In Emulator - White Screen

Oct 19, 2010

I tried to use map view to load google map, i have generated the keystore, and put in the mapview, below is my MapView, and also I have changed the Custom debug keystore equal to default debug keystore but still showing me a empty screen. please advise which on i am wrong. I use google api 2.2.

View 3 Replies View Related

General :: Device Stolen Still Appears With Name Of New Carrier

Jul 12, 2012

I noticed that my Nexus One (stolen the 8th of July) still appears on my devices lists on Google Play, with some interesting information I want to clarify that this happens with the Google Account password changed (because I did it after the theft)!

My carrier wasn't Wind but H3G.

I assume there is nothing I can do, because I've changed the password of the Google Account (for security reasons), but I'm curious if there is some different way to find the new SIM number.

The IMEI would be blocked on the entire territory from tomorrow, so this thief will be able to use it with no phone functions.

View 1 Replies View Related

Android :: No Log Cat Message When Debugging On Real Device

Oct 2, 2010

Why don't I get LogCat messages when I debug on a real device as opposed to the emulator?

View 7 Replies View Related

Android :: Testing Game On Real Device

Mar 13, 2009

I am making an android game, but i do not have the money to buy a developer phone. The game is not finished but i should it is testable.. and if i dont test it know i may have a big problem later... it is playable though. Is there somebody who has a real device and wants to test the game for me, just starting it up and playing it a little bit is good enough. It's a 2d airplane shoot gane, much like the old raptor game. If someone is interested please reply, i will sent you the (singed) APK and with some things i want to test (using both the buttons as well as touch screen for gameplay).

View 7 Replies View Related

Android :: Why I Cannot Play Ringtone In Real Device?

Sep 3, 2009

In the emulator 1.5, my app can get and play the contacts ringtone. but after the app installed in the real G2, the app can not play the contacts ringtone, and it does not throw any error. in the G2, I have already the contacts ringtone. Does anybody encounter this before?

View 5 Replies View Related

Android :: How To Set HTTP Proxy In Real Device?

Jul 6, 2009

I had tried to use the sqlite3 to add a proxy information in the com.android.providers.settings/databases/settings.db, but I still couldn't access the Internet through browser on a real device. I had also tried to use the ProxySetting ap to set proxy. It couldn't work either. Is there any idea to set the http proxy on a real device?

View 2 Replies View Related







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