saqlite exception code 19 - Java for Android App Development

i get an error form sql that is error code 19. idk what it is and cant fix it.
source code attached
ill post sourcecode later

Search for "Android Sqlite error 19" using Google.
Dozens of people have already had such a problem.

nikwen said:
Search for "Android Sqlite error 19" using Google.
Dozens of people have already had such a problem.
Click to expand...
Click to collapse
Already done. The error is so broad. I'll post code later just hold on.
Sent from my LG-P506 using xda premium

Related

Is it possible to open up an .apk file for editing?

I'm just wondering if its possible, thanks.
Yea. Be more specific.
Sent from my GT-N7000 using Tapatalk 2
http://bit.ly/JgDTho
Jesse Jackson said:
Yea. Be more specific.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Okay, i'll be more specific. I'm going to start developing soon so I am trying to find out whether if I create an app and then it can be opened and edited by someone else, for example...if someone decided to steal my code and use it for their apps.
apks are package code..
code is compile at compile time..ie ...you will see xml code and image assets and compile code...
the code is already in binary format so you cant edit it.
is not like javascript is more like java..in that see only .class files..
SealsNavie said:
I'm just wondering if its possible, thanks.
Click to expand...
Click to collapse
APK Edit 0.4

[Q] How to compile github java source?

Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
elesbb said:
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
Click to expand...
Click to collapse
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Maybe you will need to add some external libraries like the supportv4 library.
dcsms said:
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
dcsms said:
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
Click to expand...
Click to collapse
Thanks man!
I was able to use smali to do what I wanted and theo0so was able to help me sign it with CM keys to allow it to run
But there were a lot more things I wanted to mess around with, so when I get a day off I will follow all steps Thanks again!
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2

AndroidManifest.xml problem

So i have some problems, I'm developing a small app which u can see in my singature, in newer versions I added one more activity, that is actually page for FAQ, and code working as it should but AndroidManifest.xml gives me a problem...
I added a new activity to AndroidManifest.xml and added root permisions but when i save and export app, AndroidManifest.xml goes back to "stock" unchanged file and when i run my app and try to go to that new activity it gives me force close normally because there is no second activity in AndroidManifest.xml
so what to do? I'm shure there is someone who knows what is problem
btw im using Eclipse + Android SDK without any other stuffs
Post your manifest that you are trying to save and then the log cat when it errors out.
Do you modify the manifest of the right project?
If you do, try cleaning the project or deleting the project from the workspace and adding it again.
zalez said:
Post your manifest that you are trying to save and then the log cat when it errors out.
Click to expand...
Click to collapse
But there is no error, everything is normal
nikwen said:
Do you modify the manifest of the right project?
If you do, try cleaning the project or deleting the project from the workspace and adding it again.
Click to expand...
Click to collapse
Yes, I'm modifying manifest of right project, will try that
Sent from my GT-I9100 using xda premium
By any chance, are you uninstalling before adding the new APK via Eclipse? I ran into issues with some files if I didn't do an uninstall first...
@buildakicker, i don't understand you... did you meant am i uniinstalled app from my phone before testing it? if that is question then no, i didn't do that, and that is not problem...
Problem was in eclipse, i just did what @nikwen said and app working perfectly
I was speaking of uninstalling the app off the device and then re-installing it fresh... Glad you got it figured out!
Sejk97 said:
@buildakicker, i don't understand you... did you meant am i uniinstalled app from my phone before testing it? if that is question then no, i didn't do that, and that is not problem...
Problem vas in eclipse, i just did what @nikwen said and app working perfectly
Click to expand...
Click to collapse
Still don't understand you xD
Sorry but English is not my native language
Sent from my GT-I9100 using xda premium
Sejk97 said:
Problem vas in eclipse, i just did what @nikwen said and app working perfectly
Click to expand...
Click to collapse
Great. :good:

Installig eclipse .

I was trying to install eclipse so i could start programing apps for android but when i searched online for guides on how to do it they were all outdated from 4~5 years ago and because the ui of websites and the eclipse program changed , all i got was a error messages after i tried do install google api to eclipse . can anyone help me and give me a link to a dated guide ?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Here you go. The official Android Developers site has got information on that: http://developer.android.com/sdk/index.html
Consider using Android Studio instead as well.
Try this, it is about Development with Android and Eclipse
http://www.vogella.com/tutorials/Android/article.html
It is updated to January 2014, and it's very good for beginners.
Thanks i will check it once i'll get home
Sent from my Nexus 5 using XDA Premium 4 mobile app
when i try to launch eclipse it says "colud not create the java virtual machine "
" a fatal exception has occurred . program will exit. "
danielbr14 said:
when i try to launch eclipse it says "colud not create the java virtual machine "
" a fatal exception has occurred . program will exit. "
Click to expand...
Click to collapse
Try this: http://www.tomshardware.co.uk/faq/id-1761312/fix-create-java-virtual-machine-issue.html
yeah. i tried it but it didn't help .....
danielbr14 said:
yeah. i tried it but it didn't help .....
Click to expand...
Click to collapse
Some thing similar i experienced once just tell which java and eclipse version you are using please be precise !
Sent from my GT-S5302 using Tapatalk 2
i tried using the eclipse that came with the adt and the java veriion i use is 7 update 51 build 1.7.0_51b13
danielbr14 said:
i tried using the eclipse that came with the adt and the java veriion i use is 7 update 51 build 1.7.0_51b13
Click to expand...
Click to collapse
ADT bundle is Juno or Keplar as far as i know so they should be compatible
post the
-vm argument of your eclipse.ini
which can be found in your eclipse installation folder.
a suggestion switch to Android Studio trust me you wont regret.
Sent from my GT-S5302 using Tapatalk 2
sak-venom1997 said:
ADT bundle is Juno or Keplar as far as i know so they should be compatible
post the
-vm argument of your eclipse.ini
which can be found in your eclipse installation folder.
a suggestion switch to Android Studio trust me you wont regret.
Sent from my GT-S5302 using Tapatalk 2
Click to expand...
Click to collapse
if you say android studio is much better then i am in . i started downloading it and i was hoping you can give me a guide on how to start .
the -vm
"-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX"
danielbr14 said:
if you say android studio is much better then i am in . i started downloading it and i was hoping you can give me a guide on how to start .
the -vm
"-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX"
Click to expand...
Click to collapse
A sample one from Eclipse wiki
it will differ from yours
look for things in bold
-startup
../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm **this should be followed by the exact path to javaw or java executable binaries**
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m **this should in no case exceed half the amount of RAM in your pc here value is 512 in MBs**
compare these two with yours and it should work
Sent from my GT-S5302 using Tapatalk 2

[Q] Learning App Development.

So I would like to learn how to develop apps for the android OS. I'm not sure where I should put this (sorry if in wrong section). I would like to learn how to code and do all the steps in app development. I have absolutely ZERO experience in coding other then changing the dedicated RAM for Minecraft. If someone could tutor me maybe twice a week or link me to other forums that explain this sort of thing and provide support for people. I would be very happy for either if the two! Thank you guys!
Learning Java
Hi NamesBass
Android development is basically Java. I learned it from a while. The easiest way is to watch some YouTube videos. Also very helpful are the official tutorials and sample apps. You can find them here: developer.android.com/training (Sorry I haven't 10 posts yet so I can't post direct URLs). Then start coding and when you stuck somewhere use google and learn from it
~LoXeras
read book
read books, good books on programming - Android in 24 hours (loren Dersy( i ), Sheyn Kondor), and Android 2 ( Reto Mayer)
Thank you for the help.
Sent from my Nexus 5 using XDA Free mobile app
Thanks for your help. I'm going to start tonight.
Sent from my Nexus 5 using XDA Free mobile app
Java, java, java. Not JavaScript! Java, java, java!!!!
I'm having problems
LoXeras said:
Hi NamesBass
Android development is basically Java. I learned it from a while. The easiest way is to watch some YouTube videos. Also very helpful are the official tutorials and sample apps. You can find them here: developer.android.com/training (Sorry I haven't 10 posts yet so I can't post direct URLs). Then start coding and when you stuck somewhere use google and learn from it
~LoXeras
Click to expand...
Click to collapse
So I have run into trouble doing this lesson and I'm not sure why I didn't do it right. I thought I followed all the steps but my code lines and the ones on the website are different. Could you give your thoughts? Thanks!
gyazo.com(slash) febe01e0840369e9a4d6ebfc5c3abfea (ScreenShot)
NamesBass said:
So I have run into trouble doing this lesson and I'm not sure why I didn't do it right. I thought I followed all the steps but my code lines and the ones on the website are different. Could you give your thoughts? Thanks!
gyazo.com(slash) febe01e0840369e9a4d6ebfc5c3abfea (ScreenShot)
Click to expand...
Click to collapse
Use Android Studio download and work though the tutorials or android app development. loads of videos to follow. (Java)
uuugh
Just Call It said:
Use Android Studio download and work though the tutorials or android app development. loads of videos to follow. (Java)
Click to expand...
Click to collapse
okay so i downloaded that and tried to set it up but an error message came up saying I need to add an environment variable for JAVA_HOME. I did this and it went something like C: Program Files\Java\jre7\bin\Java and when I launched the program, it told me to direct it to JDK not jre7, but I dont have a JDK file. I did a system search and nothing came up.
NamesBass said:
okay so i downloaded that and tried to set it up but an error message came up saying I need to add an environment variable for JAVA_HOME. I did this and it went something like C: Program Files\Java\jre7\bin\Java and when I launched the program, it told me to direct it to JDK not jre7, but I dont have a JDK file. I did a system search and nothing came up.
Click to expand...
Click to collapse
You are pointing to the jre7 folder in Program Files/Java. You should change that to the jdk folder.
e.g. My JAVA_HOME variable is C:\Program Files\Java\jdk1.8.0_05
So I change jre7 to JDK(whatever)?
Sent from my Nexus 5 using XDA Free mobile app
how
hey please help me how to devlop own anrohd apps
Jogny said:
You are pointing to the jre7 folder in Program Files/Java. You should change that to the jdk folder.
e.g. My JAVA_HOME variable is C:\Program Files\Java\jdk1.8.0_05
Click to expand...
Click to collapse
Why are you using JDK 8 for Android? It's not officially supported by Android SDK. Do you see any improvements/problems in compare with JDK 7?

Categories

Resources