• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Radio Band Changed while trip abroad

On my phone that has a toggle button - is that unavailable on yours?

This sounds a mess. I'd be tempted at this point to either try the fastboot solution or reflash the phone software completely. Unfortunately it sounds like the Sony support solution was just something read from a script (like service providers always say "factory reset" for everything) rather than knowledge of the specific problem.

Down grading S7 to lolipop help

So the original Samsung video app won't run on anything later than 5.1.1 Lollipop? Sure it won't run on Android 6.0 Marshmallow?

Thing is you're just not going to find a Samsung 5.1.1 firmware for a Galaxy S7, as Samsung never made that AFAIK. If you really do need to run this Samsung video app, you're going to have to find an older Samsung device, that had 5.1.1, like an S6 or Note 5.

BTW I know about some things Africa, as we have several thousand African students studying at universities here in Jinan, China.

Help Note 4 n910c

sorry but I have to answer and then Ill post on newer thread, SamMobile for official firmware us not out dated info for official firmware in regards to Samsung. And yes, If its a dated model then Sock is dated but LineageOS is still in active development even on the aging Note 4.




Oh and not to drag it in the mud but just to inform that firmware is technically not considered a rom but if you are referring to Custom roms in regards to the Note 4 Im happy to say "The disservice continues on XDA" jk. I. has to say something as your communication is suggestive of how little I know and that you are myvh more knowlegable than I. Perhaps, If you say I am a horrible speller than I wouldnt have ground to retort, but in regards to a Note 4 .....View attachment 144642 View attachment 144643 View attachment 144644 View attachment 144645

Who said anything about SamMobile containing new Android versions before an OTA uodate? What?

Run AWSiotMqtt subscription in android service

Hi all,
I want run aws iot mqtt subscription in android service. When i was run the application in device,app didn't get message which is sent from client.
My service file:

public class NotificationService extends Service {

private AWSIotMqttManager mqttManager;
Context context;
SharedPreferences sharedPreferences;
String clientId;
public NotificationService(){

}

@override
public void onCreate() {
super.onCreate();
sharedPreferences = getSharedPreferences("ClientId",Context.MODE_PRIVATE);
clientId = sharedPreferences.getString("id","");
Log.d(LOG_TAG,"ClientId =="+clientId);
}

@nullable
@override
public IBinder onBind(Intent intent) {
return null;
}

@override
public int onStartCommand(Intent intent, int flags, int startId) {
startMqttSubscription();
return START_STICKY;
}

private void startMqttSubscription() {
mqttManager = new AWSIotMqttManager(clientId,"end-point");
Log.d(LOG_TAG,"**message service is created**");
try {
mqttManager.subscribeToTopic("home/frontdoor/lock", AWSIotMqttQos.QOS0, new AWSIotMqttNewMessageCallback() {
@override
public void onMessageArrived(String topic, byte[] data) {
try {
String msg = new String(data,"UTF-8");
Log.d(LOG_TAG,"message"+msg);
Log.d(LOG_TAG,"topic"+topic);
Toast.makeText(getApplicationContext(),"messages arrived="+msg,Toast.LENGTH_SHORT).show();
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
}
});
} catch (Exception e) {
Log.e(LOG_TAG, "Subscription error.", e);
}

}

@override
public void onDestroy() {
super.onDestroy();
}
}
Please can anybody help me.

User-Friendly Guide to Fix my HTC One X

Alright so I did the getvar all and this is what I got:
(bootloader) security: on
the only thing is....is that you have s-on (security on). you can't do much unless you get s-off. so it looks like phone is not completely rooted. curious how did the phone get in this state? since you have a custom recovery did you make a nandroid backup before all of this began?

edit: sorry, but looks like the devs have figured a way around getting s-off.

Help Please suggest a trustworthy customer ROM to install on Mi 4

most custom roms are safe. most devs are pretty reliable.......now i say most. just like anything, do your research first before installing. always look to xda for custom roms. xda is a developers forum. it is where most will publish their roms or other root goodies.

just make sure to never download anything from an untrusted site.

and lastly before doing anything make sure you have a nandroid backup. do not flash or alter anything unless you do a nandroid backup. if something goes wrong you can go into recovery and restore a nandroid backup and you are good to go.

Help Help me please

Welcome to Android Forums, Sara A! :)
How do i sync my phone and my husbands
We'll need some information in order to help. Please tell us the following:

- your phone's model, e.g., Moto Z² Force Edition

- your phone's Android version, e.g., Oreo, 8.0.0, Pie, etc.

- your husband's phone's model

- your husband's phone's Android version

- what exactly you want to sync, e.g., contacts, text messages, photos, etc.

That should get the ball rolling!

Router set to 40mhz 802.11n, but all phones limited to 65mbps

My laptop with a dual band Intel wifi chip connects to the router at 300mbps, so I know the router is set to 40mhz mode double channel width.
I should be getting 150mbps with a 1x1 antenna.

and yet, all my android devices can only connect to the router at 802.11g speed... 65-72mbps, instead of 150mbps.

The router is sitting a few feet away from the devices.

How do I fix this?

I tested 3 phones and 1 tablet.

Help Is it possible to watch NFL games on your phone for free?

If you're a DirecTV customer, you can watch on your phone--but I'd hardly call it free. :eek:

You not only have to subscribe to their NFL Sunday Ticket package, but their NFL Sunday Ticket Max package:

"Only NFL SUNDAY TICKET brings you every minute of every out-of-market game live every Sunday - and only DIRECTV* has it. And with NFL SUNDAY TICKET MAX, you can stream live games on computers and mobile devices, access NFL.com Fantasy tracking, watch the RED ZONE CHANNEL, and more!"

The very small print says:

"*Subscription renews automatically each season at the prevailing rate (currently $293.94/season) unless you call to cancel prior to start of season."

Default keyboard Galaxy Tab A

Thank you Moody Blues for a detailed, attractive message. I'll certainly investigate. It's amazing to me that guys like you find and implement such things and then take the trouble to help duffers like me.

Also, Dannydet, thank you for your further assistance. I'll investigate your suggestion also. Maybe I did indeed misstep in the prep, in which case Samsung couldn't offer me an option.

Will let you know results later.

How to parse several xml files at the same time and display them with their data in a listview

Hello I would parser several xml files and display their data each in a list. I manage to parse a single file. The code is just below. How to parse multiple files in a folder of external memory and display their data in a list?

this is my MainActivity

public List<ModelKmlData> modelkmldata = null;

private View parent_view;

private RecyclerView recyclerView;
private AdapterListInbox mAdapter;
private androidx.appcompat.view.ActionMode actionMode;
private Toolbar toolbar;
private FloatingActionButton fabbtn;
SqliteHelper sqliteHelper;

public List<KmlDataModel> kmldatamodel = null;

@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_gps_data);

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M){
if (ActivityCompat.checkSelfPermission(this,
Manifest.permission.WRITE_EXTERNAL_STORAGE)
== PackageManager.PERMISSION_GRANTED){

// Analyser les données KML dans un thread non-ui
new LoadKmlTask().execute();

}


else{

ActivityCompat.requestPermissions(this, new String[]
{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1);
}
}
else{
//startActivity(new Intent(getActivity(),
SQLite2ExcelActivity.class));
}

/*sqliteHelper = new SqliteHelper(this);

initToolbar();
initComponent();
Toast.makeText(this, "Appui long effectué",
Toast.LENGTH_SHORT).show();*/
}

private class LoadKmlTask extends AsyncTask<String, Void, Cursor>{
@override
protected Cursor doInBackground(String... args) {

// interroger la base de données et retourner un curseur des
//données kml.
SqliteHelper sqliteHelper = new
SqliteHelper(getApplicationContext());

Cursor cursor = sqliteHelper.getAllKmlCursor();

return cursor;
}

@override
protected void onPostExecute(Cursor cursor) {

String[] dataColumns = { sqliteHelper.COLUMN_KMLNAME,
sqliteHelper.COLUMN_KMLUNID, sqliteHelper.COLUMN_KMLDESC,
sqliteHelper.COLUMN_KMLCOORD};
int[] viewIDs = { R.id.list_item_name, R.id.list_item_title,
R.id.list_item_department,R.id.list_item_email };

SimpleCursorAdapter records = new
SimpleCursorAdapter(getBaseContext(), R.layout.item_inbox,
cursor, dataColumns, viewIDs, 0);

ListView listView = (ListView) findViewById(R.id.list);
if (listView != null) {
listView.setAdapter(records);
}

}

}

the code that parses :

// noms des balises KML
private static final String PLACEMARK = "Placemark";
private static final String DOCUMENT = "Document";
private static final String VALUE = "value";
private static final String NAME = "name";
private static final String DESCRIPTION = "description";
private static final String COORDINATES = "coordinates";
private ArrayList<ModelKmlData> kmlList = null;
private ModelKmlData currentKml = null;
private boolean done = false;
private String currentTag = null;

public ArrayList<ModelKmlData> parse(Context context) {

try{
String state = Environment.getExternalStorageState();
String path = Environment.getExternalStorageDirectory()
+ File.separator + "Fodecc_csv" + File.separator + "GFAM-
20190916-150100.kml";
XmlPullParserFactory xppf = XmlPullParserFactory.newInstance();
xppf.setNamespaceAware(true);
XmlPullParser parser = xppf.newPullParser();

File file = new File(Environment.getExternalStorageDirectory()
+ File.separator + "Fodecc_csv" + File.separator + "GFAM-
20190916-150100.kml");
FileInputStream fis = new FileInputStream(file);
parser.setInput(new InputStreamReader(fis));


//XmlPullParser parser = fis;

int eventType = parser.getEventType();
while (eventType != XmlPullParser.END_DOCUMENT && !done) {

switch (eventType) {
case XmlPullParser.START_DOCUMENT:
kmlList = new ArrayList<ModelKmlData>();
break;
case XmlPullParser.START_TAG:
currentTag = parser.getName();
if (currentTag.equalsIgnoreCase(PLACEMARK)) {
currentKml = new ModelKmlData();
} else if (currentKml != null) {
if (currentTag.equalsIgnoreCase(NAME)) {
currentKml.set_kmlName(parser.nextText());
// currentEmployee.setId(parser.nextText());
} else if (currentTag.equalsIgnoreCase(VALUE)) {
currentKml.set_kmlUNID(parser.nextText());
} else if
(currentTag.equalsIgnoreCase(DESCRIPTION)) {
currentKml.set_kmlDesc(parser.nextText());
} else if
(currentTag.equalsIgnoreCase(COORDINATES)) {
currentKml.set_kmlCoord(parser.nextText());
}
}
break;
case XmlPullParser.END_TAG:
currentTag = parser.getName();
if (currentTag.equalsIgnoreCase(PLACEMARK) &&
currentKml != null) {
kmlList.add(currentKml);
} else if (currentTag.equalsIgnoreCase(DOCUMENT)) {
done = true;
}
break;
}
eventType = parser.next();
}
} catch (XmlPullParserException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}

return kmlList;
}
}

How could I add a loop that will recover all files and view their contents ?

Help Phone stuck at blue screens (Use the Emergency recovery function..." or Download mode (Odin))

All jokes aside, is your phone still recognized by ADB, and is the bootloader unlocked with access to fastboot?

Sorry for the long delay! I just tried to see if my phone is still recognizable by adb. It is not. Should I still try flashing stock rom (the right version/region this time)?

Good/healthy way to charge the phone?

I'm going to recommend you take a look at https://batteryuniversity.com , its articles often include technical details to back up general statements and they also get updated when necessary. Here are a couple of articles you might find useful:
https://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
https://batteryuniversity.com/learn/article/charging_lithium_ion_batteries

That said, there's a massive amount of out-dated information and opinions touted as fact online so finding relevant and accurate info about smartphone batteries can be a daunting task. Choose your sources carefully.

Filter

Back
Top Bottom