Android app source code was updated to 1.7.2

The problem was that the app was not compatible with some devices without front camera (like Google Nexus 7).

Small change was added to AndroidManifest.xml, to set camera feature to be optional.

Rules → http://www.boonex.com/terms
Quote · 16 Apr 2013

It works under my tablet now but here are some bugs / design suggestions i have which are essential for such an app

a) The main icons only occupy around 1/6 of my screen, they should adjust to the screen size and not being fixed. On my tablet they are really small and it looks very unprofessional

b) If a user added a site how he can delete this one again or add another? I only found a way to clear the data/cache of the app so it starts clean again. Same if he wants to delete his account information. After he added himself this button to login should not appear anymore. Let the app autologin and give him the possibility to remove his account/password again.

c) Show if users are online in profile and search results. This is really needed, especially if you plan to add a chat to it.

d) "Search Near Me" is confusing. I get people around me, but the list seems to be unsorted lil bit. First one is 2km away, second one 10km, next one 3km....

e) Search by location. Set the "Country" fields default value to the one the user is from. If no country is entered an exception is raised -> Small window opens with "Exception (cancel)" in it but no crash.

f) Using devices with just a front camera (like the google nexus 7, i think you mixed this up above) and no back camera lets you take a snapshot, but when you accept the photo from the camera app that has been called it crashes. It even crashes when i add a photo from the local device. crash report:

Exception class name: java.lang.NullPointerException
Source file: AddImageActivity.java
Source class: com.boonex.oo.media.AddImageActivity
Source method: onActivityResult
Line number: 246

Stack Trace see attachment

g) i cannot see any empty video albums but i can see empty photo albums. I guess it is because the user should have the ability to upload to all of his photo albums while video uploads are not possible.

h) The Info button should also display Info from profile_info.php and not only the basic information

i) Very important: Add Male / Female checkbox to the search forms

j) And finally this is still not working, even it says fixed http://www.boonex.com/trac/dolphin/ticket/2854

Sorry for complaining so much hehe. I know i can change lots by compiling by myself but i don't like to make a fork for this code now too ...

eventlog.png · 137.5K · 450 views
stacktrace.png · 102K · 480 views
Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 18 Apr 2013

Another big problem found and this is really a nasty one.

1) In my error.log sometimes i get

[Thu Apr 18 17:33:16 2013] [warn] [client xx.xxx.xx.xxx] mod_fcgid: stderr: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /inc/classes/BxDolTemplate.php on line 1298
[Thu Apr 18 17:33:16 2013] [warn] [client xx.xxx.xx.xxx] mod_fcgid: stderr: PHP Warning:  array_values() expects parameter 1 to be array, null given in /inc/classes/BxDolTemplate.php on line 1299
[Thu Apr 18 17:33:16 2013] [warn] [xx.xxx.xx.xxx] mod_fcgid: stderr: PHP Warning:  array_merge(): Argument #1 is not an array in /inc/classes/BxDolTemplate.php on line 1360
[Thu Apr 18 17:33:16 2013] [warn] [xx.xxx.xx.xxx] mod_fcgid: stderr: PHP Warning:  array_merge(): Argument #1 is not an array in /inc/classes/BxDolTemplate.php on line 1371
[Thu Apr 18 17:33:16 2013] [warn] [xx.xxx.xx.xxx] mod_fcgid: stderr: PHP Warning:  preg_replace(): Empty regular expression in /inc/classes/BxDolTemplate.php on line 1374

Checking access.log it shows

xx.xxx.xx.xxx - - [18/Apr/2013:17:33:16] "POST /xmlrpc/ HTTP/1.1" 200 514 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)"

2) I am using dolphin for one year now and never had any issues with what comes next. Right after using the Android APP and the warnings above I face a problem lots people had reported before, but the source for it was never 100% clear. Lots places on my site it tells on a blank page "x, Site Temporary Unavailable...." where x is a different number all the time. Checking the code where the warnings come i guess it produces corrupt cache files (i guess).

Any idea about that?

Edit: Could it be its because i was logged in on the the browser and the app with the same account to the same time?

Edit2: The above warnings are generated when i click on "Status" in the APP and change my status message. Right after i click "Update" it happens!!! And after that the Website is broken and shows "0 Sorry, site is temporary unavailable. Please try again later.". I can really reproduce it now. Clearing dolphins cache and it works again! Strange thing is this only happens the first time you log into the APP. After that it works without any error and not it is gone. But 100% it was generated but clicking update. I watched the log with tail -f error.log and it appeared instantly when i clicked "Update". Now i cannot force to do it again. So strange, but this is the source for both problems.

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 18 Apr 2013

0 Sorry, site is temporary unavailable. Please try again later

That happens most times when using a 3rd party template and some one messes with the header or footer.html...   or the lic check fails for some reason. 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 19 Apr 2013

 

Because I read this in the forums earlier I switched to the uni template until it happened again. So this is not the case. it is the first time I got this error and only because of the app. I run my own template for 1 years too and no there is no messing around with some boonex footers.

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 19 Apr 2013

a) http://www.boonex.com/trac/dolphin/ticket/3139

b) call menu on login screen, it will be a menu item to delete current site

c) http://www.boonex.com/trac/dolphin/ticket/3137

d) do you have world map module installed ? and profiles locations geocoded ?

e) http://www.boonex.com/trac/dolphin/ticket/3138

f) http://www.boonex.com/trac/dolphin/ticket/3140

g) yes, since there is no ability to upload video into it, no reason to display it

h) http://www.boonex.com/trac/dolphin/ticket/3141

i) we are trying to make the app universal and we are getting rid of hardcoded sex field

j) it should work in 7.1.1, what is dolphin version you are checking it in ?

thank you for your testing and reports

Rules → http://www.boonex.com/terms
Quote · 20 Apr 2013

1,2 - http://www.boonex.com/trac/dolphin/ticket/3142

Rules → http://www.boonex.com/terms
Quote · 20 Apr 2013

Hi Alex,

thanks for the tickets.

b) I cannot find the button on my screen. There is no menu button on the login screen. I only have a big Button on the top with the username that can login. If i restart the APP this is the only screen i can see. When i press the username the main APP menu comes, but also there is nothing i can unset or change. I can send you screenshot if you need.

d) yes i have profiles map module (7.0.9) installed and the module works without any problem. Also the locations are all correct, its just not listed 100% well from nearest to farest member to me.

f) You say front camera. Isn't it back camera? I am confused. My tablet has a camera so i can webchat, so this is a back camera? I thought its called front camera hehe.

i) I can understand to make it universal but for dating communities this is essential. Why not having it in, nobody needs to use it if he not want. Or just add an advanced search tab where you can really search in detail.

j) I use 7.0.9, and no, currently it is impossible for us to switch to 7.1.1 if you have a commercial website. If i remove the guest (non-member) restriction to

m/photos/browse/album/.*
m/photos/.*

the photos appear. Why here it is a problem? Videos are working. :)

1.2) Is this the fix so the sites cache not get broken and "0 Sorry, site is temporary unavailable. Please try again later." will not appear anymore? This bug is really hard to reproduce. Before applying the patch I just experienced it again. This is very strange. If it fixes it i would be very happy.

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 20 Apr 2013

b) http://www.boonex.com/trac/dolphin/ticket/3146

d) I recommend upgrading to 7.1, 7.1 is more stable, fast, secure and user friendly update, also location geocoding in 7.0.x versions doesn't work, since old deprecated google maps v.2  is used there.

f) I mean camera on the back of the device, ticket updated

i) search page can be extended with 3rd-party plugins with custom search functionality, if you need some specific search functions

j) this fix changes the whole login procedure, I still recommend to move to 7.1 (it maybe not easy to migrate this code to 7.0)

1-2) It maybe that this fix could fix the problem with cache, you can try to implement bugfix and see how it goes.

PS: more and more problems will have place over the time if you are still using 7.0, I would strongly recommend to consider upgrading to 7.1

Rules → http://www.boonex.com/terms
Quote · 22 Apr 2013

d) I am already using Maps3.0 and Geocoding 3.0 API in 7.0.9 so this is not the problem. I just think the result list (which is correct) should be sorted. The reult list is correct because It doesn't show me far away members i searched with the "near me" option. I am not running the stock 7.0.9 version and added all tickets from trac since the beginning and also made lots changes. Currently i have less problems than if i would use 7.1.1, in fact there are only 2 things left and j) is the only one i still don't know how to fix.

j) What else got changed? I applied this fix but the result is the same when using PAC on the mentioned folders. I cannot see photos but other media is visible. Is there something that was changed not mentioned in Trac? Which other files also need changes?

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 22 Apr 2013

 

The problem was that the app was not compatible with some devices without front camera (like Google Nexus 7).

Small change was added to AndroidManifest.xml, to set camera feature to be optional.

 Oh, you guys seems like never listen. I did it earlier on 1.6 sources that I'm rebranding and as I remember I was telling somebody this stuff.

Also you should add some lines, so things like a back camera, telephony and bluetooth will not be mandatory in order to run the app. Also add screen density supports. And possibility to add a background image, not just tiles, but two background images for vertical and horizontal position.

And please guys, put some comments in the app source code, it's really hard to figure out what this or that piece of code is doing. Writing an open source software without any comments inside (especially where many things are hard-coded) is not good idea.

And check if search field is empty and show a pop-up about it, otherwise on iOS app it shows "Connection error" message and Apple is rejecting such apps "with errors".

http://boonexpert.com
Quote · 22 Apr 2013

d) please could you try to reproduce this problem in 7.1.1 if this problem still exists ?

j) http://www.boonex.com/trac/dolphin/ticket/3023, but it maybe more changes, another way is to try to upload whole xmlrpc folder to 7.0, maybe some fixes will be required to run it 

Rules → http://www.boonex.com/terms
Quote · 23 Apr 2013

 

And check if search field is empty and show a pop-up about it, otherwise on iOS app it shows "Connection error" message and Apple is rejecting such apps "with errors".

 This problem was already mentioned in this thread - http://www.boonex.com/trac/dolphin/ticket/3138

Rules → http://www.boonex.com/terms
Quote · 23 Apr 2013

 

 

And check if search field is empty and show a pop-up about it, otherwise on iOS app it shows "Connection error" message and Apple is rejecting such apps "with errors".

 This problem was already mentioned in this thread - http://www.boonex.com/trac/dolphin/ticket/3138

 I see, but 'people search' is not included in this ticket.

http://boonexpert.com
Quote · 23 Apr 2013

 

And possibility to add a background image, not just tiles, but two background images for vertical and horizontal position.

http://www.boonex.com/trac/dolphin/ticket/3149

Rules → http://www.boonex.com/terms
Quote · 23 Apr 2013

 

 

And possibility to add a background image, not just tiles, but two background images for vertical and horizontal position.

http://www.boonex.com/trac/dolphin/ticket/3149

 Thanks.

http://boonexpert.com
Quote · 23 Apr 2013

 Please describe problem in details

I see, but 'people search' is not included in this ticket.

 

Rules → http://www.boonex.com/terms
Quote · 23 Apr 2013

 

 Please describe problem in details

I see, but 'people search' is not included in this ticket.

 

  On "Search by keyword" screen:

And check if search field is empty and show a pop-up about it, otherwise on iOS app it shows "Connection error" message and Apple is rejecting such apps "with errors".

 

http://boonexpert.com
Quote · 23 Apr 2013

+ separate font color for login fields and labels, otherwise if you have dark background and white font, it's impossible to see what username you are typing since it's in white font as well.

http://boonexpert.com
Quote · 23 Apr 2013

There is different layer for it, there is background, then box container, then the label and controls. 

So, background and box containers are different, if you have different layout, then you will have to do some deeper customization.

+ separate font color for login fields and labels, otherwise if you have dark background and white font, it's impossible to see what username you are typing since it's in white font as well.

 

Rules → http://www.boonex.com/terms
Quote · 24 Apr 2013

Can't reproduce, if keyword field is empty then all members are shown - no error message here.

 On "Search by keyword" screen:

And check if search field is empty and show a pop-up about it, otherwise on iOS app it shows "Connection error" message and Apple is rejecting such apps "with errors".

 

Rules → http://www.boonex.com/terms
Quote · 24 Apr 2013

I tested and it works now under 7.1.1 thats true. So some patches i still miss, i wonder which ones. The ticket mention here is for Facebook Connect? I don't use this module and wonder if its really related to it except it also has some changes for xmlrpc.

I do not want to mix up the code with stuff that i do not need and might break other stuff, also just replacing folders ughhhh :( . So i wonder what really changed the behaviour so that it works now. According to the old ticket it got fixed by changing the app code only and no reference to this changeset. Hmmmm. If nobody can tell me where the problem came from or give an exact changeset i have to throw away my mobile license and make my own apps, which is crazy.... :(

Anyway i will try to make changes for xmlrpc first and skip the facebook ones but I worry it can brake something already working.

 

d) please could you try to reproduce this problem in 7.1.1 if this problem still exists ?

j) http://www.boonex.com/trac/dolphin/ticket/3023, but it maybe more changes, another way is to try to upload whole xmlrpc folder to 7.0, maybe some fixes will be required to run it 

 Edit: Nope these changes do not have any effect on the problems with PAC. So what else got fixed that made it work? Is xmlrpc folder only responsible for mobile access or other parts use it as well?

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 24 Apr 2013


Can't reproduce, if keyword field is empty then all members are shown - no error message here.

 On "Search by keyword" screen:

And check if search field is empty and show a pop-up about it, otherwise on iOS app it shows "Connection error" message and Apple is rejecting such apps "with errors".

 

 It shows error not on the all websites, but only on some of them. I'll check it out with different sites and will post update to my report here.

http://boonexpert.com
Quote · 24 Apr 2013

 

There is different layer for it, there is background, then box container, then the label and controls. 

So, background and box containers are different, if you have different layout, then you will have to do some deeper customization.

+ separate font color for login fields and labels, otherwise if you have dark background and white font, it's impossible to see what username you are typing since it's in white font as well.

 

 I'm talking about the font color, not background containers. You can see only cursor blinking in a text field, if you set

// text color

#define BX_TEXT_RED 1

#define BX_TEXT_GREEN 1

#define BX_TEXT_BLUE 1

#define BX_TEXT_ALPHA 1.0

 

 

http://boonexpert.com
Quote · 24 Apr 2013

 As I remember it is /xmlrpc/ folder and facebook connect module only.

 Edit: Nope these changes do not have any effect on the problems with PAC. So what else got fixed that made it work? Is xmlrpc folder only responsible for mobile access or other parts use it as well?

 

Rules → http://www.boonex.com/terms
Quote · 25 Apr 2013

Thank you for clarification, it is placeholder and input text colors:

http://www.boonex.com/trac/dolphin/ticket/3154

I'm talking about the font color, not background containers. You can see only cursor blinking in a text field, if you set
// text color
#define BX_TEXT_RED 1
#define BX_TEXT_GREEN 1
#define BX_TEXT_BLUE 1
#define BX_TEXT_ALPHA 1.0
 

 

 

Rules → http://www.boonex.com/terms
Quote · 25 Apr 2013

i only see 1.7.1 available for download. Where is 1.7.2?

Quote · 12 May 2013

Latest Android app is 1.7.3

Latest iOS app is 1.7.1

You download it from your Prime page.

i only see 1.7.1 available for download. Where is 1.7.2?

 

Rules → http://www.boonex.com/terms
Quote · 13 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.