草庐IT

parse_query

全部标签

java - 当我运行我的解析推送应用程序时,在 Parse.initialize(ctx, "***", "***") 中抛出 NullPointerException storage == null

我在Parse中遵循解析快速入门指南进行推送,并且总是抛出NullPointerExceptionstorage==null我的应用类publicclassApplicationextendsandroid.app.Application{publicApplication(){}@OverridepublicvoidonCreate(){super.onCreate();Parse.initialize(this,"****","***");//HerethrowstheexceptionParseInstallation.getCurrentInstallation().saveI

java - Android 中的异常 "Illegal character in query at index -"

我正在尝试使用以下链接在服务器上发送数据。**WEBSERVICELINK:**http://75.125.237.76/post_reviews.php?data=text1如果我使用单个字符串(ex:data=text1)设置数据归档,那时候我在源代码中的tryblock工作正常,没有任何异常。但是当我用带空格的多个字符串设置数据字段时(例如:data=text1text2text3),然后会生成异常,即查询中的非法字符。**EXCEPTION:**Illegalcharacterinqueryatindex75:http://75.125.237.76/post_reviews.

Android 房间数据库错误 : Unused parameter: days in @Query function

我正在使用Room数据库,试图在我的Dao中编写一个查询,这将删除所有超过特定天数的记录。这是我的结论:@Query("DELETEFROMmy_tableWHEREdateFrom但是,当我尝试构建我的项目时,我的Gradle控制台出现错误:error:Unusedparameter:days我使用的是Kotlin,所以它也向我展示了这个:Error:Executionfailedfortask':nexo:kaptDebugKotlin'.Internalcompilererror.Seelogformoredetails我的查询有什么问题?更新我也收到有关转换日期的错误。这是我的

Android - 安装失败,消息为 : INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

我无法再运行我的应用程序,出现错误:Failure[INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]我在这里阅读了很多关于它的其他问题,但到目前为止我没有找到解决方案,谁能看看我的list并告诉我我做错了什么?编辑:错误日志Installingkalianey.com.bonnieandclitDEVICESHELLCOMMAND:pminstall-r"/data/local/tmp/kalianey.com.bonnieandclit"pkg:/data/local/tmp/kalianey.com.bonnieandclitFailure[INST

android - 如何使用 Parse Facebook for Android 获取用户电子邮件地址-

我正在尝试从ParseFacebookforandroid获取用户的电子邮件地址,但是当我尝试获取电子邮件时我得到的是null。这是我的代码//onLogin:Listpermissions=Arrays.asList("email","basic_info","user_about_me","user_location");ParseFacebookUtils.logIn(permissions,SignUpActivity.this,newLogInCallback(){@Overridepublicvoiddone(ParseUseruser,ParseExceptionerr)

java - Parse.com - 重新安装应用程序后重复推送

下午好。我遇到了一个我研究过但没有找到解决方案的问题。我在我的Android应用程序中使用Parse.comPush。发送推送时,我多次收到相同的消息。它也在数据浏览器中复制。起初,我认为这是我的错。但我认为旧安装一定不会影响新安装。你能帮帮我吗?谢谢。 最佳答案 给出的解决方案hereMukul应该会有所帮助。 关于java-Parse.com-重新安装应用程序后重复推送,我们在StackOverflow上找到一个类似的问题: https://stackov

java - 如何在 Parse.com 中存储和接收个人资料图片?

我是parse.com的新手。我搜索了几个小时如何为用户创建个人资料图片,但没有结果。我知道如何将图像上传到Parse.com,但我不知道如何接收它。这是我上传图片的方式://SavenewuserdataintoParse.comDataStorageParseUseruser=newParseUser();user.setUsername(usernametxt);user.setPassword(passwordtxt);ByteArrayOutputStreamstream=newByteArrayOutputStream();//Compressimagetolowerqua

Android Parse——具有字段/列列表相等条件的ParseQuery

我正在使用Parse,我只想获取我的数据类中在我的“blah”字段/列中具有特定列表的所有条目。finalParseQueryquery=ParseQuery.getQuery(Data.class);query.whereEqualTo("blah",mSomeValueList);query.setLimit(MAX_DATA_TO_SHOW);query.orderByAscending("createdAt");//Executequeryformessagesasynchronouslyquery.findInBackground(newFindCallback(){...}

android - Bitbucket 管道 INSTALL_PARSE_FAILED_NO_CERTIFICATES 问题

Igeneratedthebuild(apk)usingbitbucketpipelinewiththehelpofthelinkWhiletryingtoruntheapkIamgettingthisissueINSTALL_PARSE_FAILED_NO_CERTIFICATES.Ididn'tfindthesolutionhowtoincludedefaultkeystorefiledetailstobitbucket. 最佳答案 Fixedthisissuebydoingsomechangesinbuild.shfile.#

Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed异常

一、问题描述异常信息:org.springframework.web.util.NestedServletException:Requestprocessingfailed;nestedexceptionisorg.mybatis.spring.MyBatisSystemException:nestedexceptionisorg.apache.ibatis.exceptions.PersistenceException:Errorqueryingdatabase.Cause:org.springframework.jdbc.CannotGetJdbcConnectionException:F