« first day (1112 days earlier)      last day (2363 days later) » 
04:00 - 12:0012:00 - 21:00

4:46 AM
hi All
0
Q: How to replace a face with new face in Video/Gif like Jibjab Application for Android?

EthicsDevI want to develop an application just like a jibjab The core functionality is capture photo or get image from gallery and set to available GIF/Video's human face please check attached image. Please provide needful helps to achieve this .

please help me on this question
 
4:59 AM
Good Morning Guys :)
 
5:11 AM
good morning :)
 
@MukeshRana Hi :)
there ?
 
5:28 AM
Good Morning guys
 
gm @rekire
:)
 
gm
 
5:50 AM
@maveň helo
good morning guys :)
 
0
Q: How to arrange a string and assign it dataGridView or listview?

Account UnknownI have a datagridview with three columns, one with auto generated buttons and others are values. Now i need to store them into DB as a single value, and also to retrieve them back into another DataGridview. I used stringbuilder but it stores value in a single string format, so i can't retrie...

can anyone help me?
 
6:15 AM
Hi all good morning
 
@Pans @MukeshRana @Gajini gm guys
 
VGM @Flash
 
YO
 
Arraylist hashmap throw IndexOutOfBoundsException onpostexecute
Will any one help me ?
private ArrayList<HashMap<String, String>> mylist;
 
6:27 AM
@rekire
I need help yar
 
I need to start some updates brb
 
I didnt get u yar
 
In simple words: Wait.
can you show your onpostexecute method?
 
Yes
protected void onPostExecute(String result) {
// TODO Auto-generated method stub
super.onPostExecute(result);

String listid = null;
for (int i = 0; i < 1; i++) {

listid= mylist.get(i).get("0");
String lastupdated = mylist.get(i).get("1");
int status = Integer.parseInt(mylist.get(i).get("2"));
listname = mylist.get(i).get("3");
listmls = mylist.get(i).get("4");
}

Bundle bundle = new Bundle();
bundle.putString("listmls", listmls);
bundle.putString("listid", listid);
bundle.putString("listname", listname);
 
your for loop seems to be the issue.
you need to make sure that the values exits before accessing them
 
6:37 AM
@MukeshRana pick the phone >_<
 
@maveň I was driving at that time and right now I have bunch of calls scheduled with clients.. will talk to you at 4pm as we decided yesterday
 
@rekire Oh how ?
 
@MukeshRana f9
 
thanks :)
 
@MukeshRana lol
@berserk pls die today :xD
 
6:44 AM
hi all .. I am facing some issues with XSL.
 
@rekire i got error in for (int i = 0; i < 1; i++)
 
@Pans you just access the values even if the list is empty
try this for loop: for (int i = 0; i < mylist.size(); i++) {
 
@maveň wut?
 
@maveň you should think about your words :/
@Simmant go on
 
7:01 AM
If i use like this means also same exception @rekire
for (int i = 0; i < mylist.size(); i++)
 
@pans
 
how does your json look like?
 
what's the length of mylist.size()
 
it depends^^
 
posted on November 24, 2015

New Cyanide and Happiness Comic

 
7:13 AM
@rekire you don't know how evil he is
 
Hi anybody working in e-commerce Application in Android?
 
7:26 AM
V
hello
hope all doing well
in my android project showasaction not working
anyone faced this issue.pls help me if you have any solution
 
my project is not compiling heeeeelp
Error:Execution failed for task ':MyProject:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_60\bin\java.exe'' finished with non-zero exit value 2
 
O_O
1
A: ':app:transformClassesWithDexForDebug'. > com.android.build.transform.api.TransformException: when i added Facebook latest SDK in my studio project

HerryFor now i resolved issue by adding multidex defaultConfig { applicationId "com.xxxxx" minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionName "1.0" // Enabling multidex support. multiDexEnabled true } dependencies { compil...

 
hello guys
 
@berserk you think I run into that 65k method issue?
 
Can be possible
But I guess it gives MultiDex exception in that case.
Or maybe duplicate dependency.
 
7:39 AM
@rekire My problem is solved thanks
 
@Pans great
 
7:57 AM
i have a question my friends
i have a java lotus agent which have class name extends agentbase, this is a webservice. Now if someone sends an XML to this webservice he wants to receive a response 200 OK
if i post a xml through firefox extension then i get 200 OK back, but if he sends through .net application he get error, most likely protocol violation
how can i send correct 200 back with content type text/xml, can i make an extra class which extends httpservlet and then in doPost change the contentype and charset
 
didn't get you
you mean posting from firefox gives 200, while posting from .net doesn't?
I don't have any knowledge of java lotus agent tho.
 
its same as java webservice
i have a class which i receive the xml etc but i want an extra class which i get doPost
can i call this servlet class in my main class afterwards?
yes in firefox i get 200 OK in .net not
 
Sorry not much clue.
 
try getting berserk mode on
xD
 
Didn't worked in java servelets.
xD
That's for fighting lol
 
8:06 AM
haha
fight the java system
haha
 
picks up sword
Here I come Java!
 
/me a
:o
 
lol its not IRC
 
haha
 
surround with astericks for italics
I am italic
 
8:08 AM
a
whatsap DUDE
 
Nothing much... dude...
;P
 
@rekire issue get solve .. actually I put xsl pdf document in local drive which is not same as I am having in my configuration file. I update it and its working fine now.
how silly I am :p
 
@Simmant well xsl can be tricky
 
@bboni is your webservice soap based ?
 
8:36 AM
yeah its is .. but from last one hour I am wondering why it not get showing correct view even after complete build in my workspace.
 
8:52 AM
@rahul
java based
 
It contains simple XML or some namespace ,soap action or something else ?
 
any one work on Tls
for encryption
?
 
hello there
i want to know if we can have multiple namespaces in style.xml file
 
9:15 AM
@ResearchDevelopment give me link
 
@ResearchDevelopment what r u facing problem
 
i have to secure my web service that no one can hack my data even they break code from apk
 
@ResearchDevelopment I worked with SSL but not TLS
 
9:23 AM
Do you mean you don't want to show your web services URL even some one decompile the apk file ?
 
from SSl We can safe Our data
yes
 
I would use System Variables.
 
and also no one can
get data from hit web service or request on that
 
https://github.com/erickok/transdroid/blob/master/app/src/main/java/org/transdroid/daemon/util/TlsSniSocketFactory.java

http://blog.dev-area.net/2015/08/13/android-4-1-enable-tls-1-1-and-tls-1-2/
 
i want secure my web service basically
even we use fillder then also no one can get data
 
9:25 AM
As I said for hiding web services URL I would use System variables.
 
can u please suggest me URL
for this
from that our web service will safe
@Flash but how i will use in webservice
so that no one can acess data from web service
 
11
A: Android gradle build System.getEnv("RELEASE_PASSWORD") returns null

TheLittleNarutoFor a Windows user, if you make a new environment variable, you need to restart your PC. I don't know what's wrong with Windows, But that's how it works on it. What I tried is, In my gradle script I wrote a task to print my JAVA_HOME variable path like this: task printJavaHome{ println Syst...

 
@TheLittleNaruto +1
@ResearchDevelopment let me find for u
 
0
Q: Java based lotus agent how to change content type

bboniI have a java agent in lotus notes in which i receive an xml and parse this. this is the code: import org.w3c.dom.Document; import org.w3c.dom.NodeList; import org.w3c.dom.Node; import org.w3c.dom.Element; import java.io.File; import java.util.ArrayList; import java.util.Date; import java.util....

 
First create a system variable, give it a name like "MY_APP_URL" and set the value "http://www.example.com/mywebservices" @Res
 
9:29 AM
ok then
 
And then define a variable in your app module's gradle script.
And assign that system variable value to it.
Later you can use that defined variable which you declared in your script, via BuildConfig in your java code.
In that way one can know the name of the variable but not the value when your app apk gets decompiled.
 
@ResearchDevelopment check out this paste.ofcode.org/Fv35mJWSFKVjE6KTjf8mCi
also I kept .bks file under /res/raw/mykeystore.bks
There is another way suggested by @TheLittleNaruto
 
@Flash Isn't apache package has been deprecated with 23 API level already ?
 
@TheLittleNaruto u r right...but I used in one of the projects so shared my code..
 
Avoid using deprecated/deleted API.
 
9:42 AM
@TheLittleNaruto Naruto-kun..hai..!
 
9:57 AM
 
@TheLittleNaruto so cute... where is @Hans1984 ?
 
Well He must be inside his blanket because of cold.
 
This morning it was very hot 2°C.
 
@MukeshRana there ?
@berserk alive ?
 
10:02 AM
17 hours ago, by TheLittleNaruto
@Hans1984 If I were there, I would have died until now. :)
 
Nah, dead.
wbu?
 
@berserk :(
where is mukesh?
 
@TheLittleNaruto properbly^^
 
he is alive, try calling him :p
 
10:04 AM
@TheLittleNaruto cat XD
 
@berserk :(
 
@maveň would this be a right punishment of @berserk in your opinion?^^
 
i am using this for encryt
 
@rekire no more fun me crying :'(
 
10:06 AM
@maveň well you told that he would be evil :/
 
@rekire lets talk about that later
 
@rekire Haa?! I ain't catz! :p
 
@berserk lol
 
10:08 AM
in Tavern on the Meta on Meta Stack Exchange Chat, 3 hours ago, by berserk
@maveň I AIN'T CATZ! ლ(ಠ益ಠლ)
 
@berserk I was just making jokes about the weather here
 
@rekire lol :D
 
@TheLittleNaruto I will call you hans okay? :/
 
10:12 AM
No Please! :/
 
Why HANS?
 
I'll stop it right away!
If that helps.
 
Good baby
 
Thanks ^^
 
lol
 
10:13 AM
Imperator rekire on duty
 
Your Grace!
 
^^
 
@MukeshRana Files under the build folder are generated and should not be edited
 
tried that code
@MukeshRana :(
@TheLittleNaruto wanaa mew?
 
10:15 AM
Naah
 
lol
you need it baby
 
No I don't!
I hate pets.
I like 'em only in gifs.
 
@TheLittleNaruto fish?
 
Not that too.
 
The Siamese fighting fish (Betta splendens), also sometimes colloquially known as the Betta, is a species in the Gourami family which is popular as an aquarium fish. They are called pla-kad (biting fish) in Thai or trey krem in Khmer. They are a highly aggressive fish that typically are unable to be kept in community tanks - and even the females may kill each other. These species are native to the Mekong basin of Laos, Cambodia, Vietnam and Thailand The fish can be found in vast standing waters of canals, rice paddies and floodplains. In January 2014 a large population of the fish was discovered...
I have them
 
10:17 AM
Nice :) You live with your parents ?
 
@TheLittleNaruto nopes
I have them at my home
 
I see, So that makes sense.
Because I know the life of a bachelor in India.
;)
 
@maveň Wow looks pretty.
@Flash Yeah! Today morning I read the tweets.
 
10:20 AM
@TheLittleNaruto thanks
they kill all other species of the fish in the tank
 
hans to the rescue!
i heard my name
who needs help
:)
hey \o/
hello @TheLittleNaruto @rekire
 
@TheLittleNaruto wtf people r doing..
 
@Hans1984 Hey \o/
@Flash Ignoring such talks is best way to discouraging intolerance.
 
@Hans1984 hehe
 
hi guyz
please help me with this questions
0
Q: how to get sms ringtone in android

osimer potheI want to develop a messaging app . In this messaging app , the user can change the default sms ringtone . For this I have to show in a dialogue all sms ringtone . How can I do this ?

 
10:29 AM
@TheLittleNaruto Yes..
 
0
A: how to get sms ringtone in android

rekireI would offer the user a preferences screen. There is a special entry for Rintones: <RingtonePreference /> <PreferenceScreen> <RingtonePreference android:title="Current Ringtone" android:key="ring" /> </PreferenceScreen> After using that property the rintone will been sav...

 
image/* is the way to get all images
is there a way to get only .png images?
images/png ?
 
theoretically right
 
ok i ll try
hmm
no it goes in another folder
davor hat es alle pics in einem ordner geöffnet. jetzt zeigt es mir 2 ordner in denen pics sind, sowohl jpg als auch png
 
how to use preferences screen ?
 
10:37 AM
I wrote yet another comment
 
grrrr
 
@TheLittleNaruto more or less... what was your point with that?
 
its way too hot in here
i think they got the heating on max level
:/
 
@Hans1984 can you give me some more context? I do not really get that folders you are talking about
 
10:38 AM
no wonder they are that angry..
nevermind rekire
i think this solution shoudl work
now the user can chose between folder and he also has all the default gallery functions
like rotate
 
@rekire , I need a bit more exploration
 
and delete
i wish i could open the direct folder
 
I cant understand how can I get list of sms rigntone
 
its in file/storage/emulated/0
but i cant open that folder directly
 
@osimerpothe I do not know but that property uses internally Intent intent = new Intent(RingtoneManager.ACTION_RINGTONE_PICKER);
 
10:41 AM
I have to declare this in a file
<PreferenceScreen>
<RingtonePreference
android:title="Current Ringtone"
android:key="ring" />
</PreferenceScreen>
right ?
THen what have I to do ?
 
when you return from that intent you have the uri in this feld: Uri uri = data.getParcelableExtra(RingtoneManager.EXTRA_RINGTONE_PICKED_URI);
basically write that ui and everything else happens automatically.
the alternative is to use that intent I wrote in the chat above
 
Can youwrite all this in answer ?
 
yeah...
 
I cant understand
Please write a bit more so that I can understand
 
I rewrote the answer
 
10:53 AM
what is mRequestCode?
 
an int you can define
 
I have changed the questions a bit more .
Can you see this ?
 
uff not really? that should not be too hard to find out this small details. well johnrao07s answer is nice
 
my captures are only showing up if i restart the device
8(
if already used
sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE));
doesn't help
 
@osimerpothe added even that :/
@Hans1984 so you work with the camera directly? Did you remember to close the device when done?
 
11:02 AM
what is callChangeListener ?
 
I removed it.
 
close the device?
 
puh :/
 
i'm using a fileoutputstream to save the pictures
and im closing that stream
after every picture
 
close the device (i.e camera) ; I guess.
 
11:04 AM
yeah afterwards you need to free that camera object too else you leak the context and you need to reboot the device
 
ok
how can i do that?
 
camera.close() i guess
 
private void takePhoto() {

final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(getTempFile(this)));
startActivityForResult(intent, REQUEST_CAMERA);
}
private File getTempFile(Context context) {
sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE));
final File path = new File(Environment.getExternalStorageDirectory(), context.getPackageName());
if (!path.exists()) {
path.mkdir();
}
Log.d("PFAD", String.valueOf(path));

return new File(path, "image.tmp");
}
thats how i take the picture
 
11:06 AM
Ouch!
 
that is via intent and should work
 
@rekire , the name of the ringtone is not available
In the textview the following string is set
 
it does work
but the pictures are not showing up in the gallery
 
content://media/internal/audio
 
they are visible on the device when i get into the folder
but the only appear in the gallery after i reboot :(
 
11:07 AM
@rekire , the name of the ringtone is not available

In the textview the following string is set
content://media/internal/audio
 
@osimerpothe AFIK just the file path is transmitted
@osimerpothe boy please stop pinging me every 20 seconds. it is fine if I don't response within 5 minutes :/
2
 
sorry rekire
 
@osimerpothe this is what I expect.
 
ok
can you tell me how to set only the name of the ringtone ?
 
now you can read that file from the content provider and play that sound. you do not need more for the notification api.
 
11:09 AM
How can I set the name of the sms ringtone in the textview ?
 
I would guess you need to use the RingtoneManager class
@osimerpothe I do not know.
 
found a solution
 
How can I set the sms ringtone as default sms ringtone ?
 
\o\\o\ now lets dance
 
@rekire (I am sorry for ping!) but rofl!
 
11:11 AM
/o//o//o//o/
\o\\o\\o\
 
\o\\o\
/o//o/
 
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"+ Environment.getExternalStorageDirectory())));
did the trick
after saving the picture
while sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE));
 
@Flash mykeystore what is this
 
didnt help
 
@TheLittleNaruto bad baby I will throw a kitten after you :P
 
11:12 AM
Sorry :P
SCNR
 
@Hans1984 great to know. by the way you took part that the final election? ;)
 
Ah yes! ^
Did you vote for rekire already in second phase ? @Hans1984
 
no
 
8]
 
11:13 AM
rofl
 
is it still possible
?
 
Well that is clearly visible
@Hans1984 You better hurry!
 
hey @SweetWisherツ
 
ok gave you my vote @rekire
 
11:17 AM
@Hans1984 wohoo thx :D
 
so im just gonna waste 2. and 3. vote
cuz i dont feel like reading all that stuff
 
^^
brb lunch
 
can i leave out 2. and 3.?
and 1 is still saved?
 
11:32 AM
ok i voted for 3 ppl
:=)
 
@Hans1984 I wasted too.
 
i actually read them all
:D
 
@rekire , how can I set the ringtone as default one ?
 
hi! everyone. while uploading an apk to app store i'm getting the following error: Upload failed Your APK file name must end with '.apk'. i don't understand what to do. can anyone help?
 
11:50 AM
it has to end with .apk
:>
appname.apk ?
is it named like that?
 
@berserk pls don't star them :3
 
after signing the apk, i'm getting an app name enthusiast. i guess dat it ends with an apk only
 
Hi all.. I have one questions
about google analytics...
Actually I am accessing analytices data from java
 
can anyone take look at this and tell me what's wrong? pastebin.com/TynaUnMN
 
:o
i got a silver badge for voting a candidate
 
11:56 AM
I want to access screen report.. How to access it?..
 
great
now i have two silver badges+
aint that something :)
 
@Hans1984 nice
 
\o/
meeh
 
04:00 - 12:0012:00 - 21:00

« first day (1112 days earlier)      last day (2363 days later) »