yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] xdaid:
FYI, in order to get those info you have to render a GLSurfaceView.

You could do it this way:

Make a dedicated activity with the only purpose to catch the GPU info you need.

Better if the activity looks even translucent.

package com.my.fkn.pkg;

import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;

import android.app.Activity;
import android.content.Intent;
import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

public class TestGL extends Activity
{
GLSurfaceView mGLSurfaceView;

final Handler h = new Handler()
{
[MENTION=439709]override[/MENTION]
public void handleMessage(Message msg)
{
if (msg.what == 0) { close( (String)msg.obj ); }
}
};

GLSurfaceView.Renderer renderer = new GLSurfaceView.Renderer()
{
[MENTION=439709]override[/MENTION]
public void onSurfaceCreated(GL10 gl, EGLConfig config)
{
gl.glClearColor(8, 8, 8, 0);
String glInfo = gl.glGetString(GL10.GL_RENDERER);
glInfo = glInfo + "\n" + gl.glGetString(GL10.GL_VENDOR);
glInfo = glInfo + "\n" + gl.glGetString(GL10.GL_VERSION);
glInfo = glInfo + "\n" + gl.glGetString(GL10.GL_EXTENSIONS);
Message.obtain(h, 0, glInfo).sendToTarget();
}
[MENTION=439709]override[/MENTION]
public void onSurfaceChanged(GL10 gl, int width, int height) { }
[MENTION=439709]override[/MENTION]
public void onDrawFrame(GL10 gl) { }
};

[MENTION=439709]override[/MENTION]
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
mGLSurfaceView = new GLSurfaceView(this);
mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 0);
mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
mGLSurfaceView.setRenderer(renderer);
setContentView(mGLSurfaceView);
}

public void close(String glInfo)
{
Intent intent= new Intent();
intent.putExtra("GLInfo", glInfo);
setResult(Activity.RESULT_OK, intent);
finish();
}
}

As you can see once the GLInfo has been collected the activity finishes, it's a matter of half a second.

Now, from your main activity:

Start the TestGL activity

private void startTestGLForGPUInfo()
{
Intent i = new Intent(MyMainActivity.this, TestGL.class);
startActivityForResult(i, GL_REQUEST_CODE);
}

and get the result

[MENTION=439709]override[/MENTION]
protected void onActivityResult(int requestCode, int resultCode, Intent intent)
{
super.onActivityResult(requestCode, resultCode, intent);
if (requestCode == GL_REQUEST_CODE)
{
if (resultCode == Activity.RESULT_OK)
{
String[] gi = intent.getStringExtra("GLInfo").split("\n");
String glRenderer = gi[0];
String glVendor = gi[1];
String glVersion = gi[2];
String glExtensions = gi[3];
}
}
}

:)
[Java for Android App Development] GoldSoft:
thanks for the help

thanks for the help !

i try it but a got full of error

I hope it is not rude to ask,

can you send me any working program ?
[Java for Android App Development] xdaid:
I suspect you even don't know how to build your main activity, keep trying to fix those errors you'll learn a lot.

:)

OK that was the hard way, the easy way is just below ready to download. It's a working mini app project.

Unzip and import the project in Eclipse, once ready run as Android application.

Regarding the code the interesting part (at least for your purpose) is all in the TestGL activity.
[Java for Android App Development] GoldSoft:
thanks !!!!!

thanks !!!!! its works !!!! :good:
[Windows Mobile Development and Hacking General] Deleted member 223674:
Hi folks,

I have to send AT-commands to my PDA but the WriteFile(...) command returs "access denied". I took the code from Malcom Germain. Has anyone if you encountered the same problem or know what the problem could be.

http://xdaforums.com/viewtopic.php? t=3347&highlight=location

Regards

Aaron
[Galaxy S III Q&A, Help & Troubleshooting] Lynchie87:
Evening All,

This is most definitely a cry for help from someone not new to Flashing Phones. I have been flash ROMS sicne the days of my HTC Desire. I have never encountered an issue up until recently.

My S3 was running perfectly fine on Android Revolution 16.5. I generally always charge my phone at work and at home so I always have it on. Last night my battery died as I left my charger at my girlfriends. After popping around and picking it back up I charged my phone. It booted up to give me a System UID's inconsistent error for no reason.

I did some searching around and attempted to rectify this matter with the various Factory Resets, Fix Permissions etc. and as far as I got was that I would get to the Samsung Logo and then it would hang.

After much dicking around with ARHD I decided to flash Stock Firmware from Sammfirmware.com. I did this using the Unbranded Firmware and going back to what my Galaxy S3 started with.

GT-I9300_BTU_I9300XXALF2_I9300OXAALF2_I9300XXLF2.tar.md5

This worked and I got safely back into my phone albeit with no signal/mobile network. I looked around and thought because my carrier is O2 I'll flash the O2 firmware. This didn't work so I went back to flashing the unbranded firmware again where I was on before I got this in ODIN:

<OSM> GT-I9300_BTU_I9300XXALF2_I9300OXAALF2_I9300XXLF2.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> boot.img

<ID:0/003> NAND Write Start!!

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<ID:0/003> Added!!

I now an issue because bootup is stating my firmware upgrade has failed, and now ODIN refuses to reflash the MD5 file again. I just keep getting the same failure message. I am able to reboot into Download Mode and that is it.

Is anyone able to offer me any kind of assistance please?

Mobile Phone: Samsung Galaxy SIII i9300

Carrier: O2

Regards,

James
[Galaxy S III Q&A, Help & Troubleshooting] Lynchie87:
ODIN has now told me this:

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> GT-I9300_BTU_I9300XXALF2_I9300OXAALF2_I9300XXLF2.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003>

<ID:0/003> There is no PIT partition.

<ID:0/003> Added!!

<OSM> All threads completed. (succeed 0 / failed 1)

Guess its game over now then?
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
user flashed wrong file and damaged wiped pit . Or used wrong PIT or ticked repartition etc etc .

You need to flash the correct PIT file see multiple identical posts .

may help.

http://xdaforums.com/showthread.php?t=1796062
[Galaxy S III Q&A, Help & Troubleshooting] Lynchie87:
Hi,

Thanks but I can't even Flash the PIT File :

<ID:0/003> Added!!

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Set PIT file..

<ID:0/003> DO NOT TURN OFF TARGET!!

<ID:0/003>

<ID:0/003> Re-Partition operation failed.

<ID:0/003> Added!!

<OSM> All threads completed. (succeed 0 / failed 1)

:(
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
If its not the correct PIT file it will fail .

Looks a service centre job now .

jje
[Galaxy S III Q&A, Help & Troubleshooting] Lynchie87:
Well any suggestions on how to obtain the correct PIT file then?

Ta.
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
sammobile

.com

jje
[Galaxy S III Q&A, Help & Troubleshooting] abyisforyou:
u should flash firmware using multiple files... lyk bootloader, csc, pda.. etc..

for creating odin ready pack, search for splitfus in google..
[Android Apps and Games] maffz:
Hi. I am looking for a tool or an app that can freeze the time count on a specific app. or trick the app to think it is a different date or time than it really is.

I have been searching for the past 2 days and cant find anything like that for android. only for windows.

Thanks

//maffz

edit* I was thinking maybe remove the apps permisson to read time and date?
[Xperia Arc Themes and Apps] gabrielmop:
Hello everybody, i'm here today for bring to all of you the new Google Play v4.0.25, all the interface of the app was remodeled, and the colors also changed too, now the colors that remain on all the app is the white and green (I think is more beautiful now), the home page of the app is now more organized, with every app in your own category, for me now the app is more faster (I only use WiFi 600kb on my phone) and the old google play takes a lot to load properly, now lets get to the screenshots:

View attachment 1892180

View attachment 1892182

View attachment 1892186

View attachment 1892189

View attachment 1892194

View attachment 1892195

View attachment 1892197

View attachment 1892198

View attachment 1892206

Just download the new google play and install like a normal app, if don't install, try to manually install with any root explorer of your choice, but before make sure you have a backup of you system, i'm not responsible for any crap that can happen on your phone!!

Link to download the new google play: https://www.box.com/s/xed1o53ok35l3t5txzqy
[Xperia Arc Themes and Apps] Master of Bisaster:
There have been posted already two threads just in Arc section, additionaly more in Android Apps Forum!

The one from apmartin1991

And one from n1kolaa
[Xperia Arc Themes and Apps] gabrielmop:
Oh, i don't know, sorry for that
[Xperia Arc Themes and Apps] matgras:
I am getting tired of those "playstore update" threads

sony xperia ray

ics 4.0.4 rooted

stock rom
[Xperia Arc Themes and Apps] Clark Joseph Kent:
OP, I will ask you to read the Forum Rules....

1. Search before posting.

Use one of our search functions before posting.
[myTouch 4G General] bertscookie:
Mods if you think this should be in a different location feel free to move it. Also I'd like to see a sticky APN thread, because apparently google is too hard to use.

I thought I'd post this because it comes up alot and there isn't a single place this information sits(as far as I could found in my searches). Also I have to find them all over again when it comes up. So here it is.

The KB from T-Mobile:

http://support.t-mobile.com/docs/DOC-1979

APN settings laid out in the KB:
Name: T-Mobile
APN: epc.tmobile.com or fast.t-mobile.com (for LTE devices)
Proxy: <Not set>
Port: <Not set>
Username: <Not set> [T-Mobile states for the MT4G/Glacier to enter "None" (without quotes) for this and to NOT leave this as <Not set>]
Password: <Not set>
Server: <Not set>
MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc
MMS proxy: <Not set>
MMS port: <Not set>
MMS protocol: WAP 2.0
MCC: 310
MNC: 260
Authentication type: <Not set>
APN type: default,supl,admin,dun,mms <-- Specified for MT4G otherwise --> <Not Set> OR Internet+MMS (depending on software version)

If you find yourself not able to send MMS messages it is most likely because the proxy,port,username,password fields are not <Not Set>. Just tap these values and delete any information in them. I always restart but not always necessary.

Some people enter 216.155.165.50 for the MMS Proxy and 8080 for MMS Port I have never had to and am not exactly why these values might be needed but try them if the T-Mobile settings don't work.
[myTouch 4G General] popol123:
thx

just what I was looking for :good:
[myTouch 4G General] aliamin86:
The mms proxy and port is the old settings for Simple Mobile
[myTouch 4G General] dannieloco:
I wonder if these settings might help S3 phones get LTE :/
[myTouch 4G General] x_789:
I have been trying to get an ATT GS2 - I777 that is rooted and unlocked running on tmobile to accept and receive photos with texts for a week with no luck. I have used the settings provided by T-Mobile with no luck. I am running ICS though and it has a couple different settings. Any idea if that is what is causing it not to work. I can send regular text fine but it dies if you try to send or receive an image. Sending an image shows sending and it never goes. If I try to send from another carrier to this phone it comes back with a failed message in about 5 minutes.

The KB from T-Mobile:

APN settings laid out in the KB:
Name: T-Mobile
APN: epc.tmobile.com or fast.tmobile.com (for LTE devices)
Proxy: <Not set>
Port: <Not set>
Username: <Not set>
Password: <Not set>
Server: <Not set>
MMSC: had to remove due to spam filter.
MMS proxy: <Not set>
MMS port: <Not set>
MMS protocol: WAP 2.0
MCC: 310
MNC: 260
Authentication type: <Not set>
APN type: <Not Set> OR Internet+MMS (depending on software version)

First I have Use Packet Data and Data Roaming checked.

Then I got to APNs

There is NO MMS protocol listed

APN Type shows Internet+MMS+SUPL or each listed individually.

Then APN Protocol is IPv4 or IPv6 or both together.

APN Protocol when roaming also shows IPv4 or IPv6 or both together.

Then APN enabled has a grayed out check box that I can't select. Shows APN enabled.

Last is bearer - LTE or eHRPD or Unspecified.
[myTouch 4G General] bertscookie:
Well I would keep it ipv4. If you can leave any extra settings blank do that. Definitely use APN.

Have you tried leaving everything blank or "not set" except for the servers? The MMS issue is definitely your APN settings.

Sent by the power of Ra
[myTouch 4G General] SBGS-FTW:
Try APN name "T-Mobile US". Everything as shown in the article.
[myTouch 4G General] kulcris:
APN settings laid out in the KB:
Name: T-Mobile
APN: epc.tmobile.com or fast.tmobile.com (for LTE devices)
Proxy: <Not set>
Port: <Not set>
Username: <Not set>
Password: <Not set>
Server: <Not set>
MMSC: had to remove due to spam filter.
MMS proxy: <Not set>
MMS port: <Not set>
MMS protocol: WAP 2.0
MCC: 310
MNC: 260
Authentication type: <Not set>
APN type: <Not Set> OR Internet+MMS (depending on software version)

i believe this may be wrong. the apn fast.tmobile.com should be fast.t-mobile.com

same with epc.tmobile.com (epc.t-mobile.com)

it would not work for me without the dash. (made an account just to post this found with google)
[myTouch 4G General] bertscookie:
I always have used. epc.tmobile.com however the mmsc uses the T-Mobile.com domain. I can upload screenshots of mine but they are there same as the document. However the name is "T-Mobile US" but I don't think that matters.

Sent by the power of Ra
[myTouch 4G General] ofadl:
my tmobile s3 all messed up

Hey guys,

I just recently bought a version samsung galaxy s3, with a sim card slot. I now use it with t-mobile and it works fine, cant call, send texts, browse internet and e.t.c. I have one problem with the text messaging, i cant receive pic messaging and i dont know why. The message comes to me as a multimedia file, but i press download, and it just tries to download, without making any progress. Can anyone help?
[myTouch 4G General] N_otori0us_:
lol this is a MT4G forum.

And you said "can't call" is that a splling error?
[myTouch 4G General] ofadl:
im sorry, that was a spelling error, the phone works perfectly fine, except for the picture messaging part i mentioned above
[myTouch 4G General] bertscookie:
I've seen this happen often with areas of poor or slow network coverage. If the coverage is full 4g try rebooting the phone that helps sometimes

Sent by the power of Ra
[myTouch 4G General] ofadl:
I dont know if it matters or not, but i do not have mobile data on my phone, but i was on wifi when i tried downloading it. I reset the phone, and im still getting same thing
[myTouch 4G General] bertscookie:
As far as I know, you have to have mobile data in order to receive MMS(picture messages) for SMS (text message) you only need network. Message can't be sent or received via Wi-Fi.

Sent by the power of Ra
[myTouch 4G General] ofadl:
so i have to have an active mobile data plan with t-mobile? because i remember with a different older previous phone, i didint have data with them and i received pic messages
[myTouch 4G General] bertscookie:
There's an article out there that follows the entire messaging cycle. To my knowledge, which may be wrong, Android routes all messages through the radio. So that if you have Wi-Fi on and your radio off, none of your messages will send until your GSM radio is on and has connected to a network.
[myTouch 4G General] ofadl:
My radio on? Can you elaborate please, i have been able to send and receive normal text messages without wifi. I do have a unlimited messaging plan with them. The problem is, the MMS messaging, or the messaging with media files such as pictures
[myTouch 4G General] bertscookie:
Sure. When I say Radio I mean the GSM wireless radio, which is responsible for the wireless communication between your phone and the service provider's cell towers. And, to my knowledge, all messaging is sent and received through the cellular (GSM) radio through your cellular carrier (T-Mobile in this case.) As for MMS I was under the impression that went through the data network connection and SMS was handled just with the mobile network (Voice call etc...) Make sure your messaging plan includes SMS, if it does contact the carrier (T-Mobile) and make sure they haven't messed anything up. (maybe not phrase it quite like that) but inquire to make sure it is all good on their side.
[myTouch 4G General] jordy787:
Im in the us and im trynna text someone in British columbia and my text wont send out but i can recieve hers what can i do to fix this ?
[myTouch 4G General] shizenyasuya:
if these settings don't work for you on an LTE device, instead of, "fast.tmobile.com", try, "fast.t-mobile.com" this fixes the problem where you have good lte signal reception, but no internet connectivity.
[myTouch 4G General] jordy787:
it worked thanks !
[myTouch 4G General] nickacs1:
Hey everyone...

I just ported to TMo $30 prepaid plan last week and looks like I have the opposite MMS issue. I can send pics and/or group MMS texts to my friends, but I can nothing in return. Nada, zip. I ported from ST A&T from the last 4 months where this all worked perfectly. So, I know it's carrier and/or plan specific. I say plan specific because 2 of my coworkers have postpaid TMo accounts with SG3's and all work fine for them.

Any idea? I called 611 tech support tonight and they couldn't figure anything out, so they opened another helpdesk ticket where someone's supposed to get back to me soon. uggg

Thanks!
[myTouch 4G General] Hypoxic1:
- Take 2 screenshots of your APN page (it'll take 2).

- Which messaging app are you using?

- Do you have the STOCK MESSAGING app disabled/frozen/deleted?

Please provide the above info so that others may better help you. :fingers-crossed:
[myTouch 4G General] jlewisnj:
I am on the same TMo plan and have no problems with MMS (using Handcent SMS)..

Running CM7-2013411-UNOFFICAL on the mytouch.

Here are screenshots of my APN settings if they help
[myTouch 4G General] nickacs1:
Hi guys..

Thanks for the info/screenshots.. Well, not sure what happened, but all of a sudden my inbound MMS started working yesterday?!?

I made 2 changes:

- Changed my APN type from the usual 'default,supl,mms' to 'default,supl,admin,mms,hipri'. I found these extra types from hitting a Solavei help page for APN settings/Android devices. While I'm not using Solavei service, just regular TMobile, I still figured, what the heck, can't hurt!

- I've been using the msg app, Textra, since it launched back in late May and have loved it. Nice, simple and minimalistic for my taste. I changed the 'Send Size Limit' from 300KB to 'No Limit'.

I then texted, after like 100 times, my same coworker with a Droid Maxx to send me another picture. This time it came through! Then I texted another coworker on his TMo SG3 to send a pic and that one came through. Lastly, I group MMS texted them both and sure enough, the reply came back in a single, group thread!

On another thread, someone said he ported from ST AT&T to TMobile prepaid and had MMS issues that after the first week he ported, things just "started working". 2 days ago was my 1 week after port, so maybe so?!?

Appreciate it guys!
[myTouch 4G General] dijit4l:
YES!

That's what my problem was! I tried fast.t-mobile.com without the dash and had no connection, but I added the dash and it works! However, epc.tmobile.com is correct (without the dash, both are listed in T-Mo's KB article: http://support.t-mobile.com/docs/DOC-1979). As soon as the dash was added, LTE kicked in!
[myTouch 4G General] bertscookie:
Hey sorry. I'll update the op Soon. I've been super mobile lately. Thanks everyone for all the info

Sent by the power of Ra
[myTouch 4G General] bertscookie:
OP Updated :)
[myTouch 4G General] Nickeler:
Worked like a charm for me on LG Optimus Pro G (E980) :good:
[myTouch 4G General] Ravewolf2013:
I just recently rooted my Verizon S3 to use with T-mobile,but in my APN's, I don't have the mms protocol,so I can't change it to WAP 2.0 (or however it goes,trying to do this from memory). My service is edge(we have 4g in this area), and I can't send out pic mssgs. What did I break???:(
[myTouch 4G General] pravato:
GT-I8730

Hello,

I am Brazilian and I'm on vacation in Florida. I bought a SIM card from T-Mobile, but my Samsung Galaxy Express (GT-I8730) only displays the connection type 2G. At no time could establish 3G or 4G.

I performed all the suggested settings for you and nothing worked.

What is the problem?
[myTouch 4G General] shizenyasuya:
Heya, according to http://pdadb.net/index.php?m=specs&id=4171&view=1&c=samsung_gt-i8730_galaxy_express your phone isn't entirely compatible with t-mobiles 3g or 4g network. http://en.wikipedia.org/wiki/T-Mobile_US Although they have some overlapping bands, they arent necessarily used on your phone the way that t-mboile needs them set up. I wouldn't advocate this, but you might be able to pull a modem from a t-mobile usa equivalant phone and install it on your phone to get the firmware to use the hardware the way t-mobile wants it. But that's a bit much. Before going that far, it might be worth poking around in a "hidden menus" app to see if there is support for switching network modes beyond what's available in the main connections menu. This still might not work, but I hope it's at least interesting to look into.
[myTouch 4G General] TanKCR:
Can't Send SMS

Has anyone heard of an issue of not being able to send SMS unless you are on E? Also when I search available networks it never finds anything, could this be an issue as well?
[myTouch 4G General] bertscookie:
To my knowledge if you have bars you have text (SMS) Pictures(MMS) will require a data connection, so E or the like. Although E will be SLOW. Available networks should come up T-Mobile and possibly ATT. Does it say you're connected to a network?
[myTouch 4G General] bertscookie:
Sorry for a late reply. Hope you figured this out by now. But I'm pretty sure the stock Verizon S3 doesn't have APN (Not sure at all on this) So could be the ROM not doing APN correctly. So try a different ROM *FULL WIPE* Also it may not be supported. Are you using stock app to send MMS?
[myTouch 4G General] jrny99:
T-mobile Family plan thru Walmart

here is the link for APN settings

https://www.myfamilymobile.com/Supp...94-457c-90a3-7c8b7ac7b1f8#GeneralFAQ-Answer15
[myTouch 4G General] TanKCR:
Yea, I am good to go on connectivity, but SMS fail on 3G and H+, they only go out when on E or WiFi.
[myTouch 4G General] bertscookie:
Yea definitely apn related. EDGE is below g so any g/hsdpa won't work without those settings. What about an apn app? Maybe it will force the settings?

Sent by the power of Ra
[myTouch 4G General] WeylinS4:
Hi,

I found how to change the APN proxy in command line with adb and sqlite3

I used it in a batch file

I leave this here :

adb shell "echo \"UPDATE carriers SET proxy='1.1.1.1',port='8080' WHERE apn='apn_name';\" | su -c sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db"

And I was anable to download sqlite3 on internet

I leave this here too

Hope this help someone
[myTouch 4G General] GalaxySmokes:
Smooooth liquid perfection. Thanks so much for this. Just what the doctor ordered.