Saturday, June 23, 2018
Friday, June 22, 2018
Home - Learning Earning by codingid.net
Thursday, June 21, 2018
(MBI) Amber Alert issued for 5-year-old Clay County little girl child
Amber Alert issued(MBI)
- The Mississippi Bureau of Investigation issued associate degree Amber Alert for 5-year-old Bay-lee Elizabeth Emison of Clay County.
She is delineated as a white feminine, 3 to 3 and a 0.5 feet tall and weighs forty five to fifty pounds. Emison conjointly has brown eyes and brown shoulder-length hair. She was last seen sporting a inexperienced sun dress with birds on that and was bare-footed.
Investigators believe she is in the middle of Martha Ann Poss. She is delineated as a white feminine, five feet, six inches tall and weighs one hundred sixty five pounds. Poss conjointly has blonde hair.
MBI aforementioned the 2 were traveling during a 2012 silver four-door Jewish calendar month truck. The vehicle contains a Mississippi vehicle plate that reads CYA 605.
They were last seen Wednesday night around 9:15 traveling east on main road fifty.
If you recognize wherever they're, decision MBI at 855-642-5387.
Advertisement
Advertisement
Advertisement
Introduction to Article Rewriter
Many people still prefer writing their article or content by hand. They are so used to writing sentence by sentence and paraphrasing written content by hand when required that they find it hard to trust any free article spinner tool. They find it the best way to ensure the quality of writing. No doubt this is the safest approach, but it can also be very time consuming, it may take hours or even days. Another easier way to rewrite content is by using an article rewriter tool
Many people still prefer writing their article or content by hand. They are so used to writing sentence by sentence and paraphrasing written content by hand when required that they find it hard to trust any free article spinner tool. They find it the best way to ensure the quality of writing. No doubt this is the safest approach, but it can also be very time consuming, it may take hours or even days. Another easier way to rewrite content is by using an article rewriter tool
Sunday, June 17, 2018
Mathematics Formula Android App Devlopment
can you want to source code this project (Mathematics Formula Android App). We call this name "Math Formula vHome (vHome mins "Version Home". This is amazing features and no add (no add mins only banner ads). user friendly app the first version Math Formula vHome app is only landscape available for all devices.
Download hare :
Friday, June 15, 2018
Hey Could anyone please debug these C codes for me..!? compiled but wrong output!
1.This code is running but only for a single word input
#include<stdio.h>
#include<ctype.h>
int len[100];
int l=0;
int main(){
char s[1000], words[100][50];
int i=0, j=-1, k=-1, l=-1, countw=0, MAX=0,max_index;
printf("Enter a string : ");
gets(s);
i=0;
while(s[i]!='\0'){
if(s[i]==' '){
i++;
}
else if(isalpha(s[i])){
countw++;
j++;
k=0;
while(!isspace(s[i])){
len[l]++;
words[j][k++]=s[i];
i++;
}
words[j][k]='\0';
if(len[l]>MAX){
max_index=j;
}
l++;
}
}
printf("The longest word is : ");
for(k=0;words[max_index][k]!=' \0'; k++){
printf("%c", words[max_index][k]);
}
printf("\nThe number of words in the string is : %d", countw);
return 0;
}
2. This code displays a negative infinity.
#include<stdio.h>
double f(double x){
return (1/(1+x));
}
int main(){
double x0, xn, fx0, fxn, fxi, h, Y=0.0, result=0.0, i, subint;
printf("Lower Bound, Upper Bound, Subintervals : ");
scanf("%lf, %lf, %d", &x0, &xn, &subint);
h=((xn-x0)/subint);
for (i=1.0;i<subint; i++){
fxi=f(x0+(i*h));
Y=Y+fxi;
}
fx0=f(x0);
fxn=f(xn);
h=h/2.0;
result=h*(fx0+2*Y+fxn);
printf("The result is : %lf", result);
}
3. This code too runs but stops in the middle.
#include<stdio.h>
double f(double x){
return (1/(1+x));
}
int main(){
double a, b, h, result, Yodd=0.0, Yeven=0.0;
int i, subintervals;
printf("Enter the lower bound : ");
scanf("%lf", &a);
printf("Enter the upper bound : ");
scanf("%lf", &b);
printf("Enter the number of subintervals ");
scanf("%d", subintervals);
h=((b-a)/subintervals);
for(i=1;i<subintervals; i++){
if(i%2==1){
Yodd=Yodd+f(a+(i*h));
}
else{
Yeven=Yeven+f(a+(i*h));
}
}
result=(h/3)*((f(a))+(4*Yodd)+ (2*Yeven)+(f(b)));
printf("\nThe result is : %lf ", result);
return 0;
}
Reply:
1.
#include<stdio.h>
double f(double x){
return (1/(1+x));
}
return (1/(1+x));
}
int main(){
double a, b, h, result, Yodd=0.0, Yeven=0.0;
int i, subintervals;
printf("Enter the lower bound : ");
scanf("%lf", &a);
printf("Enter the upper bound : ");
scanf("%lf", &b);
printf("Enter the number of subintervals ");
scanf("%d", &subintervals); //put Here "&" Before subinterval.. it's working after that...double a, b, h, result, Yodd=0.0, Yeven=0.0;
int i, subintervals;
printf("Enter the lower bound : ");
scanf("%lf", &a);
printf("Enter the upper bound : ");
scanf("%lf", &b);
printf("Enter the number of subintervals ");
h=((b-a)/subintervals);
for(i=1;i<subintervals; i++){
if(i%2==1){
Yodd=Yodd+f(a+(i*h));
}
else{
Yeven=Yeven+f(a+(i*h));
}
}
result=(h/3)*((f(a))+(4*Yodd)
printf("\nThe result is : %lf ", result);
return 0;
}
Reply 2:
Were you able to crack your first code (i.e based on string) ?
(or)
Are you still looking for an answer ?
If yes, I could make it work by adding highlighted statements in the code.
############################## ############################
while((!isspace(s[i])) && (s[i] != '\0')){
len[l]++;
words[j][k++]=s[i];
i++;
}
words[j][k]='\0';
if(len[l]>MAX){
max_index=j;
MAX = len[l];
############################## ############################
Console output:
Enter a string : handles msg delay active calls
The longest word is : handles
The number of words in the string is : 5
[google-admob-ads-sdk] AdMob - RewardedVideoAd - listener events not called
Hello,
I'm writing to you because I'm quite desperate at this moment. I'm not able to force RewardedVideoAd to use my listener event and becouse of that I'm not able to reward my users after watching ad.
Versions I'm using:
implementation 'com.google.firebase:firebase-core:16.0.0'
implementation 'com.google.android.gms:play-services-ads:15.0.1'
implementation 'com.google.android.gms:play-services-base:15.0.1'
implementation 'com.google.android.gms:play-services-games:15.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
Implementation of loading ad:
private fun loadShopRewardedAd() {
val currentActivity = activityProvider.currentActivity ?: return
if (shopAdvertVideoAd?.isLoaded == true) {
return
}
if (shopAdvertVideoAd == null) {
shopAdvertVideoAd = MobileAds.getRewardedVideoAdInstance(currentActivity);
shopAdvertVideoAd?.rewardedVideoAdListener = this
}
val adId = shopAdId
val adRequest = AdRequest.Builder()
val deviceList = TestDeviceProvider().devices()
for (device in deviceList) {
adRequest.addTestDevice(device)
}
shopAdvertVideoAd?.loadAd(adId, adRequest.build())
It's called inside simple classed which is held as an singleton in my app. currentActivity that I pass is the correct activity in which user interacts with ad and should receive reward.
In logcat I can see some exceptions but I cannot connect them with problem and I'm not able to find solution.
06-15 16:05:24.689 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Not retrying to fetch app settings
06-15 16:05:27.013 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: Starting ad request.
This request is sent from a test device.
06-15 16:05:27.018 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Not retrying to fetch app settings
06-15 16:05:30.797 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-3346083526465104\/9380641829\/cak=no_cache&cadc=lr&caqid=4OMjW7GqO9GcygXv7rrYCw"}
06-15 16:05:30.798 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-3346083526465104\/9380641829\/cak=no_cache&cadc=lr&caqid=4OMjW7GqO9GcygXv7rrYCw"}
06-15 16:05:30.807 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: Starting ad request.
06-15 16:05:30.808 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: This request is sent from a test device.
06-15 16:21:15.205 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Failed
java.lang.ClassCastException: com.google.ads.mediation.admob.AdMobAdapter cannot be cast to com.google.android.gms.ads.mediation.OnContextChangedListener
at com.google.android.gms.internal.ads.zzyk.zzi(Unknown Source)
at com.google.android.gms.internal.ads.zzago.onContextChanged(Unknown Source)
at com.google.android.gms.internal.ads.zzagr.onContextChanged(Unknown Source)
at com.google.android.gms.internal.ads.zzagq.zze(Unknown Source)
at com.google.android.gms.internal.ads.zzahm.resume(Unknown Source)
at com.aviadorapps.idleuniverseatom.logic.services.UniverseAdService.activityResume(UniverseAdService.kt:73)
at com.aviadorapps.idleuniverseatom.application.UniverseApp.onActivityResumed(UniverseApp.java:125)
at android.app.Application.dispatchActivityResumed(Application.java:214)
at android.app.Activity.onResume(Activity.java:1207)
at com.google.android.gms.ads.AdActivity.onResume(Unknown Source)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1258)
at android.app.Activity.performResume(Activity.java:6312)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-15 16:21:16.957 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: AdMediaPlayerView stream dimensions: 640 x 360
06-15 16:21:17.615 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: AdMediaPlayerView MediaPlayer error: MEDIA_ERROR_SERVER_DIED:null
06-15 16:21:19.169 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: No value given for CSI extra.
06-15 16:21:19.298 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: AdMediaPlayerView stream dimensions: 640 x 360
06-15 16:21:19.599 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: #004 The webview is destroyed. Ignoring action.
06-15 16:21:19.601 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: #004 The webview is destroyed. Ignoring action.
06-15 16:21:19.610 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Failed
java.lang.ClassCastException: com.google.ads.mediation.admob.AdMobAdapter cannot be cast to com.google.android.gms.ads.mediation.OnContextChangedListener
at com.google.android.gms.internal.ads.zzyk.zzi(Unknown Source)
at com.google.android.gms.internal.ads.zzago.onContextChanged(Unknown Source)
at com.google.android.gms.internal.ads.zzagr.onContextChanged(Unknown Source)
at com.google.android.gms.internal.ads.zzagq.zze(Unknown Source)
at com.google.android.gms.internal.ads.zzahm.resume(Unknown Source)
at com.aviadorapps.idleuniverseatom.logic.services.UniverseAdService.activityResume(UniverseAdService.kt:73)
at com.aviadorapps.idleuniverseatom.application.UniverseApp.onActivityResumed(UniverseApp.java:125)
at android.app.Application.dispatchActivityResumed(Application.java:214)
at android.app.Activity.onResume(Activity.java:1207)
at android.support.v4.app.FragmentActivity.onResume(FragmentActivity.java:485)
at com.aviadorapps.idleuniverseatom.views.WorldActivity.onResume(WorldActivity.kt:44)
at com.aviadorapps.idleuniverseatom.views.MainActivity.onResume(MainActivity.kt:207)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1258)
at android.app.Activity.performResume(Activity.java:6312)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1388)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-15 16:21:19.620 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: Starting ad request.
06-15 16:21:19.621 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: This request is sent from a test device.
06-15 16:21:19.794 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: #004 The webview is destroyed. Ignoring action.
#004 The webview is destroyed. Ignoring action.
06-15 16:21:20.483 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-3346083526465104\/9380641829\/cak=no_cache&cadc=lr&caqid=gOcjW8vLEcyIygX_1qaQCQ"}
06-15 16:21:20.493 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: Starting ad request.
This request is sent from a test device.
06-15 16:21:20.494 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Not retrying to fetch app settings
If anyone is able to help me I would be really grateful. Error is no device specific. It happens on my test devices and emulator
I'm writing to you because I'm quite desperate at this moment. I'm not able to force RewardedVideoAd to use my listener event and becouse of that I'm not able to reward my users after watching ad.
Versions I'm using:
implementation 'com.google.firebase:firebase-core:16.0.0'
implementation 'com.google.android.gms:play-services-ads:15.0.1'
implementation 'com.google.android.gms:play-services-base:15.0.1'
implementation 'com.google.android.gms:play-services-games:15.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
Implementation of loading ad:
private fun loadShopRewardedAd() {
val currentActivity = activityProvider.currentActivity ?: return
if (shopAdvertVideoAd?.isLoaded == true) {
return
}
if (shopAdvertVideoAd == null) {
shopAdvertVideoAd = MobileAds.getRewardedVideoAdInstance(currentActivity);
shopAdvertVideoAd?.rewardedVideoAdListener = this
}
val adId = shopAdId
val adRequest = AdRequest.Builder()
val deviceList = TestDeviceProvider().devices()
for (device in deviceList) {
adRequest.addTestDevice(device)
}
shopAdvertVideoAd?.loadAd(adId, adRequest.build())
It's called inside simple classed which is held as an singleton in my app. currentActivity that I pass is the correct activity in which user interacts with ad and should receive reward.
In logcat I can see some exceptions but I cannot connect them with problem and I'm not able to find solution.
06-15 16:05:24.689 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Not retrying to fetch app settings
06-15 16:05:27.013 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: Starting ad request.
This request is sent from a test device.
06-15 16:05:27.018 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Not retrying to fetch app settings
06-15 16:05:30.797 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-3346083526465104\/9380641829\/cak=no_cache&cadc=lr&caqid=4OMjW7GqO9GcygXv7rrYCw"}
06-15 16:05:30.798 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-3346083526465104\/9380641829\/cak=no_cache&cadc=lr&caqid=4OMjW7GqO9GcygXv7rrYCw"}
06-15 16:05:30.807 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: Starting ad request.
06-15 16:05:30.808 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: This request is sent from a test device.
06-15 16:21:15.205 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Failed
java.lang.ClassCastException: com.google.ads.mediation.admob.AdMobAdapter cannot be cast to com.google.android.gms.ads.mediation.OnContextChangedListener
at com.google.android.gms.internal.ads.zzyk.zzi(Unknown Source)
at com.google.android.gms.internal.ads.zzago.onContextChanged(Unknown Source)
at com.google.android.gms.internal.ads.zzagr.onContextChanged(Unknown Source)
at com.google.android.gms.internal.ads.zzagq.zze(Unknown Source)
at com.google.android.gms.internal.ads.zzahm.resume(Unknown Source)
at com.aviadorapps.idleuniverseatom.logic.services.UniverseAdService.activityResume(UniverseAdService.kt:73)
at com.aviadorapps.idleuniverseatom.application.UniverseApp.onActivityResumed(UniverseApp.java:125)
at android.app.Application.dispatchActivityResumed(Application.java:214)
at android.app.Activity.onResume(Activity.java:1207)
at com.google.android.gms.ads.AdActivity.onResume(Unknown Source)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1258)
at android.app.Activity.performResume(Activity.java:6312)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-15 16:21:16.957 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: AdMediaPlayerView stream dimensions: 640 x 360
06-15 16:21:17.615 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: AdMediaPlayerView MediaPlayer error: MEDIA_ERROR_SERVER_DIED:null
06-15 16:21:19.169 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: No value given for CSI extra.
06-15 16:21:19.298 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: AdMediaPlayerView stream dimensions: 640 x 360
06-15 16:21:19.599 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: #004 The webview is destroyed. Ignoring action.
06-15 16:21:19.601 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: #004 The webview is destroyed. Ignoring action.
06-15 16:21:19.610 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Failed
java.lang.ClassCastException: com.google.ads.mediation.admob.AdMobAdapter cannot be cast to com.google.android.gms.ads.mediation.OnContextChangedListener
at com.google.android.gms.internal.ads.zzyk.zzi(Unknown Source)
at com.google.android.gms.internal.ads.zzago.onContextChanged(Unknown Source)
at com.google.android.gms.internal.ads.zzagr.onContextChanged(Unknown Source)
at com.google.android.gms.internal.ads.zzagq.zze(Unknown Source)
at com.google.android.gms.internal.ads.zzahm.resume(Unknown Source)
at com.aviadorapps.idleuniverseatom.logic.services.UniverseAdService.activityResume(UniverseAdService.kt:73)
at com.aviadorapps.idleuniverseatom.application.UniverseApp.onActivityResumed(UniverseApp.java:125)
at android.app.Application.dispatchActivityResumed(Application.java:214)
at android.app.Activity.onResume(Activity.java:1207)
at android.support.v4.app.FragmentActivity.onResume(FragmentActivity.java:485)
at com.aviadorapps.idleuniverseatom.views.WorldActivity.onResume(WorldActivity.kt:44)
at com.aviadorapps.idleuniverseatom.views.MainActivity.onResume(MainActivity.kt:207)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1258)
at android.app.Activity.performResume(Activity.java:6312)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1388)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-15 16:21:19.620 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: Starting ad request.
06-15 16:21:19.621 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: This request is sent from a test device.
06-15 16:21:19.794 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: #004 The webview is destroyed. Ignoring action.
#004 The webview is destroyed. Ignoring action.
06-15 16:21:20.483 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-3346083526465104\/9380641829\/cak=no_cache&cadc=lr&caqid=gOcjW8vLEcyIygX_1qaQCQ"}
06-15 16:21:20.493 16553-16553/com.aviadorapps.idleuniverseatom I/Ads: Starting ad request.
This request is sent from a test device.
06-15 16:21:20.494 16553-16553/com.aviadorapps.idleuniverseatom W/Ads: Not retrying to fetch app settings
If anyone is able to help me I would be really grateful. Error is no device specific. It happens on my test devices and emulator
mobo application user-news
Hi i am subhankar biswas. i am student of polytechnic student of computer science and technology. Guys great news for you. Today we decided we are making the android application for you. It's call Mobo Application. this messages only testing post. and small messages for you. Thank you.
Subscribe to:
Posts (Atom)



