New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish c:geo in Blackberry "app world" #2595

Closed
Lineflyer opened this Issue Mar 26, 2013 · 71 comments

Comments

Projects
None yet
8 participants
@Lineflyer
Copy link
Member

Lineflyer commented Mar 26, 2013

I don't know whether it is so simple as said in the topic, but at least some users on support mail and facebook said, that it should be possible by simply uploading it there.

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented Mar 26, 2013

There are too many incompatibilities. I don't think that it works. Somebody can try it, here are the instructions: http://developer.blackberry.com/android/documentation/gettingstarted.html

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented Mar 26, 2013

@mucek4 Mabye you can just give it a try. If you manage to produce a BAR file I can organize a BB10 for testing.

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented Mar 26, 2013

The test says:

Your application is not compatible with the BlackBerry® Runtime for Android™ Apps.

First we have to remove all references to Google Maps. Then the string "Android" must not be in any of your files. The same for libraries. For the core team it's too much. Maybe somebody else wants to do this after every release.

@SammysHP SammysHP closed this Mar 26, 2013

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented Mar 26, 2013

No chance...Thanks for trying it anyway

@caco3

This comment has been minimized.

Copy link

caco3 commented Apr 28, 2013

Just to let you know:
There are websites which convert the Android APK to a BB10 BAR file.
This then can be installed (sideloaded) on a BB10 device (i.e. the Z10).
I tested it and it seems to work very well.
Like mentioned in #1844, the Google maps are not shown in the list, but OSM works fine, also the offline maps from MapForge.
Sadly also the GPX import function is not shown, so I can not import my Pocket Querries.
How ever the offline saving function seems to work, so thats ok.
Every thing else seems to work as far as I tested it yet.

@rsudev

This comment has been minimized.

Copy link
Contributor

rsudev commented Apr 28, 2013

Thanks for your test. Regarding the gpx import, perhaps it can be made working by selecting an import directory in the settings (the default suitable for Android may not work on BB).
@Lineflyer Perhaps we should add this to the FAQ (with a 'no support' disclaimer)?

@caco3

This comment has been minimized.

Copy link

caco3 commented Apr 28, 2013

@rsudev:
I tried to set a directory but it gives me the following error when I click on the button "..." on the left:
"Intent {act=org.openintents.action.PICK_DIRECTORY dat=file:///sdcard (has extras) }".

Note: The button for the offline maps works fine and gives me the list of all found map files (in the set directory "/sdcard/mfmaps") where as the 3 other "..." buttons only show the mentioned error independently on the set directory.

@rsudev

This comment has been minimized.

Copy link
Contributor

rsudev commented Apr 28, 2013

Ok. Here we either use a selection dialog from an OI app (that might be installed) and fall back to our own implementation (which is not so comfortable) if this is not available. this detection seems not to work on BB. You can try to manually enter the directory into the text field next to the button, perhaps this works.

@caco3

This comment has been minimized.

Copy link

caco3 commented Apr 28, 2013

Hmm, I am not sure what I would have to do here.
I created a directory (/sdcard/gpx) and copied a pocket query ZIP file as well s the extraced gpx file.
Then I entered the path to this directory in the c:geo settings.
But how do I now import the pocket query?
The "import" option is still not available in the "stored Caches" page.

Note: I have the same version of c:geo on my Android tablet, so I now I am looking on the right place ;)

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented Apr 28, 2013

The import item should be there...take care that you are not on the virtual list but on another list (like "Default").

@rsudev: I could do that, but before I will organize a BB10 device for testing ;-)
@caco3: Can you post the website/instructions you used to convert the app ?

@caco3

This comment has been minimized.

Copy link

caco3 commented Apr 28, 2013

@Lineflyer:
Thank you for the hint. I was not aware this works only on the normal list. Now I have the entry and it works as expected.
(Note: It seems only to work from the internal partition but not from the inserted MicroSD card, this how ever is not critical for me).

Here the instructions to get c:geo to a BB10 device:

  1. Organise the Android APK file, either from the website directly or fetch it with "Real AOK Leecher" (http://forum.xda-developers.com/showthread.php?t=1563894)
  2. Upload the APK file to converter website, i.e. http://apk2bar.unker.net and download the converted BAR file
  3. Sideload the BAR file to your BB10 device (I followed the instructions here: http://forums.crackberry.com/blackberry-10-os-f269/how-get-bb10-hardware-id-sideload-app-bar-file-into-blackberry-10-a-780773/ )
  4. Enjoy another great app on your BB10 device :)

This side loading way woks for quite a few apps. Bot not the official Groundspeak app :)

@Bananeweizen

This comment has been minimized.

Copy link
Member

Bananeweizen commented Apr 28, 2013

@caco3: More questions:

  • Can this also be tested using only the BB10 simulator? I don't own any blackbderry device, but I would give it a try in the simulator, if there is a chance of success.
    EDIT: It is possible according to http://developer.blackberry.com/android/documentation/whitelisting_your_bb_device_1873334_11.html
  • Do BB devices with Google maps normally? We use reflection to detect whether Google Maps is installed (so we can also run on more dumb Android devices without the Google apps). If Google Maps are generally available on BB devices, we could eventually enhance the reflection test to find them on those devices also.

And BTW: You might also drop by in our irc channel #cgeo @ freenode

@caco3

This comment has been minimized.

Copy link

caco3 commented Apr 28, 2013

@Bananeweizen:
Yes, it also works in the Simulator, I just tested it.
As for the maps:

  • BB10 seems not to support Google Maps out of the box (the built in maps app uses some other maps source). How ever the Google maps app also can be side loaded and works fine incl. satellite pictures. (But c:geo most likely will not be able to access those data).

BTW: The GPS receiver of the Z10 seems to be quite good. Its the first device I have that can bick up a good signal inside my room. :)

@Bananeweizen

This comment has been minimized.

Copy link
Member

Bananeweizen commented Apr 28, 2013

Reopened to look into at least these issues:

  • intent stuff for the directory choosers (I volunteer doing this with the simulator).
  • how can the build be automated (as that is a requirement to have a binary on our website regularly).

@Bananeweizen Bananeweizen reopened this Apr 28, 2013

@caco3

This comment has been minimized.

Copy link

caco3 commented Apr 28, 2013

Some more informations for the folder paths:
The BB10 native folder browser shows only folders for music, downloads, documents, misc, ...
On the device itself, they are accessible under /accounts/1000/shared/ .
They are also accessible from WIndows through a network drive once the device is connected via USB (Blackberry Link needs to be installed for this).
No new folders are allowed to be created on this level.
I would suggest to add any additional files (map files, pocket queries,...) in misc (misc/mfmaps and misc/gpx or what ever c:geo uses as default).
So /accounts/1000/shared/misc should be the default folder c:geo looks into.

Currently c:geo seems to be able to find the pocket queries under /accounts/1000/shared/misc/gpx, how ever the maps seem not to be detected under /accounts/1000/shared/misc/mfmaps.
To find them, I had to move them on the device with Ghost Commander to /sdcard/mfmaps.

Alternatively, if an additional MicroSD card is inserted, it will also show up in the windows file explorer with the same folder structure. How ever here new folders are allowed to be created in the root folder.
So we could create a folder cgeo which then contains the gpx and mfmaps folders (or what ever default cgeo uses).
On the device itself, the MicroSD card is accessible under /sdcard2. How ever I was not yet able to access the maps or pocket queries in c:geo from there.

Note: cgeo seems to store its data under /sdcard/.sgeo.

See https://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/accessible_folders.html for the BB10 filesystem access.

@caco3

This comment has been minimized.

Copy link

caco3 commented May 1, 2013

Until there will (hopefully) be a native version for Blackberry 10, I posted a more detailed installation description under http://www.ruinelli.ch/geocaching-with-the-blackberry-z10

@Lineflyer Lineflyer closed this May 1, 2013

@Lineflyer Lineflyer reopened this May 1, 2013

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented May 1, 2013

@caco3: Thanks for this nice description. Can I refer to this from our c:geo FAQ?

@caco3

This comment has been minimized.

Copy link

caco3 commented May 1, 2013

@Lineflyer: Thanks for the feedback. You are very welcome to refer to this post ;)

@Bananeweizen

This comment has been minimized.

Copy link
Member

Bananeweizen commented May 6, 2013

For me, the file selection dialogs work fine, but I used the current developer version, while you probably used the last release, right? Also offline maps were found automatically (in the Download folder, after downloading with the standard browser).

The only real error I experienced until now is that log images are not displayed. There I see messages like Cannot decode bitmap from /sdcard/.cgeo/GC38PET/be12e963d25146ab13d060a83468ee9a.jpg, but I have to debug that at a better time of the day...

Also the useful apps activity is not that useful (obviously). It opens something called like "blackberry world" or the like, but that closed immediately again. No clue what's going on there...

@caco3

This comment has been minimized.

Copy link

caco3 commented May 8, 2013

@Bananeweizen: Can you provide screenshots and describe what works for you?
I now also used the nighly build, but didnt see any improvement.

A more general question (Also related the Android version):
Why is there no folder selection dialog for the offline maps folder?
Under Android, the 3 other folder settings (Map themes, GPX in/export) open a folder selector after pressing on the button "...".
Interestingly under Android, there is a different dialog when the path is empty. Why this?

Now to the map selection:
Even under Android, I am not able to select another folder. I used the default browser to download a map from mapsforge.org. It got places under /storage/sdcard0/Download. But even when I enter that path in c:geo under Android, c:geo doesnt find the new map. What am I doing wrong?

@caco3

This comment has been minimized.

Copy link

caco3 commented May 8, 2013

@Bananeweizen: As for the useful apps activity: This works fine on my device. The BlackBerry Store gets opened as expected. And it doesnt crash. Maybe this is a limitation on the simulator image. Like you said, its not useful as those apps are not (yet) available for Blackberry. Maybe those apps could be hidden in the BB10 version or a link to converted apps could be shown later on?

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented May 8, 2013

This sounds like it will be the first real fork of c:geo. Some nice patches, upstream merge after every release or more often. Who wants to be maintainer? :)

@caco3

This comment has been minimized.

Copy link

caco3 commented May 8, 2013

I have no experience with Android apps, but I am willing to help where ever it is possible.
It would be fine for me to be the maintainer of the BB version, how ever I am not sure how much help I can be in modifying the existing c:geo beside testing.
I already have some of my apps ported to BB10 (see http://appworld.blackberry.com/webstore/vendor/58531), so I also could put c:geo into the store. But before doing that, I want the permission of the c:geo team.

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented May 8, 2013

c:geo is open source (Apache License). You can modify and distribute it if you want. (btw: Should we copyright "c:geo" so that nobody can distribute it under the same name without our permission?)

The maintainer should know git and parts of the code that make trouble with BB.

@caco3

This comment has been minimized.

Copy link

caco3 commented May 9, 2013

Ok, I added it now to the BlackBerry Store. Lets wait and see if they accept it.
I also run the compatibility check. The only thing that is not supported are the Google Maps. Since they are not really required and c:geo nicely handles their non-existence, there should be no problems.

@Bananeweizen: If you still could give some explanations to my questions, that would be great.

@caco3

This comment has been minimized.

Copy link

caco3 commented May 14, 2013

@SammysHP: I installed the adt-bundle-linux which contains the Android SDK and also Eclipse.
The I installed the additional packages as configured in the p2f file.
What else is missing?
Note:
It failed to install "EGit Mylyn" and "Mylyn Context Connector: Eclipse IDE" with the following error:


Cannot complete the install because of a conflicting dependency.
Software being installed: EGit Mylyn 2.1.0.201209190230-r (org.eclipse.egit.mylyn.feature.group 2.1.0.201209190230-r)
Software currently installed: Eclipse EGit Mylyn GitHub Feature 2.0.0.201206130900-r (org.eclipse.mylyn.github.feature.feature.group 2.0.0.201206130900-r)
Only one of the following can be installed at once:
Git Team Provider UI 2.0.0.201206130900-r (org.eclipse.egit.ui 2.0.0.201206130900-r)
Git Team Provider UI (Incubation) 0.8.4 (org.eclipse.egit.ui 0.8.4)
Git Team Provider UI 1.1.0.201109151100-r (org.eclipse.egit.ui 1.1.0.201109151100-r)
Git Team Provider UI 2.2.0.201212191850-r (org.eclipse.egit.ui 2.2.0.201212191850-r)
Git Team Provider UI 2.3.1.201302201838-r (org.eclipse.egit.ui 2.3.1.201302201838-r)
Git Team Provider UI 1.3.0.201202151440-r (org.eclipse.egit.ui 1.3.0.201202151440-r)
Git Team Provider UI 2.1.0.201209190230-r (org.eclipse.egit.ui 2.1.0.201209190230-r)
Git Team Provider UI (Incubation) 0.11.1 (org.eclipse.egit.ui 0.11.1)
Git Team Provider UI (Incubation) 0.9.1 (org.eclipse.egit.ui 0.9.1)
Git Team Provider UI 1.0.0.201106090707-r (org.eclipse.egit.ui 1.0.0.201106090707-r)
Cannot satisfy dependency:
From: EGit Mylyn 2.1.0.201209190230-r (org.eclipse.egit.mylyn.feature.group 2.1.0.201209190230-r)
To: org.eclipse.egit.mylyn.ui [2.1.0.201209190230-r]
Cannot satisfy dependency:
From: EGit Mylyn UI 2.1.0.201209190230-r (org.eclipse.egit.mylyn.ui 2.1.0.201209190230-r)
To: package org.eclipse.egit.ui [2.1.0,2.2.0)
Cannot satisfy dependency:
From: Eclipse EGit Mylyn GitHub Feature 2.0.0.201206130900-r (org.eclipse.mylyn.github.feature.feature.group 2.0.0.201206130900-r)
To: org.eclipse.mylyn.github.ui [2.0.0.201206130900-r]
Cannot satisfy dependency:
From: Mylyn GitHub Connector UI 2.0.0.201206130900-r (org.eclipse.mylyn.github.ui 2.0.0.201206130900-r)
To: package org.eclipse.egit.ui [2.0.0,2.1.0)


I believe this is not critical and the project still should build.

Then, from within the Android SDK Manager, I installed "Android 3.0 (API 11)", "Android 1.6 (API 4)" as well as "Android 4.2.2 (API 17)".
Is there something else I have to do?

@mucek4

This comment has been minimized.

Copy link
Member

mucek4 commented May 15, 2013

Yes. You need to install "Google APIs" for all 3 of them.

@marco-dev

This comment has been minimized.

Copy link
Contributor

marco-dev commented May 15, 2013

I am not sure and can't verify if Google API is filtered out by a chosen device. Maybe you need to choose a different device first if Google API is not at the list.

However, Intel emulator is so far the fastest on intel platform.

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented May 16, 2013

The emulator is not necessary.

@caco3

This comment has been minimized.

Copy link

caco3 commented May 17, 2013

I am still not able to compile the project :(
I get hunderts of errors with: "R cannot be resolved to a variable"

As you can see in the attachment, I installed everything.

What am I missing?

adt

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented May 17, 2013

Please join #cgeo on irc.freenode.net.

@caco3

This comment has been minimized.

Copy link

caco3 commented May 24, 2013

c:geo is now available for Blackberry BB10: http://appworld.blackberry.com/webstore/content/28277410

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented May 24, 2013

Nice. Sadly no test device is available for me at my work to give it a try.

Shall we promote this via FB,etc. Or do we need to fullfill any other conditions before. 

Von Samsung Mobile gesendet

-------- Ursprüngliche Nachricht --------
Von: caco3 notifications@github.com
Datum:
An: cgeo/cgeo cgeo@noreply.github.com
Cc: Lars gc@droescher.eu
Betreff: Re: [cgeo] Publish c:geo in Blackberry "app world" (#2595)

c:geo is now available for Blackberry BB10: http://appworld.blackberry.com/webstore/content/28277410


Reply to this email directly or view it on GitHub.

@caco3

This comment has been minimized.

Copy link

caco3 commented May 24, 2013

Yes it would be great if you also could promote it.
The text in the description is still a bit bumpy. A better version will be approved by BlackBerry hopefully in the next days.

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented May 24, 2013

The description must be approved?!

@caco3

This comment has been minimized.

Copy link

caco3 commented May 24, 2013

yes, even the title can not be changed without approval :)
But that’s the same in every store I have used.

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented May 24, 2013

Can you pleaee tell me a comprehensive list of the limitations. Is it only Google maps or more?
We do not offer any support for this (yet) do we ?

@caco3

This comment has been minimized.

Copy link

caco3 commented May 24, 2013

The only limitation I am aware off are the missing Google maps and the additional tools like the calendar plugin and the apps listed under "useful apps".
I tested it intensively in the wild nature and had no issues.
GPS was better than with any phone before.
After I did an update to BB10.1, now also the folder selectors work fine :)

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented May 25, 2013

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented May 25, 2013

@caco3
For the description I would suggest you take the same we are using to have it look-a-like.
It can be found here (including various translations):
https://github.com/cgeo/cgeo/wiki/App-description-for-PlayStore

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented May 27, 2013

@caco3
Can you try to get it released for 10.0 as well ?
Seems every german and czech network provider is still on 10.0.

@caco3

This comment has been minimized.

Copy link

caco3 commented May 27, 2013

I will see if I can extend the next release also for BB10.0.
However I cannot test it any more since I am on 10.1.
As far as I remember the file selection dialogues did not work, maybe also others.

Beside of that, everybody is able to install it manually. Just download it from www.ruinelli.ch/cgeo and follow the sideloading instructions on http://www.ruinelli.ch/android-applications-under-blackberry-10

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented Jun 14, 2013

Looking at the topic of this issue, this seems to be done.
However I assume there is still the question if the code is maintained by @caco3 alone or someone wants to include it on github and how to sync the version release.
Any opinion ?

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented Jun 23, 2013

@caco3
I included the availability of c:geo for BB also in our FAQ: http://faq.cgeo.org/#1_68
Is this entry OK for you ?

@caco3

This comment has been minimized.

Copy link

caco3 commented Jun 23, 2013

This is great. Thank you.

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented Jun 23, 2013

Can we close this now or are there any attempts of bringing the code to the github repository ?

@Lineflyer

This comment has been minimized.

Copy link
Member

Lineflyer commented Aug 8, 2013

Closing. the BB10 version is published and it does not seem that the code shall be hosted in our repo (as there was no reaction).

@Lineflyer Lineflyer closed this Aug 8, 2013

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented Feb 1, 2014

@caco3

The version in the Blackberry World is quite old. Can you please update it? If it's not possible for you than you should think about removing it because changes on gc.com make some features not working.

@caco3

This comment has been minimized.

Copy link

caco3 commented Feb 1, 2014

@SammysHP I am very aware of the new release. Currently I am on holiday and busy with other stuff. But I hope to get time in some weeks. As always, its open source, so everybody complayning better should give it a hand him/herself or support the work.

I am using the latest BB version myself and did not discover any issues with GC yet.

@samueltardieu

This comment has been minimized.

Copy link
Member

samueltardieu commented Feb 1, 2014

@caco3 Try to look up a trackable by code. You won't be able to get its name and owner.

@SammysHP

This comment has been minimized.

Copy link
Member

SammysHP commented Feb 1, 2014

The version in the BlackBerry World is from October, so I think there are also other issues.

Maintaining a package leads to some responsibility. People who are using c:geo on their BlackBerry experience issues and might think bad about us. I read that the next BlackBerry update is able to use APKs directly. The question is if you want to maintain your version for devices that don't get an update.

Btw we have the same problem with f-droid.

@caco3

This comment has been minimized.

Copy link

caco3 commented Feb 1, 2014

Indeed the latest verison in BB is from October, but please also keep in mind that it is only around a month ago since a new Android version got released! I was planning on setting up on that version but did not yet have the time for it.
Like discussed in the beginnings of this thread, It would have been easier if there would be an official BB branch for c:geo. Now, since I have to merge everything myself every time, its quite some booring work to be done.

You say correcly that BB now has a very impressive Android Runtine Engine and in fact c:geo runs very well there. The issue with it is that one has to sideload first an Android Store client (i.e. Snap). This however is for most people already to difficult.
But the real issue is that most providers did not yet release the new BB OS (10.2.1) which allows APK installs and therefore those users are dependent on the BB Store apps.

@samueltardieu

This comment has been minimized.

Copy link
Member

samueltardieu commented Feb 1, 2014

@caco3 Let's discuss about the technical issue. What would a BB branch in our repository solve? It would still require a merge, the very same one that you must been doing in your repository. None of us own a BB as far as I know, so you're the only one who can do it and test that the merge produces the expected result. I'm not understand what you'd like to change.

@caco3

This comment has been minimized.

Copy link

caco3 commented Feb 1, 2014

As a SVN user for many years, I just can't completely understand those GIT merges and forks.
So insted of merging all your changes into my branche, I had to drop my code, take yours and re-import my changes. I am sure there are better ways, but i dont have the time to digg into it.
In the beginning I added a lot of changes, especially adding a menu entry to every title bar as this is more BB style. This I stopped as it is too much work every time.
Then I also had to remove/alter any Android specific texts. This was forced by BB but it seems that they are less restrictive now since in the following releases I stopped altering the texts and they still accepted the build.
Finally I had to remove any links to other Android apps as they could not be installed on BB directly.

Most of those changes AFAIK could be automated by a permanent runtime switch. How ever I understand that this is not what you want.

I am still willing to maintain the BB port, but also have other priorities.
I use c:geo myself a lot, meaning I know if it works or not. And as for now, I don't see any critical issues, thats why I didn't port the latest work yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment