Click here to Skip to main content
15,881,882 members
Home / Discussions / Android
   

Android

 
QuestionHow to store large data in an Android application Pin
jasonalien18-Aug-15 3:13
jasonalien18-Aug-15 3:13 
AnswerRe: How to store large data in an Android application Pin
Afzaal Ahmad Zeeshan18-Aug-15 4:47
professionalAfzaal Ahmad Zeeshan18-Aug-15 4:47 
Questionwhy viewholde class make static Pin
Gaurav Tyagi17-Aug-15 18:59
Gaurav Tyagi17-Aug-15 18:59 
GeneralRe: why viewholde class make static Pin
Richard MacCutchan17-Aug-15 21:12
mveRichard MacCutchan17-Aug-15 21:12 
Questionhow to use toolbar in android Pin
Gaurav Tyagi17-Aug-15 18:39
Gaurav Tyagi17-Aug-15 18:39 
QuestionTemperature monitoring on an Android device Pin
Daniel Pfeffer13-Aug-15 4:24
professionalDaniel Pfeffer13-Aug-15 4:24 
AnswerRe: Temperature monitoring on an Android device Pin
Richard MacCutchan13-Aug-15 5:49
mveRichard MacCutchan13-Aug-15 5:49 
Questionandroid compilation problem on lower version devices Pin
Member 1190643213-Aug-15 0:25
Member 1190643213-Aug-15 0:25 
Am a beginner in android development. I have created one project its running only on lollipop device but not in lower versions of android while am trying to run in lower versions the app get stopped don't know what is the reason ?

It need my app to be run on all devices.What should i do to solve this issue ? Give me your suggestions.

Thank you in advance.

my logcat show this while running in lower android device


<pre>08-13 10:40:47.770 26187-26187/com.sentientit.theiWedplanner E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sentientit.theiWedplanner/com.sentientit.theiWedplanner.Frontpage}: android.view.InflateException: Binary XML file line #10: Error inflating class fragment
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295)
at android.app.ActivityThread.access$700(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:175)
at android.app.ActivityThread.main(ActivityThread.java:5279)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class fragment
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:710)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:752)
at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:350)
at android.app.Activity.setContentView(Activity.java:1930)
at com.sentientit.theiWedplanner.Frontpage.onCreate(Frontpage.java:50)
at android.app.Activity.performCreate(Activity.java:5283)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295)
at android.app.ActivityThread.access$700(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:175)
at android.app.ActivityThread.main(ActivityThread.java:5279)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.app.Fragment$InstantiationException: Unable to instantiate fragment com.sentientit.theiWedplanner.Fragadmob: make sure class name exists, is public, and has an empty constructor that is public
at android.app.Fragment.instantiate(Fragment.java:592)
at android.app.Fragment.instantiate(Fragment.java:560)
at android.app.Activity.onCreateView(Activity.java:4864)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:686)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:752)
at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:350)
at android.app.Activity.setContentView(Activity.java:1930)
at com.sentientit.theiWedplanner.Frontpage.onCreate(Frontpage.java:50)
at android.app.Activity.performCreate(Activity.java:5283)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295)
at android.app.ActivityThread.access$700(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:175)
at android.app.ActivityThread.main(ActivityThread.java:5279)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sentientit.theiWedplanner.Fragadmob" on path: /system/framework/com.google.android.maps.jar:/data/app/com.sentientit.theiWedplanner-2.apk
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at android.app.Fragment.instantiate(Fragment.java:582)
at android.app.Fragment.instantiate(Fragment.java:560)
at android.app.Activity.onCreateView(Activity.java:4864)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:686)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:752)
at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:350)
at android.app.Activity.setContentView(Activity.java:1930)
at com.sentientit.theiWedplanner.Frontpage.onCreate(Frontpage.java:50)
at android.app.Activity.performCreate(Activity.java:5283)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295)
at android.app.ActivityThread.access$700(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:175)
at android.app.ActivityThread.main(ActivityThread.java:5279)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)</pre>
AnswerRe: android compilation problem on lower version devices Pin
Afzaal Ahmad Zeeshan13-Aug-15 1:05
professionalAfzaal Ahmad Zeeshan13-Aug-15 1:05 
AnswerRe: android compilation problem on lower version devices Pin
Richard MacCutchan13-Aug-15 1:05
mveRichard MacCutchan13-Aug-15 1:05 
GeneralRe: android compilation problem on lower version devices Pin
Member 1190643213-Aug-15 2:35
Member 1190643213-Aug-15 2:35 
GeneralRe: android compilation problem on lower version devices Pin
Richard MacCutchan13-Aug-15 4:15
mveRichard MacCutchan13-Aug-15 4:15 
AnswerRe: android compilation problem on lower version devices Pin
David Crow13-Aug-15 5:52
David Crow13-Aug-15 5:52 
AnswerRe: android compilation problem on lower version devices Pin
Siddharth Chandra24-Aug-15 6:09
Siddharth Chandra24-Aug-15 6:09 
QuestionDraggable Button in Xamarin.Android ? Pin
Vaikesh K P11-Aug-15 0:20
professionalVaikesh K P11-Aug-15 0:20 
AnswerRe: Draggable Button in Xamarin.Android ? Pin
Richard MacCutchan11-Aug-15 5:42
mveRichard MacCutchan11-Aug-15 5:42 
QuestionI have table not found in SQLite database table. Pin
Member 1141933410-Aug-15 22:19
Member 1141933410-Aug-15 22:19 
AnswerRe: I have table not found in SQLite database table. Pin
Richard MacCutchan10-Aug-15 23:29
mveRichard MacCutchan10-Aug-15 23:29 
Questionhow to change the actionbar background color Pin
Member 118975669-Aug-15 21:16
Member 118975669-Aug-15 21:16 
SuggestionRe: how to change the actionbar background color Pin
Richard MacCutchan9-Aug-15 21:59
mveRichard MacCutchan9-Aug-15 21:59 
GeneralRe: how to change the actionbar background color Pin
Member 118975669-Aug-15 22:44
Member 118975669-Aug-15 22:44 
GeneralRe: how to change the actionbar background color Pin
Richard MacCutchan10-Aug-15 1:06
mveRichard MacCutchan10-Aug-15 1:06 
QuestionTable rows not scrolling Pin
pkfox24-Jul-15 20:53
professionalpkfox24-Jul-15 20:53 
AnswerRe: Table rows not scrolling Pin
Richard MacCutchan24-Jul-15 23:44
mveRichard MacCutchan24-Jul-15 23:44 
GeneralRe: Table rows not scrolling Pin
pkfox25-Jul-15 1:20
professionalpkfox25-Jul-15 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.