Code

Discussion on Universal - Full Multi-Purpose Android App

Discussion on Universal - Full Multi-Purpose Android App

Cart 7,287 sales

5771 comments found.

Hi,

I have configured the app and it just crashes immediately with this error:

12-14 02:09:33.966: E/AndroidRuntime(2642): FATAL EXCEPTION: main 12-14 02:09:33.966: E/AndroidRuntime(2642): Process: com.dmw.PocketWOD, PID: 2642 12-14 02:09:33.966: E/AndroidRuntime(2642): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.dmw.PocketWOD/com.universal.MainActivity}: java.lang.ClassNotFoundException: Didn’t find class “com.universal.MainActivity” on path: DexPathList[[zip file ”/data/app/com.dmw.PocketWOD-1/base.apk”],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209) 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.app.ActivityThread.access$800(ActivityThread.java:144) 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.os.Handler.dispatchMessage(Handler.java:102) 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.os.Looper.loop(Looper.java:135) 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.app.ActivityThread.main(ActivityThread.java:5221) 12-14 02:09:33.966: E/AndroidRuntime(2642): at java.lang.reflect.Method.invoke(Native Method) 12-14 02:09:33.966: E/AndroidRuntime(2642): at java.lang.reflect.Method.invoke(Method.java:372) 12-14 02:09:33.966: E/AndroidRuntime(2642): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) 12-14 02:09:33.966: E/AndroidRuntime(2642): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) 12-14 02:09:33.966: E/AndroidRuntime(2642): Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.universal.MainActivity” on path: DexPathList[[zip file ”/data/app/com.dmw.PocketWOD-1/base.apk”],nativeLibraryDirectories=[/vendor/lib, /system/lib]] 12-14 02:09:33.966: E/AndroidRuntime(2642): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 12-14 02:09:33.966: E/AndroidRuntime(2642): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 12-14 02:09:33.966: E/AndroidRuntime(2642): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.app.Instrumentation.newActivity(Instrumentation.java:1065) 12-14 02:09:33.966: E/AndroidRuntime(2642): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2199) 12-14 02:09:33.966: E/AndroidRuntime(2642): ... 10 more 12-14 02:09:33.966: E/AndroidRuntime(2642): Suppressed: java.lang.NoClassDefFoundError: com.universal.MainActivity 12-14 02:09:33.966: E/AndroidRuntime(2642): at dalvik.system.DexFile.defineClassNative(Native Method) 12-14 02:09:33.966: E/AndroidRuntime(2642): at dalvik.system.DexFile.defineClass(DexFile.java:226) 12-14 02:09:33.966: E/AndroidRuntime(2642): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219) 12-14 02:09:33.966: E/AndroidRuntime(2642): at dalvik.system.DexPathList.findClass(DexPathList.java:321) 12-14 02:09:33.966: E/AndroidRuntime(2642): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54) 12-14 02:09:33.966: E/AndroidRuntime(2642): ... 14 more 12-14 02:09:33.966: E/AndroidRuntime(2642): Suppressed: java.lang.ClassNotFoundException: com.universal.MainActivity 12-14 02:09:33.966: E/AndroidRuntime(2642): at java.lang.Class.classForName(Native Method) 12-14 02:09:33.966: E/AndroidRuntime(2642): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 12-14 02:09:33.966: E/AndroidRuntime(2642): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 12-14 02:09:33.966: E/AndroidRuntime(2642): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 12-14 02:09:33.966: E/AndroidRuntime(2642): ... 13 more 12-14 02:09:33.966: E/AndroidRuntime(2642): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 12-14 02:09:33.972: W/ActivityManager(476): Force finishing activity com.dmw.PocketWOD/com.universal.MainActivity 12-14 02:09:33.996: E/EGL_emulation(184): tid 184: eglCreateSyncKHR(1181): error 0×3004 (EGL_BAD_ATTRIBUTE)

Fixed it – Eclipse Luna auto unchecked the .jar files in the build path for appcompat 7 and google lib.

Noted, I’ll see if I can mention this in the docs.

I noticed your 1 star review. It would be appreciated if you could send us an email (please use the contact form) and tell us how we could improve our service.

Just a quick explaination to reply to the first part of your review:

We just (this weekend) moved hosting so we haven’t got all our files as well as our email servers up online yet. This might explain why you could not email us or watch our video docs (the videos are also available in your offline documentation).

We are aware that this is very incovenient for our users and we’re working hard to get everything back online as soon as possible.

Is there a tutorial on how to make your own page or fragment for this? I want to make a cookbook. I want to create a ton of pages and have the user be able to search them and be able to favorite. The pages would display ingredients, a youtube video of the steps, and a step by step guide.

could you point me i nthe right direction. Like a tutorial?

Unfortunately, I don’t think there are any tutorials available on this specific case.

I’m looking to create a spinner that whenOption A is picked it brings you to the option A page. If option B is picked it brings you to the Option B page.

sorry, for some reason the comment was posted twice.

I get a lot of errors after imprting your app.

I already have appcompat and google libs imported, all targeting API21. I did all stuff you mention regarding fixing issues. I have 50+ other apps working with no issues but your’s show 300+errors. Any ideas?!

http://screencast.com/t/XIHxx9xLyk

Yes, i cleaned the project and i get the errors in console. I get a bunch of errors like this:

D:\00workspace\Universal Application\res\values\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light.NoActionBar’. D:\00workspace\Universal Application\res\values\styles.xml:7: error: Error: No resource found that matches the given name: attr ‘colorAccent’. D:\00workspace\Universal Application\res\values\styles.xml:5: error: Error: No resource found that matches the given name: attr ‘colorPrimary’. D:\00workspace\Universal Application\res\values\styles.xml:6: error: Error: No resource found that matches the given name: attr ‘colorPrimaryDark’.

I just pasted a few but is more like that, all seems to point to res>values>style.xml

Well.. i got this working finally.. the v21 support libraries (appcompat) were conflicting with my other apps which are not using material design. So i made a new workspace for the Universal app, and left my other apps in another workspace with different version of appcompat.

You seem to be configured correcty, so I have no immediate clue on what might be going on. I searched for similar issues that might help you out:

- http://stackoverflow.com/questions/26431676/appcompat-v721-0-0-no-resource-found-that-matches-the-given-name-attr-andro - http://stackoverflow.com/questions/26431676/appcompat-v721-0-0-no-resource-found-that-matches-the-given-name-attr-andro

Also remove the android-support-v4.jar file from your template’s libs folder.

Hi. Tell me how to translate into another language? What files to edit? You can add a confirmation when exiting (Yes/No).

You can edit strings.xml this contains all text in the app. You can add a confirmation, but this customization is not included in our support.

Why are your support forums not working anymore? (account suspended)

one more question: Is this compatible with android 4? (I mean is it possible to work on it with android api 14-15-... instead of the latest api?) I ask this because I want to make the app working with phones running android 4+ .

Yes, our servers are offline, we’re working hard to get them back up!

Universal is compatible on all version up and including 4.0

Hi!

This app is sending PUSH notifications using Parse?

Regards

No, the app uses pull-based notifications based on an RSS feed.

Sorry i dont understand. If the user has the app closed, and a new item is added to RSS feed, it would send him a notification like, for example, a new whatsapp message ? This app uses google cloud message?

Regards

The service runs on the background (even if the app is closed), when the RSS feed has a new item, the user will see a notification (e.g. like whatsapp). It’s pull based, so no Google Cloud Messaging required.

Import libraries dont works Updated Eclipse, Java 8, SDK, all proyects target 21 Clean project, fix project properties, rebuild and restart, and set java compiler to 1.7. “is library” checked too. see image: http://p222tr39.sergas.net/error.jpg

You marked your own project as an library. Change ‘library’ to false.

solved :P :P

Can you export it to work with android studio? I’ve been trying to get it to work on both ANdroid Studio and Eclipse but nothing works. The farthest I’ve gotten was in Android Studios. THese are the errors I get, “Error:(66, 10) Element service#com.universal.rss.RssService at AndroidManifest.xml:66:10 duplicated with element declared at AndroidManifest.xml:63:10” “Error:Execution failed for task ’:Desktop:multi:Template:processDebugManifest’. > Manifest merger failed with multiple errors, see logs”

Yay after 3 days of trying to fix my error. I’ve finally seemed to hav got it working

Great to hear. What seems to have fixed it (we would like to improve our docs)?

Android Studio version will come with next update (apprx. 1-3 days). It might take a bit longer before the documentation is updated to Android Studio.

So every App i make using this do i have to pay another $17? Not sure how the licensing on something like this would work :)

Yes (if it’s free app) check: http://codecanyon.net/licenses

wonderful update

Thanks! If you haven’t already, please rate us!

On the title bar – instead of just the page name is it also possible to put the App name up there?

Decided just to use an icon and figured out how to do that myself :p

Hello.

When will you add Vine support?

Thanks.

Thanks for your purchase! I currently have no plans on adding this. But depending on the demand, I might integrate it in the next update.

Where can i change the Version number?

Been pulling my hair out with some other similar products on here trying to get them to work! With yours I got everything done! Thanks!

I noticed someone mentioned a few posts above that images were not showing. The problem for me was that in Jetpack i had Photon activated – disabling this solved the thumbnail issue.

The detail view imagery is currently not optimized for landscape. I’m still thinking of a way to display it better. If you’ve got any suggestions, feel free to let me know.

Hi, I just wanted the image to show as is so i changed in activity_wordpress_details.xml from centerCrop to centerInside for the image and that has the result i wanted (sure there is a blue background now on the left and rightbut i can live with that)

this was what i meant about the blue but i actually don’t mind it. Better then stretching and cropping :) https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xap1/t31.0-8/10661998_388500031311926_9113824743774829666_o.jpg

i want to buy but can you integrate this module https://wordpress.org/plugins/wp-gcm/

this is good module and some other app provider use this and this is working very good.

waiting reply…

Thank you for contacting us, but I have no plans on integrating this.

Regards,

Mark

i like your app but can you add push notification option also send manualey.

You can do this manually, for example by following this tutorial: https://parse.com/tutorials/android-push-notifications

i email you, please reply..

Errors in project: 1. error retrieving parent for item: No resource found that matches the given name “android:Widget.Material.AcrionButton”; 2. “container android dependencies references not existing library: path/appcompat/bin/android-support-v7-appcompat.jar. Followed all the steps to import project and libraries, but there’s always this error

Thank you for contacting us.
1. Please make sure to target at least API V21 (lollipop).
2. To solve this, go to project>properties>java build path>libraries>add jars>appcompat_v7>libs>, then select android-support-v7-appcompat.jar (can be found in the library project and your template project). After this, I went to project>clean. This fixed the problem.

I did it, but it’s not fixed. There’s another error with loading data for Android 5.0.1: parsing data for android-21 failed, unsupported major.minor version 51.0

Try installing JDK 1.8 and reload Eclipse. If this does not work, try changing the java compiler to 1.7 (in project properties) and adding java to your windows path.

colored statusbar is not showing.

This only works on Android Lollipop and up.

there is a library appcompat21 that supports pre-lollipop devices. your other app web2app shows colored status bar.

The app uses AppCompat V21, but there is a difference between a tint (flow) and the lollipop primary color.

hey mark, what’s new in this update besides material ui?

The full changelog can be found in the readme file.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey