« first day (497 days earlier)      last day (2753 days later) » 

10:00 AM
nothing works well perfect
 
sharing image to?
 
gmail
whtsapp..facebokk
etc
i mean installed apps
@AnshulTyagi
 
@Shvet thus that work
 
??
 
Search view text color
 
10:12 AM
not working :D
view is null every time
i am implementing in fragment
 
Are you using v7 searchview
 
yes
 
In As you can see code also
 
@Rahul hi
 
@Prabhakar hi
 
10:24 AM
@Rahul i m using recharge api when i hit the url on browser it gives proper response but whe i use that url in android always it give Failed why?
 
hello
 
@Tufan hi
 
hii @Prabhakar
 
@Tufan i m using recharge api when i hit the url on browser it gives proper response but whe i use that url in android always it give Failed why?
 
means when you get url.. and print it ..whatever you are using in android ..check its value in logcat ..copy it and paste in browser..than check it
 
10:29 AM
i did however it works on browser
 
some times what happend ..you have to replace " " with %20 ..like this ..so check once again your value in logcat @Prabhakar
so whats the issue with android ..does it give any error???
 
but there is no space
it gives failed
 
any error ????
 
no
 
this is realy bad idea..but do one thing copy url from browser and paste in ur android code...nd check it..and check also its logcat value
 
10:32 AM
only failed with error code 1 means User ID / app key missing
sbhi paitra ajma liya result same
 
so attach it @Prabhakar with your url ..i think you have to add app key..check documentation once more time
@Rahul @Shvet free hai kya
 
@Prabhakar encode your data in utf-8
@Tufan kya
 
@Rahul app key is missing
 
Hua
@Tufan Abe kither guma diya
 
bolna free to nahi hu par kuchh karunga
 
10:34 AM
are ruk
mera 1 hi issue hai gridlayout ka
 
@Rahul @Tufan i use in utf-8
 
gridLayoutManager=new GridLayoutManager(this,totalRows,GridLayoutManager.VERTICAL,false);

gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
@Override
public int getSpanSize(int position) {
int pos=Integer.parseInt(upperlist.get(position).get("row"));
Log.d("pos",pos+"");
return pos;
}
});
// customAdapter = new MyRecyclerAdapter(this, gridArray);
mRecyclerView.setLayoutManager( gridLayoutManager);
ye dekh but wo atleast 3 cols me aana chahiye wo nai aa raha hai..item decorator se ..bad me padding bagerah adjust kar lunga
@Rahul @Shvet
@Prabhakar app key missing hai...1 bar documentation check kar ...may b url ke sath encode karke bhejna ho
 
ok
 
nahi pata isme @Tufan
 
10:39 AM
@Tufan but android ke liye koi documentation nhi h
 
@Shvet @Rahul ye dekh is code se aisa result aa rhaa hai..uper se niche 1st and 2nd image combbine
and wo 31 ke bad 2nd row hai
@Prabhakar kuch to diya hoga na ...tujhe url kaha se mila...wahi check kar
 
@Kaushik there ?
 
@Tufan thik h dekhta hu
 
@Rahul bhai mere ....kuch to bata ...it is ossible @Rahul yaha bas thoda madad kar de bhai
@Shvet did you seen it
 
yes
one time used gridlayout but i dont need to customize it
 
10:42 AM
@Rahul need ilittle help in retrofit class
 
so i just used it as a grideview with 3 columns
 
@Kaushik
 
kuch bata sakta hai kya ..@Shvet..this is recycler view with gridlayout manager
 
@Tufan ruk thoda search karne de
@Erum ??
 
@Prabhakar
 
10:44 AM
ha kar please and wo question ka answer v dekh le please 1 bar ..kuch to bataya hai usne ..but kaise karna hai dont know
 
mjhe clas structure me problem arahih aeserver se data mil rha hae but mere pass success k bjae failure me arha hae @Kaushik
 
@Rahul @Shvet ye answer pad le bhai 1 bar and kuch samjhe to bata dena
0
A: RecyclerView with GridLayoutManager

Avinash RBased on the type of bus choice, switch between GridLayoutManager, and StaggeredGridLayoutManager. For all the types, use a header view with just a steering wheel icon right aligned. For the seater-only type: use a 4 span GridLayoutManager use an item decorator for providing the spacing betw...

 
@Tufan dekh esame ek for loop h
Agar dynamic view inflate karega to ho jayega
@Erum failure me kuchh message h
@Tufan ??
 
@Roman yes
 
RetrofitError:retrofit.client.Response@422c5478
 
10:47 AM
i am trying to share image
using intent share
in installed apps
 
@Erum erro.get message esha kuchh h
 
that means @Rahul no need of grid layout manager..direct infalte karke
 
but in whts app only its working
in other apps
 
@Tufan yes
 
not working
 
10:48 AM
@Tufan bahut kuchh manager karna padega
 
yes abhi likh k run kia hae @Rahul
 
kar lunga bhai ...tu bol sirf 1 bar kya kya karna padega ..bad me issue nai aana chahiye
 
@Roman when you click what in pop-up dialog what you see
Can show me screen shot
 
@Tufan
 
1 kam kar pastie me likh ke de...kya kya steps aayega .
 
10:50 AM
@Tufan are esako thoda time lagega
@Tufan dekh pas row h
Aur column bhi h right ?
 
aur kuch dusra tarika nai hai bhai
 
RetrofitError:com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Invalid double: "A129F2EC-A4F8-DFE1-4A07-A64AA11EEBFA"
 
haa
 
@Rahul
 
@Tufan check for loop in link
@Model class me error
H
 
10:52 AM
ha wahi dekh raha hu ..run time css banaya hai
 
@Tufan see only for loop logic
Usame Hi usame seat add kiye h
Sabase pahal list ka loop rahega
Usake bad do loop aur rahenge
 
haa
than
 
row aur colum ka
 
okay..list ka kyun??
 
Abs list ke andher row aur column h na
 
10:55 AM
okay sorry got it bol
abe lena kiske andar hai gridlayout try kiya tha but usme spec set nai ho raha tha ..always index ot of bound batata tha
 
Then vo dekh jaha str.push likha vaha seat add karni h
@Tufan dekh ek demo project bana
Usame recylerview mat use karna
Dekh Pahale list me sari values store kar lena
 
tu ye dekh bhai
try karke rakha hai maine
 
@Erum model jo diye the wo kiya ?
 
but isme problem aa rhaa hai uska height width set karne me
myGridLayout.addView(imageView,new GridLayout.LayoutParams(
GridLayout.spec(xPos,1),
GridLayout.spec(yPos, 1)));
 
10:59 AM
@Rahul facebook ka latest sdk me profile pic ka url kaise milega?
 
0
Q: Android: Implement round corners on seekbar change on Linearlayout?

Sanchit PaurushI am working on a project where I have taken a Linearlayout which contains a image view. I have enabled touchmove on Image view. So it feels like user can move the image with in linear layout. Now, we need to add a functionality where user can make the corners of linearlayout rounded on change of...

 
@Kaushik graph api se
 
hmmm
 
Okhttp use karna
Nahi to vo redirect karta h
 
@Rahul jaise kiya hai maine gridlayout ka waise hi karnna hai na
 
11:02 AM
id, user name ye sab mil raha hai
par pic nehi mil raha hai error aa raha hai 404 ka
 
@Kaushik profile picture view karke class h
 
@rahul
 
URL url = new URL("https://graph.facebook.com/" + id + "/picture?type=large");
@Kaushik
 
did you check
 
@Roman that's write
What else you want
??
 
11:05 AM
@Rahul batayega kya bhai
 
@Tufan ek normal layout me dynamically add kar na
 
yup ho tu giya hae but ek issue hae
@Kaushik
 
are normal gridlayout liya hai maine ..beacuse row and cols se play kar sakte hai
tu ye dekh but image view add v ho raha hai but gridlayout param set nai ho raha
 
Manually height aur with de
Like 100,100
 
but image is not attaching in gmail or facebok
thats the issue
 
11:07 AM
kya @Erum
 
leta nai hai ye dekh myGridLayout.addView(imageView,new GridLayout.LayoutParams(50,50));
 
@Tufan dusare layout se try kar
 
okay
 
@Roman have you use .putExtra
 
ho to raha hai dusre se but ..aage jake kuch issue na create kare
 
11:10 AM
@Tufan screen shot
 
see the pastie
@Rahul
 
wait code dekhna padega...itna nai hona chaiye
 
@Roman have tryied with directory path
Where is your image path located in res ?
 
drawable
 
pff
So after studying java for 6 months I finally find myself good enough to start studying android
development
 
11:22 AM
@Roman you can set that uri on image view
 
what?
 
For debugging take one imageview and set uri on imageview
 
Is it just me, or is android dev even more detached from JAVA than windows/pc development? With maintaining the manifest file (and not only for configuration, but I now noticed it also influences the way android calls several methods).
 
@paul23 java is mostly use in Enterprise application
 
@Rahul I'm comparing java/android to C++/win32 & C#/windows.net apps.
 
11:25 AM
@Rahul
can you tell
 
@Roman Uri uri = Uri.parse("android.resource://"+context.getPackageName()+"/drawable/myimage");
That correct uri
Just replace myimage to you image name
@paul23 now most of company use cross platform to develop a aap
May be these three language are not enough to compare
 
I'm currently reading about "Handling Runtime Changes". I'm now wondering: is overloading configuration changes the way to go for apps that DONT want to draw differently whenever a keyboard pops up/screen rotates? (IE: for games)
 
where
@Rahul
in my code i dont have that
 
You uri doest not have the valid path
 
@Rahul Not really comparing the languages, more comparing the fact I can just write a win32 app using simple C code. Where I have to delve into the manifest file to let an android app run exactly how I want (not getting destroyed etc).
I've as a task to -before the end of this year- create a small "app" that enables a "hide and seek" using mobile phone/GPS.
 
11:29 AM
com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine occurred while retrieving value. What is this error?
 
i have girdview
on griditem's click listnere
i am doing that operation
 
There you go
@Roman see bmpUri
Is that correct
 
I'm now wondering: is overloading configuration changes the way to go for apps that DONT want to draw differently whenever a keyboard pops up/screen rotates? (IE: for games) (- or should I ask this question about general ideas on SO?)
 
@paul23 you handle in android esaly
 
11:32 AM
Uri bmpUri = Uri.parse("file://"+"android.resource://com.adult_emoji/drawable/"+imageId[posit‌​ion]);
this line?
@Rahul
 
Yes
 
but how to get grid image
/"+imageId[posit‌​ion
is it right?
 
Hmm I also have to fix the problem with intel haxm not supported on my pc
Quite annoying I have to always wait for my mobile phone to load when testing
Especially when learning and testing each 2-3 minutes it's a pain
 
You can turn on intent virtualization from biaos
And other you can use genymotion
Its basically rum on virtualbox
Intent-intel*
 
@Rahul
com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine occurred while retrieving value. What is this error?
 
11:35 AM
@Rahul Couldn't find that option in my bios :(. Maybe I dind't look good enough yet though
 
            Uri bmpUri = Uri.parse("android.resource://"+getApplicationContext().getPackageName()+"android.resource://com.adult_emoji/drawable/"+imageId[position]);
is it right?
@Rahul
 
You just need check weather your processor support or not
 
Last time I checked the installation of genymotion crashed due to not being able to contact download servers or something?
Thought it actually died. But apparently not :P
 
@Roman noap
@paul23 which cpu processor do you have
 
core duo
(yup it's old)
 
11:38 AM
Ohh then it might be not support
 
Still running windows vista as my comp is too slow for windows 7. And yes believe it or not but windows 7 runs slower (more slowly?) on my pc.
 
Windows vista was to slow ony pc
I don't have problem with Windows 7
 
Meh xp is faster.. But it's no longer supported (sad face)
 
But I prefer Linux
 
I prefer gaming.. So bye bye linux :P
 
11:41 AM
That's cool
 
then how?
@Rahul
 
@Rahul 1 question
 
After package name "/drawable/imagename"
 
Though maybe in the future I will start using linux.. Hardly ever game other than games I made myself. It's just 1-2 programs that are just missing that I need in my day to day life (older CATIA, visual studio, gamemaker) :/.
 
@DroidWormNarendra yes
 
11:44 AM
suppose I have multiple camera options dynamically generated on the screen, and want to update the corresponding camera placeholder with the captured image
@Rahul
how to handle this?
 
@paul23 do you know about udk
 
I honestly wonder how those professional studios (and devs who keep proclaiming they love linux) work around VS.
@Rahul unreal development kit? yes...
 
@DroidWormNarendra you need release cammera
 
@Rahul I can handle that using RequestCode, but only for the static options, but need to do it for dynamic
what is releaseCamera?
 
@paul23 yes
 
11:46 AM
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image*//*");
Uri imageUri = Uri.parse("android.resource://com.adult_emoji/drawable/"+imageId[position]);
Log.i("imageUri", "" + imageUri);
share.putExtra(Intent.EXTRA_STREAM,imageUri);
startActivity(Intent.createChooser(share, "Share Image"));
@Rahul
when i use this code..in gmail it attach some different file
but not image
and as you said drawable/imagename
so in my grid i have so many images
user selec t any image and intent share option will apper
to sharing
 
@Roman yes imagename not imageid
 
@Rahul You're commenting on me using gamemaker? I don't typically make large games, let alone 3d. User interface is nothing for me (yet is important for 3d games). I make small games, like last week I created a "learn to fly" copy - but one where the flight mechanics are actually true to real life, and everything is simulated from input parameters that you will also find for real aircraft/wings.
 
Ohh OK I just want to learn game development
 
see fll pastie here
 
@Rahul how?
 
11:49 AM
@Rahul
 
dl.dropboxusercontent.com/u/61559928/learn2fly/index.html < and this is a test showoff of hte mechanics working.
 
@DroidWormNarendra just inctrement value run time
 
Dev
@Rahul tablayout me custom view set kiya hai jisme textview hai selection pr textviw ka text chaiye
int a = tabLayout.getSelectedTabPosition();

System.out.println("position " + a + " "+ tabLayout.getTabAt(a).getText());
its giving null
 
@Dev usame setTag bhi h
@paul23 that's great
 
Not need for something like UDK to make that ;P
 
11:52 AM
@Roman you need just correct your uri
 
And yes I might make that in python or something nowadays too
 
Dev
@Rahul tabLayout.setTabGravity(TabLayout.GRAVITY_FILL);
for (int i=0; i<15; i++){
tabLayout.addTab(tabLayout.newTab().setCustomView(R.layout.sport_layout));
}
ye aise set kiya tha
 
But they also support in mobile gaming
Basically udk and unity
@Dev tumane customer view set kiya
 
Btw for android the google site really points you in the direction of using views & the corresponding "application", but for (as shown above) simple geometrical drawing applications what kind of library would one use?
 
Dev
@Rahul yes
 
11:55 AM
There is libgdx and AndEngine and bix2D is also there
 
@Rahul
Uri bmpUri = Uri.parse("android.resource://"+getApplicationContext().getPackageName()+"android.resource://com.adult_emoji/drawable/"+imageId[position]);
// Uri bmpUri = Uri.parse("file://"+"android.resource://com.adult_emoji/drawable/"+imageId[position]);
Log.i("imageUri", "" + bmpUri);
System.out.println("<<<<<<>>>"+bmpUri);
i did this way
and in logcat
System.outīš• <<<<<<>>>android.resource://com.adult_emojiandroid.resource://com.adult_emoji/dr‌​awable/2130837571
got this
 
@Roman you need pass image name not I'd
 
Is it easy -with those- to combine it with the standard widgets? Say a text field/buttons at the bottom and then a custom drawing in the mid of the application?
 
2
Q: Unable to send data to server in Json format using Soap Api getting base64 image can not be serlize

Research Developmentclass download1 extends AsyncTask { @Override protected void onPreExecute() { super.onPreExecute(); } @Override protected Void doInBackground(Void... params) { // TODO Auto-generated method stub try { SoapObject objSaveVisitInfraDetails = new SoapObject(NAMESPACE, ...

 
@Rahul can I pass the same imageview in the onActivityResult of camera capture, for which its called?
 
Dev
11:59 AM
@Rahul
 
@paul23 they widget by default include in android sdk
 

« first day (497 days earlier)      last day (2753 days later) »