Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
11/23/13 09:33 AM (12 years ago)

errors, errors and more errors

Hi all, I am newbie with the buzztouch tool but i have a little of experience with android programming (i was in an online course) and i must admit that this tool is not intuitive and all the information on this website is disordered (and there is not search box on the site (fail!). After 20 hours i have finished my firt app but there was a lot of problems in Eclipse. Thanks to videos of forum members i have fixed the problems, for example, in 3.1 you must delete a file from the google play services lib and is not in the documentation (solved thanks to this post: http://www.buzztouch.com/forum/thread.php?tid=22CD162E3AD09888FE4E0EF&currentPage=2 ) Now i am trying the app in the emulator but nothing is working well. I have as home screen a Non-Tabbed Layout with the plugin "menu buttons". I have configured two buttons and uploaded the button images to buzztouch but the app only shows this screen with non aligned buttons and no images: http://img34.imageshack.us/img34/4497/nsz9.jpg Then, if i click on one of the buttons, the app crash: http://imageshack.us/photo/my-images/818/0v0o.jpg/ Both buttons are linked to a different screen with the Custom Html/Text plugin and only dummy text (lorem ipsum). Can anyone help me? Thanks in advance
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/23/13 11:25 AM (12 years ago)
Hi @Vicentin, First thing pops out at me is change jpg to png. Eclipse likes it better. Don't use caps or special characters for images ..example myImage.png no good. myimage.png is good. LA
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/23/13 02:20 PM (12 years ago)
The only thing I can add, along with agreement with LA (Android is *real* picky about naming conventions, and I've almost completely stopped using jpg since starting mobile)… is to check your logs and see what the errors are complaining about… https://www.buzztouch.com/files/howtos/Problem_Reporting_and_Basic_Debug_v1.0.pdf Mark (GoNorthWest) wrote up some good tutorials in the 'how to' section of the BT website… When you get a chance take a look; something might be of use to you. Cheers! -- Smug
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
11/23/13 04:16 PM (12 years ago)
Thank you people, but i have the same problem. Changed from jpg to png-24 and changed the name to a super simple name like carta.png I have the same problem, no image on buttons. The other problem still is in the app. If i click one button the app crash.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/23/13 04:22 PM (12 years ago)
Check the logs… see what they say. Those are usually the first place you'll want to look to see why the app isn't functioning the way you want. Cheers! -- Smug
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
11/23/13 04:46 PM (12 years ago)
Where are the logs? I forgot to say that ia have the same problem in emulator and real devices. Thanks Smug Regards
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/23/13 05:04 PM (12 years ago)
See the link I posted above? Start there. Cheers! -- Smug
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
11/23/13 11:40 PM (12 years ago)
Hi, After opening eclipse i get this message in the error log: !ENTRY org.eclipse.egit.ui 2 0 2013-11-24 07:15:59.303 !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.egit.ui 2 0 2013-11-24 07:15:59.319 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\Vicente'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. Then, i am opening AVD and running the app and there are no errors. At this point i can see the home screen but without images in the buttons. I have now the images in png with size of 350 square for large devides and 60 for small devices. Now i click one of the buttons who is linked to a screen with the Custom Html/Text plugin and dummy text and the app crash but no more messages in the error log. Regards
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/24/13 02:20 AM (12 years ago)
How Big (Filesize) is the image? Have you been able to test it on a device? One thing you may not be aware of… When you 'add' an image in the BT Control Panel, it does *not* download with the rest of your project… you 'still' have to add it to your iOS or Android project manually while in the Eclipse/Xcode environment. If you haven't done that, then I think that is why you cannot see your images. Add them to your /res/drawable directory in your project. There are steps to do this in the 'instructions.pdf' that comes with the downloaded package zip file. Take a second look at that and see if it helps. Cheers! -- Smug
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
11/24/13 01:21 PM (11 years ago)
The problem with the images is solved, thanks! But i still have the other problem, when i click the button the app crash and close. http://img440.imageshack.us/img440/8305/rkan.jpg The same problem in emulator and my tablet. Regards
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/24/13 03:43 PM (11 years ago)
Again, all I can say would be check through the logs. When it crashes, the text will turn red (in Eclipse). Scroll back until you see where it starts to be red, and look at all the text just before that… those are the last instructions leading up before the crash. Those can help. Cheers! -- Smug
 
Vicentin
Lost but trying
Profile
Posts: 85
Reg: Nov 22, 2013
Orihuela
2,050
like
11/24/13 04:35 PM (11 years ago)
I have opened a thread for this problem, we will continue talking there: https://www.buzztouch.com/forum/thread.php?tid=2D628F51FF41601651FE24C
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.