Giter Club home page Giter Club logo

alfresco-android-app's People

Contributors

agologan avatar aman-alfresco avatar bogdanroatis avatar gl-lovekesh avatar ldjagger avatar shikoko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alfresco-android-app's Issues

Publish APK on Github?

Would you consider publishing the .apk here on Github, preferably attaching it to the corresponding release on the releases/ page? That way it would be easily available to those "Google resisters" running "Google free devices" (i.e. without the GApps and thus without Play Store). Placing it on the releases/ page (with the tag corresponding to the version), I could even grab updates automatically and put them here, permitting users to auto-update using the F-Droid app.

Trying to compile 1.6 version with Gradle

Hi, I'm trying to compile the latest version of the app and I get this error with gradle from terminal (Mac).
The error refers to the Alfresco SDK 1.4.1

compile 'org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:1.4.1'

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 43.623 secs
DESKTOP-4I1Q6EF:alfresco-android-app-1.6 wojtekjablonski$

issue while trying to make custom application

I am not able to make custom application from alfresco community edition code. I have customised the app look and feel , and it runs fine but as soon as i change package name (Application ID) the app starts misbehaving.

Getting error like for e.g.

Error during Operation creation : org.alfresco.mobile.android.platform.accounts.DefaultAccountManager

Error during Operation creation : org.alfresco.mobile.android.application.extension.analytics.GAnalyticsManagerImpl

Error during Operation creation : org.alfresco.mobile.android.platform.accounts.DefaultAccountManager

App run absoultely fine while using the original package name
org.alfresco.mobile.android.application

but as soon as i alter it , app misbehaves.

I am referring following doc. for custom application.
https://github.com/Alfresco/alfresco-android-app/wiki/Create-Custom-Application

I am stuck on these issue since last 5 days. Help is appreciated.

Import Alfresco app in android studio

Hi, I'm sorry, but I'm trying to open the app and customize it.
I have followed the instructions, but now Android Studio gives me this error:

Error:A problem occurred configuring project ':alfresco-mobile-android'.

Could not resolve all dependencies for configuration ':alfresco-mobile-android:_mobileironDebugApk'.
A problem occurred configuring project ':platform:foundation'.
> Could not resolve all dependencies for configuration ':platform:foundation:_debugPublishCopy'.
> Could not find org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:1.5.
Required by:
alfresco-android-app-1.8.0.platform:foundation:unspecified

Can someone help me, please?
Thanks

Redirect to application ?

Hi,
When I send an Afresco URL to an user (like an invitation) who open it with his mobile, it launch Alfresco with the web browser... Severals think they are in the mobile application and all changed ! they are lost...
Is it possible that the Alfresco mobile application detects Alfresco URL to open it in the application at the good place ? (becareful with the mail invitation)
Thanks

(Sorry for my English)

Bonjour,
Quand j'envoie une Alfresco URL à un utilisateur (comme par exemple une invitation Alfresco à rejoindre un site collaboratif), et qu'il clique sur le lien depuis sa tablette, cela va ouvrir le lien dans son navigateur internet et non dans l'application. Du coup, beaucoup croient qu'ils sont dans l'application et que tout à changer ! Ils sont perdus...
Est ce possible que l'application mobile Alfresco detecte une Alfresco URL et l'ouvre dans l'application ? (attention avec les mails d'invitation).
Merci

Force close dans l'application sur google play

J'ai testé l'application existante sur google play,
Quand je consulte un fichier (image ou document) sous le dossier par exemple (entrepôts->User Homes->[email protected]>...png) et je l'affiche puis je clique sur le bouton back puis je clique sur le dossier ' [email protected]' ça engendre un force close,

la fonction responsable dans l'activité FragmentDisplayer.java
public static void removeFragment(Activity a, Stack tags)
{
Fragment fr;
FragmentTransaction t2 = a.getFragmentManager().beginTransaction();
for (String tag : tags)
{
fr = a.getFragmentManager().findFragmentByTag(tag);
if (fr != null && fr.isAdded())
{
// t2.remove(fr); // j'ai commenté cette ligne pour résoudre le problème et ça marche
}
}
t2.commit();
}

Si vous voulez, mettez à jour votre code et votre application sur google play

The View File Properties is wrong

In Alfresco Mobile with Android configurated to Portuguese language the menu Properties of File is desconfigurated.
In the folder Android/data/org.alfresco.mobile.android.application/files/Conf is copied only embedded_config.json, but with Espanish or English language in Android is copies too en_embedeed_strings.properties.
screenshot_2016-10-19-21-58-48

Vulnerable third-party library

Brief description of bug

Self-Diagnosis

  • I have reviewed the documentation.
  • I have reviewed some of the third-party library
  • according to my research, you've used a vulnerable third-party library:jar:0.0.1-SNAPSHOT

Environment(for bug reports)

  • Operating System:MacOS
  • SciTools Understand
  • Maven

Current Result (Include screenshots where appropriate.)

[INFO] -------------< br.com.leonardoz:java-concurrency-patterns >-------------
[INFO] Building Concurrency Patterns and features in Java 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ java-concurrency-patterns ---
[INFO] br.com.leonardoz:java-concurrency-patterns:jar:0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

-------------------- Vulnerabilities Report --------------------

Found 1 vulnerabilities in target JAVA project

[1]

  • CVE No: CVE-2019-15566
  • CVE Level: severe
  • CVE Method Name: org.alfresco.mobile.android.application.providers.search.HistorySearchProvider.createProjectionMap
  • CVE Vulnerable Line: [215,220]
  • File Containing This CVE in Project:
    (1)
    • File Name: alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/providers/search/HistorySearchProvider.java
    • Line: 148
    • Column: 38

The configuration.json don´t work

I created the configuration.json in the folder Data Dictionary/Mobile, but in the Alfresco mobile the menus don´t are oculted.
I tested using the steps of http://docs.alfresco.com/5.1/concepts/mobile-config-overview.html.
My configuration.json is attachhed

configuration.json.txt.txt

The configuration.json is copied to local folder Android/data/org.alfresco.mobile.android.application/files/hostnameserver-username/Config in my mobile, but the Alfresco mobile only read the Android/data/org.alfresco.mobile.android.application/files/hostnameserver-username/Custom Folder.

Saml Data .class not found in latest client api:1.4.1

This below error seems that SAMLDATA class not found in jar file of client API.
I also try some old release version bu not get a solution.

Information:Gradle tasks [:alfresco-mobile-android:assembleCustomDebug]
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/async/session/RequestSessionEvent.java
Error:(21, 62) error: cannot find symbol class SamlData
Error:(30, 18) error: cannot find symbol class SamlData
Error:(58, 63) error: cannot find symbol class SamlData
Error:(68, 63) error: cannot find symbol class SamlData
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/platform/accounts/AlfrescoSessionSettings.java
Error:(24, 62) error: cannot find symbol class SamlData
Error:(42, 18) error: cannot find symbol class SamlData
Error:(89, 52) error: cannot find symbol class SamlData
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/async/account/URLInfo.java
Error:(23, 62) error: cannot find symbol class SamlInfo
Error:(39, 18) error: cannot find symbol class SamlInfo
Error:(41, 93) error: cannot find symbol class SamlInfo
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/async/account/CreateAccountOperation.java
Error:(27, 62) error: cannot find symbol class SamlData
Error:(62, 13) error: cannot find symbol class SamlData
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/async/account/CreateAccountRequest.java
Error:(21, 62) error: cannot find symbol class SamlData
Error:(46, 11) error: cannot find symbol class SamlData
Error:(53, 56) error: cannot find symbol class SamlData
Error:(86, 19) error: cannot find symbol class SamlData
Error:(122, 36) error: cannot find symbol class SamlData
Error:(141, 36) error: cannot find symbol class SamlData
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/async/session/LoadSessionOperation.java
Error:(63, 23) error: reference to LoadSessionHelper is ambiguous
both constructor LoadSessionHelper(Context,AlfrescoAccount,OAuthData) in LoadSessionHelper and constructor LoadSessionHelper(Context,AlfrescoAccount,SamlData) in LoadSessionHelper match
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/async/session/LoadSessionHelper.java
Error:(28, 62) error: cannot find symbol class SamlData
Error:(29, 62) error: cannot find symbol class SamlInfo
Error:(79, 72) error: cannot find symbol class SamlData
Error:(130, 13) error: cannot find symbol class SamlInfo
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/async/account/CheckServerOperation.java
Error:(28, 62) error: cannot find symbol class SamlInfo
Error:(29, 67) error: cannot find symbol class Saml2AuthHelper
Error:(30, 67) error: cannot find symbol class Saml2InfoImpl
Error:(217, 19) error: cannot find symbol class SamlInfo
Error:(181, 17) error: cannot find symbol class Saml2AuthHelper
Error:(181, 46) error: cannot find symbol class Saml2AuthHelper
Error:(188, 21) error: cannot find symbol class Saml2InfoImpl
Error:(188, 46) error: cannot find symbol class Saml2InfoImpl
Error:(222, 13) error: cannot find symbol class Saml2AuthHelper
Error:(222, 42) error: cannot find symbol class Saml2AuthHelper
Error:(229, 28) error: cannot find symbol class Saml2InfoImpl
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/platform/extensions/AnalyticsHelper.java
Error:(30, 62) error: cannot find symbol class SamlAuthenticationProvider
Error:(319, 89) error: cannot find symbol class SamlAuthenticationProvider
/home/keyurpatelc2/ALF-ANDROID/alfresco-android-app-master/platform/foundation/src/main/java/org/alfresco/mobile/android/platform/SessionManager.java
Error:(33, 62) error: cannot find symbol class SamlData
Error:(35, 67) error: cannot find symbol class Saml2TicketImpl
Error:(36, 67) error: cannot find symbol class SamlDataImpl
Error:(300, 74) error: cannot find symbol class SamlData
Error:(315, 68) error: cannot find symbol class SamlData
Error:(339, 19) error: cannot find symbol class SamlData
Error:(395, 56) error: cannot find symbol class SamlData
Error:(465, 36) error: cannot find symbol class SamlDataImpl
Error:(465, 53) error: cannot find symbol class Saml2TicketImpl
Error:Execution failed for task ':platform:foundation:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.
Information:BUILD FAILED
Information:Total time: 1 mins 20.047 secs
Information:46 errors
Information:0 warnings
Information:See complete output in console

Favourite menu : scrolling don't work

Steps to reproduce the problem :

  1. In Alfresco Share, set as favourite a folder with 20+ documents/subfolders
  2. In the Alfresco Android app, go to the "Favourite" menu
  3. Wait for the folder to be synchronized with the Alfresco Android app
  4. When the folder shows up in the list, go into it
  5. Try to scroll the list to view the next documents/subfolders
    On each scroll, the list comes back to the top, i.e. the scrolling is not possible and the next items can't be accessed.

This behaviour is not always reproductible, maybe it occurs only when the sync process is active ?

Reproduced with Alfresco Android app 1.5.2 connected with a Alfresco Share v4.2.0.

This issue is blocking because it prevents the users to use the offline mode (synchronized folders contain 100+ subfolders).

This issue has been also published in the JIRA.

Icon Name on android

Hi,

for the latest alfresco version 1.8 from the google Store, the name of the application Alfresco is "Contenu" (may be only in French...)

It was better when it named "Alfresco", is it an error or a Alfresco's will ? I have to change this name with "Icon Changer Free" for my users.

Thx

Unable to connect to Alfresco

Hello,

I am unable to connect to Alfresco.

I have already done the following ;

alfresco-global.properties :
opencmis.server.override=true
opencmis.server.value=https://<domain.tld>

/tomcat/conf/server.xml:
Properties added to Connector:
<proxyName="<domain.tld>" proxyPort="443" scheme="https" />

Properties Added to Engine:
<Valve className="org.apache.catalina.valves.RemoteIpValve" internalProxies="127\.0\.[0-1]\.1" remoteIpHeader="x-forwarded-for" requestAttributesEnabled="true" protocolHeader="x-forwarded-proto" protocolHeaderHttpsValue="https"/>

I am runnning Tomcat behind Nginx (which is using SSL by LetsEncrypt)

The error I get is :
"Your server couldn't be reached.
Check your account settings."

Versions:
Alfresco Version: 6.2
App version : 1.8.9.398

One peculiar thing is that if I enter a wrong password, alfresco-log does show 'brute force' attack detected. which means that the app is able to reach the server.

Missing workflow

Do you have plans to impliment approve or deny workflows feature?

Error when compiling 1.4.1

Mobile version of Alfresco 1.4.1 on Android is failing with a SQLite error. It is attempting to insert into a table the database does not know about.

It is attempting this in the AccountCursorAdaptor class, in the updateTopText method, line 51.

Anyone have any ideas what's wrong? Am I missing something?


10-27 08:22:25.082: E/SQLiteLog(4338): (1) no such table: statistic_apps
10-27 08:22:25.082: E/SQLiteLog(4338): (1) no such table: statistic_apps
10-27 08:22:25.092: E/SQLiteDatabase(4338): Error inserting count=0 packageName=org.alfresco.mobile.android.application systemApp=-1
10-27 08:22:25.092: E/SQLiteDatabase(4338): android.database.sqlite.SQLiteException: no such table: statistic_apps (code 1): , while compiling: INSERT INTO statistic_apps(count,packageName,systemApp) VALUES (?,?,?)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1467)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1339)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at xcxin.filexpert.statistics.app.b.a(Unknown Source)
10-27 08:22:25.092: E/SQLiteDatabase(4338):     at xcxin.filexpert.statistics.app.c.run(Unknown Source)
10-27 08:22:25.262: W/dalvikvm(19493): threadid=1: thread exiting with uncaught exception (group=0x415a3ba8)
10-27 08:22:25.292: W/CursorWrapperInner(19493): Cursor finalized without prior close()
10-27 08:22:25.292: W/CursorWrapperInner(19493): Cursor finalized without prior close()
10-27 08:22:25.292: E/AndroidRuntime(19493): FATAL EXCEPTION: main
10-27 08:22:25.292: E/AndroidRuntime(19493): Process: org.alfresco.mobile.android.application, PID: 19493
10-27 08:22:25.292: E/AndroidRuntime(19493): java.lang.NullPointerException
10-27 08:22:25.292: E/AndroidRuntime(19493):     at org.alfresco.mobile.android.application.accounts.fragment.AccountCursorAdapter.updateTopText(AccountCursorAdapter.java:53)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at org.alfresco.mobile.android.application.accounts.fragment.AccountCursorAdapter.updateTopText(AccountCursorAdapter.java:37)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at org.alfresco.mobile.android.application.fragments.BaseCursorLoader.updateControls(BaseCursorLoader.java:81)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at org.alfresco.mobile.android.application.fragments.BaseCursorLoader.newView(BaseCursorLoader.java:55)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.CursorAdapter.getView(CursorAdapter.java:250)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.AbsSpinner.onMeasure(AbsSpinner.java:193)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.Spinner.onMeasure(Spinner.java:482)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1226)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.ScrollView.onMeasure(ScrollView.java:326)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:719)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:455)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:327)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2291)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.View.measure(View.java:16497)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1912)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1109)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1291)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:996)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5600)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.Choreographer.doCallbacks(Choreographer.java:574)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.Choreographer.doFrame(Choreographer.java:544)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.os.Handler.handleCallback(Handler.java:733)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.os.Handler.dispatchMessage(Handler.java:95)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.os.Looper.loop(Looper.java:136)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at android.app.ActivityThread.main(ActivityThread.java:5001)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at java.lang.reflect.Method.invokeNative(Native Method)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at java.lang.reflect.Method.invoke(Method.java:515)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
10-27 08:22:25.292: E/AndroidRuntime(19493):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
10-27 08:22:25.292: E/AndroidRuntime(19493):     
10-27 08:22:25.302: W/ActivityManager(597):   Force finishing activity org.alfresco.mobile.android.application/.activity.MainActivity
10-27 08:22:25.302: W/DropBoxManagerService(597): Dropping: data_app_crash (893 > 0 bytes)
10-27 08:22:25.603: W/WindowManager(597): Screenshot failure taking screenshot for (768x1280) to layer 21035
10-27 08:22:26.103: W/ActivityManager(597): Activity pause timeout for ActivityRecord{429403b8 u0 org.alfresco.mobile.android.application/.activity.MainActivity t20 f}
10-27 08:22:34.763: E/WindowManager(597): Starting window AppWindowToken{430ea0d0 token=Token{427f0ac8 ActivityRecord{429403b8 u0 org.alfresco.mobile.android.application/.activity.MainActivity t20}}} timed out
10-27 08:22:36.194: W/ActivityManager(597): Activity destroy timeout for ActivityRecord{429403b8 u0 org.alfresco.mobile.android.application/.activity.MainActivity t20 f}
10-27 08:22:45.234: W/ActivityManager(597): Timeout executing service: ServiceRecord{42e92cd8 u0 org.alfresco.mobile.android.application/.operations.batch.BatchOperationService}

Preview doesn't generate the image

Hi,
I've just noticed that from the app it seems it only search for the thumbnail available to preview but doesn't do any transform.
To reproduce that, I've selected an image from the app which doesn't show a preview, getting a preview not available, after this went from the web client to the same image, open to preview and after that the preview is available on the app as well.

JBPM Workflows

Hi,
I would like to add new custom workflows to the app, is this possible? is it compatible with JBPM?

thanks

google analytics

import com.google.analytics.tracking.android.EasyTracker;

<dependency>
          <groupId>com.google.android.analytics</groupId>
          <artifactId>analytics</artifactId>
          <version>3.0.0</version>
        </dependency>   

[ERROR] C:\Users\sabrine.moumni.m2\repository\etisalat\alfresco-android-app-mas
ter\alfresco-mobile-android\src\com\etisalat\ecm\accounts\fragment\AccountEditFr
agment.java:[36,44] error: package com.google.analytics.tracking.android does no
t exist

Not able to build project.

Hello,
I have using alfresco -android-app and referring Getting Started guide line.

I have import project in android studio but not able to build project. I getting error that
Error:Failed to resolve: **org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:1.5

I have attach screenshot of error log.
errorlog
I am stuck in this issue any one have solution. Thank you in advance.

Search fails for some strings

Hi, I'm experiencing this problem, if I search something that is actually available it works fine. When instead the content is not found, for some strings it fails and it's weird.

I've tried with team or login

We've reproduced it on our server, does anyone can test this?

Thanks

Profile availability for specified users

Hello,
I use an alfresco 4.2.f and the Mobile application (android).

I would like to set up a menu based on the users (obviously it isn't possible to use users' group)

I created 2 profiles:

  • Default
  • test

If I add the evaluator, test profile doesn't work anymore...

I followed the recommendations of Alfresco to distinguish the profiles according to the users (http://docs.alfresco.com/5.2/references/mobile-config-access.html),
I thought there was an error in the documentation using "org.alfresco.client.evaluator.isSalesUser" instead of "org.alfresco.client.evaluator.isUser" but neither of them works..

Would anyone have an idea?

Secondly, is it possible to have a default profile for different users (or better groups) ?

thank you

/Company Home/Data Dictionary/Mobile/configuration.json

{
	"info":{
		"schema-version": 0.2
	},

	"repository":{
		"share-url": "https://docs.localhost/share"
	},

	"profiles":{
		"Default":{
			"default": true,
			"label-id": "Default Profile",
			"description-id": "Description of the Default Profile",
			"root-view-id": "views-menu-default"
		},
		"TestUsers":{
			"label-id": "Mes utilisateurs",
			"description-id": "Mes utilisateurs Dashboard",
			"root-view-id": "views-menu-testusers"
		}
	},		
	
	"views" : {
		"views-menu-default":{		
			"label-id":"Repository",
			"type":"org.alfresco.client.view.repository"			
		},
	
		"views-menu-testusers":{
			"label-id": "Vue test",
			"type": "org.alfresco.client.view.activities",
			"params": {
				"siteShortName": "swsdp"
			},
			"evaluator": "isTestUser"
			
		}
	},
	
	"evaluators": {
		"isTestUser": {
			"type": "org.alfresco.client.evaluator.isTestUser",		
			"params": {
				"users": [
					"myloginuser"
				]
			}
		}
	}
}

Same question an Alfresco Forum : https://community.alfresco.com/message/807674-mobile-profile-availability-for-specified-users

Malformed User-Agent

The android app reports itself (User-Agent) as "Apache Chemistry OpenCMIS/0.0"

Thi user agent is Wrong and Incomplete. It should,at least be, "ApacheChemistryOpenCMIS/0.0" (without spaces), and maybe report the correct version instead of 0.0

But it could also specify the application, not only the used protocol: "ApacheChemistryOpenCMIS/0.0 alfresco-android-app/1.6"

(this way i can configure my server to allow the application and block anything else. Not bulletproof, but at least...)

The User-Agent request-header field contains information about the user agent originating the request. This is for statistical purposes, the tracing of protocol violations, and automated recognition of user agents for the sake of tailoring responses to avoid particular user agent limitations. User agents SHOULD include this field with requests. The field can contain multiple product tokens (section 3.8) and comments identifying the agent and any subproducts which form a significant part of the user agent. By convention, the product tokens are listed in order of their significance for identifying the application.

User-Agent = "User-Agent" ":" 1*( product | comment )

Where product is defined as:

product = token ["/" product-version]
product-version = token
token = 1*

And comment as:

comment = "(" *( ctext | quoted-pair | comment ) ")"
ctext = <any TEXT excluding "(" and ")">

Error open project

Hi,
See the error when opening the project:

ERROR: Could not get unknown property 'NEXUS_USERNAME' for root project 'alfresco-android-app' of type org.gradle.api.Project.
Open File

What can it be?
With best regards,
José Roberto
image (4)

Cannot access "My Files" when username contains '@'

Hi,
I have a issue when the user wants to access the "My Files" shortcut when username contains '@'
A popup authentication error appear and no content is displayed.

org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 07074087852 SOLR side error: org.apache.lucene.queryParser.ParseException: Failed to parse XPath...
    Unexpected '@'

This bug is resolved on iOS but not yet on Android.

This issue is referred on the Alfresco Issues portal :
https://issues.alfresco.com/jira/browse/MOBILE-2963

The Android SDK must use CMIS instead of REST.

Thank you for your precious help.

Flutter build apk --release ERROR SigningConfig "release" is missing required property "keyPassword"

I followed the steps for generating a signed APK carefully but when I run the build command it throws an error even though the keyPassword is there.

build.grade:

`signingConfigs{
release{
keyAlias 'myapp'
keyPassword 'xyz@xyz'
storeFile file('key.jks')
storePassword 'abc@abc'
}
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so flutter run --release works.
signingConfig signingConfigs.release
}
}`

The error I get is:

> SigningConfig "release" is missing required property "keyPassword".

Any idea? Thanks

android.support:compatibility-v13

[INFO] Building Alfresco Mobile Android - Official Application 1.4.1
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for android.support:support-v13:jar:19.0.1 is missing, no depe
ndency information available

Y a t'il une solution pour ce problème ???

Calendar support

Hi,
this is more like an improvement than a bug. Right now the app does not support the calendar, to insert/view events.

Is this planned to be developed in the future?

Thanks

The Evaluator's view disappears when using the return button

I created a view with "Evaluator". It works fine when I launch the app. But at any time if I use the return's button of my device until the menu, I lost the "evaluator" view. I see only the default menu.

Did I make a mistake ?

my configuration.json :


{
	"info": {
		"schema-version": 0.2
	},

	"profiles": {
		"default": {
			"default": true,
			"label-id": "Défaut",
			"description-id": "Profil par défaut",
			"root-view-id": "views-menu-default"
		}
	},
	
	"repository":{
		"share-url":"https://localhost/share"
	},
	
	"view-groups": [
    {
      "id": "views-menu-default",
      "label-id": "Default Menu",
      "items": [
        {
          "item-type": "view-id",
          "view-id": "view-activities-default"
        },
        {
          "item-type": "view-id",
          "view-id": "view-site-default"
        }
      ]
    }
	],
	
	"views" : {
	   "view-activities-default": {
		  "label-id": "TEST Activities",
		  "type": "org.alfresco.client.view.activities"		 
		},
		
		"view-site-default": {
			"evaluator": "ADMINISTRATOR",
			"label-id": "Sites",
			"type": "org.alfresco.client.view.site-browser"
		}
	},

	"evaluators": {
		"ADMINISTRATOR": {
			"type": "org.alfresco.client.evaluator.isUser",		
			"params": {
				"users": [
					"admin"			
				]
			}
		}
	} 	
		
	
}

error version alfersco android sdk

comment faire pour résoudre ce problème?
on a besoin de alfresco android sdk 1.3.2 mais ce lien https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/mobile/android/sdk/alfresco-mobile-android-ui-library/ contient seulement 1.3.1

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project alfresco-mobile-android-commons: Could
not resolve dependencies for project org.alfresco.mobile.android.apps:alfresco-
mobile-android-commons:apklib:1.4.1: Could not find artifact org.alfresco.mobile
.android.sdk:alfresco-mobile-android-ui-library:apklib:1.3.2 in apache-repositor
y (https://repository.apache.org/content/groups/public/)

zipalign issue

zipalign issue

[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:andr
oid-maven-plugin:3.7.0:zipalign (alignApk) on project alfresco-mobile-android: M
ojoExecutionException: ANDROID-040-001: Could not execute: Command = cmd.exe /X
/C "C:\adt\adt-bundle\adt-bundle-windows-x86_64-20130514\sdk\tools\zipalign.exe
-v -f 4 C:\Users\sabrine.moumni.m2\repository\etisalat\alfresco-android-app-mas
ter\alfresco-mobile-android\target\alfresco-mobile-android-1.4.1.apk C:\Users\sa
brine.moumni.m2\repository\etisalat\alfresco-android-app-master\alfresco-mobile
-android\target\alfresco-mobile-android-1.4.1-signed-aligned.apk", Result = 1 ->
[Help 1]

Issue when download older version file

I tried to download file with older version.

I select menu Repository, browse the folder and select the certain file.
In central pane, i select Version history tab, and select any older version.
Then i select download menu.

I got a force close.

09-10 18:24:33.310: D/AndroidRuntime(13190): Shutting down VM
09-10 18:24:33.310: W/dalvikvm(13190): threadid=1: thread exiting with uncaught exception (group=0x40c9f930)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190): Uncaught Exception
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190): java.lang.NullPointerException
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at org.alfresco.mobile.android.application.operations.batch.node.download.DownloadRequest.<init>(DownloadRequest.java:65)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at org.alfresco.mobile.android.application.operations.batch.node.download.DownloadRequest.<init>(DownloadRequest.java:75)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at org.alfresco.mobile.android.application.fragments.actions.ResolveNamingConflictFragment.download(ResolveNamingConflictFragment.java:157)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at org.alfresco.mobile.android.application.fragments.actions.ResolveNamingConflictFragment.access$0(ResolveNamingConflictFragment.java:149)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at org.alfresco.mobile.android.application.fragments.actions.ResolveNamingConflictFragment$1.onPositive(ResolveNamingConflictFragment.java:137)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at org.alfresco.mobile.android.application.fragments.actions.ResolveNamingConflictFragment$2.onClick(ResolveNamingConflictFragment.java:86)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at android.os.Handler.dispatchMessage(Handler.java:99)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at android.os.Looper.loop(Looper.java:137)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at android.app.ActivityThread.main(ActivityThread.java:5039)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at java.lang.reflect.Method.invokeNative(Native Method)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at java.lang.reflect.Method.invoke(Method.java:511)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
09-10 18:24:33.310: E/o*.a*.m*.a*.a*.f*.e*.E*(13190):   at dalvik.system.NativeStart.main(Native Method)

It seems that the app got null pointer exception when accessing parentFolder.

I looked up the code and found that the code doesn't pass the parentFolder to new DetailFragment

https://github.com/Alfresco/alfresco-android-app/blob/master/alfresco-mobile-android/src/org/alfresco/mobile/android/application/fragments/versions/VersionFragment.java

 @Override
    public void onListItemClick(ListView l, View v, int position, long id)
    {
        super.onListItemClick(l, v, position, id);
        Document versionedDoc = (Document) l.getItemAtPosition(position);
        if (versionedDoc.getVersionLabel() != null
                && !versionedDoc.getVersionLabel().equals(((Document) node).getVersionLabel()))
        {
            ((MainActivity) getActivity()).addPropertiesFragment(versionedDoc, null, true);
        }
    }

you can see in the method addPropertiesFragment(versionedDoc, null ...
the second argument should be parentNode.

but it passed by null.

error picasso load image

07-22 10:54:18.210: E/AndroidRuntime(12346): at com.etisalat.ecm.manager.RenditionManager.startPicasso(RenditionManager.java:244)

picasso.load(url).placeholder(initDrawableId).into(iv, new Callback() ...

I have a force close at this line
any suggestions

Android studio Could not find property 'RELEASE_STORE_FILE'

I followed steps provided in: https://github.com/Alfresco/alfresco-android-app/wiki/Prerequisites to setup Alfresco for Android in Android Studio but after cloning the project Android Studio asks me wether I like to open it and after I accept it goes to gradle build process then I got this error:
Could not find property 'RELEASE_STORE_FILE' on SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPassword=null, storeType=null}.

Consult IDE log for more details (Help | Show Log)

Unable to Deploy alfresco-android-app

Hi,

I succeed to build and package Alfresco-android-app release 1.5.1 using Android Studio 1.2.1.1 and Gradle v2.2.1. I installed it on my mobile. However when I tried to configure access to:

  • local community alfresco server, I got the following crash "Alfresco s'est arrêté" and the application was closed automatically.
  • alfresco cloud, I got the following error "Authentication Failed" (Despite I was able to access using web access)

What should I do from my side to resolve the issue?
Thank you in advance

Failure to find com.google.android.annotati ons:annotations:jar:22.3

hi,
I get this error when building the project

[ERROR] Failed to execute goal on project alfresco-mobile-android-commons: Could
not resolve dependencies for project org.alfresco.mobile.android.apps:alfresco-
mobile-android-commons:apklib:1.4.1: Failure to find com.google.android.annotati
ons:annotations:jar:22.3 in https://repository.apache.org/content/groups/public/
was cached in the local repository, resolution will not be reattempted until th
e update interval of apache-repository has elapsed or updates are forced -> [Hel
p 1]

Offline files need to load online metadata to open

I have a file synchronized with the app to my phone. If I am not connected to our alfresco server, i cannot open the file offline, because the details page will try to load metadata stored online. This makes offline files useless. The metadata should either be stored offline, or there should be a possibility to open the file without loading the details page.

Could not find org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:1.4.0.

Hi

I have an error while compiling the project with android studio and it's the same when compilling with commande line.

android studio message :
Error:(44, 13) Failed to resolve: org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:1.4.0
Error:(28, 13) Failed to resolve: com.samsung.android:sdk:1.0.0
Error:(27, 13) Failed to resolve: com.samsung.android.sdk:pen:1.0.2

This is the log for CLI when running sudo ./gradlew assembleCustomRelease

....................
Download https://jcenter.bintray.com/com/squareup/okhttp/okhttp/1.5.2/okhttp-1.5.2.jar
Download https://jcenter.bintray.com/com/mattprecious/telescope/telescope/1.3.0/telescope-1.3.0.aar
Download https://jcenter.bintray.com/com/jmpergar/AwesomeText/1.0.0/AwesomeText-1.0.0.aar

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 4 mins 35.026 secs

Missing API Libraries

Hi.
After cloning "alfresco-android-app" using Git from GitHub(https://github.com/Alfresco/alfresco-android-sdk) and downloading "Alfresco Andoid SDK" from Alfresco's official website(http://www.alfresco.com/develop/mobile) and importing it into our application project there are yet some errors:

In org.alfresco.mobile.android.application.activity.MainActivity.java :
Line 28: import org.alfresco.mobile.android.api.model.Task is missing

In org.alfresco.mobile.android.application.fragments.browser.ProgressNodeAdapter.java:
Line 26: import org.alfresco.mobile.android.api.model.impl.publicapi.PublicAPIPropertyIds is missing
Line 110, 131, 166,168176, 181: PublicAPIPropertyIds can not be resolved

In org.alfresco.mobile.android.application.fragments.person.PersonProfileFragment.java :

Lines 21, 23 : Library missing error

In org.alfresco.mobile.android.application.fragments.workflow.ProcessDefinitionLoader.java :
Line 23 : Library missing error

In org.alfresco.mobile.android.application.manager.NetworkHttpInvoker.java :
Line 24 : Library missing error

These problems are due to library missing.

Regards
Christian Roszak

Do not support Chinese in the following location

I am using Alfresco Android app. I found the following places do not support Chinese. It is not English either. It is the label.

  • In the main navigation panel: home.menu.header
  • Detailed information of a file: cm_contentmodel.property.cm_name.title, cm_contentmodel.property_cm_minetype.title and etc.
  • Create new document dialog: creation.mine_type.word.title, creation.mine_type.powerpoint.title, creation.mine_type.excel.title, creation.mine_type.text.title

faild to sign the apk

faild to sign the apk
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1
.2:sign (signing) on project alfresco-mobile-android: The parameters 'alias' for
goal org.apache.maven.plugins:maven-jarsigner-plugin:1.2:sign are missing or in
valid -> [Help 1]

Sync all an Alfresco Site

Hi,

If you have sync severals files and folders from different sites we are lost in the "Content synchronsized". We don't know where the files and folders come !

is it difficult to add a synchronization for an entire Alfresco Site ?
or can you simply put folders with the name of the sites in the "Content Synchronized" menu ?

Thx a lot

My Tasks - My Filter... does not work

The custom filter snippet does not work, after selecting the desired filters the application does not apply the filters.
Debugging the application I realize that it does not mount the url as it should.
I could not find the possible error in the code.

question: sites order

Hi,

Little question for own purposes,

is there possibility to order sites by other property like description?

I tried to change
Line 175 to SORT_PROPERTY_DESCRIPTION in

org.alfresco.mobile.android.application.fragments.sites/BrowserSitesFragment.java

private static Bundle getListingBundle()
{
    ListingContext lc = new ListingContext();
    lc.setSortProperty(SiteService.SORT_PROPERTY_TITLE);
    lc.setIsSortAscending(true);
    return createBundleArgs(lc, LOAD_AUTO);
}

But nothing happens, I was able to change folder sorting in ChildrenBrowserFragment (line 165), but sites still doesn't sort by description.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.