Is there a way in Android to grab the url in real time that a user is navigating to in their browser? Sort of like a screen scrape but just of the url path. Thanks in advance.
rerickardjr said:
Is there a way in Android to grab the url in real time that a user is navigating to in their browser? Sort of like a screen scrape but just of the url path. Thanks in advance.
Click to expand...
Click to collapse
You joined in 2011 and this is your first post? Wow.
Here's how you get the URL hopefully.
Code:
Cursor cursor = context.getContentResolver().query(Browser.BOOKMARKS_URI,
Browser.HISTORY_PROJECTION, null, null,
Browser.BookmarkColumns.DATE + " DESC");
cursor.moveToNext();
String url = cursor.getString(Browser.HISTORY_PROJECTION_URL_INDEX);
cursor.close();
Add this permission to your manifest.
Code:
com.android.browser.permission.READ_HISTORY_BOOKMARKS
EatHeat said:
You joined in 2011 and this is your first post? Wow.
Here's how you get the URL hopefully.
Code:
Cursor cursor = context.getContentResolver().query(Browser.BOOKMARKS_URI,
Browser.HISTORY_PROJECTION, null, null,
Browser.BookmarkColumns.DATE + " DESC");
cursor.moveToNext();
String url = cursor.getString(Browser.HISTORY_PROJECTION_URL_INDEX);
cursor.close();
Add this permission to your manifest.
Code:
com.android.browser.permission.READ_HISTORY_BOOKMARKS
Click to expand...
Click to collapse
What can say....I'm a little late getting started. . Thanks for the info, will let you know if it worked.
Sent from my Nexus 4 using xda app-developers app
rerickardjr said:
What can say....I'm a little late getting started. . Thanks for the info, will let you know if it worked.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Sure, let me know if it worked or not.
Related
Hi guys i attached the latest sources files of TW4. There are three files with its location in framewok.jar just past content.
these files working on 2.3.5 and 2.3.4.
enjoy !!!
JUST click on THANKS
And so far they work great Good work
correct works fine
Nice work! Appreciate it
are you ppl installing these file some how
if so how are you doing so"?
l2otten said:
are you ppl installing these file some how
if so how are you doing so"?
Click to expand...
Click to collapse
if you dont know what to do with these files, dont touch them
Pirateghost said:
if you dont know what to do with these files, dont touch them
Click to expand...
Click to collapse
you are correct sir
Well if no one will tell you how to flash these files how else are you supposed to learn
Sent from my SAMSUNG-SGH-I897 using xda premium
l2otten said:
Well if no one will tell you how to flash these files how else are you supposed to learn
Sent from my SAMSUNG-SGH-I897 using xda premium
Click to expand...
Click to collapse
They are not CWM flashable. You need to decompile framework.jar and add them to it
watsa said:
They are not CWM flashable. You need to decompile framework.jar and add them to it
Click to expand...
Click to collapse
Ok thank you I will check it out
Sent from my SAMSUNG-SGH-I897 using xda premium
Works like a charm, thanks.
I confirm it works. Thanks.
l2otten said:
Ok thank you I will check it out
Sent from my SAMSUNG-SGH-I897 using xda premium
Click to expand...
Click to collapse
This response worries me lol.
Boldizzle said:
This response worries me lol.
Click to expand...
Click to collapse
how much you want to bet that his google searches have overloaded looking for
'decompile framework.jar'?
Guys chill. He's juat trying to learn. I'd bet a lot of money that each and every one of us has asked a question in these forums. Watsa is the only one who provided a response that i would have expected to see in the cappy forums. Rant aside, i think ima give this a whirl in a few.
Sent from my friggin huge Samsung Infuse
I am suprised no one has asked yet... what are these and what changes they make to the system? Seems way small to be all of touchwiz.
Sent from my GT-I9000 using XDA App
Reynaldinho111 said:
Guys chill. He's juat trying to learn. I'd bet a lot of money that each and every one of us has asked a question in these forums. Watsa is the only one who provided a response that i would have expected to see in the cappy forums. Rant aside, i think ima give this a whirl in a few.
Click to expand...
Click to collapse
Take it easy, we're just having fun.
It's awesome that he wants to learn.
Pirateghost said:
how much you want to bet that his google searches have overloaded looking for
'decompile framework.jar'?
Click to expand...
Click to collapse
lol...BTW with this u can use the new TW4 from sgs2 epic 4g posted here
can someone help me. l m workig to port stufs of sgs2 to sgs. SGS2 contactsprovider.apk gave these errors.
thanks
HTML:
I/Zygote ( 1861): Zygote: pid 1861 has CALL PRIVILEGED permission, then set capability for CAP_SYS_ADMIN (21)
I/ActivityThread( 1861): Pub user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider
I/ActivityThread( 1861): Pub com.android.social: com.android.providers.contacts.SocialProvider
I/ActivityThread( 1861): Pub applications: com.android.providers.applications.ApplicationsProvider
I/ActivityThread( 1861): Pub contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
D/ContactsProvider( 1861): @@ doSetSimDBReady : settingValue1 =0
I/ActivityThread( 1861): Pub call_log: com.android.providers.contacts.CallLogProvider
I/Database( 1861): sqlite returned: error code = 14, msg = cannot open file at source line 25467
E/Database( 1861): sqlite3_open_v2("/data/data/com.sec.android.provider.logsprovider/databases/logs.db", &handle, 2, NULL) failed
D/AndroidRuntime( 1861): Shutting down VM
W/dalvikvm( 1861): threadid=1: thread exiting with uncaught exception (group=0x40015578)
D/szipinf ( 1861): Initializing inflate state
I/Process ( 1861): Sending signal. PID: 1861 SIG: 9
it works like a charm!!
zohawkish said:
Hi guys i attached the latest sources files of TW4. There are three files with its location in framewok.jar just past content.
these files working on 2.3.5 and 2.3.4.
enjoy !!!
JUST click on THANKS
Click to expand...
Click to collapse
can this work on UFKF1?
how to make navigation bar for galaxy y
easy way use uotkitchen......
OP, i've seen you create many threads for questions, whose solutions are included in a lot of guides. I'm asking you politely - do use the SEARCH button. It's very, very helpful. You can find a full guide to your question in less than a minute!
Code:
System.out.println("Sent from my SGY");
anasdcool71 said:
OP, i've seen you create many threads for questions, whose solutions are included in a lot of guides. I'm asking you politely - do use the SEARCH button. It's very, very helpful. You can find a full guide to your question in less than a minute!
Code:
System.out.println("Sent from my SGY");
Click to expand...
Click to collapse
sorry.......my bad ...........i will ensure next time...................
pushpakjain said:
sorry.......my bad ...........i will ensure next time...................
Click to expand...
Click to collapse
Good! Really if you use it, first it'll provide you with quicker & better answers, and second, you'll help to maintain XDA indirectly.
Code:
System.out.println("Sent from my SGY");
anasdcool71 said:
Good! Really if you use it, first it'll provide you with quicker & better answers, and second, you'll help to maintain XDA indirectly.
Code:
System.out.println("Sent from my SGY");
Click to expand...
Click to collapse
buddy sorry once again and can you let me know where could i find this. in the phone...... and what should be done.....pls......i didnt find on searching......
Navigation Bar New for phones in Android 4.0, the navigation bar is present only on devices that don't have the traditional hardware keys. It houses the device navigation controls Back, Home, and Recents, and also displays a menu for apps written for Android 2.3 or earlier.
Click to expand...
Click to collapse
Is this the one you mean?
Sent from my GT-I9100 using xda app-developers app
anasdcool71 said:
Is this the one you mean?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
yups.......
btw what was the code you gave ??????? .thanx again sorry limited to 8 thanks.......
pushpakjain said:
yups.......
btw what was the code you gave ??????? .thanx again sorry limited to 8 thanks.......
Click to expand...
Click to collapse
Then you can see that it's only available in android 4.0 and above. So i don't think we can make one for galaxy y as it's android 2.3.6...
Code:
System.out.println("Sent from my SGY");
Hi all, i saw there was an topic for how old are you so i add mine How are you .
So How are you?
Me im ok.And im happy
THREAD NOT CLOSED BY SLYMOBY AND USAFF22..
The thread steel open
Sent from my HTC Wildfire using xda premium
I'm terrible, my whole world ended today, a giant meteor came crashing from Venus and injured everyone in my high school except me.
Except my IT teacher who has an HD2 was browsing XDA along with me and so we got saved from the giant meteor - XDA defied it and sent it inches away from me.
-----------/endstory
Expected next answers:
good
fine
happy
YAAAAAAAWN!!!!! :sly:
My phone is Possessed
Godzilla ate me today...
Sent from Godzilla's stomach using Tapatalk 2
---------- Post added at 10:33 PM ---------- Previous post was at 10:22 PM ----------
#include<boredom.h>
int main()
{
if (boredom==max)
{ while (1)
printf ("Why do you keep copying threads dear pator?! ");
}
else if (boredom==min)
printf("I'm fine what about you?! ");
return 0;
}
*Insert troll face here*
Sent from my HTC Wildfire using Tapatalk 2
lo2ay said:
Godzilla ate me today...
Sent from Godzilla's stomach using Tapatalk 2
---------- Post added at 10:33 PM ---------- Previous post was at 10:22 PM ----------
#include<boredom.h>
int main()
{
if (boredom==max)
{ while (1)
printf ("Why do you keep copying threads dear pator?! ");
}
else if (boredom==min)
printf("I'm fine what about you?! ");
return 0;
}
*Insert troll face here*
Sent from my HTC Wildfire using Tapatalk 2
Click to expand...
Click to collapse
Because i love the how old are you thread XD.
Sent from my HTC Wildfire using xda premium
console.log("That's an excellent excuse!");
var someone = "spammer";
console.log("person above me is a" someone "!");
#include<noob.h>
#include<xda.h>
using namespace std;
int main()
{
if (pator==noob && pator==annoying)
{
ignore_user(pator);
ignore_thread(How are you ?);
}
else printf ("Having a rough time in godzilla's stomach. Too much gastric enzymes \n");
return 0;
}
Sent from my HTC Wildfire using Tapatalk 2
going a bit over the top now guys :/
just practicing our coding
Wha you realy now how to speak omg it's amazing..
Speak normaly we don't are in coding lesson..
Sent from my HTC Wildfire using xda premium
Pator57 said:
Wha you realy now how to speak omg it's amazing..
Speak normaly we don't are in coding lesson..
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
For programmers, that is speaking normally
Pator57 said:
Wha you realy now how to speak omg it's amazing..
Speak normaly we don't are in coding lesson..
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
Well this is xda, so it could easily be a coding lesson.
making fun of pator. Gj.
Btw. Im fine
Sent from my HTC One X using xda premium
#include<laugh.h>
int main()
{
LOL();
ROFL();
LMAO();
printf("I CAN'T STOP LAUGHING !!");
return 0;
}
Sent from my HTC Wildfire using Tapatalk 2
lo2ay said:
#include<laugh.h>
int main()
{
LOL();
ROFL();
LMAO();
printf("I CAN'T STOP LAUGHING !!");
return 0;
}
Sent from my HTC Wildfire using Tapatalk 2
Click to expand...
Click to collapse
Lol so i want to have an coding lesson.
Print:" This topic suck "
If:"everybody stop coding "
Then:" this topic will come back to the normal lol "
Print:" I learned fast no ? "
Sent from my HTC Wildfire using xda premium
Pator57 said:
Lol so i want to have an coding lesson.
Print:" This topic suck "
If:"everybody stop coding "
Then:" this topic will come back to the normal lol "
Print:" I learned fast no ? "
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
Was that visual basic ?
Sent from my HTC Wildfire using Tapatalk 2
lo2ay said:
Was that visual basic ?
Sent from my HTC Wildfire using Tapatalk 2
Click to expand...
Click to collapse
Do better i you can..
Sent from my HTC Wildfire using xda premium
THREAD CLOSED
not by a mod, but my me
Double locked.
"My phone is possessed"
Hi everybody!
I was inspired by this post, so I just put some line together and created this page:
http://scavenger.ch/sonyupdate
What it does is simply check against http://fuas.sonymobile.com and retrieve the latest firmware version for your mobile phone (both C6602 and C6603).
You have to insert your own customization id/number to check if there's a new firmware available for you.
This page can be bookmarked with your own model and custom number.
Tell me if you like it.
not bad
Add a better design and make it more user attractive.
Thanks for this. Much more convenient than having to start my PC up to check.
sosoro said:
Add a better design and make it more user attractive.
Click to expand...
Click to collapse
Really? How long are you spending looking at this? It does the job just fine. No need for prettying it up IMO.
Anyway, how about you code and design a 'better and more user attractive' site?
Sent from my C6603 using Tapatalk 2
Looks great, works fine. Doesn't need to look pretty, it does the job.
Sent from my C6603 using Tapatalk 4 Beta
Thanks, but what's the advantage of this instead of just bookmarking the URL to the XML file with the latest firmware version?
kingvortex said:
Thanks for this. Much more convenient than having to start my PC up to check.
Click to expand...
Click to collapse
You could already have used the URL from this post, which was also used to create this web check
Apollo89 said:
Thanks, but what's the advantage of this instead of just bookmarking the URL to the XML file with the latest firmware version?
You could already have used the URL from this post, which was also used to create this web check
Click to expand...
Click to collapse
Perhaps, but I didn't know the URL was in that thread, whereas the title of this thread made me read it and use the small tool the OP had created.
Don't worry anyway man, credit was given in the OP and there's plenty of thanks to go around. It's not a competition
Sent from my C6603 using Tapatalk 2
Can you make it work for ZL?
DoubleYouPee said:
Can you make it work for ZL?
Click to expand...
Click to collapse
I can create the update check URL for Xperia ZL if you provide:
- screenshot of the 'Software info' screen in your service menu.
- first 8 digits of your IMEI number
Apollo89 said:
Thanks, but what's the advantage of this instead of just bookmarking the URL to the XML file with the latest firmware version?
Click to expand...
Click to collapse
It's just easier to read.
Apollo89 said:
You could already have used the URL from this post, which was also used to create this web check
Click to expand...
Click to collapse
Without your post, this little web page could not exist. I've cited and linked your post in my first post. If this does annoy you in any way, just tell me and I'll bring it down ASAP.
pascalbrax said:
It's just easier to read.
Without your post, this little web page could not exist. I've cited and linked your post in my first post. If this does annoy you in any way, just tell me and I'll bring it down ASAP.
Click to expand...
Click to collapse
Of course it does not annoy me
I'm happy that my posts are useful to other people and that it allows them to create things like this.
Thanks also for linking to my original thread.
One suggestion: since your web check only works for Xperia Z (C6602 and C6603) anyway, maybe you can even replace the 'Model' text field by two radio buttons (one for C6602 and one for C6603)
Edit: WOW! That was fast :laugh:
Apollo89 said:
Of course it does not annoy me
I'm happy that my posts are useful to other people and that it allows them to create things like this.
Thanks also for linking to my original thread.
One suggestion: since your web check only works for Xperia Z (C6602 and C6603) anyway, maybe you can even replace the 'Model' text field by two radio buttons (one for C6602 and one for C6603)
Edit: WOW! That was fast :laugh:
Click to expand...
Click to collapse
Thank you for your approval and your suggestion!
By the way, if you can generate an URL for the ZL, I can add it to this page too.
P.S. you should check the page source...
pascalbrax said:
Thank you for your approval and your suggestion!
By the way, if you can generate an URL for the ZL, I can add it to this page too.
P.S. you should check the page source...
Click to expand...
Click to collapse
Code:
<!--
Based on Apollo89's work on XDA Developers Forum
http://forum.xda-developers.com/showthread.php?t=2315914
-->
LOL! Thanks
I will generate the URL for Xperia ZL if someone provides me with:
- a screenshot of the 'Software info' screen in the service menu
- first 8 digits of the IMEI number
I need this for each model of Xperia ZL (C6502, C6503, C6506).
didn't list the firmware when I put my custom number in.
simbawimba said:
didn't list the firmware when I put my custom number in.
Click to expand...
Click to collapse
Would it be possible to post a screenshot of the 'Software info' screen in your service menu?
here you go
Sent from my C6603 using xda app-developers app
simbawimba said:
didn't list the firmware when I put my custom number in.
Click to expand...
Click to collapse
simbawimba said:
here you go
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
You have the same customisation number as me. Works fine here -
Sent from my C6603 using Tapatalk 2
weird, maybe a cross-browser issue as I'm running Opera.
simbawimba said:
weird, maybe a cross-browser issue as I'm running Opera.
Click to expand...
Click to collapse
On your phone? Just tried Opera and it seems to work OK-
Can't imagine why it wouldn't work for you. Strange
Sent from my C6603 using Tapatalk 2
nope, on my desktop.
In an attempt to get to the bottom of the issue of echo in calls for the other person, I have created a form to see if anything stands out. We need people with the issue and without the issue to fill in the form. Please use the form, and only edit the spreadsheet if something changes.
Form
Analytics Result
Spreadsheet Result
Many Thanks
Chronicfathead
Great idea
phatmanxxl said:
What is SW?
Click to expand...
Click to collapse
It's your xda name. think I messed that up. Sorry lol
Hopefully it might show us something. If the Devs want me to request more info I'll add it.
Sent from my Amazon Kindle Fire2 using Tapatalk 4
Done. Good idea. Never actually saw an echo problem.
Thanks guys. Could do with a few more results if anyone else is reading this.
Sent from my LG-G2 using Tapatalk
Report submitted hope it helps those having issues
Sent from my LG-G2 using xda app-developers app
chronicfathead said:
In an attempt to get to the bottom of the issue of echo in calls for the other person, I have created a form to see if anything stands out. We need people with the issue and without the issue to fill in the form. Please use the form, and only edit the spreadsheet if something changes.
Form
Analytics Result
Spreadsheet Result
Many Thanks
Chronicfathead
Click to expand...
Click to collapse
Can you please make spreadsheet results public? Or do we have to ask you for permission?
Analytical view doesn't show detail about which ROM have which issues, which I can filter out from the spreadsheet...
Thanks!
ugic said:
Can you please make spreadsheet results public? Or do we have to ask you for permission?
Analytical view doesn't show detail about which ROM have which issues, which I can filter out from the spreadsheet...
Thanks!
Click to expand...
Click to collapse
The spreadsheet (link above) should show everyone's answers. Let me know if you can't see the results.
Sent from my LG-G2 using Tapatalk
chronicfathead said:
The spreadsheet (link above) should show everyone's answers. Let me know if you can't see the results.
Sent from my LG-G2 using Tapatalk
Click to expand...
Click to collapse
Nope :/
it says:
You need permission
Want in? Ask the owner for access, or switch to an account with permission. Learn more
You are signed in as: [email protected]
Request access | Switch accounts
Try to check the permissions of the file, most probably you've not changed the default permissions to see it only yourself... make it publicly visible and editable only by you/selected users.
Thanks!
ugic said:
Nope :/
it says:
You need permission
Want in? Ask the owner for access, or switch to an account with permission. Learn more
You are signed in as: [email protected]
Request access | Switch accounts
Try to check the permissions of the file, most probably you've not changed the default permissions to see it only yourself... make it publicly visible and editable only by you/selected users.
Thanks!
Click to expand...
Click to collapse
Out at the minute, but it should be viewable by anyone with the link. I'll check the settings in the next 30 minutes.
Thanks for he heads up.
EDIT: I managed to share the form, but somehow didn't share the spreadsheet even thought I thought I had.
Sent from my LG-G2 using Tapatalk