Hello,
I would like to know if it is possible to read the active APN in a system file.
My objective: I would like to automate the timed swap of my two defined APNs: one for the corporate mail and one for the Internet. I am trying to do this through Tasker, which apparently allows the readout of some lines in certain files and some basic if-then-else loops.
Any other possible solutions are welcome.
Until the multiple PDP context issue will be solved by the OS, I would like to tell the device which APN it has to choose based on the active application.
Thank you very much.
Kind regards.
Sent from my Nexus One using XDA App
Firstly, wrong section. At the top it states this is the dev section, not the Q&A section!! Seeing as this is your first post, I would recommend you read the rules, might keep your account longer.
As for the file you are looking for, it is /system/etc/apns-conf.xml. Don't know how reliably this will work for you for an on-the-fly change.. Where the actual live setting is stored, i do not know.
Hello again.
Yes, it is my first post. I am sorry if I have disturbed you by posting in the wrong section. If it really is at the wrong place I am asking the admin to move the post.
I want to say that I highly appreciate the work of all of you devs. I expressed it by also paying some of those whose work I am using on a daily basis.
But.... I must confess that I posted here on purpose. Because I thought this is the place where the most knowledge is concentrated.
Kindest regards.
Sent from my Nexus One using XDA App
Related
I am, by no close means, knowledgeable enough to create an app on my own, despite my few recent time-restrained attempts to learn. I would think, considering how much this forum is used for android, that there would have been an app created that would make it easier to browse the vast ocean of knowledge that it has to offer. Perhaps an option where you can cache certain posts for faster/offline loading, or "watch" a post and get a notification when someone replies to it. I wouldn't even know how to begin doing this. Anyone agree?
Try this for now : http://mippin.com/web/index.jsp
Yes
This would be a great idea to create an app for xda
It would also be great if people asked their questions in the Questions&Answers forum
Wrong section bro.
But your concept does sound pretty cool.
good idea good luck with it
Visit this site on the phone and Bookmark it.
http://mippin.com/mippin74832(thanks to SatanR1 for the link)
Early Christmas present. Only issue is it does post them in the exact same way as the forum. It simply posts the newest posted thread.
Q:
Why is there no APP for XDA?
Click to expand...
Click to collapse
A:
Because people refuse to post questiona in the QUESTION and answer forums
lol to you guys only *****inig about the forum it was posted in, I think the first post doing so was sufficient so please stop racking up the post count with garbage.
Secondly to answer this guys question... I've tried to contact the site about any sort of API to create a standalone app for this place but had no success in that.
So the fastest and most organized thing at the moment would probably be to just use the browser.
Thanks for all the posts!
Thanks for all the great feedback on my question. I'll make sure next time, I will post in the correct forum. But thanks all those who mentioned that for being so..."tactful" about it. I'll try to not to displease the gods next time.
if anyone ever makes one make sure to let me know!
Ok. I don't know if this will get stickied or not, I hope it will. Mods can feel free to change the title of the post if need be. Here's a stab at answering a few questions which are asked repeatedly.
First and foremost:
CLICK THE SEARCH BUTTON BEFORE ASKING ANYTHING WHATSOEVER.
Secondly:
IF YOU HAVE ROOTED YOUR PHONE, MAKE A NANDROID BACKUP BEFORE YOU DO ANYTHING ELSE...THEN SAVE A COPY OF IT TO YOUR DESKTOP
Don't even bother asking for help if you've screwed up a ROM install and don't have a backup. The only advice you'll get is to use the RUU (which can be found here).
Having gotten that out of the way here are some of the typical questions and answers.
#1. What's the fastest/best/most interesting/etc ROM out there.
Answer: Try them all and see. If you read the first page of each ROM thread the bugs/fixes are posted. If you see a thread without the bugs/fixes, READ THE THREAD FOR THAT ROM AND ASK YOUR QUESTIONS IN IT. Do not create a new thread to ask questions like: Does everything work in <INSERT ROMNAME HERE> rom?
#2. How do I...?
Answer: The answer to your question is probably http://wiki.xda-developers.com/index.php?pagename=CDMA%20Hero%20Guides. If it's not there, it's almost definitely under search. Stop asking. Stop creating new threads. It just makes people mad and clutters up the forums.
#3. I think I bricked/broke/messed up my phone
Answer: Did you flash a GSM radio on top of a CDMA phone (or vice versa)? Then probably not. Pull your battery, restore from the NANDROID BACKUP I'm certain you made when you first rooted your phone and try again. Almost all bad ROM flashes can be fixed by wiping and reinstalling your ROM. Check your battery level. Never flash a ROM if the level is below 30%.
#4. I'm getting an error after using the RUU (110, etc)
Answer: Check the wiki guides above. There is a thread which tells you how to recover. If you are too lazy to read through the fixes, here is the thread.
#5. The Sprint 2.x upgrade is coming soon! I have pr00f!
Answer: No, you don't. Stop posting new threads to draw attention to yourself. The ROM upgrade will be out when it's out and not before Sprint is ready to release. Any release date you might have heard is tentative at best and flat out wrong in most cases. Stop creating threads about it, we don't care where you got your information.
#6. Audio doesn't work in my custom 2.x ROM
Answer: Try here. There are two fixes in this thread for it.
#7. I just flashed <INSERT ROMNAME HERE> ROM and everything's all screwed up.
Answer: Wipe everything and start over. In your nandroid recovery, select 'Wipe Data/Factory Reset'. When that's done wipe 'Dalvik-Cache'. Then when that's done (if you have installed a2sd (apps2sd)) wipe SD:EXT. Then reflash the ROM. 9 times out of 10 this will fix it. The 10th time, ask in the ROM thread, do NOT create a new thread for your issue.
#8. My battery life sucks. Or: What's the battery life on this ROM?
Answer:
Search. There are a lot of threads about battery life already. If your answer's not there, ask in the ROM thread (after searching that thread of course).
Android Terms:
a2sd/apps2sd: The process of moving user installed applications from internal storage to the SD card
Rosie: Typically used as a term describing certain graphical characteristics of the Android operating system, primarily the 'bottom bar' of the phone. Example: Stock Rosie is curved, espresso Rosie is not, with rounded edges.
Also:
"For the record, with 2.1 we CAN NOT just alter the rosie launcher or the taskbar or the HTC lockbar. The files are all tied up together. This means that, if you have installed someones taskbar mods, and then later you decide you want a different rosie, when you flash the new rosie it WILL undo some of the taskbar mods....UNLESS you have a themer do a custom just for you and provide them a link to the taskbar that you are using. I cannot stress the part about providing them a link enough. That is just common courtesy. There are plenty of folks out here willing to help you. Many will even help you learn to do it yourself. Just ask nice and be patient. This is a hobby for us, too, and we often have our own projects that we are working on." - tejasrichard
There is a way to do both, however:
"And a little correction about changing only the rosie or taskbar, you can if you use metamorph [/QUOTE]
You can find metamorph in the Android Market." -danaff37
JIT: http://en.wikipedia.org/wiki/Dalvik_virtual_machine Also see the following URL: http://en.wikipedia.org/wiki/Just-in-time_compilation.
LWP: Live Wallpapers. Animated wallpapers that run on your home screen. Until recently, not available in the HTC Sense UI.
MNS: Mobile Network Sharing. The act of using your cell phone as a USB or WIFI connected internet router. Example: Connecting your desktop/latop to the internet via your cell phone's mobile internet.
AOSP: Android Open Source Project http://source.android.com/
PRI: Profile of your phone. Used by your carrier to set up your network/internet settings.
PRL: Preferred Roaming List. List of cell towers close to your present location. This allows the phone to roam more easily since it has a built-in database of towers, rather than having to search for one.
This is getting too long, so I'm going to summarize:
No one likes reading the same questions over and over. If you can't be bothered to at least search for the answers, do us all a favor and don't say anything.
Stop saying things like 'I didn't feel like reading 300 pages of <INSERT ROMNAME HERE>'s thread. How do I?'...USE THE SEARCH FUNCTION TO SEARCH THAT THREAD.
If you don't read the guides, and instruction posts, then screw up your phone, don't whine about it. It's your own fault. It's not the fault of the ROM dev, or the ROM, or anything else. It's YOUR FAULT. Accept responsibility.
Did someone at the Sprint Store piss you off by not accepting your water damaged phone for replacement? Are you mad because they gave you a refurb instead of a brand new phone? We don't care. This is a DEVELOPMENT FORUM. It's for development of roms/themes/etc and discussions of roms/themes/etc. It's not a place to whine that you're being treated badly by Sprint. Post about it on Sprint's forums.
I think that covers the basics. If you're new here, do us all a favor and read this post, follow what's inside it. If you're not new and are a chronic whiner, read this post, follow what's inside it. Just stop cluttering the forums and making it impossible to find any information in it at all.
EPIC!!!!
Touche'
Ok, so I am fairly new and broke 4 out of the 7 rules... But I am behaving now, and actually appreciate the basis of this Thread. That said. I didn't know what I didn't know and having this Thread at least gives new folks clear and pointed fair warning.
Great POST!!!!
lol
It wasn't aimed at you specifically, or at anyone really. It's just a general set of guidelines designed to curb repetitive posting.
word
10 char
Thank you! Honestly it's sad you have to make a thread like this, but it was definitely needed. Wayyy too many noobs come here asking questions that have been answered many many times over.
great read! But you know the only ones who actually read this are those of us that actually follow the guidelines and it will simply pass by the 'others' without a second glance lol
yeah, maybe edit the title to official 2.1 sprint download... haha
nighteyes_wolf said:
great read! But you know the only ones who actually read this are those of us that actually follow the guidelines and it will simply pass by the 'others' without a second glance lol
Click to expand...
Click to collapse
Perhaps. But if those of us who follow the guidelines refuse to ANSWER the noobs who don't read this, except for maybe a link to this thread, there will be fewer BS threads to have to deal with.
smw6180 said:
Perhaps. But if those of us who follow the guidelines refuse to ANSWER the noobs who don't read this, except for maybe a link to this thread, there will be fewer BS threads to have to deal with.
Click to expand...
Click to collapse
+10000000 Don't respond to threads just paste links to this thread good idea.
J/K. Good idea.
Just bookmarked it to make linking easier!
How about this noob question? where can I find a dummies guide to terms? A really good one stop shop. Stuff noobs like me don't know like rosie, apps2..., you name it. If its out there I Want to know what it is. P.S. I checked both wiki s and did a search for the word "terms" in titles.
T.I.A
Yamus
Re: Answers for Noobs who like to ask questions. READ THIS BEFORE ASKING ANYTHING.
There is already a thread like that actually... lol
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
yamus08 said:
How about this noob question? where can I find a dummies guide to terms? A really good one stop shop. Stuff noobs like me don't know like rosie, apps2..., you name it. If its out there I Want to know what it is. P.S. I checked both wiki s and did a search for the word "terms" in titles.
T.I.A
Yamus
Click to expand...
Click to collapse
What terms specifically? I'll add them to the OP.
Edit: Added the two you listed.
Nothing specifically, at this very moment but, I come across new ones all the time when reading different posts. If it's cool, I'll just keep posting them here as I come to them and, if you think they should be in the op you can add them there or, if not, maybe just reply back down in the thread.
BTW. I know that I can google most terms and find them, and I have no problem whatsoever doing that, it's just nice when someone coming here to learn can expedite the process a lil with the help of some of the seniors.
well i'm a noob, i had no idea what the hell lwp was... it means live wallpaper right?
bigems said:
well i'm a noob, i had no idea what the hell lwp was... it means live wallpaper right?
Click to expand...
Click to collapse
I'll answer to keep this thread on page 1...yes
MNS = mobile network sharing
JIT = Just-in-time compiler WIKI
tstack77 said:
I'll answer to keep this thread on page 1...yes
MNS = mobile network sharing
JIT = Just-in-time compiler WIKI
Click to expand...
Click to collapse
Me too...
well i'm a noob, i had no idea what the hell lwp was... it means live wallpaper right?
REALLY????? 3 P I C F A I LLMGTFY.COM, Try That One....
Noob Tube
I am a noob, i like finding and searching for things, its awesome, thats ok though, i wont be a noob for long,...................
MagnusRagnarok said:
Me too...
well i'm a noob, i had no idea what the hell lwp was... it means live wallpaper right?
REALLY????? 3 P I C F A I LLMGTFY.COM, Try That One....
Click to expand...
Click to collapse
Not helpful. The point here is not to create a thread full of *****ing, but to create a SINGLE thread so that we don't have 15000000 posts of the same thing. So if you can't help, stfu.
I'll add the other terms listed to the front page.
i know i previously opened this thread in the development section, and so many other members where complaining that i posted this in the wrong thread, so yeah maybe i did my bad it was my first opened thread so stop hating. I re-posted this so i can get some insight if this is possible.
"Alright guys so reason why i opened this thread is because do to the fact that AT&T is nothing but a pure monopolistic (wants to control everything) company and as we are all aware there is no unlimited data plans, i have always wanted to know how to "Trick" if i may say, AT&T to thinking were using a so-called "Dumb Phone" thus vise versa a smartphone such as the good old Samsung captivate. I have read other threads about similar issues and achievements on using one dumb phone to activate there data and then switching there SIM to the smartphone but to be fully honest no one has posted steps or a how-to tutorial on how to do this precisely."
If you happen to be one of those that knows how to do this, can you be kind enough to share us your knowledge and post to us some happiness once and for all Thank you!!
What you want to do involves changing your imei which is illegal and XDA does not allow instructions on how to do this. Please search as it would have showed you that all these threads are closed disscusing this.
I didn't see this particular possible route ventured.
I am new to linux/android but not remotely to IT. Did anyone look at coding? I started looking at code (Decompiled apk etc) and it appears that in Verizon's CDMA version is strictly blocked by the apk itself. I don't see references to anything else ( policy, permissions etc) at this time but I am not finished.
So if infact this is the case, should it not be as simple as:
decompile rom
decompile apk
fix permissions in androidmanifest.xml for phone and voip
recompile apk
recompile rom
reflash
Or did I just oversimplify this?
GSM units use firmware however when looking at code files in the tab it noted that CDMA version is all software (Java).
I am currently using voip on my Verizon tablet, but am wondering if suppose this coding worked; won't the carrier know that phone minutes are being used and not effect the plan?
Sent from my SCH-I800 using XDA
Of course it would. My question was not directed regarding the plan. Seperate issue. I was simply asking if it would work or f I over simplified it.
Doesn't mean Verizon or other carrier will allow as phone. Just if it would work.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
even thought the rules are clear etc. there is grey area as to where some of these posts can be started. Not all of us are experts which is why we come HERE to learn.
Please remember that . Even if it is standard template etc. read forum rules. .c .. move this here. templates are basicly RUDE. if you have to move threads CONSISTENTLY from a specific member of the forum. It would be understandable. If not, Please take into consideration and get off auto pilot. Accidents and lapse in judgements happen. Personally would love to see change in wording but that is just me.
My apologies sin se' (sp) young grass hopper will learn one day the very subtlties of this forum.
BUMP!
I have a verizion sch-i800 running cyanogenmod 9, is there any way to make phone calls? apk? modem? sacrifice a goat...?
Before a forum mod even thinks of taking this down- I've been in contract with Svetius and this may go live across XDA.
I would like to beta test here- and give developers and others a good example of what we can accomplish- as a collective.
I'll simplify for anyone who wants to jump in- click one of the following links, and if you don't get it, read on:
This is a link to the view only version, with ability to comment..
https://docs.google.com/document/d/...MZAPx-mLF8tnXPmBV2V7fRo/edit?usp=docslist_api
Here is the developers/contributor linkhttps://docs.google.com/document/d/...MZAPx-mLF8tnXPmBV2V7fRo/edit?usp=docslist_api DO NOT CLICK THIS LINK IF YOUR NOT ACTIVELY DEVELOPING OR CONTRIBUTING- I DO HAVE WAYS TO REMOVE PEOPLE IF THEY TAKE AWAY FROM PROJECT!
If someone else wants to create a new document, please include a link to this instruction document I've already created.
If no one else jumps on creating a development document for unified s5, I will create and post the edit and view/comment links in second post, or add your document if you choose too
I will update and add to this post this morning- please allow me to get second post
As of this moment, developers, recognized contributors, or users are disconnected- and you may not have the time to go hunting each other down, or answer 500 PMS.
This is my effort to connect developers- it is a LIVE document, and it uses your Google account to grant the level of access you need. Because it is a live document, you will see AS other people type. I can give non-devs the ability to view and comment only- but in that way, even they may be able to contribute.
There's a built in chat box.
It automatically tracks who makes changes so no credit has to be given for your work, or you can create a document you own and paste the link in my document. This is how we create a "tree" of organized data..
Links do NOT BREAK.. So even of you move the document in your personal folders, any link you put into my or any other document will work. Period. I've tested this over 4-5 years, and I'm sure of this.
The same way it tracks changes, you can revert to old versions.. So if someone accidentally selected all and hit backspace, by accident or as a jerk, in a few clicks I can put it all back.
I've been taking to mods and development teams here at XDA, and we are going to be doing this XDA wide, or at least that's how it is looking - this reduces devs duplicating work, because it is Google document, it requires no sign up, it's probably on all your devices or easy to download..
Of we start sharing and get or section done, it will give a good example at how all other subgroups can do there's.
The link in my signature(amaze Bible) shows how robust these Google docs can get. Here is a link if you can't see it. http://forum.xda-developers.com/showthread.php?t=1679486
Sent from my SM-G900A using XDA Free mobile app
I will add edit and view/comment links here in a few moments
Sent from my SM-G900A using XDA Free mobile app
This third post will contain a table of contents once documents start taking shape.
Please help this project, as connecting developers, contributors, and users will help us all!
But I've been asked to make sure this doesn't REPLACE XDA.. So if you have any posts that may be helpful already on XDA - LINK BACK TO IT.
If this goes XDA wide, they may be able to integrate this into XDA with backbend tools.. This could get really cool really fast. Pm or post you're questions or comments- but follow the development section rules!
Sent from my SM-G900A using XDA Free mobile app
I want to follow this.
kornfed said:
I want to follow this.
Click to expand...
Click to collapse
Follow yes, even help if possible
Click the edit link and go to the bottom where I put examples where I see this going.. You can comment (it explains how in the Google doc) if you don't want to change the doc itself.. So make suggestions, or even help me message a link to this thread to developers.. Because as I said, I've already been getting a pretty positive response from the top mod and his development team..
If we can show them this works and well, it will only help them see maybe this can be a priority.
I'm going to connect them with some backbend tools Google put out to integrate this into the site- so I need our XDA community collective to do/offer whatever they can to get or beta test product into something useful.
As a bonus, as easy as it is to link to docs, and link back to XDA.. We can reduce the number of duplicate questions, need for q&a threads, and the number of messages that developers get!
Even me, a recognized contributor- the more active I am, the more PMs I get..
So come on XDA collective- help me make this work!
It is now robust on a computer, but you can do 90% of this on any Google device you can install apps on
Sent from my SM-G900A using XDA Free mobile app
The amaze 4g is definitely a dated device, but we did this for that forum.. It helped a ton
Please, look at this example amaze 4g Bible and click the links in the take of contents which take you to the Google dochttp://forum.xda-developers.com/showthread.php?t=1679486
I'd like this and more, stepped up a notch, connecting developers- maybe even creating new ones that we allow view/comment access..
Sent from my SM-G900A using XDA Free mobile app
BUMP.
I edited original post- if you're a Dev click the second link, if you want to contribute in some way, click the appropriate link.
You literally click the link, on just about any device, especially anything android or a computer- and you're in, and able to contribute. No sign up. No wasted time.
This is EASY as it gets, but I can't make anyone do this.. This is about us collaborating and helping each other, unifying developers in one place - and REDUCING WORK.. Because I'm seeing a lot of developers doing the same thing, and it is called work duplication.. And time that need not be wasted if you all work together.
On top of that, if I and other contributors, official or not, can be part of the process.. Well, think of it as processing power.
Please give it a try, and let's build a team.
for developers and contributors in the unified s5 forum - please check http://forum.xda-developers.com/showthread.php?t=2997834
I'm trying to increase our collaboration, reduce duplication of work- and maybe even help out a few devs that just don't know your secret Fix's