Shay Well-Known Member Licensed User Longtime User Sep 3, 2011 #1 Hi the example zip http://www.b4x.com/forum/basic4andr...orials/10608-preferenceactivity-tutorial.html is not containing all the files, can someone post the zip, or the entire code that is needed to make it to work thanks
Hi the example zip http://www.b4x.com/forum/basic4andr...orials/10608-preferenceactivity-tutorial.html is not containing all the files, can someone post the zip, or the entire code that is needed to make it to work thanks
agraham Expert Licensed User Longtime User Sep 3, 2011 #2 There is nothing missing. You don't say what your error is but you need to download the PreferenceActivity library from the link provided above the download for the PreferenceActivity Example Upvote 0
There is nothing missing. You don't say what your error is but you need to download the PreferenceActivity library from the link provided above the download for the PreferenceActivity Example
Shay Well-Known Member Licensed User Longtime User Sep 3, 2011 #3 the layout is missing also I think there should be more than 1 module Upvote 0
agraham Expert Licensed User Longtime User Sep 3, 2011 #4 I've just downloaded and run it and it works fine for me. Upvote 0
Shay Well-Known Member Licensed User Longtime User Sep 3, 2011 #5 the app is stopping on StartActivity(screen.CreateIntent) with error unable to find explicit activity class (the libary version 1.00 is loaded) Upvote 0
the app is stopping on StartActivity(screen.CreateIntent) with error unable to find explicit activity class (the libary version 1.00 is loaded)
agraham Expert Licensed User Longtime User Sep 3, 2011 #6 You must have doownloaded the example a long time ago. Download the example again. If you look in post #2 in the thread you will see that the example was reposted. The error you get is due to an incorrect manifest, you can move the one in the example you have from the PreferenceActivity folder to the Objects folder and it should work. Upvote 0
You must have doownloaded the example a long time ago. Download the example again. If you look in post #2 in the thread you will see that the example was reposted. The error you get is due to an incorrect manifest, you can move the one in the example you have from the PreferenceActivity folder to the Objects folder and it should work.
Shay Well-Known Member Licensed User Longtime User Sep 3, 2011 #7 I downloaded all again, still no luck is it possible that since i am using B4A version 1.5, and I see in the file it is using 1.6 it is not working? Upvote 0
I downloaded all again, still no luck is it possible that since i am using B4A version 1.5, and I see in the file it is using 1.6 it is not working?
agraham Expert Licensed User Longtime User Sep 3, 2011 #8 I don't know but there is nothing wrong with the example. Upvote 0
Shay Well-Known Member Licensed User Longtime User Sep 3, 2011 #9 anything with samsung galaxy s2? can you post the minimum code required to make it to work Upvote 0
Shay Well-Known Member Licensed User Longtime User Sep 3, 2011 #11 I really need to create nice preference screen is there other ways to do it? I don't know why this one is not working Upvote 0
I really need to create nice preference screen is there other ways to do it? I don't know why this one is not working
Erel B4X founder Staff member Licensed User Longtime User Sep 3, 2011 #12 A custom manifest file is required for the preference activity. This is done by setting Project - Do Not Overwrite Manifest file. This option is new in v1.6 and when you run the example in v1.5 a new manifest file is created. You should redownload the example and set AndroidManifest.xml to be readonly. Upvote 0
A custom manifest file is required for the preference activity. This is done by setting Project - Do Not Overwrite Manifest file. This option is new in v1.6 and when you run the example in v1.5 a new manifest file is created. You should redownload the example and set AndroidManifest.xml to be readonly.
Shay Well-Known Member Licensed User Longtime User Sep 3, 2011 #13 I deleted the example extract it again add this line as last line before closing application <uses-permission android:name="android.permission.INTERNET" /> I set the file to read-only try to run it and it is stuck on "waiting for debugger" what did I missed? Upvote 0
I deleted the example extract it again add this line as last line before closing application <uses-permission android:name="android.permission.INTERNET" /> I set the file to read-only try to run it and it is stuck on "waiting for debugger" what did I missed?
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2011 #14 You probably added the permission line in the wrong place. First try it without the debugger (uncheck Project - Attach debugger). Upvote 0
You probably added the permission line in the wrong place. First try it without the debugger (uncheck Project - Attach debugger).
Shay Well-Known Member Licensed User Longtime User Sep 4, 2011 #15 it is working fine without the debugger what is the next step? Upvote 0
Shay Well-Known Member Licensed User Longtime User Sep 4, 2011 #16 tried now with debugger, stuck on the "waiting for ide..." what next? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 5, 2011 #17 Make sure that you added the INTERNET permission in the right place. Also check the unfiltered logs and see if there is any message. Upvote 0
Make sure that you added the INTERNET permission in the right place. Also check the unfiltered logs and see if there is any message.