« first day (917 days earlier)      last day (2333 days later) » 

8:00 AM
you can use Handler instead of using activity context .sometime activity context is to costly and also able to create memory leak if you are not using proper way
 
^ exactly.
 
hii all
 
@Kirti Hi, hows you?
 
try {
HomeFragment_Driver.MyTimerTask timerTask_location = null;
timerTask_location = new HomeFragment_Driver().new MyTimerTask(NotiDialog.this);
Timer timer = new Timer();
timer.schedule(timerTask_location, 1000, 10000);
} catch (Exception e) {
e.printStackTrace();
}
This is how i call runOnUithread
 
@King i am good
how r u??
 
8:03 AM
@Arpit: you should use handler instead of fragment instace
 
@Kirti me good too :)
 
Handler should be created on UI thread and pass mesage to handler
 
so busy busy
@Kirti
 
haha nope that much
 
okies :)
 
ABC
8:05 AM
@Rahul are you asking for popup pincode?
 
ABC
@Rahul i will come back in another 30 mint.
 
@king is there any way to force user to upgrade our app ??
from playstore ? if any updates are avaialble for app ?
 
:33135824 wt removed?
@Erum don't know abt that
 
8:07 AM
sry
 
@kinjalpatel
 
:33135834 yes. store it on your own server
 
@RRB ok
 
i ahve done it
we send push notification and dialog as paytm does
 
RRB
@King bfr it was nt der
 
8:08 AM
@RRB do as suggested
Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:47:9-51:75 to override.
this one ^^
 
RRB
@King to all the <activity>element?
 
no
@RRB that activity
47:9-51:75
at these lines ^^
 
@ABC are you testing that on emulator
 
RRB
hmm
 
8:24 AM
Hi
Is it possible to send incoming call information from my app to the homescreen (android) ...so if i don't know the incoming number my app should look at their database and if the number exit ..they should send the contact to the homescreen dialer info
 
BRB, lunch time :)
 
@eddykordo its same as true caller. yes you can do it.
 
ok ...
use true caller his own dialer ?
 
true caller have dialer app as well as it show dialog with person name and incoming call number. so there are two options you can show your own dialer or you can just show dialog with name of the person and number.
 
ahh ok ...so i have to show the dialog
thx
but i can't add the name of the person to default dialer ...?
by incoming call
 
@eddykordo no. to show name instead of number in default dialog that number must be saved in contacts else it will show only number.
 
@King :p
 
ok ... so my app have to show a dialog on homescreen over the default dialer app right ?
 
exactly.
have you checked Truecaller app ?
 
8:42 AM
yes ...
 
same your app should behave.
 
RRB
@Rahul ??
 
ok ... ;) ... thanks for your advice
 
pleasure :)
 
ABC
@Rahul I did but same situation
 
8:54 AM
Hello all
@King
@Rahul
@Roshnijain
@AnshulTyagi
@ColdFire
@RRB @theremin
 
gm
 
@ColdFire lol vgm ;)
 
lol?
 
good aftrnnon
:P
@ColdFire m comparing 2 strings using .equals // from spinner and is saving in one string of sahed pref
and
 
and?
 
8:57 AM
and in other activity
 
if someone can help please see this question
1
Q: cordova inappbrowser cannot open an external url on iOS

RiccardoI'm developing an hybrid app in phonegap and basically I have a button in the index page which whenever is clicked opens up an external url. I succeed on Android and fail on iOS. I've looked up these questions iOS / Cordova: InAppBrowser not working - cordova/phonegap onclick doesn't work - Pho...

 
i m fetching its value
but getting other
@ColdFire
 
@Pihu try to print the string before passing to other activity.
 
ok
@SilentKiller i gt it actually activity finishes and spinner goes on first item
 
@SilentKiller thx
It works after change to tabLayout :)
 
9:00 AM
@Pihu first you have to check which you get value from sharedpref its right? if not then make sure you have given right key to get pref.
 
@Chris.C so should I answer on that question ? ;)
 
@Pihu HI :)
@Rahul why?
 
if I need to reuse and update the content the fragment on addOnTabSelectedListener, should I using switch statement on onTabSelected to setText or setVisibility of target item??
 
@Pihu did you use commit while saving
 
@King me also don't know why
 
9:02 AM
@SilentKiller cheers, nice
 
ABC
Hi All @Pihu, @King,@,@Chris.C,@ColdFire
 
RRB
@Pihu hello :)
 
you did it @Rahul
 
@ABC Hey
 
9:02 AM
@ABC gd afternoon
 
@Chris.C :)
 
ABC
gud afternoon
 
@ColdFire yes
 
RRB
@Rahul if u dont know den who knows :(
 
@ABC hello
 
9:03 AM
@RRB Lol leave it
 
@RRB god knws ;)
 
ABC
@Pihu hi
 
Google TV remote in Android Programming...... don't know :(
 
not a good decision
 
RRB
@Rahul yes hv to :|
@Pihu yup :D
 
9:04 AM
@Chris.C don't know man, need to check
 
@SilentKiller I can't setText or setVisibility which stored in fragment on onTabSelected part, where should I edit? :O
 
@Chris.C you can get fragment instance from viewpager and can call any method of fragment
 
@Pihu hii
 
9:21 AM
I am having this error
09-28 15:18:32.791: E/ActivityThread(6258): RuntimeExceptionjava.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{com.era.conversionvideotoaudio/com.era.conversionvideotoaudio.MainActivity}: java.lang.ClassNotFoundException:
Didn't find class "com.era.conversionvideotoaudio.MainActivity" on path: DexPathList[[zip file
"/mnt/asec/com.era.conversionvideotoaudio-2/pkg.apk"],nativeLibraryDirectories=[/mnt/asec/com.era.conversionvideotoaudio-2/lib, /vendor/lib, /system/lib]]
 
have you added MainActvity to your manifest file ?
 
ABC
i thought also same as@SilentKiller
 
Yes
 
@SagorAhmed show that activity block.
 
public class MainActivity extends ActionBarActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

getSupportActionBar().setCustomView(R.layout.action_bar);

}



}
 
9:25 AM
@SagorAhmed not this one. from the androidManifest.xml
 
@ABC don't know about TV
sorry
 
ABC
it's okay @Kaushik
 
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.era.conversionvideotoaudio"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.era.conversionvideotoaudio.MainActivity"
android:label="@string/app_name" >
 
@Kaushik dada lunch?
 
done
 
9:33 AM
@SilentKiller
 
3
Q: Image quality is poor using custom camera

PiyushI am using custom camera and working fine but the issue is image is saving with very low (poor) quality. To overcome with it , i have tried all suggestions and implementations. Like , parameters.setJpegQuality(100); parameters.setPictureFormat(ImageFormat.JPEG); this is not working. After tha...

 
Please help me
 
@SilentKiller I really forgot to use this solution :0P
 
@Rahul there?
 
@Chris.C damn lol.
 
9:42 AM
@King r u sure?
 
@Roshnijain abt what?
 
@King should I write ?
 
what?
 
@King really u dont know?
 
what
 
9:44 AM
@AnshulTyagi hello ji
 
@Roshnijain let me check
 
han ji
 
sometimes in my app i m not getting proper html of Facebook why ? @Rahul
 
@King you don't know?
 
his eyesight is weak
type in bold
 
9:48 AM
leave it frnds :)
 
Please help me
 
@SagorAhmed Hi
@Kaushik already read
 
@Erum that really tough question
 
@King hahaha
 
09-28 15:47:35.172: E/ActivityThread(8786):
RuntimeExceptionjava.lang.RuntimeException:
Unable to instantiate activity ComponentInfo
{com.era.conversionvideotoaudio/com.era.
conversionvideotoaudio.MainActivity}: java.
lang.ClassNotFoundException: Didn't find class
"com.era.conversionvideotoaudio.MainActivity"
on path: DexPathList[[zip file "/mnt/asec/com
.era.conversionvideotoaudio-1/pkg.apk"],
nativeLibraryDirectories=[/mnt/asec/com.era.
conversionvideotoaudio-1/lib, /vendor/lib, /system/lib]]
I am having this error
 
9:49 AM
@SagorAhmed using Android Studio or Eclipse ?
 
Eclipse
 
lol
 
@Rahul what r u checking.. :)
 
@King Journalist khud fasa?
 
lol
 
9:51 AM
@Piyush right
 
journalist :p
 
@King lol lol lol
 
@SagorAhmed clean your project and then run again.
 
@Piyush stick to English, buddy :)
 
@King No I am Gujarati man
 
9:53 AM
kick him. :D
 
@King and I am madhyapradeshi.. ;)
 
I am gujarati Buddy
No he hasn't seen kick movie yet
 
@Piyush cool
 
Done
But I have the same error
 
@Piyush no need of that :v
 
9:54 AM
@SilentKiller
 
@SilentKiller Seen my que?
 
@SagorAhmed is that NDK project ?
are you using any shared lib
 
18
A: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo/ ClassNotFoundException

codercatWhen upgrading, the 'Order and Export' of the new 'Android Private Libraries' is not always checked. And the android-support-v4.jar is now in this 'Android Private Libraries' section. To fix this, go to 'Order and Export' and check 'Android Private Libraries'. Then refresh/clean/rebuild. After ...

check this out
@Piyush have you checked SqureCamera ?
 
9:57 AM
Yes
But its not useful for me
 
why is it so ?
 
Image quality is also not good in that
 
O_o lol. you are great
 
No Sir. I am not great
 
10:01 AM
@SilentKiller , I have checked private libraries
 
it wrked :)
@king
 
@Pihu thats great :)
wt by the way ? :P
the yesterday's thing?
lol
 
@MeesamAbbas welcome
 
ABC
@Rahul you checked for Google TV or not?
 
no
 
ABC
10:10 AM
ok ok
@Rahul you got any idea for pairing between devices ?
 
never done that
 
ABC
so i will see
 
@Rahul Hi, Can we reduce speed of smoothScrollToPosition of gridView?
 
i don't know
 
@Roshnijain bundeli
 
10:15 AM
@Kaushik u can say
 
that is for you
 
@Kaushik bundeli?
 
language
 
@Rahul I think u also know bundeli?
 
getSupportActionBar().setCustomView(R.layout.action_bar);
If I include this line , then I have got this error
09-28 15:47:35.172: E/ActivityThread(8786):
RuntimeExceptionjava.lang.RuntimeException:
Unable to instantiate activity ComponentInfo
{com.era.conversionvideotoaudio/com.era.
conversionvideotoaudio.MainActivity}: java.
lang.ClassNotFoundException: Didn't find class
"com.era.conversionvideotoaudio.MainActivity"
on path: DexPathList[[zip file "/mnt/asec/com
.era.conversionvideotoaudio-1/pkg.apk"],
nativeLibraryDirectories=[/mnt/asec/com.era.
conversionvideotoaudio-1/lib, /vendor/lib, /system/lib]]
 
10:17 AM
@Roshnijain how is that possible
 
@Piyush bundeli is not language.. flavor of hindi
@Rahul u r from UP na..
 
@Roshnijain yes
 
@SagorAhmed instead of this line use toolbar setSupportActionBar(toolbar_instance)
 
@Rahul which language frequently used there?
 
@Roshnijain bhojpuri
 
10:19 AM
@Rahul heee
I have some frds n relatives there speaks bundeli
 
@Roshnijain and you ?
 
@Rahul bhopali
;)
 
Lol sholay surama bhopali
 
can i adjust images in notification too ? @Rahul
 
@Rahul after sometimes indori
haha
 
10:22 AM
@Erum yes you can
don't ask me how
 
have u seen daraaz notification ? how they show they just like dialog in center of screen comes as popup even ur app is close @Rahulhttp://stackoverflow.com/questions/31979394/how-to-show-the-image-in-push-‌​notification-gcm-android
 
@Erum yeah i seen most of app
 
how they show @Rahul
 
there are two ways to show dialog without openning app. one is from service and another one is to open transparent background activity.
 
i'm not here to satisfy any one with my ans ;) as i'm RO of this room
 
you forgot to keep not ;)
 
@SilentKiller you are mistaking sir
 
no no i am not.
 
10:27 AM
He is a RO
 
:)
 
I'll use a before RO
:P
 
lol :D
ur wish :)
 
Ur wish my fish
 
#rathore
hamari adhuri kahani P:
 
10:30 AM
@Tufan lol, English only
 
thats a song and movie name too
it is an indication for you
 
ohh, I see
 
@Tufan Wind just came
 
aha i am feeling same P:
 
yes man
 
10:36 AM
hi all
 
HI Jai bhai
 
hello bro
how r u
 
@Piyush hi bro
 
hi
 
@King
 
10:42 AM
@JaiprakashSoni fine. u?
 
@Pihu yes say
 
fb login is nt wrking.. goes on onCancel everytime
@king
 
@Pihu I can share sample with u
 
@Piyush I m alsofine
 
that I have used
2
A: FacebookCallback.onCancel is getting called when trying to login using facebook sdk

Mehroz Muniryes i was facing the same issue, resolve it by using the below code just before login LoginManager.getInstance().logOut();

try this once
 
10:49 AM
ok
 
@JaiprakashSoni CHecked my que?
 
@King i tried this too...
 
ok
wait a moment
check this ^^
 
@King ok
but gt one more pblm
 
what?
 
11:02 AM
actually i deleted some strings
and in manifest showing all red
 
@Pihu so, use backup
or undo it
 
@Pihu using studio or eclipse ?
if studio then right click on your project -> Local History -> Show History.
you'll find old/deleted files.
 
@kiturk3 E kiku
 
@Piyush bolo bolo sheth
 
what u doing?
 
11:13 AM
yes
 
guys Can you say any one is there any STRUCT operation in java as just like in C language??
 
Why ? Fogg has been dismissed?
:P
 
@Piyush haha
 
what is mPictureSize
in that
question
 
Its the Camera.Size
 
11:24 AM
List<Size> sizes = cameraParams.getSupportedPictureSizes();
Camera.Size size = sizes.get(0);
for(int i=0;i<sizes.size();i++)
{
 if(sizes.get(i).width > size.width)
 size = sizes.get(i);
}
cameraParams.setPictureSize(mPictureSize.width, mPictureSize.height);
in that i see size
not mPictureSize
 
Yes but i have changed the code
 
ok
 
Cursor cursor = getContentResolver().query(mFileUri, proj, null, null, null);
int column_index = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
cursor.moveToFirst();

m trying to get videoID using the cursor object, from the existing video uri -
file:///storage/emulated/0/Android/data/com.myApp/files/out.mp4

but, I am getting cursor null here
how to resolve?
 
did you tried with static height and width
 
No. I haven't tried with static. Because for different mobile devices i m getting proper dimensions
this is my class
@Rahul
mFileUri may be null @King
 
11:28 AM
is there any issue with the uri (as it doesn't contain the content://)
no, its not
file:///storage/emulated/0/Android/data/com.myApp/files/out.mp4
its the uri, I am getting
 
then how cursor will be null
 
that I am trying to figure out
the filePath is in the getCacheDir()
may be thats the issue
 
Is it from cache dir?
 
yes, I stored it there
 
No if you stored there and getting the path then it may be not any issue using that
 
11:30 AM
@Piyush bt, the cursor I am getting is unluckily null
 
@King not going to work
 
android how to sort custom listview item datevise?
 
@Rahul ok, so should I store it somewhere else?
 
@King yes external dir
sd card
 
ok
 
11:35 AM
Complaining about me in another rooms
 
@Piyush that giving you maximum pixel right ?
 
but who cares
 
Yes that is
@AnshulTyagi Who
 
lol
 
11:36 AM
I don't care\
 
@Kaushik nice DP (Y)
 
I'll always be same :v
 
@King yeah :)
 
@Rahul too blur image quality while saving
 
you also called him
why ?
aren't we ROs ?
Can't we take our own decisions ?
Don't call him for each discussion
 
11:39 AM
@AnshulTyagi Me ?
 
@Piyush if you are not scaling after saving then i have no idea
 
I have tried to resize it after getting byte[]
 
don't resize
 
If I am not resizing then the same thing happening... I have tried with other sample too. That has the issue with same
 
can you show us difference
so in future we can avoid that code
 
11:48 AM
Because in camera preview class it is giving a proper image aspect ration
as per device screen resolutions
 
if you are getting lower quality then don't scale the images
 
Yes for that i have commented code for resizing
 
OK let me check
 
yes you called him.
And that guy who asked him to remove me talk now.
I have few questions of android, give me answers
 

« first day (917 days earlier)      last day (2333 days later) »