Pravin Dodia
Wednesday, 02 April 2014 05:30
Project single half 1
Job Description
Posuere volutpat euismod sed, iaculis quis lectus. Aenean convallis enim urna, nec varius dolor blandit vitae.
10342
HAPPY CUSTOMERS
63
PROJECTS COMPLETED
40H
WORK HOURS
Project Details
Programming
HTML5 / CSS3
Ecommerce
Launch Project
Published in
IT Services
Tagged under
Wednesday, 02 April 2014 05:30
Project single half 3
Job Description
Posuere volutpat euismod sed, iaculis quis lectus. Aenean convallis enim urna, nec varius dolor blandit vitae.
10342
HAPPY CUSTOMERS
63
PROJECTS COMPLETED
40H
WORK HOURS
Project Details
Programming
HTML5 / CSS3
Ecommerce
Launch Project
Published in
IT Services
Tagged under
Wednesday, 02 April 2014 05:30
Project single half 4
Job Description
Posuere volutpat euismod sed, iaculis quis lectus. Aenean convallis enim urna, nec varius dolor blandit vitae.
10342
HAPPY CUSTOMERS
63
PROJECTS COMPLETED
40H
WORK HOURS
Project Details
Programming
HTML5 / CSS3
Ecommerce
Launch Project
Published in
IT Services
Tagged under
Wednesday, 02 April 2014 05:30
Project single half 5
Job Description
Posuere volutpat euismod sed, iaculis quis lectus. Aenean convallis enim urna, nec varius dolor blandit vitae.
10342
HAPPY CUSTOMERS
63
PROJECTS COMPLETED
40H
WORK HOURS
Project Details
Programming
HTML5 / CSS3
Ecommerce
Launch Project
Published in
IT Services
Tagged under
Wednesday, 02 April 2014 05:30
Project single half 2
Job Description
Posuere volutpat euismod sed, iaculis quis lectus. Aenean convallis enim urna, nec varius dolor blandit vitae.
10342
HAPPY CUSTOMERS
63
PROJECTS COMPLETED
40H
WORK HOURS
Project Details
Programming
HTML5 / CSS3
Ecommerce
Launch Project
Published in
IT Services
Tagged under
Sunday, 11 May 2014 05:30
Wallpaper Changer
Want to Change Wallpaper ? Thank you Friends for Reporting the issues...Please help us to give you better app instead of you giving us Bad Review, Just try to give us 1 Chance to support you. Just Shaking your Phone will do the stuff, how Easy, Fast and Efficient Way is that!!! This app will just do the same. Install and Select the Folder for wallpaper and forget everything. Whenever you shake your phone it will change the wallpaper for you. Note: Long Click the Folder for Selecting. It has many other features like change wallpaper on unlocking the screen.
Notification like
- Vibrate on wallpaper change.
- Notification icon in title bar for easy access to the app.
- Adjust the shake sensitivity as per your requirement.
Published in
Mobile Development
Tagged under
Friday, 11 April 2014 05:30
Screenshot No Root Shakeshot
EASILY Take Screenshots on your Unrooted Android phone. NO ROOT NEEDED. The Android APP you've been waiting for. ShakeShot Screenshot app will allow you to take screenshots of anything on your phone even if your phone is NOT ROOTED. Rooting your phone can be dangerous and it voids your warranty. With ShakeShot you will be able to take screenshots safely and easily without any changes being made to your phone system.
Thumbs up I've been trying to find a screenshot app for a long time! great job to come up with this because I didnt want to root my phone either. 5 thumbs up
Read More ›
Published in
Mobile Development
Tagged under
Saturday, 29 March 2014 05:30
Android: Fragments within Fragments
I was building out the settings stuff first (the app needs credentials to work so I kinda had to start there), which was relatively easy. I wanted to create a setup flow, whereby when you start the app it checks if you have credentials that are valid and if not walks through the setup procedure. I was using fragments to do this, each setup page being a different fragment rendered within the whole window in the main activity.
IUpon realising that I had already built a PreferenceFragment for the config settings a user had to setup at the beginning (they were easy to logically group this way) I thought I would just include that in one of the setup flow fragments and my config options would be all set up themselves. This worked rather nicely, until I got a rather nasty exception when I ran through the flow for a second time:
10-07 13:28:02.663: E/AndroidRuntime(1809): FATAL EXCEPTION: main
10-07 13:28:02.663: E/AndroidRuntime(1809): java.lang.RuntimeException: Unable to destroy activity {com.example.app/com.example.app.Base}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3273)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3291)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.ActivityThread.access$1200(ActivityThread.java:130)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1248)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.os.Handler.dispatchMessage(Handler.java:99)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.os.Looper.loop(Looper.java:137)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.ActivityThread.main(ActivityThread.java:4745)
10-07 13:28:02.663: E/AndroidRuntime(1809): at java.lang.reflect.Method.invokeNative(Native Method)
10-07 13:28:02.663: E/AndroidRuntime(1809): at java.lang.reflect.Method.invoke(Method.java:511)
10-07 13:28:02.663: E/AndroidRuntime(1809): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
10-07 13:28:02.663: E/AndroidRuntime(1809): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
10-07 13:28:02.663: E/AndroidRuntime(1809): at dalvik.system.NativeStart.main(Native Method)
10-07 13:28:02.663: E/AndroidRuntime(1809): Caused by: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1280)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1291)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.BackStackRecord.commitInternal(BackStackRecord.java:548)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.BackStackRecord.commit(BackStackRecord.java:532)
10-07 13:28:02.663: E/AndroidRuntime(1809): at com.kodhus.tropics.setup.SetupCredsFragment.onDestroy(SetupCredsFragment.java:24)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:983)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1035)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1017)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.FragmentManagerImpl.dispatchDestroy(FragmentManager.java:1826)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.Activity.performDestroy(Activity.java:5171)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1109)
10-07 13:28:02.663: E/AndroidRuntime(1809): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3260)
10-07 13:28:02.663: E/AndroidRuntime(1809): ... 11 more
I had a Google and was surprised to find endless Stack Overflow posts saying “Fragments in fragments can’t be done”. Well I may be new to this version of Android development but that seemed a little foolish and also acted like a red flag to a bull. So I had a hunt around and it turns out it is possible to do fragments within fragments, but you just have to clean up after yourself – activities only clean up the top level fragments in them when they are closed or transitioned etc.
Thus I had a half hour of playing around trying to find the right settings, and this is the code I came up with. It goes in the onDestroy method of the middle fragment, i.e. the one that is within the activity and has another fragment within it. Note that you need to know the ID of the inner fragment for this to work.
@Override
public void onDestroy()
{
Fragment fragment = getFragmentManager().findFragmentById(R.id.innerfragment);
if (fragment.isResumed())
{
getFragmentManager().beginTransaction().remove(fragment).commit();
}
super.onDestroy();
}
Saturday, 29 March 2014 05:30
Strict Mode on Android 2.2
Set the Android Manifest to something like this.
<uses-sdkandroid:minSdkVersion="8"
android:targetSdkVersion="16"
android:maxSdkVersion="16"/>
Use the Code below in onCreate Method as shown
@Override
protected void onCreate()
{
int SDK_INT = android.os.Build.VERSION.SDK_INT;
if (SDK_INT>8)
{
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy);
}
super.onCreate();
}
Note: Disable the warning as you are already checking which version of the Android is going to use this code.
This Code will be activated if the Android version is higher than Android 2.2
Published in
Blog Post
Tagged under