Questions tagged [sharing]

Use tag 'share' instead. Tag 'share' is for questions about sharing resources in (local, and social) networks.

1217 questions
262
votes
14 answers

What's the best way to share data between activities?

I have one activity which is the main activity used throughout the app and it has a number of variables. I have two other activities which I would like to be able to use the data from the first activity. Now I know I can do something like…
Crazyfool
  • 2,719
  • 3
  • 16
  • 5
139
votes
26 answers

Sending message through WhatsApp

Since I found some older posts, that tell that whatsapp doesn't support this, I was wondering if something had changed and if there is a way to open a whatsapp 'chat' with a number that I'm sending through an intent?
Diego
  • 4,011
  • 10
  • 50
  • 76
108
votes
5 answers

Has Facebook sharer.php changed to no longer accept detailed parameters?

We have been opening a sharing popup (via window.open) with the URL like https://www.facebook.com/sharer/sharer.php?s=100&p[title]=EXAMPLE&p[summary]=EXAMPLE&p[url]=EXAMPLE&p[images][0]=EXAMPLE and until some unknown point in the last month or so…
tdous
  • 1,599
  • 2
  • 14
  • 19
80
votes
2 answers

Use SVG as og:image

Is it possible to use an SVG for an Open Graph image? I tried it and it didn't work with Facebook, however I'm unsure if it's a problem with my SVG or if it's generally not possible. I did it like this:
Raphael Jeger
  • 5,024
  • 13
  • 48
  • 79
71
votes
6 answers

Sharing a complex object between processes?

I have a fairly complex Python object that I need to share between multiple processes. I launch these processes using multiprocessing.Process. When I share an object with multiprocessing.Queue and multiprocessing.Pipe in it, they are shared just…
Paul
  • 2,115
  • 3
  • 17
  • 14
67
votes
6 answers

Sharing databases between projects within Intellij

I use Intellij to inspect databases, run sql, view data in tables etc. This all works fine but the only thing I am missing is the ability to define these datasources once and view them in all my projects i.e. that I can share them between other…
Nos
  • 1,024
  • 1
  • 8
  • 14
61
votes
7 answers

Sharing URL to Facebook, Twitter and email in Android?

Is there anything similar to getsharekit.com for Android? It allows to share URL's to social networking sites. Is there anything similar to this or do I need to code separately for facebook, Twitter and email?
sunil
  • 9,541
  • 18
  • 66
  • 88
60
votes
10 answers

Android sharing Files, by sending them via email or other apps

I have a list of files in my android app and I want to be able to get the selected items and send them via email or any other sharing app. Here is my code. Intent sendIntent = new Intent(); …
user2351234
  • 965
  • 2
  • 12
  • 20
58
votes
8 answers

Updating GUI (WPF) using a different thread

Just have a problem here that I have no idea how to fix. I am doing a small project which involves a GUI and serial data. The GUI is being run by the main thread and since the data variables that hold my incoming serial data need to be updated…
user517002
  • 599
  • 1
  • 4
  • 4
57
votes
3 answers

Share SQLite database between 2 android apps?

I need to share a single database between 2 apps. I know that the database will be created on /data/data/MY_PACKAGE/databases/ . Since the packages names are different is it possible to define the path to one package name when I create the database…
bond
  • 573
  • 1
  • 6
  • 5
56
votes
7 answers

How to Share Entire Android App with Share Intent

I have used Sharing-type intents before, such as: Intent intent = new Intent(Intent.ACTION_SEND); intent.setType("plain/text"); intent.putExtra(Intent.EXTRA_EMAIL, new String[] { "---" }); intent.putExtra(Intent.EXTRA_SUBJECT,…
TheLettuceMaster
  • 15,594
  • 48
  • 153
  • 259
52
votes
7 answers

Sharing & modifying a variable between multiple files node.js

main.js var count = 1; // psuedocode // if (words typed begins with @add) require('./add.js'); // if (words typed begins with @remove) require('./remove.js'); // if (words typed begins with @total) require('./total.js'); module.exports.count =…
thtsigma
  • 4,878
  • 2
  • 28
  • 29
50
votes
4 answers

Combine ASP.Net MVC with WebForms

Is it possible to create a MVC root application (Portal with masterpages and themes) and add a couple of WebForms based subprojects (we already have an existing WebForms application that we would like to integrate into the Portal)? How would you…
Yvo
  • 18,681
  • 11
  • 71
  • 90
45
votes
6 answers

How to code sharing between Android and iOS

I'm moving away from strict Android development and wanting to create iPhone applications. My understanding is that I can code the backend of iOS applications in C/C++ and also that I can use the NDK to include C/C++ code in Android apps. My…
Sonoman
  • 3,379
  • 9
  • 45
  • 61
44
votes
8 answers

What's your favorite cross domain cookie sharing approach?

I see iframe/p3p trick is the most popular one around, but I personally don't like it because javascript + hidden fields + frame really make it look like a hack job. I've also come across a master-slave approach using web service to communicate…
Haoest
  • 13,610
  • 29
  • 89
  • 105
1
2 3
81 82