Android Issue: My app invite request is sending a user to a dead page in Facebook - Stack Overflow
In Android mobile, my app invite request is sending a user to a dead page in Facebook.
We don't have a canvas app page, rather we have a website that uses the Facebook login to resolve a page from the notification. Here's the issue:
In Android, user is notified in two ways: (a) via notification jewel (Facebook's terminology), and (b) via an interstitial page that has nothing on it except ": sent you a request. (where "request" is a link).
If the user pursues option B, and clicks on the App Name, it links to an App page (even though we do not have an App per se). If the user clicks on the requestor's name, it links to the requestor's respective FB page. If the user clicks on "request" link, it links to a page that "cannot be displayed or does not exist" in Facebook. <---this last part here is the issue.
This does not happen in iOS, it only happens in Android. Does anyone know why the page associated with the link called "request" does not resolve??
I do not know what the contents of the .sign file so I was just assuming. I need to get malicious or suspicious apk that's why I was brought to that site. If you could point me to other sites that provides malicious or suspicious apk, it will also be helpful. I really need this for my research. Please enlighten me. thanks!
From my last post, got t know that, i need to use async task for json parsing from url, have done the same and attached below,
public class ReadJson extends ListActivity { private static String url = "http://docs.blackberry.com/sampledata.json";
private static final String TAG_VTYPE = "vehicleType"; private static final String TAG_VCOLOR = "vehicleColor"; private static final String TAG_FUEL = "fuel"; private static final String TAG_TREAD = "treadType";
ArrayList> jsonlist = new ArrayList>();
ListView lv ; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_read_json); new ProgressTask(ReadJson.this).execute(); } private class ProgressTask extends AsyncTask { private ProgressDialog dialog; // private List messages; public ProgressTask(ListActivity activity) { context = activity; dialog = new ProgressDialog(context); } /** progress dialog to show user that the backup is processing. */ /** application context. */ private Context context; protected void onPreExecute() { this.dialog.setMessage("Progress start"); this.dialog.show(); } @Override protected void onPostExecute(final Boolean success) { if (dialog.isShowing()) { dialog.dismiss(); } ListAdapter adapter = new SimpleAdapter(context, jsonlist, R.layout.list_item, new String[] { TAG_VTYPE, TAG_VCOLOR, TAG_FUEL, TAG_TREAD }, new int[] { R.id.vehicleType, R.id.vehicleColor, R.id.fuel, R.id.treadType }); setListAdapter(adapter); // selecting single ListView item lv = getListView(); } protected Boolean doInBackground(final String... args) { JSONParser jParser = new JSONParser(); JSONArray json = jParser.getJSONFromUrl(url); for (int i = 0; i < json.length(); i++) { try { JSONObject c = json.getJSONObject(i); String vtype = c.getString(TAG_VTYPE); String vcolor = c.getString(TAG_VCOLOR); String vfuel = c.getString(TAG_FUEL); String vtread = c.getString(TAG_TREAD); HashMap map = new HashMap(); map.put(TAG_VTYPE, vtype); map.put(TAG_VCOLOR, vcolor); map.put(TAG_FUEL, vfuel); map.put(TAG_TREAD, vtread); jsonlist.add(map); } catch (JSONException e) { e.printStackTrace(); } } return null; } }
}
When i execute this, i get null pointer exception for error executing in asyc background in the line, for (int i = 0; i < json.length(); i++), tried several things but not working, any help will be gr8ly appreciated!!
Show multiple images and allow user to post one of them on Facebook Friend's Wall by using a Selection.
Still I'm allowing user to post a static image to Facebook Wall, but now I want to allow user to select an image from multiple images and then post to wall.
i am using below code to post a specific image to wall, using this code:
public void onItemClick(AdapterView adapterView, View view, int position, long id) { try { final long friendId; friendId = jsonArray.getJSONObject(position).getLong("uid"); String name = jsonArray.getJSONObject(position).getString("name"); new AlertDialog.Builder(this) .setTitle(R.string.post_on_wall_title) .setMessage( String.format(getString(R.string.post_on_wall), name)) .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { Bundle params = new Bundle();
public class PostDialogListener extends BaseDialogListener { @Override public void onComplete(Bundle values) { final String postId = values.getString("post_id"); if (postId != null) { showToast("Message posted on the wall."); } else { showToast("No message posted on the wall."); } } }
I have an Activity in which there's a MediaPlayer that, after about 150 plays, puts up a system message saying "Video couldn't be played". A force restart of the app resets this problem for another 150 plays.
I'm assuming that this is a memory leak of some kind, though I'm entirely unclear as to what would be leaking, and also the simptoms don't align with how much memory Android allots my app. The video is about 3mb, so, if I'm leaking that much at every play the implication would be that my app has access to 450mb of memory which we know isn't true.
In any event, I'm trying to see if I can manually release the video somehow, but I'm getting an IllegalStateException when I call release on the MediaPlayer that is passed into my onComplete callback.
My code looks like this:
VideoView vv = (VideoView)findViewById(R.id.movie); Uri videoURI = Uri.parse("android.resource://" + getPackageName() + "/raw/video_in" ); vv.setVideoURI(videoURI); vv.start(); vv.setOnCompletionListener(new OnCompletionListener() { @Override public void onCompletion(MediaPlayer mp) { Intent i = new Intent(getPackageName() + ".SCENE_2"); startActivity(i); mp.stop(); mp.release();//here the exception is raised finish(); } });
The documentation seems to imply that there's no state in which you can't call release on a MediaPlayer, so, I'm stumped. I'm in JellyBean, in case that makes any difference.
What is the loudest output I can get through the headphone jack on jelly bean? I plug my phone into a speaker at work and ics was louder. I'm using play music so it streams, no local files. please advise.
I found a solution to get SMS delivery reports working again after the 4.1.2 update.
Okay so with the most recent update Verizon made the switch from sending text messages over their 1x network and moved them to their LTE (and possibly 3g) network, hence the reason they are sending so much faster. Today I was in a classroom that is underground and has terrible reception and noticed that I was getting delivery reports again but that my texts were sending slower, like they used to. I dug around in the phones programing menu and found a new option call "MO SMS over IMS" and it was enabled. Disabling it switches your texts back onto the old 1x network. So if you choose to make the switch, your delivery reports will come back but sending will go back to being a little slower.
To get to this menu open up your dialer and type in ##7764726. Next hit send and when prompted with a password type in 000000 and hit verify. Scroll down to SMS/MMS settings and select it. Next scroll to the bottom, select "MO SMS over IMS", and disable it. Now your good! delivery reports back!
Alright. I started having bluetooth and wifi problems. Neither would turn on. I decided to do a factory reset. Well it all went down hill from there. I am stuck in a boot loop. It never gets to the boot animation. I can access adb and fastboot. I have ran two different RUUs. The OTA and Global. both have no effect. I have been s-off for a long time. Any suggestions??? I have no insurance.
I have a broken DNA too that can't detect sim card lol. I don't want to go back to my Droid Incredible! haha
HTC Incredible > HTC Incredible 2 > HTC Rezound > HTC DNA DONATE TO MY PHONE FUND!!!
I've been quite Google Plus for quite a while (though not very active with it).
On my Nexus 4 when I launch the Google Plus app and go to All Circles. It has this "Welcome to Google+" post with a couple suggestions of people I should add. Then below that is a post from my circle. Then bellow that is a "Looking for more?" post from Google suggesting yet even more people I should add.
My problem is, I already added quite a few people to my Circles. I'm set. I don't want to keep seeing this "Welcome to Google+" and "Looking for more?" posts in my Google feed. It's distracting and I have to scroll past this every time just to see what I really came to see.
Is there no way to turn this Google spam off somehow?
Another thing I don't like is how it sorts posts. I'm not really sure how it determines to sort these posts, I just know it's not chronologically. It's confusing and I have old posts showing up and new posts buried.
I want to like Google Plus. But I use Twitter mostly and have a hard time trying to embrace they weird way Google does things with this app on Android. Perhaps someone can provide me some tips or feedback on what I'm missing here?
As a Samsung Galaxy fan, I think you was so excited a few days ago, because a new awesome Galaxy phone met the public. Samsung Galaxy S4, the new flagship of Samsung smart phone which impressed people again by its amazing, awsome, excellent technology and design.
As the new flagship smartphone of Samsung in 2013, Samsung Galaxy S4 is equited by powerful hardware and software----the latest Android os ----Android 4.2.2 Jelly Bean, which improves the support for hardware significantly, and following high-tech hardware spec show the new flagship phone's power: Bigger screen---- 5 inches with 1080p resolution, Larger size battery---600mAh battery capacity, more powerful processor ----.9GHz quad-core or 1.6GHz octa-core, fantastic camera----rear-facing camera stuffed with more megapixels (13, to be exact). Memory: 2GB RAM Storage: 16GB, 32GB or 64 GB Samsung Galaxy S4 raises a more taller bar for Samsung's competitors again, but also the new Galaxy has been left Apple behind by excellent screen and unique specialized software, such as Eye-tracking gestures, Air View and gestures,Dual Camera,etc.
Samsung Galaxy S4 Data Recovery is Potential
Thanks to the powerful functions and large storage of Samsung Galaxy S4, We may use S4 to take photos, listen music, watch videos, or store some important files to it, etc. Therefore,S4 is not only a smart mobile phone, but a multi-function portable digital device, which make our life more convennient.However,data loss is common in our daily life, although Samsung Galaxy serious are high quanlity. We can see so many trouble about Samsung Galaxy data recovery, such as recover photos from GalaxyS1, restor videos from GalaxyS2, how to recover deleted data from Samsung Galaxy S3, Can I retrieve text messages from Galaxy Note2? So, We can predict that is a common things as the phone is used by the people around the world.
Why We Can Recover Data from Samsung Galaxy S4 As you know, S4 is a Android device,which has a internal storage, hard drive and the external storage, such as SD card. And when you deleted files, the space where the deleted data save in is marked as blank and can be reused by new files, but the deleted file still exist unless new data overwrites it.Thus, it is possible to recover the data in the phone, and if you want to restore files from Samsung Galaxy S4, you should stop using the phone after data loss.
Possible Ways to recover data from Samsung Galaxy S4
Way one: you can recover any Anitannudorid devices data by Google account and backup app on phone or computer,such as Titanium and PC companion. Way two: Howerver, There are not many people has a good sence in making a backup regularly .If we are so unlucky that lost data from Samsung Galaxy S4, we should ask help for recovery software.
It is recommended to have a try to download Card Data Recovery software ,and .
Step1. Download the Card Data Recovery from here: and install it on your computer Step2. Connect Samsung Galaxy S4 to computer via USB cable or connect the SD card in the phone with card reader, and launch the Card Data Recovery application. Step3. Click to choose "Removable media" that means your Samsung Galaxy S4 and Select the option “Photo Recovery”, “Video Recovery”,”Music Recovery” or all of them,then the program scan your lost data. Step4. After scaning, you can preview the files and Choose the ones you want to get back and click “Recover”. Step5. “Save” all your recovered data in the Android phone and you have completed to . How about the performance of Samsung Galaxy S4? And Does Card Data Recovery work in Samsung Galaxy S4 Recovery? We will know in the coming month!
(You can leanr more about Samsung Galaxy data recovery here: )
I use Google Navigation daily in my work and have for years. Sometimes within the app, when I am typing in a new destination, the address will auto complete. Once this starts happening, it'll do it for the rest of the session. It is awesome as I type in 10 to 20 addresses a session and it usually nails it after I input the street # by the 2nd or 3rd letter of the street name!
My problem is this: it only does the auto complete thing sporadically and I have no idea what triggers it. I'd say 1 in 15 times it will start doing this. I'd like it to happen EVERY time. Any suggestions?
Thanks in advance...
BTW, using stock Droid Bionic, system is up to date, in Southern California...
Last night after I finished texting some people, I put the phone on a side table & went to sleep. This morning I woke up, checked my phone, my contacts. All of them but 3 had dissapeared. Yet, I can still see their names when I text them. (The ones that are not in my contacts book.) I keep thinking they are hidden away somewhere. Before I had gone to bed, I downloaded a Facebook up. (Not wanting anything to sync or whatnot.) Then uninstalled it this morning. Still no contacts. Really frustrating.
I've connected my Nexus 7 via OTG cable and installed Media Importer.I plugged any of my USB stick drives for ex. 8 GB drive and program recognizes the files (I see the list of files in program),but I can not open any single one of them,not even video not even pdf and music files.and light on my flash drive an't blinking when I run them.I only see that I can open .jpg
What could be the possible problem for it?I didn't root the device at all,and don't want to.
[Q] rl3066 chinese tablet (angel) stuck in recovery .
Hi,
I have one of these chinavasion Angel_-_9.7_Inch_HD_Bluetooth_Dual_Core_1.5GHz_16GB_8000m Ah (spec attached)
I have used 'romdump' and created boot.img, recovery.img and system.tar which I now have on my laptop. Since I switched it on this morning, the tablet is stuck in recovery mode, android with red triangle, I have used the power/vol+ to go into the menu and have cleared both data & cache and also factory reset. However, rebooting just takes me back to the dead android with the triangle.
So, is there anyway to put back the images I have, or can anyone suggest a suitable ROM (was JB 4.1.1) I can flash on to the tablet. I have (or did have adb working) with a root shell.
How do i know if my bootloader's unlocked? My xperia z is open line for any sim by default. i tried using s1tools (used for my xperia play) but did not work for my xz.. thanks guys!
So I was browsing the development threads of the S4 and I see people have posted the apks for many of the system apps. I'm unable to get them to install on my S3, even though others in the threads have had success with their S3s. I'm running Intergalactic ROM (TouchWiz). I even tried pushing apks to system/apps and installing but I just get "Application not installed". I tried DigitalClock.apk, SBrowser.apk, and some others, all with the same errors. I would post in their thread, but I don't have enough posts to do so. Can anyone shed some light on why I can't install these apps from the S4?
I an right now using AOKP 4.1.2 primeOu on my device.
I wanted to try CM10 on this. So what should I do? Means should flash boot.img again or will it be OK to just boot into recovery and go for the ROM after data and cache wipe.
Another thing is I am having ROM manager on my device. So I want to ask should I do the flashing from ROM manager.
Has anyone noticed the sensors are way off and barely work now after updating to the latest OS MB1? I just tried playing Need for speed most wanted and I can no longer move my phone from left to right to steer. The sensor gyroscope is messed up! And I checked the setting in the game it's not that.
Hi everyone, I'm new to Android Central Forums; and was hoping that someone can answer what may be two really simple (and stupid!) questions, I've done a search on the forums and couldn't find the answer and was hoping someone here with more experience of Android Apps may be able to answer
When you upgrade an application which has been downloaded from Google Play, is the application (.apk) removed from your device and then a full new .apk file installed, or is there some method of just upgrading the indivudual aspects of the application that need upgrading within the .apk?
Also if the apk file is fully removed how are using settings kept persistantly for an application, does that mean the back-end database for the app on the phone/tablet is persistant?
Hi all, I have from three months some cm10 themes on the google play. my answer is simple: in google checkout, is necessary to "send shipment notification?". from today i have always done this because i have max some downloads in a day. but is necessary? i ask this because it's very boring. thanks in advance
I like the new S-Voice, the driving mode has a different screen and it overall seems to work better. However, I've uninstalled and reinstalled to no avail, for some reason when I try to say "Send Text to Crystal" (that's my wife), it answers by saying she isn't in my phonebook, any ideas?
Im going desperate here. Ive owned a samsung galaxy mini in the past and installed a couple of apps there, I then upgraded to a sony xperia p and what I noticed was the apps and settings that I had for my galaxy mini were carried over to my xperia p which of course is nothing but great.
But then when I got a google nexus 7 I noticed that when I linked that device to my google account the settings that it got were from my galaxy mini, including all the apps that Ive already uninstalled.
Which leads me to believe that somehow when I was using my xperia p my app information, app installations and phone settings were not synced to google's servers or something.
So how can I sync my xperia p to google's servers as so that when I link my tablet to my account all the installed apps and settings from my xperia p would get downloaded? not the ones from my galaxy mini
TL;DR: Owned 2 phones, now own a tablet, settings and installed apps of the 2nd phone did not sync to my google account, so when I logged into my google account from my tablet the settings and installed apps that it downloaded were from my (1st) old phone.
Any chance you are rooted? If so, there is a great Rom called The People's Rom that lets you increase the volume for the entire device either 50% or 100% higher. I'm hard of hearing and the 50% increase really is great. If you are rooted, you can find the Rom .
I have a cracked screen, so I bought a bricked S2 off gumtree. I'm having a go at getting it to run again. So far all I know is that the previous owner was in the middle of flashing Odin, it said that the flash failed, and then he was unable to boot the phone any more. No powerup, no vol+home+power. No nothing.
The guy seems straight-up, I've no reason to suspect any more damage than reported. I've been in contact with him after the sale, and gave him a guilt-free opportunity to fess up in case he had done anything else.
I made a microUSB jig, and had a go with that, but no luck.
Is there anything else I can try?
--------
Secondary question (if I can't get the new phone up and running) - changing over the screens: would I dismantle both phones and move the screen from the new brick to my phone? or would I move the motherboard from the old/cracked to the new?
Saw this one Reddit (original ) and thought it would be best to post here in exact words
As I'm coming to learn, this may do nothing, this may make things worse, you'll need to some trial and error and even if it works fine one day, another day it may make things worse. Also, with the AFWall+/Android Firewall method, make sure it's not set to white list in the main interface unless you know what you're doing, otherwise no app will have internet access. You must also select apply in the menu after inputting the script/making changes or it will not change anything. As many of you know, yesterday there was a post here in about how buffering issues with the YouTube app made someone wonder if Google was killing it, of it was an issue on their end. It was not a case of either of them, but due to throttling of cached videos with many ISPs. The top comment gave you a fix for Windows. I gave an answer about how to fix it with Android, and for visibility sake I'm making a self-post about it. Onto the fix. You have two methods that I know of, the first is the fix I figured out and it requires a firewall app like
or . If you use Droidwall I highly recommend switching to one of these apps as Droidwall is no longer being worked on, and both these apps are based off of Droidwall. We will firstly want to press on the menu in the app, there is an option that states Set custom script. When you press on it you are presented with a page that gives you an area to type your scripts in, you'll want to input these two lines:
Code:
$IPTABLES -A "afwall" --destination "206.111.0.0/16" -j "afwall-reject"
Code:
$IPTABLES -A "afwall" --destination "173.194.55.0/24" -j "afwall-reject"
The second method is one that I came across . uses any old terminal app, such as , to modify the iptables. Just input these three lines and it will have the same effect:
suiptables -A OUTPUT -d 173.194.55.0/24 -j DROPiptables -A OUTPUT -d 206.111.0.0/16 -j DROPWhich one you should use will depend on what you have installed. However, I cannot help you if later you decided to stop blocking these IP ranges with terminal. If you wish to stop blocking with AFWall+ or Android Firewall, all you have to do is delete the two lines from the custom script.
Here is another way do to it (shown in the full post on edit 3)
For all those rooted people out there, I created a init.d script to execute these commands at phone startup. The only pre-requisites are:
• A kernel with init.d support. (Not sure what it is? [Look for a folder called "init.d" inside "/system/etc/", if it is there you are good to go!]).
• Root Explorer
Steps to follow: • Download S99youtube from here:
• Copy over this file to "/system/etc/init.d/".
• Using any root explorer give it permissions like this:
• Lastly again using Root Explorer change owner to to:
• Reboot.
VOILA! No need to execute these commands at startup everytime or use any third-party app!
NOTE:On the "S99youtube" file, I have not tried this method yet since from the sounds of it I need to run a kernel that's not stock(running the one that came with my Sprint S3) so if you are running stock go ahead and make the "init.d" folder, I'm not sure if will work though, you'll have to test it with this command (under Terminal Emulator):
su
iptables -L -n
And after that search for the IPs that are to be blocked, if they're there, the script executed successfully